We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ffce8 commit 20f916cCopy full SHA for 20f916c
deepface/modules/verification.py
@@ -156,7 +156,7 @@ def verify(
156
157
# find the face pair with minimum distance
158
threshold = find_threshold(model_name, distance_metric)
159
- distance = min(distances) # best distance
+ distance = float(min(distances)) # best distance
160
facial_areas = regions[np.argmin(distances)]
161
162
toc = time.time()
0 commit comments