Skip to content

NVR with realtime local object detection for IP cameras

Fix hailo detection (#17819)

Nicolas Mowen43a9641ae884
diff --git a/frigate/object_detection/util.py b/frigate/object_detection/util.py
index a4cab9f8e6..ea8bd4226c 100644
--- a/frigate/object_detection/util.py
+++ b/frigate/object_detection/util.py
@@ -28,12 +28,12 @@ class RequestStore:
def put(self, tensor_input: ndarray) -> int:
request_id = self.__get_request_id()
- self.input_queue.get((request_id, tensor_input))
+ self.input_queue.put((request_id, tensor_input))
return request_id
def get(self) -> tuple[int, ndarray] | None:
try:
- return self.input_queue.get_nowait()
+ return self.input_queue.get()
except Exception:
return None