Commit Graph

4 Commits

Author SHA1 Message Date
Accusys e0d04e242f feat: face clustering pipeline improvements and Rust/Swift face processing
- Add Rust face processor module (detection, embedding, tracking, qdrant)
- Add Facenet CoreML/ONNX conversion scripts and tests
- Refactor swift_face into Sources/swift_face with ArgumentParser support
- Update store_traced_faces to handle face.json correctly
- Fix ASRX parsing and TKG bbox reading from Qdrant
- Improve admin_config and trace_agent APIs
- Add M4 workspace docs for face clustering, dedup, and Facenet validation
- Fix worker heartbeat TTL (poll_interval x 3, min 60s) for offline detection
2026-10-02 12:24:55 +08:00
Accusys 1529c021ef fix: add --frames parameter to pose_processor_mediapipe.py
問題:
- Worker 調用時傳入 --frames 參數
- 腳本不支持該參數
- 導致 MediaPipe Pose 失敗

修復:
- 添加 --frames 參數支持
- 參數值被忽略(MediaPipe 處理所有幀)
- 兼容 Worker 的 8Hz 採樣調用

錯誤日誌:
- pose_processor_mediapipe.py: error: unrecognized arguments: --frames 0,7,14,...

修復後:
- ✅ 參數被接受
- ✅ MediaPipe 處理所有幀
- ✅ 配置驅動正常工作
2026-09-28 02:42:12 +08:00
Accusys b4e4b30b8e feat: migrate MediaPipe Pose to tools/script/pose/
遷移原因:
- 遵循 Tools 架構規範
- Worker 查找路徑為 tools/script/pose/
- 舊位置 scripts/ 將被清理

測試:
- ✅ Worker 能找到腳本
- ✅ 100% 檢測率
- ✅ 33 關鍵點

架構:
- tools/script/pose/pose_processor_mediapipe.py
- tools/script/pose/pose_processor.py
2026-09-28 01:11:08 +08:00
Accusys af028ab8f4 feat: restructure tools directory
新結構:
- tools/script/ (Python 處理器腳本)
- tools/cli/ (Swift/Rust CLI 工具)

遷移內容:
- Python 腳本: ASR, Face, Pose, Cut, OCR, VLM, Embedding, Identity
- Swift CLI: 24 個 Swift 處理器和測試文件
- Rust CLI: Face Cluster, Appearance, Pose

保留向後兼容:
- 舊路徑 scripts/ 仍然存在
- 環境變數可配置新路徑

文檔:
- tools/README.md
- docs_v1.0/DESIGN/Tools_Directory_Restructure.md
2026-09-27 12:04:23 +08:00