From ca4bd256d9f01e71a956b48540bb989798323942 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sat, 9 Mar 2024 21:06:25 +0000 Subject: [PATCH] docstring updated in verify, we mentioned similarity metric but it should be distance metric --- deepface/DeepFace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepface/DeepFace.py b/deepface/DeepFace.py index b73ef61..9881c15 100644 --- a/deepface/DeepFace.py +++ b/deepface/DeepFace.py @@ -111,7 +111,7 @@ def verify( - 'model' (str): The chosen face recognition model. - - 'similarity_metric' (str): The chosen similarity metric for measuring distances. + - 'distance_metric' (str): The chosen similarity metric for measuring distances. - 'facial_areas' (dict): Rectangular regions of interest for faces in both images. - 'img1': {'x': int, 'y': int, 'w': int, 'h': int}