Accusys 81ba3ae6e8 feat: improve Face Tracing with IoU + Embedding similarity matching
## Changes

### Face Tracing Improvements
- Replace bbox distance matching with IoU (Intersection over Union)
- Add embedding similarity matching from Qdrant _faces collection
- Add Qdrant HTTP client to load face embeddings
- Fix Qdrant data format reading (x, y, width, height directly, not in bbox object)
- Add debug logging for trace matching
- Add --similarity-threshold and --iou-threshold parameters

### Results
- Before: 374 traces (each face a separate trace)
- After: 22 traces (continuous face sequences)
- Matching validation: IoU 0.819-1.000, Similarity 0.976-1.000

### Pipeline Configuration
- Add face_trace tool configuration with Rust implementation
- Set default parameters: similarity_threshold=0.85, iou_threshold=0.3
- Document usage notes for trace definition

### Face Clustering
- Update threshold to 0.15 for correct male/female separation
- Add auto-filtering for low-quality clusters (face_count<20, bbox_area>150000)

## Testing
- Test video: Accusys-WD_FilmRiot_test.mp4 (374 faces, 188 frames)
- Final result: 2 persons (104 + 79 = 183 faces assigned)
- All faces correctly assigned with cluster_id

## Documentation
- Add test report: docs_v1.0/M4_workspace/2026-10-16_face_tracing_fix_test_report.md

## Files Modified
- tools/cli/rust/src/bin/rust_store_traced_faces.rs
- config/pipeline_flows.json
- scripts/face_clustering_processor.py
- docs_v1.0/M4_workspace/2026-10-16_face_tracing_fix_test_report.md (new)

Closes #FACE_TRACE_IMPROVEMENT
2026-10-16 19:52:17 +08:00
2026-10-05 00:05:41 +08:00

momentry_core

Digital asset management system with video analysis and RAG - Production version with API Key authentication


⚠️ 重要法律声明

MarkBase Queue Protocol 是完全独立实现的队列协议标准。

  • ❌ 不兼容 Apache Kafka 协议或 API
  • ❌ 未使用 Apache Kafka 源代码
  • ✅ 独立实现,借鉴公开技术概念
  • ✅ 独立协议,HTTP/REST + JSON

详细声明见: docs_v1.0/LEGAL/MARKBASE_QUEUE_DISCLAIMER.md


致谢

本项目的 VLM 队列系统设计借鉴了 Apache Kafka 的优秀设计理念,包括:

  • 追加写入日志(Append-Only Log)
  • Offset 追踪机制
  • 分区和消费者组概念

感谢 Apache Kafka 社区的开源贡献。

声明: Momentry Core 是完全独立实现的系统,未使用 Apache Kafka 的任何代码。


许可证

本项目采用专有许可证。未经授权不得使用、修改或分发。

S
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Readme 1.6 GiB
2026-03-25 15:49:30 +08:00
Languages
PLpgSQL 30.5%
Python 27.4%
HTML 20.4%
Rust 13.3%
Shell 3.1%
Other 5.2%