regula-documentreader-webclient 8.1.354.dev0__py3-none-any.whl → 8.1.357.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of regula-documentreader-webclient might be problematic. Click here for more details.
- regula/documentreader/webclient/gen/models/input_barcode_type.py +20 -20
- regula/documentreader/webclient/gen/models/input_image_quality_checks.py +9 -9
- regula/documentreader/webclient/gen/models/log_level.py +1 -1
- regula/documentreader/webclient/gen/models/mrz_format.py +6 -6
- regula/documentreader/webclient/gen/models/parsing_notification_codes.py +2 -0
- regula/documentreader/webclient/gen/models/scenario.py +11 -11
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/METADATA +14 -5
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/RECORD +10 -10
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/WHEEL +1 -1
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/top_level.txt +0 -0
|
@@ -18,26 +18,26 @@ class InputBarcodeType(str, Enum):
|
|
|
18
18
|
"""
|
|
19
19
|
allowed enum values
|
|
20
20
|
"""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
21
|
+
UNKNOWN = 'bct_unknown'
|
|
22
|
+
CODE128 = 'bct_Code128'
|
|
23
|
+
CODE39 = 'bct_Code39'
|
|
24
|
+
EAN8 = 'bct_EAN8'
|
|
25
|
+
ITF = 'bct_ITF'
|
|
26
|
+
PDF417 = 'bct_PDF417'
|
|
27
|
+
STF = 'bct_STF'
|
|
28
|
+
MTF = 'bct_MTF'
|
|
29
|
+
IATA = 'bct_IATA'
|
|
30
|
+
CODABAR = 'bct_CODABAR'
|
|
31
|
+
UPCA = 'bct_UPCA'
|
|
32
|
+
CODE93 = 'bct_CODE93'
|
|
33
|
+
UPCE = 'bct_UPCE'
|
|
34
|
+
EAN13 = 'bct_EAN13'
|
|
35
|
+
QRCODE = 'bct_QRCODE'
|
|
36
|
+
AZTEC = 'bct_AZTEC'
|
|
37
|
+
DATAMATRIX = 'bct_DATAMATRIX'
|
|
38
|
+
ALL_1D = 'bct_ALL_1D'
|
|
39
|
+
CODE11 = 'bct_Code11'
|
|
40
|
+
JABCODE = 'bct_JABCODE'
|
|
41
41
|
|
|
42
42
|
@classmethod
|
|
43
43
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -18,15 +18,15 @@ class InputImageQualityChecks(str, Enum):
|
|
|
18
18
|
"""
|
|
19
19
|
allowed enum values
|
|
20
20
|
"""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
Glares = 'glaresCheck'
|
|
22
|
+
Focus = 'focusCheck'
|
|
23
|
+
Resolution = 'dpiThreshold'
|
|
24
|
+
Colorness = 'colornessCheck'
|
|
25
|
+
Perspective = 'perspectiveCheck'
|
|
26
|
+
Bounds = 'documentPosition'
|
|
27
|
+
Portrait = 'portraitCheck'
|
|
28
|
+
Brightness = 'brightnessCheck'
|
|
29
|
+
Occlusion = 'occlusionCheck'
|
|
30
30
|
|
|
31
31
|
@classmethod
|
|
32
32
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -18,12 +18,12 @@ class MRZFormat(str, Enum):
|
|
|
18
18
|
"""
|
|
19
19
|
allowed enum values
|
|
20
20
|
"""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
IDL = '1x30'
|
|
22
|
+
ID1 = '3x30'
|
|
23
|
+
ID2 = '2x36'
|
|
24
|
+
ID3 = '2x44'
|
|
25
|
+
CAN = '1x6'
|
|
26
|
+
ID1_2_30 = '2x30'
|
|
27
27
|
|
|
28
28
|
@classmethod
|
|
29
29
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -240,6 +240,8 @@ class ParsingNotificationCodes(int, Enum):
|
|
|
240
240
|
ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = 2415919697
|
|
241
241
|
ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289
|
|
242
242
|
ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698
|
|
243
|
+
ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase = 2415919699
|
|
244
|
+
ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase = 2415919700
|
|
243
245
|
|
|
244
246
|
@classmethod
|
|
245
247
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -23,18 +23,18 @@ class Scenario(str, Enum):
|
|
|
23
23
|
LOCATE = 'Locate'
|
|
24
24
|
OCR = 'Ocr'
|
|
25
25
|
DOCTYPE = 'DocType'
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
MRZ_OR_BARCODE = 'MrzOrBarcode'
|
|
27
|
+
MRZ_OR_LOCATE = 'MrzOrLocate'
|
|
28
|
+
MRZ_AND_LOCATE = 'MrzAndLocate'
|
|
29
|
+
BARCODE_AND_LOCATE = 'BarcodeAndLocate'
|
|
30
|
+
MRZ_OR_OCR = 'MrzOrOcr'
|
|
31
|
+
MRZ_OR_BARCODE_OR_OCR = 'MrzOrBarcodeOrOcr'
|
|
32
32
|
LOCATE_VISUAL_AND_MRZ_OR_OCR = 'LocateVisual_And_MrzOrOcr'
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
FULL_PROCESS = 'FullProcess'
|
|
34
|
+
FULL_AUTH = 'FullAuth'
|
|
35
|
+
RUS_STAMP = 'RusStamp'
|
|
36
|
+
OCR_FREE = 'OcrFree'
|
|
37
|
+
CREDIT_CARD = 'CreditCard'
|
|
38
38
|
CAPTURE = 'Capture'
|
|
39
39
|
DTC = 'DTC'
|
|
40
40
|
RFID = 'RFID'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: regula_documentreader_webclient
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.357.dev0
|
|
4
4
|
Summary: Regula's Document Reader python client
|
|
5
5
|
Home-page: https://regulaforensics.com
|
|
6
6
|
Author: Regula Forensics, Inc.
|
|
7
7
|
Author-email: support@regulaforensics.com
|
|
8
8
|
Keywords: document-reader-client,document reader,document recognition,regulaforensics,regula
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: certifi>=2024.07.04
|
|
12
12
|
Requires-Dist: six>=1.10
|
|
@@ -17,8 +17,17 @@ Requires-Dist: idna==3.7
|
|
|
17
17
|
Requires-Dist: requests>=2.32.3
|
|
18
18
|
Requires-Dist: pydantic>=2
|
|
19
19
|
Requires-Dist: typing-extensions>=4.7.1
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: description
|
|
23
|
+
Dynamic: description-content-type
|
|
24
|
+
Dynamic: home-page
|
|
25
|
+
Dynamic: keywords
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
20
29
|
|
|
21
|
-
# Regula Document Reader web API Python 3.
|
|
30
|
+
# Regula Document Reader web API Python 3.9+ client
|
|
22
31
|
|
|
23
32
|
[](https://support.regulaforensics.com/hc/en-us/articles/115000916306-Documentation)
|
|
24
33
|
[](https://github.com/regulaforensics/DocumentReader-web-openapi)
|
|
@@ -59,7 +68,7 @@ with open("australia_passport.jpg", "rb") as f:
|
|
|
59
68
|
|
|
60
69
|
with DocumentReaderApi(host='http://localhost:8080') as api:
|
|
61
70
|
params = ProcessParams(
|
|
62
|
-
scenario=Scenario.
|
|
71
|
+
scenario=Scenario.FULL_PROCESS,
|
|
63
72
|
result_type_output=[Result.DOCUMENT_IMAGE, Result.STATUS, Result.TEXT, Result.IMAGES]
|
|
64
73
|
)
|
|
65
74
|
request = RecognitionRequest(process_params=params, images=[input_image])
|
|
@@ -122,8 +122,8 @@ regula/documentreader/webclient/gen/models/images_result.py,sha256=srIcalVIKHoDK
|
|
|
122
122
|
regula/documentreader/webclient/gen/models/in_data.py,sha256=BPjrgnWz4fS1TNpF0sMNhN1cYeBbUXUsQqFVrBG74SQ,3193
|
|
123
123
|
regula/documentreader/webclient/gen/models/in_data_transaction_images_field_value.py,sha256=naX6b7mzgGbeBjGp6uhfk0lOhZ0r2TaFTteYJeGSBCI,2844
|
|
124
124
|
regula/documentreader/webclient/gen/models/in_data_video.py,sha256=k3wPogidbme7s9pkOxIRCFyhIcqOSmWMySKr8Z8jCF8,2473
|
|
125
|
-
regula/documentreader/webclient/gen/models/input_barcode_type.py,sha256=
|
|
126
|
-
regula/documentreader/webclient/gen/models/input_image_quality_checks.py,sha256=
|
|
125
|
+
regula/documentreader/webclient/gen/models/input_barcode_type.py,sha256=vMhqBUHlpF08EtcJDCG4K3EDpC0-cAwkZjgG_dBDR9Q,1020
|
|
126
|
+
regula/documentreader/webclient/gen/models/input_image_quality_checks.py,sha256=yGEAswwcz5tKMZoBmmhN8HRtCxkn9rvKFGsjOCmg978,811
|
|
127
127
|
regula/documentreader/webclient/gen/models/lcid.py,sha256=D0MBIfktXYPPkRVCUSSHyN6N9oaYLk0iyDOZ5-0yQAw,4728
|
|
128
128
|
regula/documentreader/webclient/gen/models/lexical_analysis_result.py,sha256=14ymAFRmQV3xgXdHkH1lf3wU-xq9sAEUYJby_U3VAHA,3473
|
|
129
129
|
regula/documentreader/webclient/gen/models/license_item.py,sha256=niMcTCpIz_b1MaVxsnah5f5iXJaHWtpns3qQ8HoM5D4,2336
|
|
@@ -133,11 +133,11 @@ regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py,
|
|
|
133
133
|
regula/documentreader/webclient/gen/models/list_verified_fields.py,sha256=jklFQCZR9n9SXgpdp4Yz2AFPttiKTkSqHoWL81ZM4UU,3216
|
|
134
134
|
regula/documentreader/webclient/gen/models/list_verified_fields_item.py,sha256=LHm1JtDx1GumCOfhaqVv6NlY8eTS0ND-11_2KG4HaYU,2751
|
|
135
135
|
regula/documentreader/webclient/gen/models/liveness_params.py,sha256=nlxqwyvUXqjLqojNtOQYmw9wQ2e7s4xKwUN2yoE-Dp0,3702
|
|
136
|
-
regula/documentreader/webclient/gen/models/log_level.py,sha256=
|
|
136
|
+
regula/documentreader/webclient/gen/models/log_level.py,sha256=ZZuHw_XCtkEtFZrIeW17vk0eKCn3GBPREaqThQAPtYU,563
|
|
137
137
|
regula/documentreader/webclient/gen/models/measure_system.py,sha256=CltBZGhqVVeuAIKEkrSnN7A2Ao65BBEtwaieEJMbdnQ,497
|
|
138
138
|
regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py,sha256=gc8c4HTAa5yRutUhXOFbO2ZKhphArW0vhenb24bEJTE,643
|
|
139
139
|
regula/documentreader/webclient/gen/models/mrz_detector_result.py,sha256=3Iy1Emh-78SLcNadQnU4tD5d8WS1Qgt06qXlWO9L7SA,3145
|
|
140
|
-
regula/documentreader/webclient/gen/models/mrz_format.py,sha256=
|
|
140
|
+
regula/documentreader/webclient/gen/models/mrz_format.py,sha256=Uct326zRg58CUYdSyKdFbLU76JTSuw1KnDbFaidY5aQ,559
|
|
141
141
|
regula/documentreader/webclient/gen/models/mrz_position.py,sha256=6FgL2GlrCFdiWlHN0lzx2JLAzT8_eCzdGWVlFdY4Th0,5355
|
|
142
142
|
regula/documentreader/webclient/gen/models/mrz_position_item.py,sha256=i9EGfdteEBbwgn4hyiQhhBAYU0mu2E-9KvwjHSRvSRw,2620
|
|
143
143
|
regula/documentreader/webclient/gen/models/mrz_position_result.py,sha256=tcWPaRiu0se18IyztKPy552_OvCu5zK3Pg7modOXZjc,3056
|
|
@@ -155,7 +155,7 @@ regula/documentreader/webclient/gen/models/out_data_transaction_images_field_val
|
|
|
155
155
|
regula/documentreader/webclient/gen/models/p_array_field.py,sha256=8kVa-HuHKQhbCZducLXl9gvkwGbqKnDWXeLdM9Jqv5Y,4954
|
|
156
156
|
regula/documentreader/webclient/gen/models/parsed_data.py,sha256=n2fh8nO8B-CpBsmUqFRMVkS7ZtMRDA7sCqIty1RRzuE,2363
|
|
157
157
|
regula/documentreader/webclient/gen/models/parsing_error_codes.py,sha256=y2UW12CAoxsHIlfavTVdewW6gGUV1LrD2PyB4tJKhns,7555
|
|
158
|
-
regula/documentreader/webclient/gen/models/parsing_notification_codes.py,sha256
|
|
158
|
+
regula/documentreader/webclient/gen/models/parsing_notification_codes.py,sha256=-uuLM8dWemgtwrnxwvH2hWLQkHaCEpyYirapuVrKQk8,14353
|
|
159
159
|
regula/documentreader/webclient/gen/models/per_document_config.py,sha256=yTCwXM3eqkGZhKMAZKDojpjuUMkoF9lcFafm43LVkgU,2659
|
|
160
160
|
regula/documentreader/webclient/gen/models/photo_ident_item.py,sha256=2fO3D3XHfN4Ge18uwmgQgBKyKy7Kbqhe8km8LQBmAM8,4557
|
|
161
161
|
regula/documentreader/webclient/gen/models/photo_ident_result.py,sha256=YpDPqn3622dPsyU7E_4zS04SFinXj2o7XCG_BC6kBUY,5217
|
|
@@ -215,7 +215,7 @@ regula/documentreader/webclient/gen/models/rfid_text_data_result.py,sha256=K7oc0
|
|
|
215
215
|
regula/documentreader/webclient/gen/models/rfid_type.py,sha256=Iar7yWbbSUnMsac5NMgG4BpkULYe4j97iJAZ01oM7dk,639
|
|
216
216
|
regula/documentreader/webclient/gen/models/rfid_validity.py,sha256=GdTJug93a4K1REDy4QeMLgVNf878TtbnYGT1R-0fuD4,2980
|
|
217
217
|
regula/documentreader/webclient/gen/models/rfidpkd_resource_type.py,sha256=apzhMDECSR6nA1XshnyBhF1UvssokP7oAk3xOPVB9p0,658
|
|
218
|
-
regula/documentreader/webclient/gen/models/scenario.py,sha256
|
|
218
|
+
regula/documentreader/webclient/gen/models/scenario.py,sha256=-KpZ-K-YwK8pNz3-lDg6gofCZppDNfI6wFYTTihlmTs,1062
|
|
219
219
|
regula/documentreader/webclient/gen/models/security_feature_item.py,sha256=a1ka9Tw-riXi0HfrLY1CWxdwg0xSO5wBb-bIIDQ1HOY,4033
|
|
220
220
|
regula/documentreader/webclient/gen/models/security_feature_result.py,sha256=cVastS4po4D0X5ob2yGYKMDwcHHZWbh8-eQ49_U5MaU,4693
|
|
221
221
|
regula/documentreader/webclient/gen/models/security_feature_type.py,sha256=Z9qIAKRFU_MvpSkHABQLssAFXv8uJJQzefZYwnk7Bi8,2285
|
|
@@ -257,7 +257,7 @@ regula/documentreader/webclient/gen/models/verification_result.py,sha256=E6bCVR5
|
|
|
257
257
|
regula/documentreader/webclient/gen/models/verified_field_map.py,sha256=sOnkL-c9WIJPHcUjT5_KzxMiVZK574iOBppANc7zRSs,4861
|
|
258
258
|
regula/documentreader/webclient/gen/models/visibility.py,sha256=GACgQd_8lx_cwMwI5lCi7cTxEWxw2atbJo6uI4mTKpQ,602
|
|
259
259
|
regula/documentreader/webclient/gen/models/visual_extended_field_item.py,sha256=55PY8Wwn1Nh0msc-ynPZqlkmc6QwsghIy9-ICqvbRcA,5040
|
|
260
|
-
regula_documentreader_webclient-8.1.
|
|
261
|
-
regula_documentreader_webclient-8.1.
|
|
262
|
-
regula_documentreader_webclient-8.1.
|
|
263
|
-
regula_documentreader_webclient-8.1.
|
|
260
|
+
regula_documentreader_webclient-8.1.357.dev0.dist-info/METADATA,sha256=gyPeP3JEw5aHu27wbPYiw3Wr63JPF8_OS-vin2uVbVA,4001
|
|
261
|
+
regula_documentreader_webclient-8.1.357.dev0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
262
|
+
regula_documentreader_webclient-8.1.357.dev0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
|
|
263
|
+
regula_documentreader_webclient-8.1.357.dev0.dist-info/RECORD,,
|