fix: verify faces against YOLO person detections for precision

Cross-reference face detections with YOLO 'person' bounding boxes —
only keep faces that overlap >= 50% with a detected human body. This
eliminates false positives on dogs, paintings, and cartoons without
needing an aggressive score threshold.

Lower face detection threshold back to 0.6 since the person-overlap
check is now the primary precision filter.

Tested: 6 verified faces from 4 photos, zero false positives.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 11:13:01 +02:00
parent 40d570f2c2
commit f48e099bd2
3 changed files with 55 additions and 6 deletions

View File

@@ -44,6 +44,6 @@ vision:
faces:
enabled: true
min_face_size: 40
recognition_threshold: 0.85
recognition_threshold: 0.6
cluster_eps: 0.25
worker_concurrency: 2