refactor: remove face embedding architecture - single Qdrant _faces collection

- Delete FaceEmbeddingDb module (face_embedding_db.rs)
- Stub match_faces_iterative, generate_seed_embeddings, tmdb_match_handler
- Remove sync_trace_embeddings, populate_face_embeddings_to_qdrant
- Remove embedding from face.json output (face_processor.py)
- Remove embedding from PG UPDATE (store_traced_faces.py)
- Remove workspace traces staging (checkin.rs, qdrant_workspace.rs)
- Fix tests: add pose_angle to Face, hand_nodes to TkgResult

Disabled functions (need reimplement with _faces):
- match_faces_iterative (identity agent)
- generate_seed_embeddings (TMDb seeds)
- tmdb_match_handler (TMDb matching)
- cluster_face_embeddings, search_similar_faces
- merge_traces_within_cuts
This commit is contained in:
Accusys
2026-06-24 22:27:09 +08:00
parent 360cb991e1
commit 074cdcdbed
60 changed files with 657 additions and 9454 deletions
-4
View File
@@ -21,7 +21,6 @@ pub enum ProcessorType {
Face,
Pose,
Hand,
Story,
Caption,
}
@@ -37,7 +36,6 @@ impl ProcessorType {
ProcessorType::Face => "Face",
ProcessorType::Pose => "Pose",
ProcessorType::Hand => "Hand",
ProcessorType::Story => "Story",
ProcessorType::Caption => "Caption",
}
}
@@ -145,7 +143,6 @@ impl ProgressState {
ProcessorProgress::new(ProcessorType::Face),
ProcessorProgress::new(ProcessorType::Pose),
ProcessorProgress::new(ProcessorType::Hand),
ProcessorProgress::new(ProcessorType::Story),
ProcessorProgress::new(ProcessorType::Caption),
],
video_name: video_name.to_string(),
@@ -201,7 +198,6 @@ impl ProgressState {
"OCR" => ProcessorType::Ocr,
"FACE" => ProcessorType::Face,
"POSE" => ProcessorType::Pose,
"STORY" => ProcessorType::Story,
"CAPTION" => ProcessorType::Caption,
_ => return,
};