diff --git a/hb_server/apps/hrm/services.py b/hb_server/apps/hrm/services.py index f2101f6..bd2f6b4 100644 --- a/hb_server/apps/hrm/services.py +++ b/hb_server/apps/hrm/services.py @@ -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):