Spaces:
Running
Running
justin2341
commited on
Update demo.py
Browse files
demo.py
CHANGED
@@ -28,7 +28,7 @@ def idcard_recognition(frame1, frame2):
|
|
28 |
barcode = r.json().get('Barcode')
|
29 |
|
30 |
for key, value in r.json().items():
|
31 |
-
if key == 'Status' or key == 'Images' or key == 'MRZ' or key == 'Position':
|
32 |
continue
|
33 |
|
34 |
mrz_value = ''
|
|
|
28 |
barcode = r.json().get('Barcode')
|
29 |
|
30 |
for key, value in r.json().items():
|
31 |
+
if key == 'Status' or key == 'Images' or key == 'MRZ' or key == 'Position' or key == 'Barcode':
|
32 |
continue
|
33 |
|
34 |
mrz_value = ''
|