Skip to content

NVR with realtime local object detection for IP cameras

fix: update correct metric in batch_embed_thumbnail (#22501)

ryzendigo7708523865d1
diff --git a/frigate/embeddings/embeddings.py b/frigate/embeddings/embeddings.py
index d31d1b058f..91144c3fa5 100644
--- a/frigate/embeddings/embeddings.py
+++ b/frigate/embeddings/embeddings.py
@@ -266,7 +266,7 @@ class Embeddings:
)
duration = datetime.datetime.now().timestamp() - start
- self.text_inference_speed.update(duration / len(valid_ids))
+ self.image_inference_speed.update(duration / len(valid_ids))
return embeddings