diff --git a/docs/docs/configuration/face_recognition.md b/docs/docs/configuration/face_recognition.md index 9fb5c9a44..d618dbba6 100644 --- a/docs/docs/configuration/face_recognition.md +++ b/docs/docs/configuration/face_recognition.md @@ -59,7 +59,7 @@ Fine-tune face recognition with these optional parameters: ### Recognition - `model_size`: Which model size to use, options are `small` or `large` -- `unknown_score`: Min score to mark a person as a potential match, matches below this will be marked as unknown. +- `unknown_score`: Min score to mark a person as a potential match, matches at or below this will be marked as unknown. - Default: `0.8`. - `recognition_threshold`: Recognition confidence score required to add the face to the object as a sub label. - Default: `0.9`. diff --git a/frigate/data_processing/real_time/face.py b/frigate/data_processing/real_time/face.py index e3a1ff00d..69e4b37ff 100644 --- a/frigate/data_processing/real_time/face.py +++ b/frigate/data_processing/real_time/face.py @@ -241,7 +241,7 @@ class FaceRealTimeProcessor(RealTimeProcessorApi): sub_label, score = res - if score < self.face_config.unknown_score: + if score <= self.face_config.unknown_score: sub_label = "unknown" logger.debug(