Spaces:
Running
Running
Zhu-FaceOnLive
commited on
Commit
•
761e621
1
Parent(s):
03b0e10
Update app.py
Browse files
app.py
CHANGED
@@ -195,8 +195,8 @@ def fr_detail():
|
|
195 |
print("Matching Result", recog_api_resp)
|
196 |
return render_template('fr_detail.html',
|
197 |
id_name = sess_id_res['data']['ocr']['name'],
|
198 |
-
id_liveness = sess_id_res['authenticity_liveness'].upper(),
|
199 |
-
id_forge = sess_id_res['authenticity_meta'].upper(),
|
200 |
id_front = 'data:image/png;base64,' + sess_id_res['data']['image']['documentFrontSide'],
|
201 |
id_face = 'data:image/png;base64,' + sess_id_face,
|
202 |
selfie = 'data:image/png;base64,' + sess_fr_selfie,
|
|
|
195 |
print("Matching Result", recog_api_resp)
|
196 |
return render_template('fr_detail.html',
|
197 |
id_name = sess_id_res['data']['ocr']['name'],
|
198 |
+
id_liveness = sess_id_res['liveness']['authenticity_liveness'].upper(),
|
199 |
+
id_forge = sess_id_res['liveness']['authenticity_meta'].upper(),
|
200 |
id_front = 'data:image/png;base64,' + sess_id_res['data']['image']['documentFrontSide'],
|
201 |
id_face = 'data:image/png;base64,' + sess_id_face,
|
202 |
selfie = 'data:image/png;base64,' + sess_fr_selfie,
|