face login

This commit is contained in:
caoqianming 2022-02-24 16:55:54 +08:00
parent bd2643b1c5
commit 3283072137
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.5)
unknown_face_encoding, tolerance=0.55)
except:
return None, '人脸匹配失败'
for index, value in enumerate(results):