mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 11:15:21 +03:00
only draw thicker box if autotracking is enabled
This commit is contained in:
parent
f05ca2b9c6
commit
e883e00c74
@ -493,7 +493,8 @@ class CameraState:
|
|||||||
|
|
||||||
# draw thicker box around ptz autotracked object
|
# draw thicker box around ptz autotracked object
|
||||||
if (
|
if (
|
||||||
self.ptz_autotracker_thread.ptz_autotracker.tracked_object[
|
self.camera_config.onvif.autotracking.enabled
|
||||||
|
and self.ptz_autotracker_thread.ptz_autotracker.tracked_object[
|
||||||
self.name
|
self.name
|
||||||
]
|
]
|
||||||
is not None
|
is not None
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user