1- # Regula Document Reader web API Python 3.5 + client
1+ # Regula Document Reader web API Python 3.9 + client
22
33:bulb : Before you start: if you just want to play with an online demo, visit our [ playground] ( https://api.regulaforensics.com ) .
44
@@ -10,15 +10,15 @@ you agree with our [Privacy Policy](https://regulaforensics.com/en/company/priva
1010and [ License Agreement] ( https://downloads.regulaforensics.com/work/SDK/doc/Eula.pdf ) .
1111
1212Requirements:
13- - installed python 3.5 or higher
13+ - installed python 3.9 or higher
1414- installed [ pip] ( https://pip.pypa.io/en/stable/installing/ )
1515
1616Verify Python and pip versions:
1717``` bash
1818python --version
19- > Python 3.8 .2
19+ > Python 3.9 .2
2020pip --version
21- > pip 20.2.1 from /home/user/.local/lib/python3.8 /site-packages/pip (python 3.8 )
21+ > pip 22.0.4 from /home/user/.local/lib/python3.9 /site-packages/pip (python 3.9 )
2222```
2323
2424Cloning example:
@@ -54,16 +54,29 @@ API_BASE_PATH="http://127.0.0.1:8080" python example.py
5454```
5555
5656### Output
57+
5758This sample generates the following text output:
59+
5860``` text
5961 ---------------------------------------------------------------------------
60- Document Overall Status: not valid
61- Document Number Visual: OO0000000
62- Document Number MRZ: OO0000000
63- Validity Of Document Number Visual: 0
64- Validity Of Document Number MRZ: 0
65- MRZ-Visual values comparison: 1
62+ Web API version: 7.5.308602.1848
6663 ---------------------------------------------------------------------------
64+ Document Overall Status: not valid
65+ Document Number Visual: C01YPTNHM
66+ Document Type: Germany - ePassport (2017) Service
67+ Validity Of Document Number Visual: 2
68+
69+ -----------------------All Text Fields------------------------
70+ Source: Surname, Value: MUSTERMANN
71+ Source: Surname And Given Names, Value: MUSTERMANN ERIKA
72+ Source: Document Status, Value: SPECIMEN
73+ Source: Surname, Value: MUSTERMANN
74+ Source: Surname And Given Names, Value: MUSTERMANN ERIKA
75+ Source: Document Number Checkdigit, Value: 1
76+ Source: Document Class Code, Value: PO
77+
78+ ...
6779```
80+
6881Also, it stores [ portrait] ( portrait.jpg ) and [ document image] ( document-image.jpg ) images in the current folder.
6982You can modify [ this example] ( ../example/example.py ) and re-run it to get your own results.
0 commit comments