diff --git a/detect_objects.py b/detect_objects.py index e31f6f03b..b7156bab2 100644 --- a/detect_objects.py +++ b/detect_objects.py @@ -73,7 +73,7 @@ def main(): # Queue for prepped frames, max size set to number of regions * 3 max_queue_size = sum([len(camera['regions'])*3 for name, camera in CONFIG['cameras'].items()]) - prepped_frame_queue = queue.Queue(max_queue_size) + prepped_frame_queue = queue.Queue() cameras = {} for name, config in CONFIG['cameras'].items(): diff --git a/frigate/video.py b/frigate/video.py index 911d651d5..13b9a1ce4 100644 --- a/frigate/video.py +++ b/frigate/video.py @@ -168,7 +168,7 @@ class Camera: # Queue for prepped frames, max size set to (number of regions * 5) max_queue_size = len(self.config['regions'])*5 - self.resize_queue = queue.Queue(max_queue_size) + self.resize_queue = queue.Queue() # Queue for raw detected objects self.detected_objects_queue = queue.Queue()