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 |
|
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 |
|