fix(P0): per-library output dir for worker ingestion/verification (face_cluster guard, verifier, TKG, qdrant_face, ASR/ASRX); fix face_cluster serde default for empty output; fix face_cluster dependencies in pipeline_flows.json
This commit is contained in:
@@ -75,9 +75,18 @@ fn round_json(value: Value) -> Value {
|
||||
|
||||
fn write_empty_output(status: &str, file_uuid: &str, output_path: &std::path::Path) {
|
||||
let output_data = json!({
|
||||
"schema_version": "2.0",
|
||||
"status": status,
|
||||
"file_uuid": file_uuid,
|
||||
"stats": {
|
||||
"total_clusters": 0,
|
||||
"total_faces": 0,
|
||||
"noise_faces": 0,
|
||||
"total_traces": 0,
|
||||
},
|
||||
"clusters": [],
|
||||
"unassigned_traces": [],
|
||||
"speaker_person_mapping": {},
|
||||
"frames": [],
|
||||
});
|
||||
let text = serde_json::to_string_pretty(&output_data).unwrap_or_default();
|
||||
|
||||
Reference in New Issue
Block a user