tolerance 调整
This commit is contained in:
parent
4bc4c8bbc1
commit
493845c1f4
|
@ -30,7 +30,7 @@ class HRMService:
|
|||
update_all_user_facedata_cache()
|
||||
try:
|
||||
results = face_recognition.compare_faces(face_datas,
|
||||
unknown_face_encoding, tolerance=0.5)
|
||||
unknown_face_encoding, tolerance=0.48)
|
||||
except:
|
||||
return None, '人脸匹配失败'
|
||||
for index, value in enumerate(results):
|
||||
|
|
Loading…
Reference in New Issue