NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Don't use rknn if device is CPU (#20312)
Nicolas Mowen41e5c12e5b3a
diff --git a/frigate/detectors/detection_runners.py b/frigate/detectors/detection_runners.pyindex 5d1cbf7c29..6a6e46a6cb 100644--- a/frigate/detectors/detection_runners.py+++ b/frigate/detectors/detection_runners.py@@ -424,7 +424,8 @@ def get_optimized_runner() -> BaseModelRunner:"""Get an optimized runner for the hardware."""device = device or "AUTO"- if is_rknn_compatible(model_path):++ if device != "CPU" and is_rknn_compatible(model_path):rknn_path = auto_convert_model(model_path)if rknn_path: