@@ -25,19 +25,20 @@ print(result.document)
25
25
26
26
# Print the document-level summary
27
27
# print(result.document.inference.prediction)
28
+
28
29
```
29
30
30
31
** Output (RST):**
31
32
``` rst
32
33
########
33
34
Document
34
35
########
35
- :Mindee ID: 128a314f-1adb-42eb-a9e3-402055a8b8ce
36
+ :Mindee ID: 372d9d08-59d8-4e1c-9622-06648c1c238b
36
37
:Filename: default_sample.jpg
37
38
38
39
Inference
39
40
#########
40
- :Product: mindee/invoices v4.6
41
+ :Product: mindee/invoices v4.7
41
42
:Rotation applied: Yes
42
43
43
44
Prediction
@@ -71,15 +72,15 @@ Prediction
71
72
:Billing Address: 1954 Bloor Street West Toronto, ON, M6P 3K9 Canada
72
73
:Document Type: INVOICE
73
74
:Line Items:
74
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
75
- | Description | Product code | Quantity | Tax Amount | Tax Rate (%) | Total Amount | Unit Price |
76
- +======================================+==============+==========+============+==============+==============+============+
77
- | Platinum web hosting package Down... | | 1.00 | | | 65.00 | 65.00 |
78
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
79
- | 2 page website design Includes ba... | | 3.00 | | | 2100.00 | 2100.00 |
80
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
81
- | Mobile designs Includes responsiv... | | 1.00 | | | 250.00 | 250.00 |
82
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
75
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
76
+ | Description | Product code | Quantity | Tax Amount | Tax Rate (%) | Total Amount | Unit of measure | Unit Price |
77
+ +======================================+==============+==========+============+==============+==============+=================+============ +
78
+ | Platinum web hosting package Down... | | 1.00 | | | 65.00 | | 65.00 |
79
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
80
+ | 2 page website design Includes ba... | | 3.00 | | | 2100.00 | | 2100.00 |
81
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
82
+ | Mobile designs Includes responsiv... | | 1.00 | | | 250.00 | 1 | 250.00 |
83
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
83
84
84
85
Page Predictions
85
86
================
@@ -115,15 +116,15 @@ Page 0
115
116
:Billing Address: 1954 Bloor Street West Toronto, ON, M6P 3K9 Canada
116
117
:Document Type: INVOICE
117
118
:Line Items:
118
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
119
- | Description | Product code | Quantity | Tax Amount | Tax Rate (%) | Total Amount | Unit Price |
120
- +======================================+==============+==========+============+==============+==============+============+
121
- | Platinum web hosting package Down... | | 1.00 | | | 65.00 | 65.00 |
122
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
123
- | 2 page website design Includes ba... | | 3.00 | | | 2100.00 | 2100.00 |
124
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
125
- | Mobile designs Includes responsiv... | | 1.00 | | | 250.00 | 250.00 |
126
- +--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
119
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
120
+ | Description | Product code | Quantity | Tax Amount | Tax Rate (%) | Total Amount | Unit of measure | Unit Price |
121
+ +======================================+==============+==========+============+==============+==============+=================+============ +
122
+ | Platinum web hosting package Down... | | 1.00 | | | 65.00 | | 65.00 |
123
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
124
+ | 2 page website design Includes ba... | | 3.00 | | | 2100.00 | | 2100.00 |
125
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
126
+ | Mobile designs Includes responsiv... | | 1.00 | | | 250.00 | 1 | 250.00 |
127
+ +--------------------------------------+--------------+----------+------------+--------------+--------------+-----------------+------------ +
127
128
```
128
129
129
130
# Field Types
0 commit comments