Accusys
|
7f6b7ef060
|
docs: implement CLI-First policy for processor configuration
政策:
- Pipeline 調用 CLI (rust/swift) 是標準方式
- Python 腳本作為備用 (priority 1+)
配置更新:
- POSE: Rust (priority 0) > Swift (1) > Python (2)
- FACE: Swift (priority 0) > Python (1)
- ASRX: Swift (priority 0) > Python (1)
- OCR: Swift (priority 0) > Python (1)
- FACE_TRACE: Rust (priority 0) > Python (1, 禁用)
- CUT: Rust (priority 0) > Python (1, 禁用)
待實現 CLI:
- ASR: rust_whisper (待實現)
- TKG: rust_tkg (待實現)
- SCENE_VLM: rust_scene_vlm (待實現)
性能提升:
- FACE_TRACE: 20x 更快 (Rust vs Python)
- POSE: 2.5x 更快 (Rust vs Python)
文檔:
- CLI_First_Policy.md: 政策說明
- Processor_Commands_Reference.md: 命令參考
|
2026-09-28 11:06:36 +08:00 |
|
Accusys
|
7d5afba1cd
|
docs: add processor configuration v2/v3 with full commands
新增配置文件:
- processor_tools_v2.json: Tool/Model 分離設計
- processor_tools_v3.json: 完整命令和參數
新增文檔:
- Processor_Config_V2_Design.md: V2 設計文檔
- Processor_Commands_Reference.md: 完整命令參考
V3 配置特點:
- 明確區分 tool (python/rust/swift) 和 model (whisper/mediapipe)
- 包含完整執行命令和參數
- 支持變量替換 ({video_path}, {file_uuid}, etc.)
- 包含環境變量配置
命令示例:
- POSE (Python): python3.11 scripts/pose_processor_mediapipe.py {video} {output} --model-complexity 2
- FACE_TRACE (Rust): rust_store_traced_faces {uuid} --output-dir {dir}
- ASR (Python): python3.11 scripts/asr_processor_simplified.py {video} {output} --model large-v3
下一步:
- 更新 ToolSelector 支持 V3 格式
- 更新 Worker 使用新配置
|
2026-09-28 11:04:33 +08:00 |
|