NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix frame time access
Nicolas Mowene5087b092d0c
diff --git a/frigate/api/media.py b/frigate/api/media.pyindex 01776f9038..3cfd976740 100644--- a/frigate/api/media.py+++ b/frigate/api/media.py@@ -737,6 +737,7 @@ async def event_snapshot():event_complete = Falsejpg_bytes = None+ frame_time = 0try:event = Event.get(Event.id == event_id, Event.end_time != None)event_complete = True@@ -790,7 +791,7 @@ async def event_snapshot(headers = {"Content-Type": "image/jpeg","Cache-Control": "private, max-age=31536000" if event_complete else "no-store",- "X-Frame-Time": frame_time,+ "X-Frame-Time": str(frame_time),}if params.download: