From 271997768cea003772f860bebdee966ed87b0fe0 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 14 Oct 2023 14:05:45 -0500 Subject: [PATCH] ensure init has been called in debug view --- frigate/object_processing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 54be2db63..3fce9b959 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -499,6 +499,9 @@ class CameraState: # draw thicker box around ptz autotracked object if ( self.camera_config.onvif.autotracking.enabled + and self.ptz_autotracker_thread.ptz_autotracker.autotracker_init[ + self.name + ] and self.ptz_autotracker_thread.ptz_autotracker.tracked_object[ self.name ]