NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
OpenVino - Error clarification for compile_model function (#12304)
ubawurinna2ea1d34f4fe1
diff --git a/frigate/detectors/plugins/openvino.py b/frigate/detectors/plugins/openvino.pyindex 4ac610d773..a6b0a51cd0 100644--- a/frigate/detectors/plugins/openvino.py+++ b/frigate/detectors/plugins/openvino.py@@ -1,4 +1,5 @@import logging+import osimport numpy as npimport openvino as ov@@ -35,6 +36,10 @@ class OvDetector(DetectionApi):)detector_config.device = "GPU"+ if not os.path.isfile(detector_config.model.path):+ logger.error(f"OpenVino model file {detector_config.model.path} not found.")+ raise FileNotFoundError+self.interpreter = self.ov_core.compile_model(model=detector_config.model.path, device_name=detector_config.device)