-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update all products, client lib outdated
- Loading branch information
1 parent
25b0e61
commit 5d95880
Showing
105 changed files
with
3,808 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.fr.BankAccountDetailsV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.fr.BankAccountDetailsV2, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.us.BankCheckV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.BarcodeReaderV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.ReceiptV5, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.FinancialDocumentV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.fr.IdCardV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.fr.IdCardV2, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.InvoiceV4, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.eu.LicensePlateV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.MultiReceiptsDetectorV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.PassportV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.ProofOfAddressV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.us.DriverLicenseV1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from mindee import Client, PredictResponse, product | ||
|
||
# Init a new client | ||
mindee_client = Client(api_key="my-api-key") | ||
|
||
# Load a file from disk | ||
input_doc = mindee_client.source_from_path("/path/to/the/file.ext") | ||
|
||
# Load a file from disk and parse it. | ||
# The endpoint name must be specified since it cannot be determined from the class. | ||
result: PredictResponse = mindee_client.parse(product.us.W9V1, input_doc) | ||
|
||
# Print a brief summary of the parsed data | ||
print(result.document) | ||
|
||
# # Iterate over all the fields in the document | ||
# for field_name, field_values in result.document.inference.prediction.fields.items(): | ||
# print(field_name, "=", field_values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Barcode Reader V1 | ||
----------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/barcode_reader_v1.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.BarcodeReaderV1 | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
License Plate V1 | ||
---------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/license_plates_v1.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.eu.LicensePlateV1 | ||
:members: |
13 changes: 13 additions & 0 deletions
13
docs/predictions/standard/product/financial_document_v1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Financial Document V1 | ||
--------------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/financial_document_v1.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.FinancialDocumentV1 | ||
:members: | ||
|
||
.. autoclass:: mindee.product.FinancialDocumentV1LineItem | ||
:members: |
10 changes: 10 additions & 0 deletions
10
docs/predictions/standard/product/fr/bank_account_details_v1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Bank Account Details V1 | ||
----------------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/bank_account_details_v1.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.fr.BankAccountDetailsV1 | ||
:members: |
13 changes: 13 additions & 0 deletions
13
docs/predictions/standard/product/fr/bank_account_details_v2.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Bank Account Details V2 | ||
----------------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/bank_account_details_v2.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.fr.BankAccountDetailsV2 | ||
:members: | ||
|
||
.. autoclass:: mindee.product.fr.BankAccountDetailsV2Bban | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Carte Vitale V1 | ||
--------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/carte_vitale_v1.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.fr.CarteVitaleV1 | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Carte Nationale d'Identité V1 | ||
----------------------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/idcard_fr_v1.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.fr.IdCardV1 | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Carte Nationale d'Identité V2 | ||
----------------------------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/idcard_fr_v2.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.fr.IdCardV2 | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Invoice V4 | ||
---------- | ||
|
||
**Sample Code:** | ||
|
||
.. literalinclude:: /extras/code_samples/invoices_v4.txt | ||
:language: Python | ||
|
||
.. autoclass:: mindee.product.InvoiceV4 | ||
:members: | ||
|
||
.. autoclass:: mindee.product.InvoiceV4LineItem | ||
:members: |
Oops, something went wrong.