NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
use timeout for move queues (#8662)
Josh Hawkins678f1201c6e6
diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.pyindex 4bca8be47d..b5aee57dc4 100644--- a/frigate/ptz/autotrack.py+++ b/frigate/ptz/autotrack.py@@ -589,7 +589,10 @@ class PtzAutoTracker:camera_config.frame_shape[0]while not self.stop_event.is_set():- move_data = self.move_queues[camera].get()+ try:+ move_data = self.move_queues[camera].get(True, 0.1)+ except queue.Empty:+ continuewith self.move_queue_locks[camera]:frame_time, pan, tilt, zoom = move_data