Commit Graph

2141 Commits

Author SHA1 Message Date
Josh Hawkins
8c9c629f01 fix test 2023-10-22 11:18:59 -05:00
Josh Hawkins
1d59a30a44 Merge branch 'dev' of https://github.com/hawkeye217/frigate into lost-object-zoom 2023-10-22 11:08:10 -05:00
Nicolas Mowen
29f82add72
Fix player height (#8270) 2023-10-22 09:40:32 -05:00
Daniël van den Berg
d102ebf855
[CHANGE] More resilient and slightly faster PTZ (#8009)
* [CHANGE] More resilient and slightly faster PTZ

* Make "Check Black" happy.

* Make "check black" happier

* Remove unused named exception

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-10-22 09:08:05 -05:00
Josh Hawkins
0cd0ad6b8a better invalid velocity checks 2023-10-22 08:14:49 -05:00
Nicolas Mowen
cb3990a0ac
Catch ws reset error (#8266)
* Catch ws reset error

* Formatting
2023-10-22 06:23:31 -04:00
Blake Blackshear
9fc93c72a0
more consistent use of iterators in select queries (#8258) 2023-10-21 10:53:33 -05:00
Blake Blackshear
e13a176820
Update deps (#8261)
* update web deps

* update python deps

* actions deps
2023-10-21 10:53:21 -05:00
Blake Blackshear
1e71e36056
fix route for stats and version (#8263) 2023-10-21 10:40:46 -05:00
Blake Blackshear
18545718c1
refactor and disable access logs for stats and version (#8259) 2023-10-21 08:15:24 -05:00
Blake Blackshear
c8b38bdd47
address codeql scan results (#8260) 2023-10-21 08:08:03 -05:00
Nicolas Mowen
e80b6d9e5b
Use different consolidation requirement depending on label (#8249) 2023-10-20 19:29:52 -04:00
Josh Hawkins
ee1e1b748c
fix logic error in preset fetch (#8245) 2023-10-20 19:27:47 -04:00
Nicolas Mowen
0c2f3a9702
Adjust motion calibration to be more dynamic (#8250)
* Adjust motion calibration to be more dynamic

* isort
2023-10-20 19:22:38 -04:00
Nicolas Mowen
a3c0e30502
Use existing bounding box for region when object is stationary (#8248) 2023-10-20 19:21:34 -04:00
Nicolas Mowen
b4d5a3ef14
Fix dangling webrtc connections (#8251)
* fix dangling webrtc connections

* Make more efficient

* Close pc as well
2023-10-20 19:20:38 -04:00
Josh Hawkins
a961c8d77f small zoom logic fix 2023-10-20 11:16:27 -05:00
Josh Hawkins
c5858bf4b3 fix initial absolute zoom 2023-10-19 17:31:57 -05:00
tpjanssen
facd557f8c
Change camera stats to be more structured (#8151)
* Change camera stats to be more structured

* Update stats.py

* Update stats.py

* Update System.jsx

Front end also breaks due to moved camera stats
2023-10-19 17:15:47 -05:00
Josh Hawkins
682cb4751a add tapo c200 camera 2023-10-19 17:15:13 -05:00
Nicolas Mowen
12487b3b60
Sync stationary object checks (#8238)
* Sync stationary object checks for all objects on a camera

* Formatting
2023-10-19 17:14:33 -05:00
Sergey Krashevich
8f349a6365
use sum() instead of len() to count only enabled cameras (#8232) 2023-10-19 17:14:06 -05:00
Josh Hawkins
50b3049fa5 docs 2023-10-19 15:48:11 -05:00
Josh Hawkins
b226936a23 zoom logic fix 2023-10-19 14:09:40 -05:00
Josh Hawkins
8a12ef78db use calibration to determine zoom levels 2023-10-19 13:41:18 -05:00
Josh Hawkins
7ed399cf9e limit zoom with max target box 2023-10-19 08:30:09 -05:00
Josh Hawkins
b624134ad3 zooming tweaks and expose property 2023-10-18 21:34:48 -05:00
Nicolas Mowen
91f7d67c5e
Smarter Regions (#8194)
* Smarter Regions

* Formatting

* Cleanup

* Fix motion region checking logic

* Add database table and migration for regions

* Update region grid on startup

* Revert init delay change

* Fix mypy

* Move object related functions to util

* Remove unused

* Fix tests

* Remove log

* Update the region daily at 2

* Fix logic

* Formatting

* Initialize grid before starting processing frames

* Move back to creating grid in main process

* Formatting

* Fixes

* Formating

* Fix region check

* Accept all but true

* Use regions grid for startup scan

* Add clarifying comment

* Fix new grid requests

* Add tests

* Delete stale region grids from DB
2023-10-18 18:21:52 -05:00
Nicolas Mowen
98200b7dda
Fix recording segment management (#8220)
* Fix timing error

* Downgrade logs
2023-10-18 18:18:22 -05:00
Nicolas Mowen
282cbf8f40
Add FAQ item for cameras with bad sub streams (#8224) 2023-10-18 18:17:53 -05:00
Josh Hawkins
18b9540e4f revamp zooming to use area moving average 2023-10-18 10:12:01 -05:00
winstona
cd35481e92
Fix recording events intermittently missing (#8162)
* fix queues not emptying fully by changing gets to a blocking call with short timeout

* add extra error/warning messages when there's a possibility of missing recording segments
2023-10-18 06:52:48 -05:00
Nicolas Mowen
126aed2798
Include non-free in hwaccel deps types (#8203) 2023-10-17 21:18:50 -04:00
Nicolas Mowen
efbc094bbc
Fixes for ongoing events (#8208)
* Refresh ongoing and standard events

* Collapse ongoing when props are set

* Fix
2023-10-17 21:18:06 -04:00
Nicolas Mowen
c7b2c6b95d
Pin all hwaccel deps (#8191) 2023-10-17 06:37:40 -05:00
Nicolas Mowen
1bdfc380c3
Delete timeline items along with event (#8192) 2023-10-17 06:37:07 -05:00
Josh Hawkins
2b20e7e972 don't print zooming debug for stationary obj 2023-10-16 08:56:01 -05:00
Josh Hawkins
acac540545 zoom out if above area threshold 2023-10-16 08:42:57 -05:00
Josh Hawkins
8eb561dedc don't recalc target box on zoom only 2023-10-16 08:22:18 -05:00
Josh Hawkins
cd227b2158 update zoom conditions 2023-10-16 07:47:01 -05:00
Sergey Krashevich
cac37e484d
Upd: go2rtc v1.8.1 (#8166)
* go2rtc v1.8.0

* 1.8.1
2023-10-16 06:42:24 -05:00
Josh Hawkins
7c7615b291 hysteresis constants for absolute zooming 2023-10-15 17:21:01 -05:00
Josh Hawkins
2a121d3267 negate zoom out condition when needed 2023-10-15 14:14:47 -05:00
Blake Blackshear
4469507e5b
dont set has_clip to false unless the event is older (#8179) 2023-10-15 13:31:56 -05:00
Josh Hawkins
f81f869068 don't try to zoom every time 2023-10-15 13:11:12 -05:00
Josh Hawkins
8fb2eac2db try zoom when tracked object is not moving 2023-10-15 13:07:02 -05:00
Josh Hawkins
1de72d59ce Merge branch 'dev' of https://github.com/hawkeye217/frigate into lost-object-zoom 2023-10-15 13:01:20 -05:00
Josh Hawkins
515ad5e004 try to zoom when object isn't moving 2023-10-15 12:48:14 -05:00
Josh Hawkins
2057296da9 zoom out value 2023-10-15 12:34:55 -05:00
Josh Hawkins
2dd71a7d48 recalc relative zoom value 2023-10-15 12:07:37 -05:00