typo fixed

This commit is contained in:
Sefik Ilkin Serengil 2020-08-08 18:29:39 +03:00 committed by GitHub
parent 5df3f07aba
commit 0c12758695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()