mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
ensure object type is available as a ptz tracker
This commit is contained in:
parent
7a330d5940
commit
13cb93f2e1
@ -246,6 +246,7 @@ class NorfairTracker(ObjectTracker):
|
||||
"ptz"
|
||||
if self.camera_config.onvif.autotracking.enabled_in_config
|
||||
and object_type in self.camera_config.onvif.autotracking.track
|
||||
and object_type in self.ptz_object_type_configs.keys()
|
||||
else "static"
|
||||
)
|
||||
if object_type in self.trackers:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user