structocr 1.1.2__tar.gz → 1.1.3__tar.gz
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.
- {structocr-1.1.2 → structocr-1.1.3}/PKG-INFO +8 -4
- {structocr-1.1.2 → structocr-1.1.3}/README.md +7 -3
- {structocr-1.1.2 → structocr-1.1.3}/setup.py +1 -1
- {structocr-1.1.2 → structocr-1.1.3}/structocr.egg-info/PKG-INFO +8 -4
- {structocr-1.1.2 → structocr-1.1.3}/setup.cfg +0 -0
- {structocr-1.1.2 → structocr-1.1.3}/structocr/__init__.py +0 -0
- {structocr-1.1.2 → structocr-1.1.3}/structocr/client.py +0 -0
- {structocr-1.1.2 → structocr-1.1.3}/structocr.egg-info/SOURCES.txt +0 -0
- {structocr-1.1.2 → structocr-1.1.3}/structocr.egg-info/dependency_links.txt +0 -0
- {structocr-1.1.2 → structocr-1.1.3}/structocr.egg-info/requires.txt +0 -0
- {structocr-1.1.2 → structocr-1.1.3}/structocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: structocr
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: The official Python SDK for StructOCR API - Passport, ID card, Driver License OCR, and Invoice.
|
|
5
5
|
Home-page: https://structocr.com
|
|
6
6
|
Author: StructOCR Team
|
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
|
|
24
24
|
**The official Python client for [StructOCR](https://structocr.com).**
|
|
25
25
|
|
|
26
|
-
StructOCR is a powerful API tailored for developers to extract structured data from identity documents with high accuracy. This SDK helps you integrate **Passport OCR**, **National ID OCR**,
|
|
26
|
+
StructOCR is a powerful API tailored for developers to extract structured data from identity documents with high accuracy. This SDK helps you integrate **Passport OCR**, **National ID OCR**, **Driver License OCR** and **Invoice OCR** into your Python applications in minutes.
|
|
27
27
|
|
|
28
28
|
👉 **[Get your Free API Key here](https://structocr.com)**
|
|
29
29
|
|
|
@@ -31,7 +31,8 @@ StructOCR is a powerful API tailored for developers to extract structured data f
|
|
|
31
31
|
|
|
32
32
|
- **Passport OCR API**: Instantly extract MRZ, name, DOB, and expiry date from passports of 200+ countries.
|
|
33
33
|
- **National ID OCR**: Support for ID cards with automatic field mapping.
|
|
34
|
-
- **Driver License OCR**: Extract vehicle class, license number, and personal details.
|
|
34
|
+
- **Driver License OCR**: Extract vehicle class, license number, and personal details.
|
|
35
|
+
- **Invoice OCR**: Extract invoice number, currency, merchant, customer.
|
|
35
36
|
- **Secure & Fast**: Enterprise-grade encryption and sub-second response times.
|
|
36
37
|
|
|
37
38
|
## Installation
|
|
@@ -66,7 +67,7 @@ print(f"Passport Number: {result['data']['document_number']}")
|
|
|
66
67
|
|
|
67
68
|
```
|
|
68
69
|
|
|
69
|
-
### 3. Scan a National ID or Driver License
|
|
70
|
+
### 3. Scan a National ID or Driver License or Invoice
|
|
70
71
|
|
|
71
72
|
```python
|
|
72
73
|
# National ID OCR
|
|
@@ -75,6 +76,9 @@ id_data = client.scan_national_id('./docs/id_card.png')
|
|
|
75
76
|
# Driver License OCR
|
|
76
77
|
license_data = client.scan_driver_license('./docs/license.jpg')
|
|
77
78
|
|
|
79
|
+
# Invoice OCR
|
|
80
|
+
license_data = client.scan_invoice('./docs/invoice.jpg')
|
|
81
|
+
|
|
78
82
|
```
|
|
79
83
|
|
|
80
84
|
## Documentation
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
**The official Python client for [StructOCR](https://structocr.com).**
|
|
7
7
|
|
|
8
|
-
StructOCR is a powerful API tailored for developers to extract structured data from identity documents with high accuracy. This SDK helps you integrate **Passport OCR**, **National ID OCR**,
|
|
8
|
+
StructOCR is a powerful API tailored for developers to extract structured data from identity documents with high accuracy. This SDK helps you integrate **Passport OCR**, **National ID OCR**, **Driver License OCR** and **Invoice OCR** into your Python applications in minutes.
|
|
9
9
|
|
|
10
10
|
👉 **[Get your Free API Key here](https://structocr.com)**
|
|
11
11
|
|
|
@@ -13,7 +13,8 @@ StructOCR is a powerful API tailored for developers to extract structured data f
|
|
|
13
13
|
|
|
14
14
|
- **Passport OCR API**: Instantly extract MRZ, name, DOB, and expiry date from passports of 200+ countries.
|
|
15
15
|
- **National ID OCR**: Support for ID cards with automatic field mapping.
|
|
16
|
-
- **Driver License OCR**: Extract vehicle class, license number, and personal details.
|
|
16
|
+
- **Driver License OCR**: Extract vehicle class, license number, and personal details.
|
|
17
|
+
- **Invoice OCR**: Extract invoice number, currency, merchant, customer.
|
|
17
18
|
- **Secure & Fast**: Enterprise-grade encryption and sub-second response times.
|
|
18
19
|
|
|
19
20
|
## Installation
|
|
@@ -48,7 +49,7 @@ print(f"Passport Number: {result['data']['document_number']}")
|
|
|
48
49
|
|
|
49
50
|
```
|
|
50
51
|
|
|
51
|
-
### 3. Scan a National ID or Driver License
|
|
52
|
+
### 3. Scan a National ID or Driver License or Invoice
|
|
52
53
|
|
|
53
54
|
```python
|
|
54
55
|
# National ID OCR
|
|
@@ -57,6 +58,9 @@ id_data = client.scan_national_id('./docs/id_card.png')
|
|
|
57
58
|
# Driver License OCR
|
|
58
59
|
license_data = client.scan_driver_license('./docs/license.jpg')
|
|
59
60
|
|
|
61
|
+
# Invoice OCR
|
|
62
|
+
license_data = client.scan_invoice('./docs/invoice.jpg')
|
|
63
|
+
|
|
60
64
|
```
|
|
61
65
|
|
|
62
66
|
## Documentation
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="structocr",
|
|
5
|
-
version="1.1.
|
|
5
|
+
version="1.1.3",
|
|
6
6
|
description="The official Python SDK for StructOCR API - Passport, ID card, Driver License OCR, and Invoice.",
|
|
7
7
|
long_description=open("README.md").read(),
|
|
8
8
|
long_description_content_type="text/markdown",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: structocr
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: The official Python SDK for StructOCR API - Passport, ID card, Driver License OCR, and Invoice.
|
|
5
5
|
Home-page: https://structocr.com
|
|
6
6
|
Author: StructOCR Team
|
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
|
|
24
24
|
**The official Python client for [StructOCR](https://structocr.com).**
|
|
25
25
|
|
|
26
|
-
StructOCR is a powerful API tailored for developers to extract structured data from identity documents with high accuracy. This SDK helps you integrate **Passport OCR**, **National ID OCR**,
|
|
26
|
+
StructOCR is a powerful API tailored for developers to extract structured data from identity documents with high accuracy. This SDK helps you integrate **Passport OCR**, **National ID OCR**, **Driver License OCR** and **Invoice OCR** into your Python applications in minutes.
|
|
27
27
|
|
|
28
28
|
👉 **[Get your Free API Key here](https://structocr.com)**
|
|
29
29
|
|
|
@@ -31,7 +31,8 @@ StructOCR is a powerful API tailored for developers to extract structured data f
|
|
|
31
31
|
|
|
32
32
|
- **Passport OCR API**: Instantly extract MRZ, name, DOB, and expiry date from passports of 200+ countries.
|
|
33
33
|
- **National ID OCR**: Support for ID cards with automatic field mapping.
|
|
34
|
-
- **Driver License OCR**: Extract vehicle class, license number, and personal details.
|
|
34
|
+
- **Driver License OCR**: Extract vehicle class, license number, and personal details.
|
|
35
|
+
- **Invoice OCR**: Extract invoice number, currency, merchant, customer.
|
|
35
36
|
- **Secure & Fast**: Enterprise-grade encryption and sub-second response times.
|
|
36
37
|
|
|
37
38
|
## Installation
|
|
@@ -66,7 +67,7 @@ print(f"Passport Number: {result['data']['document_number']}")
|
|
|
66
67
|
|
|
67
68
|
```
|
|
68
69
|
|
|
69
|
-
### 3. Scan a National ID or Driver License
|
|
70
|
+
### 3. Scan a National ID or Driver License or Invoice
|
|
70
71
|
|
|
71
72
|
```python
|
|
72
73
|
# National ID OCR
|
|
@@ -75,6 +76,9 @@ id_data = client.scan_national_id('./docs/id_card.png')
|
|
|
75
76
|
# Driver License OCR
|
|
76
77
|
license_data = client.scan_driver_license('./docs/license.jpg')
|
|
77
78
|
|
|
79
|
+
# Invoice OCR
|
|
80
|
+
license_data = client.scan_invoice('./docs/invoice.jpg')
|
|
81
|
+
|
|
78
82
|
```
|
|
79
83
|
|
|
80
84
|
## Documentation
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|