blakeblackshear.frigate/frigate
Josh Hawkins 88fc0fac8f
Basic PTZ object autotracking functionality (#6913)
* Basic functionality

* Threaded motion estimator

* Revert "Threaded motion estimator"

This reverts commit 3171801607.

* Don't detect motion when ptz is moving

* fix motion logic

* fix mypy error

* Add threaded queue for movement for slower ptzs

* Move queues per camera

* Move autotracker start to app.py

* iou value for tracked object

* mqtt callback

* tracked object should be initially motionless

* only draw thicker box if autotracking is enabled

* Init if enabled when initially disabled in config

* Fix init

* Thread names

* Always use motion estimator

* docs

* clarify fov support

* remove size ratio

* use mp event instead of value for ptz status

* update autotrack at half fps

* fix merge conflict

* fix event type for mypy

* clean up

* Clean up

* remove unused code

* merge conflict fix

* docs: update link to object_detectors page

* Update docs/docs/configuration/autotracking.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* clarify wording

* pass actual instances directly

* default return preset

* fix type

* Error message when onvif init fails

* disable autotracking if onvif init fails

* disable autotracking if onvif init fails

* ptz module

* verify required_zones in config

* update util after dev merge

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-07-08 07:04:47 -05:00
..
comms Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
detectors Upgrade TensorRT to 8.5.3 (#7006) 2023-07-06 14:20:33 -05:00
events Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion use a different method for blur and contrast to reduce CPU (#6940) 2023-06-30 07:27:31 -05:00
ptz Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
record Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
test Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
track Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
util Fix queues (#7087) 2023-07-08 06:46:31 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
app.py Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
config.py Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
const.py Fix queues (#7087) 2023-07-08 06:46:31 -05:00
ffmpeg_presets.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
http.py Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
log.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
models.py Optimization of Sync Records: Implementing Pagination and Temporary Table (#6585) 2023-06-11 08:01:50 -05:00
mypy.ini update deps (#6093) 2023-04-15 14:17:59 -05:00
object_detection.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
object_processing.py Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
output.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
plus.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
stats.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
storage.py Refactor storage stats calculation to use powers of 2 for more accurate values (#6765) 2023-06-11 14:49:13 -05:00
timeline.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
types.py Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
video.py Basic PTZ object autotracking functionality (#6913) 2023-07-08 07:04:47 -05:00
watchdog.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00