From 4dfac5a7df886748d6f2ad919880f673cbd94662 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 1 Oct 2023 11:32:10 -0500 Subject: [PATCH] predicted box should not be empty --- frigate/ptz/autotrack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.py index 022ff949d..084c6180d 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -544,7 +544,7 @@ class PtzAutoTracker: def _autotrack_move_ptz(self, camera, obj): camera_config = self.config.cameras[camera] average_velocity = (0,) * 4 - predicted_box = [] + predicted_box = obj.obj_data["box"] # # frame width and height camera_width = camera_config.frame_shape[1]