Commit Graph

1222 Commits

Author SHA1 Message Date
Nick Mowen
282afab400 Fix cropping field as well 2022-02-20 07:46:10 -07:00
Nick Mowen
3680ac0dd3 Start using new latest object endpoint in camera view 2022-02-20 07:46:10 -07:00
Nick Mowen
e4205152a5 Update to use cv2 to get image and respect args 2022-02-20 07:46:10 -07:00
Nick Mowen
76d5e8233f Properly support any label 2022-02-20 07:46:10 -07:00
Nick Mowen
cc4d48a6ef Send clean image 2022-02-20 07:46:10 -07:00
Nick Mowen
47138e9237 Update query to get image 2022-02-20 07:46:10 -07:00
Nick Mowen
e9b935e597 Add latest object snapshot endpoint 2022-02-20 07:46:10 -07:00
Blake Blackshear
35f2951d1b stop forcing detection all the way to stationary_threshold 2022-02-20 07:46:10 -07:00
Blake Blackshear
fe906e949f set stationary_threshold default to 5x fps 2022-02-20 07:46:09 -07:00
Blake Blackshear
af52f6a2a3 fix the bounding box calculation position at 10 2022-02-20 07:46:09 -07:00
Jason Hunter
4e2845edc1 Fix duration for long events and playback rate for top of the hour 2022-02-20 07:46:09 -07:00
Jason Hunter
452e3decda Fix playback rate resetting to 1 on source change 2022-02-20 07:46:09 -07:00
Blake Blackshear
83ef8209ca make stationary_threshold configurable 2022-02-20 07:46:09 -07:00
Blake Blackshear
ae3e96d313 avoid rare divide by zero 2022-02-20 07:46:09 -07:00
Yuriy Sannikov
ae43fefa20 Run python unit tests in a github actions (#2589)
* tox tests initial commit

* run tests in the Dockerfile during the build phase

* remove local tests

Co-authored-by: YS <ys@gm.com>
2022-02-20 07:46:09 -07:00
Yuriy Sannikov
58aeb2524b safe refactoring (#2552)
Co-authored-by: YS <ys@gm.com>
2022-02-20 07:46:09 -07:00
Blake Blackshear
2994811f65 check for apex dir 2022-02-20 07:46:09 -07:00
Matt Clayton
21c6056baf Add temperature of coral tpu to telemetry mqtt message 2022-02-20 07:46:09 -07:00
Blake Blackshear
ecb3ab2b3e pass processed tracked objects 2022-02-20 07:46:09 -07:00
Blake Blackshear
52d9a680f5 retain frame data for recording maintenance 2022-02-20 07:46:09 -07:00
Blake Blackshear
ca68a06d20 sync recordings with disk once on startup 2022-02-20 07:46:09 -07:00
Blake Blackshear
0af9895b95 cleanup missing files from database once per hour 2022-02-20 07:46:09 -07:00
Blake Blackshear
e00a3a5d31 revert switch to b/w frame prep 2022-02-20 07:46:09 -07:00
Blake Blackshear
cf9c4d785a fix default motion comment 2022-02-20 07:46:09 -07:00
Blake Blackshear
75bacb6dbc more robust cache management 2022-02-20 07:46:09 -07:00
Blake Blackshear
c8b7755bff fix ffmpeg config for env vars 2022-02-20 07:46:09 -07:00
Blake Blackshear
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
Nicolas Mowen
5627b66a6e Always show recording link even if recordings are currently disabled (#2787)
* Always show recording link even if recordings are currently disabled

* Fix test to consider all cameras to have recording link
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
Jason Hunter
8de15af7b4 Fix duration for long events and playback rate for top of the hour 2022-02-18 21:18:26 -06:00
Jason Hunter
21178613de Only send significant update once when motionless count reaches the defined threshold. 2022-02-18 21:18:26 -06:00
Jason Hunter
340be7f86d Allow download of in progress clips 2022-02-18 21:18:26 -06:00
Blake Blackshear
0ff4acd59c remove invalid warning 2022-02-18 21:18:26 -06:00
Jason Hunter
28dd43f8ae Fix playback rate resetting to 1 on source change 2022-02-18 21:18:26 -06:00
Jason Hunter
56d24cbf6d Update package-lock.json 2022-02-18 21:18:26 -06:00
Jason Hunter
e433bec17f Add in progress events to recordings view 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