Skip to content

Commit 006fe3e

Browse files
restore driver license example
1 parent fcd611c commit 006fe3e

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

docs/extras/guide/driver_license_v1.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parentDoc: 609808f773b0b90051d839de
66
---
77
The Python OCR SDK supports the [Driver License API](https://platform.mindee.com/mindee/driver_license).
88

9-
The [sample below](https://github.com/mindee/client-lib-test-data/blob/main/products/driver_license/default_sample.jpg) can be used for testing purposes.
9+
Using the [sample below](https://github.com/mindee/client-lib-test-data/blob/main/products/driver_license/default_sample.jpg), we are going to illustrate how to extract the data that we want using the OCR SDK.
1010
![Driver License sample](https://github.com/mindee/client-lib-test-data/blob/main/products/driver_license/default_sample.jpg?raw=true)
1111

1212
# Quick-Start
@@ -29,6 +29,37 @@ result: AsyncPredictResponse = mindee_client.enqueue_and_parse(
2929
print(result.document)
3030

3131
```
32+
33+
**Output (RST):**
34+
```rst
35+
########
36+
Document
37+
########
38+
:Mindee ID: fbdeae38-ada3-43ac-aa58-e01a3d47e474
39+
:Filename: default_sample.jpg
40+
41+
Inference
42+
#########
43+
:Product: mindee/driver_license v1.0
44+
:Rotation applied: Yes
45+
46+
Prediction
47+
==========
48+
:Country Code: USA
49+
:State: AZ
50+
:ID: D12345678
51+
:Category: D
52+
:Last Name: Sample
53+
:First Name: Jelani
54+
:Date of Birth: 1957-02-01
55+
:Place of Birth:
56+
:Expiry Date: 2018-02-01
57+
:Issued Date: 2013-01-10
58+
:Issuing Authority:
59+
:MRZ:
60+
:DD Number: DD1234567890123456
61+
```
62+
3263
# Field Types
3364
## Standard Fields
3465
These fields are generic and used in several products.

0 commit comments

Comments
 (0)