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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user