From ba6dda82e0e0270d7ab296077cdeb59229f5a815 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 13 Sep 2025 17:35:46 -0600 Subject: [PATCH] Don't count performance --- frigate/detectors/plugins/openvino.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/detectors/plugins/openvino.py b/frigate/detectors/plugins/openvino.py index 77f02e292..e43283afb 100644 --- a/frigate/detectors/plugins/openvino.py +++ b/frigate/detectors/plugins/openvino.py @@ -47,6 +47,8 @@ class OvDetector(DetectionApi): logger.error(f"OpenVino model file {detector_config.model.path} not found.") raise FileNotFoundError + # Disable performance counters to reduce overhead + self.ov_core.set_property(detector_config.device, {"PERF_COUNT": "NO"}) self.interpreter = self.ov_core.compile_model( model=detector_config.model.path, device_name=detector_config.device )