Blake Blackshear 5 år sedan
förälder
incheckning
76c8e3a12f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      frigate/object_detection.py

+ 1 - 1
frigate/object_detection.py

@@ -58,7 +58,7 @@ class RegionRequester(threading.Thread):
             frame_time = self.camera.frame_time.value
             frame_time = self.camera.frame_time.value
 
 
             # grab the current tracked objects
             # 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:
             with self.camera.regions_in_process_lock:
                 self.camera.regions_in_process[frame_time] = len(self.camera.config['regions'])
                 self.camera.regions_in_process[frame_time] = len(self.camera.config['regions'])