Skip to content

Commit ab50326

Browse files
committed
Fix hailo detection
1 parent 9a786a5 commit ab50326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frigate/object_detection/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ def __get_request_id(self) -> int:
2828

2929
def put(self, tensor_input: ndarray) -> int:
3030
request_id = self.__get_request_id()
31-
self.input_queue.get((request_id, tensor_input))
31+
self.input_queue.put((request_id, tensor_input))
3232
return request_id
3333

3434
def get(self) -> tuple[int, ndarray] | None:
3535
try:
36-
return self.input_queue.get_nowait()
36+
return self.input_queue.get()
3737
except Exception:
3838
return None
3939

0 commit comments

Comments
 (0)