fix: face clusters write photo_tags, raise detection threshold to 0.7

- recluster_faces now writes photo_tags rows for each face cluster so
  the tag count and tag_ids filter work (previously count was always 0)
- Old cluster tags and photo_tags are cleaned up before re-clustering
- Raise face detection threshold from 0.4 to 0.7 to reduce false
  positives (was detecting dog faces as people)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 10:48:19 +02:00
parent db20cbb7d8
commit 229611b4c3
3 changed files with 47 additions and 21 deletions

View File

@@ -44,6 +44,6 @@ vision:
faces:
enabled: true
min_face_size: 40
recognition_threshold: 0.4
recognition_threshold: 0.7
cluster_eps: 0.35
worker_concurrency: 2