Misc fixes (#19089)

* Correctly handle min_faces

* Change to use recognized faces
This commit is contained in:
Nicolas Mowen
2025-07-11 06:30:26 -06:00
committed by GitHub
parent ee1db240d7
commit 5cf98824f5
4 changed files with 7 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ Fine-tune face recognition with these optional parameters at the global level of
- Default: `0.8`.
- `recognition_threshold`: Recognition confidence score required to add the face to the object as a sub label.
- Default: `0.9`.
- `min_faces`: Min face attempts for the sub label to be applied to the person object.
- `min_faces`: Min face recognitions for the sub label to be applied to the person object.
- Default: `1`
- `save_attempts`: Number of images of recognized faces to save for training.
- Default: `100`.

View File

@@ -561,7 +561,7 @@ face_recognition:
recognition_threshold: 0.9
# Optional: Min area of detected face box to consider running face recognition (default: shown below)
min_area: 500
# Optional: Min face attempts for the sub label to be applied to the person object (default: shown below)
# Optional: Min face recognitions for the sub label to be applied to the person object (default: shown below)
min_faces: 1
# Optional: Number of images of recognized faces to save for training (default: shown below)
save_attempts: 100