NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix always the same image is sent to GenAI (#15550)
Giorgio Ughinid9ef8fa20616
diff --git a/frigate/embeddings/maintainer.py b/frigate/embeddings/maintainer.pyindex 2540db4f84..4f81ec2d62 100644--- a/frigate/embeddings/maintainer.py+++ b/frigate/embeddings/maintainer.py@@ -221,7 +221,10 @@ class EmbeddingMaintainer(threading.Thread):[snapshot_image]if event.has_snapshot and camera_config.genai.use_snapshotelse (- [thumbnail for data in self.tracked_events[event_id]]+ [+ data["thumbnail"]+ for data in self.tracked_events[event_id]+ ]if len(self.tracked_events.get(event_id, [])) > 0else [thumbnail])@@ -357,7 +360,7 @@ class EmbeddingMaintainer(threading.Thread):[snapshot_image]if event.has_snapshot and source == "snapshot"else (- [thumbnail for data in self.tracked_events[event_id]]+ [data["thumbnail"] for data in self.tracked_events[event_id]]if len(self.tracked_events.get(event_id, [])) > 0else [thumbnail])