feat: face fix deployment + trace_* regeneration + executor stderr filter fix
- swift_face.swift: frame rounding (.rounded()), conf 0.75, min_size 64 - trace_* directories regenerated for KOBA (37 traces, start_frame 5307) - executor.rs: stderr filter now logs all non-empty stderr (was discarding) - VAD not skippable in ASRX (main_fixed.py Step 2 always runs) - Step 2.5 sentence boundary refinement added - Cluster agent async endpoints + similarity transparency - Keyword search: relationship text extraction, priority ordering - Face fix handoff doc for Studio team
This commit is contained in:
@@ -140,7 +140,7 @@ def run_face_tracker(
|
||||
|
||||
def store_traced_faces(file_uuid: str, traced_json_path: str, schema: str = SCHEMA):
|
||||
"""Update Qdrant _faces collection with trace_id after face tracking.
|
||||
|
||||
|
||||
face_detections table is deprecated — trace_id is stored only in Qdrant _faces payload.
|
||||
"""
|
||||
with open(traced_json_path) as f:
|
||||
@@ -170,6 +170,7 @@ def store_traced_faces(file_uuid: str, traced_json_path: str, schema: str = SCHE
|
||||
# Count unique traces from Qdrant
|
||||
try:
|
||||
from qdrant_faces import get_file_faces
|
||||
|
||||
points = get_file_faces(file_uuid)
|
||||
trace_ids = set()
|
||||
for p in points:
|
||||
@@ -182,10 +183,15 @@ def store_traced_faces(file_uuid: str, traced_json_path: str, schema: str = SCHE
|
||||
qdrant_trace_count = 0
|
||||
|
||||
total_faces = sum(
|
||||
1 for fd in frames.values() for f in fd.get("faces", []) if f.get("trace_id") is not None
|
||||
1
|
||||
for fd in frames.values()
|
||||
for f in fd.get("faces", [])
|
||||
if f.get("trace_id") is not None
|
||||
)
|
||||
|
||||
print(f"[TRACE] Updated {qdrant_updated} Qdrant points with trace_id, {qdrant_trace_count} unique traces")
|
||||
print(
|
||||
f"[TRACE] Updated {qdrant_updated} Qdrant points with trace_id, {qdrant_trace_count} unique traces"
|
||||
)
|
||||
return total_faces, qdrant_trace_count
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user