NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Catch case where detected object has a height of 0 (#7425)
Nicolas Mowen3921a7faa21f
diff --git a/frigate/video.py b/frigate/video.pyindex 075e53a0c4..f2a49fee3d 100755--- a/frigate/video.py+++ b/frigate/video.py@@ -593,7 +593,7 @@ def detect(width = x_max - x_minheight = y_max - y_minarea = width * height- ratio = width / height+ ratio = width / max(1, height)det = (d[0],d[1],