forked from Github/frigate
Autotracking: reset motion estimator (#7129)
* reset motion estimator after returning to preset * small tweaks and a bugfix
This commit is contained in:
@@ -172,6 +172,7 @@ class FrigateApp:
|
||||
self.config.cameras[camera_name].onvif.autotracking.enabled,
|
||||
),
|
||||
"ptz_stopped": mp.Event(),
|
||||
"ptz_reset": mp.Event(),
|
||||
"ptz_start_time": mp.Value("d", 0.0), # type: ignore[typeddict-item]
|
||||
# issue https://github.com/python/typeshed/issues/8799
|
||||
# from mypy 0.981 onwards
|
||||
|
||||
Reference in New Issue
Block a user