mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
typo fixed
This commit is contained in:
parent
5df3f07aba
commit
0c12758695
@ -375,7 +375,7 @@ def analysis(db_path, model_name, distance_metric, enable_face_analysis = True):
|
|||||||
employee_name = candidate['employee']
|
employee_name = candidate['employee']
|
||||||
best_distance = candidate['distance']
|
best_distance = candidate['distance']
|
||||||
|
|
||||||
p#rint(candidate[['employee', 'distance']].values)
|
#print(candidate[['employee', 'distance']].values)
|
||||||
|
|
||||||
#if True:
|
#if True:
|
||||||
if best_distance <= threshold:
|
if best_distance <= threshold:
|
||||||
@ -472,4 +472,4 @@ def analysis(db_path, model_name, distance_metric, enable_face_analysis = True):
|
|||||||
|
|
||||||
#kill open cv things
|
#kill open cv things
|
||||||
cap.release()
|
cap.release()
|
||||||
cv2.destroyAllWindows()
|
cv2.destroyAllWindows()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user