diff --git a/frigate/object_detection.py b/frigate/object_detection.py index 552ce603d..9ff56424d 100644 --- a/frigate/object_detection.py +++ b/frigate/object_detection.py @@ -58,7 +58,7 @@ class RegionRequester(threading.Thread): frame_time = self.camera.frame_time.value # grab the current tracked objects - tracked_objects = self.camera.object_tracker.tracked_objects.values() + tracked_objects = self.camera.object_tracker.tracked_objects.values().copy() with self.camera.regions_in_process_lock: self.camera.regions_in_process[frame_time] = len(self.camera.config['regions'])