NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix path of device tree on HassOS add on (#8764)
Marc Altmann27cf1cdf150f
diff --git a/frigate/detectors/plugins/rknn.py b/frigate/detectors/plugins/rknn.pyindex 38beec3b24..01c58b94d0 100644--- a/frigate/detectors/plugins/rknn.py+++ b/frigate/detectors/plugins/rknn.py@@ -42,6 +42,11 @@ class Rknn(DetectionApi):type_key = DETECTOR_KEYdef __init__(self, config: RknnDetectorConfig):+ # create symlink for Home Assistant add on+ if not os.path.isfile("/proc/device-tree/compatible"):+ if os.path.isfile("/device-tree/compatible"):+ os.symlink("/device-tree/compatible", "/proc/device-tree/compatible")+# find out SoCtry:with open("/proc/device-tree/compatible") as file: