Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear e5714f5fbc add missing optional comment in docs 2022-02-13 10:27:58 -06:00
Blake Blackshear 3be0b915ad deregister based on max_frames setting 2022-02-13 10:21:24 -06:00
Blake Blackshear 304ffa86e8 refactor stationary config into section 2022-02-13 10:21:24 -06:00
Blake Blackshear ee01396b36 update birdseye to handle stationary objects 2022-02-12 06:59:10 -06:00
Blake Blackshear 334e28fe54 use second stream in docs example 2022-02-12 06:43:46 -06:00
Blake Blackshear 6b2bae040c stop forcing detection all the way to stationary_threshold 2022-02-11 07:34:42 -06:00
Blake Blackshear 95ab22d411 bump default stationary_threshold to 10s 2022-02-11 07:30:47 -06:00
Blake Blackshear 4e52461aa9 set stationary_threshold default to 5x fps 2022-02-11 07:12:51 -06:00
Blake Blackshear 7934f8699f fix the bounding box calculation position at 10 2022-02-11 06:54:42 -06:00
Blake Blackshear adbc54bcfe selectively increment position changes 2022-02-09 21:27:33 -06:00
Blake Blackshear 62c1a61ed0 remove invalid warning 2022-02-09 06:23:59 -06:00
Blake Blackshear a3fa3cb716 update an object once per minute 2022-02-08 21:07:16 -06:00
Blake Blackshear 64f80a4732 signal an update when object becomes stationary 2022-02-08 07:43:43 -06:00
Blake Blackshear 0b02f20b26 make stationary_threshold configurable 2022-02-08 07:40:45 -06:00
Blake Blackshear 8670a3d808 publish an update on position changes 2022-02-08 07:31:07 -06:00
Blake Blackshear 3617a625d3 only update db entry when a stored property changes 2022-02-08 07:12:00 -06:00
Blake Blackshear ad4929c621 increment motionless_count 2022-02-06 14:50:15 -06:00
Blake Blackshear 9a0d276761 allow motion based retention when detect is disabled 2022-02-06 14:49:54 -06:00
Blake Blackshear 24f9937009 fix resolution on reolink example 2022-02-06 14:15:19 -06:00
Blake Blackshear 4e23967442 clarify addon versions 2022-02-06 14:15:06 -06:00
Blake Blackshear acc1022998 remove outdated output args tip 2022-02-06 14:02:18 -06:00
Blake Blackshear 02c91d4c51 clarify that zones are based on the bottom center 2022-02-06 14:00:27 -06:00
Blake Blackshear 5e156f8151 update addon urls 2022-02-06 13:56:09 -06:00
Blake Blackshear 47e0e1d221 add example for ios camera live feed notification 2022-02-06 13:46:57 -06:00
Blake Blackshear f57501d033 avoid rare divide by zero 2022-02-06 13:28:53 -06:00
Blake Blackshear 1a3f21e5c1 note for future 2022-02-06 13:28:45 -06:00
Blake Blackshear 5a2076fcab improve warning for retain modes 2022-02-06 10:12:49 -06:00
Blake Blackshear 2d5ec25dca invert active_count logic 2022-02-06 09:56:06 -06:00
Blake Blackshear 499f75e165 set has_clip to false when recordings fail 2022-02-06 09:49:01 -06:00
Blake Blackshear 3600ebca39 adjust error messages on ffmpeg crash 2022-02-06 08:46:41 -06:00
Blake Blackshear 50b5d40c10 add stacktrace to config validation errors 2022-02-06 08:40:24 -06:00
Blake Blackshear 21f1a98da4 add new properties to the docs 2022-02-06 08:17:46 -06:00
Blake Blackshear 21cc29be6f add additional info for non-H264 cameras 2022-02-06 07:57:36 -06:00
Blake Blackshear 794a9ff162 upgrade npm in dev container 2022-02-06 07:57:17 -06:00
Blake Blackshear 7b4cb95825 package updates for docs 2022-02-06 07:57:07 -06:00
Blake Blackshear b1e84ca7fe allow dash in camera name 2022-02-05 14:31:06 -06:00
Blake Blackshear e6ec5cb097 make motion the default retain mode 2022-02-05 09:38:22 -06:00
Blake Blackshear 23c70acd51 update stationary interval docs 2022-02-05 09:38:22 -06:00
Blake Blackshear 091648187f make expire interval configurable for users wanting to minimize i/o 2022-02-05 09:38:22 -06:00
Blake Blackshear 2b7d38f947 avoid extra tracking work on stationary frames 2022-02-05 09:38:22 -06:00
Blake Blackshear f801930588 use iou instead of centroid 2022-02-05 09:38:22 -06:00
Blake Blackshear 955c2779d9 dont stop scanning when there are other regions 2022-02-05 09:38:22 -06:00
Blake Blackshear 037f8667a6 default periodic checks to never 2022-02-05 09:38:22 -06:00
Blake Blackshear 307068a61f scan the frame on startup 2022-02-05 09:38:22 -06:00
Blake Blackshear 077d900b44 require a position change to be an active object 2022-02-05 09:38:22 -06:00
Blake Blackshear 92f9195075 randomize the region multiplier for variation 2022-02-05 09:38:22 -06:00
Blake Blackshear 82c60093d1 improve method for determining position
compares the centroid to a history of bounding boxes
2022-02-05 09:38:22 -06:00
Blake Blackshear 944b9181e0 if recording not on disk, delete from db and return 2022-02-05 09:38:22 -06:00
Blake Blackshear 326b368e82 cleanup clean snapshots on event deletion too 2022-02-05 09:38:22 -06:00
Blake Blackshear 040d8c9778 require url safe camera names 2022-02-05 09:38:22 -06:00
Blake Blackshear db1255aa7f disable disk sync on startup 2021-12-13 06:51:03 -06:00
Blake Blackshear 609b436ed8 fix migrations 2021-12-13 06:50:06 -06:00
Blake Blackshear 95bdf9fe34 check for apex dir 2021-12-12 10:27:01 -06:00
Blake Blackshear fcb4aaef0d limit vod response cache 2021-12-12 09:21:45 -06:00
Blake Blackshear 589432bc89 update docs 2021-12-12 09:21:45 -06:00
Blake Blackshear b19a02888a expire overlapping segments based on mode 2021-12-12 09:21:45 -06:00
Blake Blackshear 18fd50dfce store objects and motion counts in the db 2021-12-12 09:21:45 -06:00
Blake Blackshear df0246aed8 warn when retention mismatch 2021-12-12 09:21:45 -06:00
Blake Blackshear cbb2882123 refactor segment stats logic 2021-12-12 09:21:45 -06:00
Blake Blackshear 9f18629df3 switch to retain config instead of retain_days 2021-12-12 09:21:45 -06:00
Blake Blackshear 63f8034e46 pass processed tracked objects 2021-12-12 09:21:45 -06:00
Blake Blackshear f3efc0667f retain frame data for recording maintenance 2021-12-12 09:21:45 -06:00
Blake Blackshear af001321a8 fix process_clip 2021-12-12 09:21:45 -06:00
Blake Blackshear 92e08b92f5 sync recordings with disk once on startup 2021-12-12 09:21:45 -06:00
Blake Blackshear 26241b0877 no need to expire recordings every minute 2021-12-12 09:21:45 -06:00
Blake Blackshear c1155af169 ensure cache copies when events have ended 2021-11-21 09:43:37 -06:00
Blake Blackshear 77c1f1bb1b cleanup missing files from database once per hour 2021-11-21 07:55:35 -06:00
Blake Blackshear ae3c01fe2d handle missing file edge case 2021-11-21 07:26:31 -06:00
Blake Blackshear 7a2a85d253 log error messages on vod endpoints 2021-11-21 07:25:36 -06:00
Blake Blackshear 77c66d4e49 ensure duration > 0 for segments 2021-11-21 07:25:01 -06:00
Blake Blackshear 494e5ac4ec use snapshot url to support in progress events 2021-11-20 09:52:02 -06:00
Blake Blackshear 63b7465452 ensure stationary interval is greater than 0 2021-11-20 09:15:03 -06:00
Blake Blackshear e6d2df5661 add duration to cache 2021-11-19 16:56:00 -06:00
Blake Blackshear a3301e0347 avoid running ffprobe for each segment multiple times 2021-11-19 07:28:51 -06:00
Blake Blackshear 3d556cc2cb warn if no wait time 2021-11-19 07:19:14 -06:00
Blake Blackshear 585efe1a0f keep 5 segments in cache 2021-11-19 07:16:29 -06:00
Blake Blackshear c7d47439dd better cache handling 2021-11-17 08:57:57 -06:00
Blake Blackshear 19a6978228 avoid proactive messages with retain_days 0 and handle first pass 2021-11-17 07:44:58 -06:00
Blake Blackshear 1ebb8a54bf avoid divide by zero 2021-11-17 07:29:23 -06:00
Blake Blackshear ae968044d6 revert switch to b/w frame prep 2021-11-17 07:28:53 -06:00
Blake Blackshear b912851e49 fix default motion comment 2021-11-15 06:54:03 -06:00
Blake Blackshear 14c74e4361 more robust cache management 2021-11-10 21:12:41 -06:00
Blake Blackshear 51fb532e1a set retain when setting switches from frontend 2021-11-09 07:40:23 -06:00
Blake Blackshear 3541f966e3 error handling for the recording maintainer 2021-11-09 07:05:21 -06:00
Blake Blackshear c7faef8faa don't modify ffmpeg_cmd object 2021-11-08 19:05:39 -06:00
Blake Blackshear cdd3000315 fix ffmpeg config for env vars 2021-11-08 18:20:47 -06:00
Blake Blackshear 1c1c28d0e5 create ffmpeg commands on startup 2021-11-08 07:36:21 -06:00
Blake Blackshear 4422e86907 clarify shm in docs 2021-11-08 07:36:21 -06:00
Blake Blackshear 8f43a2d109 use resolution of clip 2021-11-08 07:36:21 -06:00
Blake Blackshear bd7755fdd3 revamp process clip 2021-11-08 07:36:21 -06:00
Blake Blackshear d554175631 no longer make motion settings dynamic 2021-11-08 07:36:21 -06:00
Blake Blackshear ff667b019a remove min frame height of 180 and increase contour area 2021-11-08 07:36:21 -06:00
Blake Blackshear 57dcb29f8b consolidate regions 2021-11-08 07:36:21 -06:00
Blake Blackshear 9dc6c423b7 improve contrast 2021-11-08 07:36:21 -06:00
Blake Blackshear 58117e2a3e check for overlapping motion boxes 2021-11-08 07:36:21 -06:00
Blake Blackshear 5bec438f9c config option for stationary detection interval 2021-11-01 07:58:30 -05:00
Blake Blackshear 24cc63d6d3 drop high overlap detections 2021-11-01 07:58:30 -05:00
Blake Blackshear d17bd74c9a reduce detection rate for stationary objects 2021-11-01 07:58:30 -05:00
Blake Blackshear 8f101ccca8 improve box merging and keep tracking 2021-11-01 07:58:30 -05:00
Blake Blackshear b63c56d810 only save recordings when an event is in progress 2021-10-25 06:40:36 -05:00