Graduate
...@@ -127,7 +127,7 @@ def verify(): ...@@ -127,7 +127,7 @@ def verify():
127 if (distance < dist_min): 127 if (distance < dist_min):
128 verified_id = row_data['student_id'] 128 verified_id = row_data['student_id']
129 dist_min = distance 129 dist_min = distance
130 - new_embedding = db_embedding * 0.97 + embedding * 0.03 130 + new_embedding = db_embedding * 0.99 + embedding * 0.01
131 new_embedding = new_embedding.tobytes() 131 new_embedding = new_embedding.tobytes()
132 sql = "UPDATE student_embedding SET embedding=_binary %s WHERE student_id = %s" 132 sql = "UPDATE student_embedding SET embedding=_binary %s WHERE student_id = %s"
133 cursor.execute(sql, (new_embedding, verified_id)) 133 cursor.execute(sql, (new_embedding, verified_id))
......
1 [verification_server] 1 [verification_server]
2 model=models/20200816-080621 2 model=models/20200816-080621
3 -threshold=0.78 3 +threshold=0.685
4 image_size=160 4 image_size=160
......
1 -python3 -m flask run --host 0.0.0.0 --port 443 --cert=cert.pem --key=key.pem 1 +python3 -m flask run --host 0.0.0.0 --port 443 --no-debugger --no-reload --cert=cert.pem --key=key.pem
......
...@@ -257,13 +257,13 @@ and is wrapped around the whole page content, except for the footer in this exam ...@@ -257,13 +257,13 @@ and is wrapped around the whole page content, except for the footer in this exam
257 <canvas id="canvasOutput">/canvas> 257 <canvas id="canvasOutput">/canvas>
258 </div> 258 </div>
259 <div id="inputForm"> 259 <div id="inputForm">
260 - <strong>얼굴 이미지는 서버에 저장되지 않습니다</strong><br> 260 + <strong>얼굴 이미지는 '절대로' 저장되지 않습니다</strong><br>
261 - <strong>(복원 불가능한 512차원 벡터로 변환됩니다)</strong><br>
262 <strong>학번과 이름은 임의로 입력해주세요</strong><br> 261 <strong>학번과 이름은 임의로 입력해주세요</strong><br>
263 <strong>예)1234/홍길동 등</strong><br> 262 <strong>예)1234/홍길동 등</strong><br>
264 학번: <input type="text" id="student_id"><br> 263 학번: <input type="text" id="student_id"><br>
265 이름: <input type="text" id="student_name"><br> 264 이름: <input type="text" id="student_name"><br>
266 - <input id="sender" type="button" onclick="submit()" value="등록" disabled> 265 + <input id="sender" type="button" onclick="submit()" value="등록" disabled><br>
266 + 등록 후: <a href="https://gabibing.com">출석체크 페이지</a>
267 </div> 267 </div>
268 </div> 268 </div>
269 </div> 269 </div>
......