Commit Graph

9 Commits

Author SHA1 Message Date
Accusys 4a3d358b4c feat: implement Rust store_traced_faces with CLI config
新增:
- rust_store_traced_faces CLI 工具
- CLI 配置支持 (min_trace_len, min_confidence)
- ToolSelector 支持 rust_store_traced_faces

配置:
- face_trace: rust (priority=0), python (priority=1)
- 參數: min_trace_len, min_confidence

功能:
- 讀取 face.json
- Face tracking (簡化版)
- 過濾低質量 traces
- 寫入 face_traced.json

ToolSelector 更新:
- face_trace -> rust_store_traced_faces
- python -> store_traced_faces.py

CLI 參數:
- --face-json
- --output-dir
- --min-trace-len
- --min-confidence

編譯:
- ✅ release 編譯成功
- ✅ CLI --help 正常

下一步:
- 測試完整功能
- 集成到 Worker
2026-09-28 03:13:23 +08:00
Accusys d1990e6181 feat: add CUT processor config support
新增:
- CUT 處理器配置
- Rust 原生實現(使用 ffmpeg)

工具優先級:
1. rust (priority=0, enabled=true)
   - Rust 原生實現
   - 使用 ffmpeg 場景檢測
   - use_ffmpeg: true
   - min_scene_duration: 0.5秒
2. python (priority=1, enabled=false)
   - Python 備用方案

配置參數:
- ffmpeg 場景檢測配置
- 最小場景持續時間

ToolSelector:
- cut 返回 Rust 原生標記
- 支持 python 備用

目的:
- 統一所有處理器配置架構
- 支持 ffmpeg 參數配置
2026-09-28 02:22:12 +08:00
Accusys 01c4f69b4f feat: add VLM Summary processor config support
新增:
- VLM Summary 處理器配置
- Rust 原生實現(無需外部工具)

工具:
- rust (priority=0, enabled=true)
  - Rust 原生實現
  - 模型: gemma-4-12b-it
  - max_tokens: 800
  - use_vision: true

配置參數:
- LLM 模型配置
- 視覺輸入支持
- Token 限制

ToolSelector:
- vlm_summary 返回 Rust 原生標記
- 無需外部二進制文件

目的:
- 統一所有處理器配置架構
- 支持 LLM 參數配置
2026-09-28 02:18:17 +08:00
Accusys 782f326a34 feat: add TKG processor config support
新增:
- TKG (Temporal Knowledge Graph) 處理器配置
- ToolSelector 支持 TKG 工具

工具優先級:
1. python (priority=0, enabled=true)
   - 腳本: store_traced_faces.py
2. rust (priority=1, enabled=false)
   - 待實現

ToolSelector 支持:
- store_traced_faces.py
- rust_tkg (未來)

目的:
- 統一所有處理器配置架構
- 支持 TKG 配置驅動
2026-09-28 02:10:19 +08:00
Accusys 83358a951d feat: add config support for face_trace, face_deduplicate, scene_vlm_summary
新增處理器配置:
- face_trace: python (優先), rust (待實現)
- face_deduplicate: python (優先), rust (待實現)
- scene_vlm_summary: python (支持 LLM 參數)

工具優先級:
face_trace:
  1. python (priority=0, enabled=true)
  2. rust (priority=1, enabled=false)

face_deduplicate:
  1. python (priority=0, enabled=true)
  2. rust (priority=1, enabled=false)

scene_vlm_summary:
  1. python (priority=0, enabled=true)
     - model: gemma-4-12b-it
     - max_tokens: 300

ToolSelector 支持:
- face_trace: face_trace.py, rust_face_trace
- face_deduplicate: face_deduplicate.py, rust_face_deduplicate
- scene_vlm_summary: scene_vlm_summary.py

目的:
- 統一所有處理器配置架構
- 支持未來 Rust 實現
2026-09-28 02:06:43 +08:00
Accusys 7d19ae4741 feat: add OCR processor config (Apple Vision Swift CLI)
新增:
- OCR 處理器配置
- Swift CLI 優先 (Apple Vision)

工具優先級:
1. swift (priority=0, enabled=true) - Apple Vision OCR
2. python (priority=1, enabled=true) - Python 備用

ToolSelector:
- 已支持 swift_ocr 和 ocr_processor.py

目的:
- 統一處理器配置架構
- 支持配置驅動的工具選擇
2026-09-28 02:01:25 +08:00
Accusys 9003aa0548 feat: add ASRX processor config support
新增:
- ASRX 處理器配置
- ToolSelector 支持 ASRX 工具

工具優先級:
1. swift (priority=0, enabled=true) - Apple Vision
2. rust (priority=1, enabled=false) - 待實現
3. python (priority=2, enabled=true) - 備用

配置:
- processor_tools.json 新增 asrx 配置
- tool_selector.rs 支持 asrx_swift, rust_asrx, python

目的:
- 為未來 Rust ASRX 實現預留接口
- 統一處理器配置架構
2026-09-28 01:57:35 +08:00
Accusys 0af9082aa9 feat: add Rust CLI support for ASR processor
新增:
- ASR Rust CLI 支持(備用方案)
- ToolSelector 支持 rust_asr 工具

配置:
- Whisper CLI: 優先(Apple MLX 加速)
- Rust ASR: 備用(待實現)

工具優先級:
1. whisper (priority=0, enabled=true)
2. rust (priority=1, enabled=false)

目的:
- 為未來 Rust ASR 實現預留接口
- 保持配置擴展性
2026-09-28 01:53:20 +08:00
Accusys 123ae87c1a feat: add tool configuration support for processors
新增:
- ToolConfig 結構體(工具名稱、優先級、啟用狀態、參數)
- ProcessorConfig 擴展(tools 列表、default_tool)
- 預設配置文件 config/processor_tools.json

目的:
- 支持處理器工具軟定義
- 替換 hard-coded 邏輯
- 提供配置驅動的工具選擇

配置示例:
- pose: mediapipe > rust > swift > yolov8
- face: swift > python
- asr: whisper

下一步:
- Phase 2: 創建 ToolSelector 模塊
- Phase 3: 替換 POSE 處理器 hard-coded 邏輯
2026-09-28 01:20:53 +08:00