Skip to content

Commit 3e1dfbb

Browse files
deploy: 931f496
1 parent ed5304f commit 3e1dfbb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+199
-78
lines changed

_static/pygments.css

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
66
.highlight .hll { background-color: #ffffcc }
77
.highlight { background: #f8f8f8; }
88
.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
9-
.highlight .err { border: 1px solid #FF0000 } /* Error */
9+
.highlight .err { border: 1px solid #F00 } /* Error */
1010
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
11-
.highlight .o { color: #666666 } /* Operator */
11+
.highlight .o { color: #666 } /* Operator */
1212
.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
1313
.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
1414
.highlight .cp { color: #9C6500 } /* Comment.Preproc */
@@ -25,34 +25,34 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
2525
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
2626
.highlight .gs { font-weight: bold } /* Generic.Strong */
2727
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
28-
.highlight .gt { color: #0044DD } /* Generic.Traceback */
28+
.highlight .gt { color: #04D } /* Generic.Traceback */
2929
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
3030
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
3131
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
3232
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
3333
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
3434
.highlight .kt { color: #B00040 } /* Keyword.Type */
35-
.highlight .m { color: #666666 } /* Literal.Number */
35+
.highlight .m { color: #666 } /* Literal.Number */
3636
.highlight .s { color: #BA2121 } /* Literal.String */
3737
.highlight .na { color: #687822 } /* Name.Attribute */
3838
.highlight .nb { color: #008000 } /* Name.Builtin */
39-
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
40-
.highlight .no { color: #880000 } /* Name.Constant */
41-
.highlight .nd { color: #AA22FF } /* Name.Decorator */
39+
.highlight .nc { color: #00F; font-weight: bold } /* Name.Class */
40+
.highlight .no { color: #800 } /* Name.Constant */
41+
.highlight .nd { color: #A2F } /* Name.Decorator */
4242
.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
4343
.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
44-
.highlight .nf { color: #0000FF } /* Name.Function */
44+
.highlight .nf { color: #00F } /* Name.Function */
4545
.highlight .nl { color: #767600 } /* Name.Label */
46-
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
46+
.highlight .nn { color: #00F; font-weight: bold } /* Name.Namespace */
4747
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
4848
.highlight .nv { color: #19177C } /* Name.Variable */
49-
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
50-
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
51-
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
52-
.highlight .mf { color: #666666 } /* Literal.Number.Float */
53-
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
54-
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
55-
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
49+
.highlight .ow { color: #A2F; font-weight: bold } /* Operator.Word */
50+
.highlight .w { color: #BBB } /* Text.Whitespace */
51+
.highlight .mb { color: #666 } /* Literal.Number.Bin */
52+
.highlight .mf { color: #666 } /* Literal.Number.Float */
53+
.highlight .mh { color: #666 } /* Literal.Number.Hex */
54+
.highlight .mi { color: #666 } /* Literal.Number.Integer */
55+
.highlight .mo { color: #666 } /* Literal.Number.Oct */
5656
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
5757
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
5858
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
@@ -67,9 +67,9 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
6767
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
6868
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
6969
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
70-
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
70+
.highlight .fm { color: #00F } /* Name.Function.Magic */
7171
.highlight .vc { color: #19177C } /* Name.Variable.Class */
7272
.highlight .vg { color: #19177C } /* Name.Variable.Global */
7373
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
7474
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
75-
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
75+
.highlight .il { color: #666 } /* Literal.Number.Integer.Long */

client.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
161161

162162
<dl class="py method">
163163
<dt class="sig sig-object py" id="mindee.client.Client.enqueue_and_parse">
164-
<span class="sig-name descname"><span class="pre">enqueue_and_parse</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">product_class</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">input_source</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">include_words</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">close_file</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">page_options</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cropper</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">endpoint</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">initial_delay_sec</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">2</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">delay_sec</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1.5</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_retries</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">30</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">full_text</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#mindee.client.Client.enqueue_and_parse" title="Permalink to this definition"></a></dt>
164+
<span class="sig-name descname"><span class="pre">enqueue_and_parse</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">product_class</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">input_source</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">include_words</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">close_file</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">page_options</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cropper</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">endpoint</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">initial_delay_sec</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">2</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">delay_sec</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1.5</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_retries</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">80</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">full_text</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#mindee.client.Client.enqueue_and_parse" title="Permalink to this definition"></a></dt>
165165
<dd><p>Enqueues to an asynchronous endpoint and automatically polls for a response.</p>
166166
<dl class="field-list simple">
167167
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
@@ -175,7 +175,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
175175
<li><p><strong>endpoint</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<a class="reference internal" href="misc/mindee_http.html#mindee.mindee_http.Endpoint" title="mindee.mindee_http.endpoint.Endpoint"><code class="xref py py-class docutils literal notranslate"><span class="pre">Endpoint</span></code></a>], default: <code class="docutils literal notranslate"><span class="pre">None</span></code>) – For custom endpoints, an endpoint has to be given.</p></li>
176176
<li><p><strong>initial_delay_sec</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>, default: <code class="docutils literal notranslate"><span class="pre">2</span></code>) – Delay between each polling attempts This should not be shorter than 1 second.</p></li>
177177
<li><p><strong>delay_sec</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>, default: <code class="docutils literal notranslate"><span class="pre">1.5</span></code>) – Delay between each polling attempts This should not be shorter than 1 second.</p></li>
178-
<li><p><strong>max_retries</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, default: <code class="docutils literal notranslate"><span class="pre">30</span></code>) – Total amount of polling attempts.</p></li>
178+
<li><p><strong>max_retries</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, default: <code class="docutils literal notranslate"><span class="pre">80</span></code>) – Total amount of polling attempts.</p></li>
179179
<li><p><strong>full_text</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, default: <code class="docutils literal notranslate"><span class="pre">False</span></code>) – Whether to include the full OCR text response in compatible APIs.</p></li>
180180
</ul>
181181
</dd>

genindex.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ <h2 id="A">A</h2>
136136
<li><a href="misc/error.html#mindee.error.MindeeHTTPError.add_note">(MindeeHTTPError method)</a>
137137
</li>
138138
<li><a href="misc/error.html#mindee.error.MindeeHTTPServerError.add_note">(MindeeHTTPServerError method)</a>
139+
</li>
140+
<li><a href="misc/error.html#mindee.error.MindeeImageError.add_note">(MindeeImageError method)</a>
141+
</li>
142+
<li><a href="misc/error.html#mindee.error.MindeePDFError.add_note">(MindeePDFError method)</a>
139143
</li>
140144
<li><a href="misc/error.html#mindee.error.MindeeProductError.add_note">(MindeeProductError method)</a>
141145
</li>
@@ -264,6 +268,10 @@ <h2 id="A">A</h2>
264268
<li><a href="misc/error.html#mindee.error.MindeeHTTPError.args">(MindeeHTTPError attribute)</a>
265269
</li>
266270
<li><a href="misc/error.html#mindee.error.MindeeHTTPServerError.args">(MindeeHTTPServerError attribute)</a>
271+
</li>
272+
<li><a href="misc/error.html#mindee.error.MindeeImageError.args">(MindeeImageError attribute)</a>
273+
</li>
274+
<li><a href="misc/error.html#mindee.error.MindeePDFError.args">(MindeePDFError attribute)</a>
267275
</li>
268276
<li><a href="misc/error.html#mindee.error.MindeeProductError.args">(MindeeProductError attribute)</a>
269277
</li>
@@ -706,6 +714,8 @@ <h2 id="C">C</h2>
706714
<li><a href="product/us/us_mail_v3.html#mindee.product.us.us_mail.us_mail_v3_sender_address.UsMailV3SenderAddress.complete">(UsMailV3SenderAddress attribute)</a>
707715
</li>
708716
</ul></li>
717+
<li><a href="misc/input.html#mindee.input.LocalInputSource.compress">compress() (LocalInputSource method)</a>
718+
</li>
709719
<li><a href="parsing/standard.html#mindee.parsing.standard.amount.AmountField.confidence">confidence (AmountField attribute)</a>
710720

711721
<ul>
@@ -1723,6 +1733,8 @@ <h2 id="H">H</h2>
17231733
<li><a href="misc/error.html#mindee.error.handle_error">handle_error() (in module mindee.error)</a>
17241734
</li>
17251735
<li><a href="product/resume_v1.html#mindee.product.resume.resume_v1_document.ResumeV1Document.hard_skills">hard_skills (ResumeV1Document attribute)</a>
1736+
</li>
1737+
<li><a href="misc/input.html#mindee.input.LocalInputSource.has_source_text">has_source_text() (LocalInputSource method)</a>
17261738
</li>
17271739
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1.HealthCardV1">HealthCardV1 (class in mindee.product.fr.health_card.health_card_v1)</a>
17281740
</li>
@@ -2195,15 +2207,19 @@ <h2 id="M">M</h2>
21952207
<li><a href="misc/error.html#mindee.error.MindeeHTTPError">MindeeHTTPError</a>
21962208
</li>
21972209
<li><a href="misc/error.html#mindee.error.MindeeHTTPServerError">MindeeHTTPServerError</a>
2210+
</li>
2211+
<li><a href="misc/error.html#mindee.error.MindeeImageError">MindeeImageError</a>
2212+
</li>
2213+
<li><a href="misc/error.html#mindee.error.MindeePDFError">MindeePDFError</a>
21982214
</li>
21992215
<li><a href="misc/error.html#mindee.error.MindeeProductError">MindeeProductError</a>
22002216
</li>
22012217
<li><a href="misc/geometry.html#mindee.geometry.MinMax">MinMax (class in mindee.geometry)</a>
2202-
</li>
2203-
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1_document.BusinessCardV1Document.mobile_number">mobile_number (BusinessCardV1Document attribute)</a>
22042218
</li>
22052219
</ul></td>
22062220
<td style="width: 33%; vertical-align: top;"><ul>
2221+
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1_document.BusinessCardV1Document.mobile_number">mobile_number (BusinessCardV1Document attribute)</a>
2222+
</li>
22072223
<li>
22082224
module
22092225

@@ -4185,6 +4201,10 @@ <h2 id="W">W</h2>
41854201
<li><a href="misc/error.html#mindee.error.MindeeHTTPError.with_traceback">(MindeeHTTPError method)</a>
41864202
</li>
41874203
<li><a href="misc/error.html#mindee.error.MindeeHTTPServerError.with_traceback">(MindeeHTTPServerError method)</a>
4204+
</li>
4205+
<li><a href="misc/error.html#mindee.error.MindeeImageError.with_traceback">(MindeeImageError method)</a>
4206+
</li>
4207+
<li><a href="misc/error.html#mindee.error.MindeePDFError.with_traceback">(MindeePDFError method)</a>
41884208
</li>
41894209
<li><a href="misc/error.html#mindee.error.MindeeProductError.with_traceback">(MindeeProductError method)</a>
41904210
</li>

guide/financial_document_v1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ print(result.document)
5858
########
5959
Document
6060
########
61-
:Mindee ID: b26161ce-35d0-4984-b1ff-886645e160e6
61+
:Mindee ID: f469a24d-3875-4a83-ad43-e0d5aa9da604
6262
:Filename: default_sample.jpg
6363
6464
Inference
@@ -75,8 +75,8 @@ Prediction
7575
:Document Number: INT-001
7676
:Reference Numbers: 2412/2019
7777
:Purchase Date: 2019-11-02
78-
:Due Date: 2019-02-26
79-
:Payment Date: 2019-02-26
78+
:Due Date: 2019-11-17
79+
:Payment Date: 2019-11-17
8080
:Total Net: 195.00
8181
:Total Amount: 204.75
8282
:Taxes:
@@ -127,8 +127,8 @@ Page 0
127127
:Document Number: INT-001
128128
:Reference Numbers: 2412/2019
129129
:Purchase Date: 2019-11-02
130-
:Due Date: 2019-02-26
131-
:Payment Date: 2019-02-26
130+
:Due Date: 2019-11-17
131+
:Payment Date: 2019-11-17
132132
:Total Net: 195.00
133133
:Total Amount: 204.75
134134
:Taxes:

guide/invoices_v4.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ print(result.document)
5858
########
5959
Document
6060
########
61-
:Mindee ID: a67b70ea-4b1e-4eac-ae75-dda47a7064ae
61+
:Mindee ID: 86b1833f-138b-4a01-8387-860204b0e631
6262
:Filename: default_sample.jpg
6363
6464
Inference
@@ -73,8 +73,8 @@ Prediction
7373
:Purchase Order Number: AD29094
7474
:Reference Numbers: AD29094
7575
:Purchase Date: 2018-09-25
76-
:Due Date: 2011-12-01
77-
:Payment Date: 2011-12-01
76+
:Due Date:
77+
:Payment Date:
7878
:Total Net: 2145.00
7979
:Total Amount: 2608.20
8080
:Total Tax: 193.20
@@ -119,8 +119,8 @@ Page 0
119119
:Purchase Order Number: AD29094
120120
:Reference Numbers: AD29094
121121
:Purchase Date: 2018-09-25
122-
:Due Date: 2011-12-01
123-
:Payment Date: 2011-12-01
122+
:Due Date:
123+
:Payment Date:
124124
:Total Net: 2145.00
125125
:Total Amount: 2608.20
126126
:Total Tax: 193.20

0 commit comments

Comments
 (0)