Python SDK for Lucidtech AI Services
Project description
Python SDK for Lucidtech AI Services API
Documentation
Installation
$ pip install lucidtech-las
Usage
Preconditions
- Documents must be in upright position
- Only one receipt or invoice per document is supported
- Supported file formats are: jpeg, pdf
Quick start
import json
from las import ApiClient
api_client = ApiClient('<api endpoint>')
prediction = api_client.predict('document.pdf', model_name='invoice')
print(json.dumps(prediction, indent=2))
Contributing
Prerequisites
$ pip install tox
Run tests
$ tox tests/test_config.cfg
Create docs
$ tox -e docs .docsout
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lucidtech-las-3.2.6.tar.gz
(14.8 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.2.6.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.2.6.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236bc49808db0c01d6620b8abf64c357a8c9410b1b410142de397a0c9ac0e2aa |
|
MD5 | 578729c15ccc77b7540a8562f0193e6f |
|
BLAKE2b-256 | ac249a39259f8d8ac6e5b077f09137b58b4858b4caa5166ea3dbb702d0f84dc6 |
File details
Details for the file lucidtech_las-3.2.6-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.2.6-py2.py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4e754355a6941ee059931a73e69e5d84452f2c02426102f213bf27fc700f23 |
|
MD5 | 53e39eec89b8c7f0230f2132de5e401d |
|
BLAKE2b-256 | de6e052271ebe4dd95028fc7dee3940876805be53e617ac027097a28ea7526da |