Commit Graph
100 Commits
Author SHA1 Message Date
Blake BlackshearandNick Mowen 35f2951d1b stop forcing detection all the way to stationary_threshold 2022-02-20 07:46:10 -07:00
Blake BlackshearandNick Mowen fe906e949f set stationary_threshold default to 5x fps 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen af52f6a2a3 fix the bounding box calculation position at 10 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen 83ef8209ca make stationary_threshold configurable 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen ae3e96d313 avoid rare divide by zero 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen 2994811f65 check for apex dir 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen ecb3ab2b3e pass processed tracked objects 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen 52d9a680f5 retain frame data for recording maintenance 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen ca68a06d20 sync recordings with disk once on startup 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen 0af9895b95 cleanup missing files from database once per hour 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen e00a3a5d31 revert switch to b/w frame prep 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen cf9c4d785a fix default motion comment 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen 75bacb6dbc more robust cache management 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen c8b7755bff fix ffmpeg config for env vars 2022-02-20 07:46:09 -07:00
Blake BlackshearandNick Mowen 17c26a3457 create ffmpeg commands on startup 2022-02-20 07:46:09 -07:00
Blake Blackshear 3dd3786055 increment version 2022-02-18 22:15:30 -06:00
Blake Blackshear bfecee9650 add missing optional comment in docs 2022-02-18 21:18:26 -06:00
Blake Blackshear 395c16300d deregister based on max_frames setting 2022-02-18 21:18:26 -06:00
Blake Blackshear ff19cdb773 refactor stationary config into section 2022-02-18 21:18:26 -06:00
Blake Blackshear ebdfbfe96c update birdseye to handle stationary objects 2022-02-18 21:18:26 -06:00
Blake Blackshear 1a009c7fd1 use second stream in docs example 2022-02-18 21:18:26 -06:00
Blake Blackshear c14f986fae stop forcing detection all the way to stationary_threshold 2022-02-18 21:18:26 -06:00
Blake Blackshear ee5b9986ad bump default stationary_threshold to 10s 2022-02-18 21:18:26 -06:00
Blake Blackshear 190f217b13 set stationary_threshold default to 5x fps 2022-02-18 21:18:26 -06:00
Blake Blackshear e78662b924 fix the bounding box calculation position at 10 2022-02-18 21:18:26 -06:00
Blake Blackshear 5a2e395352 selectively increment position changes 2022-02-18 21:18:26 -06:00
Blake Blackshear 0ff4acd59c remove invalid warning 2022-02-18 21:18:26 -06:00
Blake Blackshear 3189467a36 update an object once per minute 2022-02-18 21:18:26 -06:00
Blake Blackshear 63536d249f signal an update when object becomes stationary 2022-02-18 21:18:26 -06:00
Blake Blackshear 3e90f3032c make stationary_threshold configurable 2022-02-18 21:18:26 -06:00
Blake Blackshear 5cff849e59 publish an update on position changes 2022-02-18 21:18:26 -06:00
Blake Blackshear 06cc7527a9 only update db entry when a stored property changes 2022-02-18 21:18:26 -06:00
Blake Blackshear d78dc2388c increment motionless_count 2022-02-18 21:18:26 -06:00
Blake Blackshear 583912db9c allow motion based retention when detect is disabled 2022-02-18 21:18:26 -06:00
Blake Blackshear 5792cf042e fix resolution on reolink example 2022-02-18 21:18:26 -06:00
Blake Blackshear 4524dca3ed clarify addon versions 2022-02-18 21:18:26 -06:00
Blake Blackshear 304a569c7e remove outdated output args tip 2022-02-18 21:18:26 -06:00
Blake Blackshear 10c200dc24 clarify that zones are based on the bottom center 2022-02-18 21:18:26 -06:00
Blake Blackshear 0b8617d09f update addon urls 2022-02-18 21:18:26 -06:00
Blake Blackshear e7026dfd6e add example for ios camera live feed notification 2022-02-18 21:18:26 -06:00
Blake Blackshear b82d75b79e avoid rare divide by zero 2022-02-18 21:18:26 -06:00
Blake Blackshear ac30091258 note for future 2022-02-18 21:18:26 -06:00
Blake Blackshear de58bdcc9f improve warning for retain modes 2022-02-18 21:18:26 -06:00
Blake Blackshear 329e5f8f91 invert active_count logic 2022-02-18 21:18:26 -06:00
Blake Blackshear 4a16171f96 set has_clip to false when recordings fail 2022-02-18 21:18:26 -06:00
Blake Blackshear f0212c2aa4 adjust error messages on ffmpeg crash 2022-02-18 21:18:26 -06:00
Blake Blackshear 7401cf2399 add stacktrace to config validation errors 2022-02-18 21:18:26 -06:00
Blake Blackshear 493d16519a add new properties to the docs 2022-02-18 21:18:26 -06:00
Blake Blackshear a87675d3cc add additional info for non-H264 cameras 2022-02-18 21:18:26 -06:00
Blake Blackshear 0bef16bb17 upgrade npm in dev container 2022-02-18 21:18:26 -06:00
Blake Blackshear e0078f388e package updates for docs 2022-02-18 21:18:26 -06:00
Blake Blackshear cf6e66c453 allow dash in camera name 2022-02-18 21:18:26 -06:00
Blake Blackshear 34fa53afcc make motion the default retain mode 2022-02-18 21:18:26 -06:00
Blake Blackshear 663bf05fd7 update stationary interval docs 2022-02-18 21:18:26 -06:00
Blake Blackshear f512af2563 make expire interval configurable for users wanting to minimize i/o 2022-02-18 21:18:26 -06:00
Blake Blackshear 7e7d70aa5b avoid extra tracking work on stationary frames 2022-02-18 21:18:26 -06:00
Blake Blackshear dd1cf4d2ce use iou instead of centroid 2022-02-18 21:18:26 -06:00
Blake Blackshear e627f4e935 dont stop scanning when there are other regions 2022-02-18 21:18:26 -06:00
Blake Blackshear c6445898ce default periodic checks to never 2022-02-18 21:18:26 -06:00
Blake Blackshear f1ddd0e6f7 scan the frame on startup 2022-02-18 21:18:26 -06:00
Blake Blackshear db369a5b7f require a position change to be an active object 2022-02-18 21:18:26 -06:00
Blake Blackshear 87cd618998 randomize the region multiplier for variation 2022-02-18 21:18:26 -06:00
Blake Blackshear 338e4004d4 improve method for determining position
compares the centroid to a history of bounding boxes
2022-02-18 21:18:26 -06:00
Blake Blackshear 675f21e23a if recording not on disk, delete from db and return 2022-02-18 21:18:26 -06:00
Blake Blackshear 4d2d11193f cleanup clean snapshots on event deletion too 2022-02-18 21:18:26 -06:00
Blake Blackshear 69aaf1f8e6 require url safe camera names 2022-02-18 21:18:26 -06:00
Blake Blackshear e6292c719d disable disk sync on startup 2022-02-18 21:18:26 -06:00
Blake Blackshear 7c74bf2566 fix migrations 2022-02-18 21:18:26 -06:00
Blake Blackshear 2c91e7853c check for apex dir 2022-02-18 21:18:26 -06:00
Blake Blackshear a2ddb12eb3 limit vod response cache 2022-02-18 21:18:26 -06:00
Blake Blackshear 985bd6d9bd update docs 2022-02-18 21:18:26 -06:00
Blake Blackshear ec3c15e4a7 expire overlapping segments based on mode 2022-02-18 21:18:26 -06:00
Blake Blackshear 188b202836 store objects and motion counts in the db 2022-02-18 21:18:26 -06:00
Blake Blackshear 01e607a14e warn when retention mismatch 2022-02-18 21:18:26 -06:00
Blake Blackshear 5b164b72dc refactor segment stats logic 2022-02-18 21:18:26 -06:00
Blake Blackshear dcf65febba switch to retain config instead of retain_days 2022-02-18 21:18:26 -06:00
Blake Blackshear 56a2d4e64d pass processed tracked objects 2022-02-18 21:18:26 -06:00
Blake Blackshear ef214fb80a retain frame data for recording maintenance 2022-02-18 21:18:26 -06:00
Blake Blackshear 93f418ac0b fix process_clip 2022-02-18 21:18:26 -06:00
Blake Blackshear 689af4ff87 sync recordings with disk once on startup 2022-02-18 21:18:26 -06:00
Blake Blackshear 4ab0927de8 no need to expire recordings every minute 2022-02-18 21:18:26 -06:00
Blake Blackshear 014e6fc909 ensure cache copies when events have ended 2022-02-18 21:18:26 -06:00
Blake Blackshear 6832575643 cleanup missing files from database once per hour 2022-02-18 21:18:26 -06:00
Blake Blackshear 07ad2d97b1 handle missing file edge case 2022-02-18 21:18:26 -06:00
Blake Blackshear 039f1a522e log error messages on vod endpoints 2022-02-18 21:18:26 -06:00
Blake Blackshear 24e2f84231 ensure duration > 0 for segments 2022-02-18 21:18:26 -06:00
Blake Blackshear e0c0033852 use snapshot url to support in progress events 2022-02-18 21:18:26 -06:00
Blake Blackshear c50e9d48bf ensure stationary interval is greater than 0 2022-02-18 21:18:26 -06:00
Blake Blackshear 173eaabddf add duration to cache 2022-02-18 21:18:26 -06:00
Blake Blackshear a748b70da1 avoid running ffprobe for each segment multiple times 2022-02-18 21:18:26 -06:00
Blake Blackshear 8eabe5dd41 warn if no wait time 2022-02-18 21:18:26 -06:00
Blake Blackshear 114415b5e1 keep 5 segments in cache 2022-02-18 21:18:26 -06:00
Blake Blackshear ba55b5a6db better cache handling 2022-02-18 21:18:26 -06:00
Blake Blackshear 7533f2a8ab avoid proactive messages with retain_days 0 and handle first pass 2022-02-18 21:18:26 -06:00
Blake Blackshear 543a8a1712 avoid divide by zero 2022-02-18 21:18:26 -06:00
Blake Blackshear 9b23ff597c revert switch to b/w frame prep 2022-02-18 21:18:26 -06:00
Blake Blackshear b2ce1edd5a fix default motion comment 2022-02-18 21:18:26 -06:00
Blake Blackshear a0235b7da4 more robust cache management 2022-02-18 21:18:26 -06:00
Blake Blackshear 87e2300855 set retain when setting switches from frontend 2022-02-18 21:18:26 -06:00
Blake Blackshear 34bc6a6457 error handling for the recording maintainer 2022-02-18 21:18:26 -06:00