NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Tune OV for latency (#20160)
Nicolas Mowene4d5f1f94ec8
diff --git a/frigate/detectors/detection_runners.py b/frigate/detectors/detection_runners.pyindex 8f3c826f2e..19c91e4875 100644--- a/frigate/detectors/detection_runners.py+++ b/frigate/detectors/detection_runners.py@@ -195,6 +195,9 @@ class OpenVINOModelRunner(BaseModelRunner):# Apply performance optimizationself.ov_core.set_property(device, {"PERF_COUNT": "NO"})+ if device in ["GPU", "AUTO"]:+ self.ov_core.set_property(device, {"PERFORMANCE_HINT": "LATENCY"})+# Compile modelself.compiled_model = self.ov_core.compile_model(model=model_path, device_name=device