From b1f2e299eea282ca3f44c0bf8c3498c6a4a29bd7 Mon Sep 17 00:00:00 2001 From: OmriAx Date: Mon, 3 Mar 2025 11:06:47 +0200 Subject: [PATCH] Removing some extra prints --- frigate/detectors/plugins/hailo8l.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frigate/detectors/plugins/hailo8l.py b/frigate/detectors/plugins/hailo8l.py index 0808319c9..6cc78291c 100755 --- a/frigate/detectors/plugins/hailo8l.py +++ b/frigate/detectors/plugins/hailo8l.py @@ -349,7 +349,6 @@ class HailoDetector(DetectionApi): # If no valid detections were found, return a zero array. if len(all_detections) == 0: - logging.warning("[DETECT_RAW] No valid detections found.") return np.zeros((20, 6), dtype=np.float32) detections_array = np.array(all_detections, dtype=np.float32) @@ -378,14 +377,6 @@ class HailoDetector(DetectionApi): logging.error(f"Failed to close Hailo device: {e}") raise - # Asynchronous detection wrapper - def async_detect(self, tensor_input, callback): - def detection_thread(): - result = self.detect_raw(tensor_input) - callback(result) - thread = threading.Thread(target=detection_thread) - thread.start() - # ----------------- Configuration Class ----------------- # class HailoDetectorConfig(BaseDetectorConfig): type: Literal[DETECTOR_KEY]