wip: additional processor improvements

- Update face clustering processor
- Update TKG processor
- Update Rust face cluster and trace storage
- Add M4 workspace documentation

Note: Work in progress, not yet tested
This commit is contained in:
Accusys
2026-10-17 18:31:08 +08:00
parent 91f83f781c
commit 095df145d6
20 changed files with 3381 additions and 26 deletions
+2 -2
View File
@@ -551,7 +551,7 @@ def main():
or confidence > person_best_face[person_id]["confidence"]
):
person_best_face[person_id] = {
"face_id": f"face_{frame_idx}_{face_idx}",
"face_id": f"face_{frame_obj.get('frame', frame_idx)}_{face_idx}",
"confidence": confidence,
"frame": frame_obj.get("frame", frame_idx),
"bbox": {
@@ -610,7 +610,7 @@ def main():
if person_id:
output_faces.append(
{
"face_id": f"face_{frame_idx}_{face_idx}",
"face_id": f"face_{frame_obj.get('frame', frame_idx)}_{face_idx}",
"cluster_id": person_id,
"trace_id": face.get("trace_id"),
"confidence": face.get("confidence", 0.9),