Commit Graph

2 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 3ff45f983e research: Apple native video analysis for CUT processor
研究目標:
- 評估使用 Apple native video API 替代 ffmpeg 的可行性
- 利用 Apple Vision + ANE 加速

實現方案:
- 方案 A: Swift 幀差異法 (已實現原型)
- 方案 B: Vision + Core ML (ANE 加速)
- 方案 C: Metal GPU 加速

原型實現:
- swift_scene_detector: AVFoundation + Core Image
- 功能: 場景檢測
- 測試: ✅ 成功

技術:
- AVAssetReader: 視頻幀提取
- Core Image: 幀差異計算
- CIDifferenceBlendMode: 差異混合

測試結果:
- Duration: 8.8s, FPS: 60.0, Frames: 529
- Detected: 1 scene
- ✅ 原型驗證成功

優勢:
- ✅ Apple native 實現
- ✅ 無外部依賴
- ✅ GPU 加速 (Core Image)
- ⚠️ 準確性待優化

下一步:
- 優化算法 (提高準確性)
- 性能對比 (vs ffmpeg)
- 考慮方案 B (Vision + Core ML)
2026-09-28 14:35:09 +08:00