修改face login to

This commit is contained in:
caoqianming 2022-02-24 16:47:45 +08:00
parent bc0d6b47f7
commit bd2643b1c5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class HRMService:
update_all_user_facedata_cache()
try:
results = face_recognition.compare_faces(face_datas,
unknown_face_encoding, tolerance=0.49)
unknown_face_encoding, tolerance=0.5)
except:
return None, '人脸匹配失败'
for index, value in enumerate(results):