diff --git a/deepface/DeepFace.py b/deepface/DeepFace.py index 2e0bf7e..853d95f 100644 --- a/deepface/DeepFace.py +++ b/deepface/DeepFace.py @@ -122,7 +122,7 @@ def verify( - 'distance' (float): The distance measure between the face vectors. A lower distance indicates higher similarity. - - 'max_threshold_to_verify' (float): The maximum threshold used for verification. + - 'threshold' (float): The maximum threshold used for verification. If the distance is below this threshold, the images are considered a match. - 'model' (str): The chosen face recognition model. diff --git a/deepface/modules/verification.py b/deepface/modules/verification.py index 35f4af1..725f099 100644 --- a/deepface/modules/verification.py +++ b/deepface/modules/verification.py @@ -79,7 +79,7 @@ def verify( - 'distance' (float): The distance measure between the face vectors. A lower distance indicates higher similarity. - - 'max_threshold_to_verify' (float): The maximum threshold used for verification. + - 'threshold' (float): The maximum threshold used for verification. If the distance is below this threshold, the images are considered a match. - 'model' (str): The chosen face recognition model.