From e883e00c7479553bf18fcf8b582531e20df678d6 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 2 Jul 2023 13:10:17 -0500 Subject: [PATCH] only draw thicker box if autotracking is enabled --- frigate/object_processing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index a5edc6f1e..ce8ec659d 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -493,7 +493,8 @@ class CameraState: # draw thicker box around ptz autotracked object 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 ] is not None