修改face login to

This commit is contained in:
caoqianming 2022-02-24 16:43:38 +08:00
parent c3c4a2e803
commit bc0d6b47f7
2 changed files with 1 additions and 5 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.48)
unknown_face_encoding, tolerance=0.49)
except:
return None, '人脸匹配失败'
for index, value in enumerate(results):

View File

@ -1,4 +0,0 @@
#!/bin/bash
cd /home/lighthouse/hberp/hb_server
source venv/bin/activate
exec gunicorn -w 5 -b 0.0.0.0:2223 server.wsgi