From c406fda28817f47d616c60ce999bbaeccc48d689 Mon Sep 17 00:00:00 2001 From: blakeblackshear Date: Tue, 19 Mar 2019 06:29:58 -0500 Subject: [PATCH] fixes --- frigate/object_detection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/object_detection.py b/frigate/object_detection.py index b56d527a7..df77dc70a 100644 --- a/frigate/object_detection.py +++ b/frigate/object_detection.py @@ -44,10 +44,10 @@ def detect_objects(prepped_frame_array, prepped_frame_time, prepped_frame_lock, # put detected objects in the queue if objects: # assumes square - region_size = region_box[3]-region_box[0] + region_size = region_box[2]-region_box[0] for obj in objects: box = obj.bounding_box.flatten().tolist() - object_queue.append({ + object_queue.put({ 'frame_time': frame_time, 'name': str(labels[obj.label_id]), 'score': float(obj.score),