diff --git a/hb_server/apps/hrm/services.py b/hb_server/apps/hrm/services.py index 8bb9ce8..f2101f6 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.48) + unknown_face_encoding, tolerance=0.49) except: return None, '人脸匹配失败' for index, value in enumerate(results): diff --git a/hb_server/gunicorn_start copy.sh b/hb_server/gunicorn_start copy.sh deleted file mode 100644 index b842dc0..0000000 --- a/hb_server/gunicorn_start copy.sh +++ /dev/null @@ -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