forked from Github/frigate
Semantic Search for Detections (#11899)
* Initial re-implementation of semantic search * put docker-compose back and make reindex match docs * remove debug code and fix import * fix docs * manually build pysqlite3 as binaries are only available for x86-64 * update comment in build_pysqlite3.sh * only embed objects * better error handling when genai fails * ask ollama to pull requested model at startup * update ollama docs * address some PR review comments * fix lint * use IPC to write description, update docs for reindex * remove gemini-pro-vision from docs as it will be unavailable soon * fix OpenAI doc available models * fix api error in gemini and metadata for embeddings
This commit is contained in:
committed by
Nicolas Mowen
parent
f4f3cfa911
commit
36cbffcc5e
@@ -1187,7 +1187,7 @@ class TrackedObjectProcessor(threading.Thread):
|
||||
]
|
||||
|
||||
# publish info on this frame
|
||||
self.detection_publisher.send_data(
|
||||
self.detection_publisher.publish(
|
||||
(
|
||||
camera,
|
||||
frame_time,
|
||||
@@ -1274,7 +1274,7 @@ class TrackedObjectProcessor(threading.Thread):
|
||||
if not update:
|
||||
break
|
||||
|
||||
event_id, camera = update
|
||||
event_id, camera, _ = update
|
||||
self.camera_states[camera].finished(event_id)
|
||||
|
||||
self.requestor.stop()
|
||||
|
||||
Reference in New Issue
Block a user