NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Ensure birdseye is enabled before trying to grab a frame from it (#19573)
Josh Hawkins1db26cb41e27
diff --git a/frigate/api/media.py b/frigate/api/media.pyindex 163e50518d..b32847ac75 100644--- a/frigate/api/media.py+++ b/frigate/api/media.py@@ -201,7 +201,11 @@ def latest_frame(else "private, max-age=60",},)- elif camera_name == "birdseye" and request.app.frigate_config.birdseye.restream:+ elif (+ camera_name == "birdseye"+ and request.app.frigate_config.birdseye.enabled+ and request.app.frigate_config.birdseye.restream+ ):frame = cv2.cvtColor(frame_processor.get_current_frame(camera_name),cv2.COLOR_YUV2BGR_I420,