NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix debug camera image not updating when loading (#12394)
Josh Hawkinsfe4a7374211a
diff --git a/web/src/components/camera/CameraImage.tsx b/web/src/components/camera/CameraImage.tsxindex 92d0572c11..cdf1992fd3 100644--- a/web/src/components/camera/CameraImage.tsx+++ b/web/src/components/camera/CameraImage.tsx@@ -48,6 +48,8 @@ export default function CameraImage({}}, [containerWidth, containerHeight, hasLoaded]);+ useEffect(() => setHasLoaded(false), [camera]);+useEffect(() => {if (!config || !imgRef.current) {return;