From b4122698b6249584a96f721fa3de18ef71c08695 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Wed, 12 Jan 2022 17:18:18 +0300 Subject: [PATCH] verify outputs --- deepface/DeepFace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepface/DeepFace.py b/deepface/DeepFace.py index b3693a0..346f1a8 100644 --- a/deepface/DeepFace.py +++ b/deepface/DeepFace.py @@ -202,10 +202,10 @@ def verify(img1_path, img2_path = '', model_name = 'VGG-Face', distance_metric = resp_obj = { "verified": identified , "distance": distance - , "max_threshold_to_verify": threshold + , "threshold": threshold , "model": model_name + , "detector_backend": detector_backend , "similarity_metric": distance_metric - } if bulkProcess == True: