Skip to content

Commit d12e2a2

Browse files
fix missing rst sample in us mail v3 doc
1 parent bcc45b5 commit d12e2a2

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

docs/us_mail_v3.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parentDoc: 631a062c3718850f3519b793
66
---
77
The Java OCR SDK supports the [US Mail API](https://platform.mindee.com/mindee/us_mail).
88

9-
The [sample below](https://github.com/mindee/client-lib-test-data/blob/main/products/us_mail/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/us_mail/default_sample.jpg), we are going to illustrate how to extract the data that we want using the OCR SDK.
1010
![US Mail sample](https://github.com/mindee/client-lib-test-data/blob/main/products/us_mail/default_sample.jpg?raw=true)
1111

1212
# Quick-Start
@@ -54,6 +54,39 @@ public class SimpleMindeeClient {
5454
}
5555

5656
```
57+
58+
**Output (RST):**
59+
```rst
60+
########
61+
Document
62+
########
63+
:Mindee ID: f9c36f59-977d-4ddc-9f2d-31c294c456ac
64+
:Filename: default_sample.jpg
65+
66+
Inference
67+
#########
68+
:Product: mindee/us_mail v3.0
69+
:Rotation applied: Yes
70+
71+
Prediction
72+
==========
73+
:Sender Name: company zed
74+
:Sender Address:
75+
:City: Dallas
76+
:Complete Address: 54321 Elm Street, Dallas, Texas 54321
77+
:Postal Code: 54321
78+
:State: TX
79+
:Street: 54321 Elm Street
80+
:Recipient Names: Jane Doe
81+
:Recipient Addresses:
82+
+-----------------+-------------------------------------+-------------------+-------------+------------------------+-------+---------------------------+-----------------+
83+
| City | Complete Address | Is Address Change | Postal Code | Private Mailbox Number | State | Street | Unit |
84+
+=================+=====================================+===================+=============+========================+=======+===========================+=================+
85+
| Detroit | 1234 Market Street PMB 4321, Det... | False | 12345 | 4321 | MI | 1234 Market Street | |
86+
+-----------------+-------------------------------------+-------------------+-------------+------------------------+-------+---------------------------+-----------------+
87+
:Return to Sender: False
88+
```
89+
5790
# Field Types
5891
## Standard Fields
5992
These fields are generic and used in several products.

0 commit comments

Comments
 (0)