mirror of
https://github.com/alexhopeoconnor/frigate.git
synced 2026-10-20 02:11:29 +10:00
Basic PTZ object autotracking functionality (#6913)
* Basic functionality * Threaded motion estimator * Revert "Threaded motion estimator" This reverts commit 3171801607cbbbe58cda7b637f2a3917d919959a. * 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>
This commit is contained in:
co-authored by
Nicolas Mowen
parent
d6f82f9edc
commit
88fc0fac8f
@@ -188,3 +188,11 @@ Topic to send PTZ commands to camera.
|
||||
| `MOVE_<dir>` | send command to continuously move in `<dir>`, possible values are [UP, DOWN, LEFT, RIGHT] |
|
||||
| `ZOOM_<dir>` | send command to continuously zoom `<dir>`, possible values are [IN, OUT] |
|
||||
| `STOP` | send command to stop moving |
|
||||
|
||||
### `frigate/<camera_name>/ptz_autotracker/set`
|
||||
|
||||
Topic to turn the PTZ autotracker for a camera on and off. Expected values are `ON` and `OFF`.
|
||||
|
||||
### `frigate/<camera_name>/ptz_autotracker/state`
|
||||
|
||||
Topic with current state of the PTZ autotracker for a camera. Published values are `ON` and `OFF`.
|
||||
|
||||
Reference in New Issue
Block a user