mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-07 03:11:15 +03:00
Bug fixes (#14263)
* Simplify loitering logic * Fix divide by zero * Add device config for semantic search * Add docs
This commit is contained in:
@@ -36,7 +36,7 @@ class EventCleanup(threading.Thread):
|
||||
self.camera_labels: dict[str, dict[str, any]] = {}
|
||||
|
||||
if self.config.semantic_search.enabled:
|
||||
self.embeddings = Embeddings(self.db)
|
||||
self.embeddings = Embeddings(self.config.semantic_search, self.db)
|
||||
|
||||
def get_removed_camera_labels(self) -> list[Event]:
|
||||
"""Get a list of distinct labels for removed cameras."""
|
||||
|
||||
Reference in New Issue
Block a user