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-2.0.0rc0.tar.gz
(12.1 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-2.0.0rc0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10afc0bbe75408c9af495e5d43514b2aa4eadf6151e39043ee7e86d24a09159b |
|
MD5 | e41230bdbac7bbcc7ffc471d4ec3475a |
|
BLAKE2b-256 | 9d7199ccd0fcca6a3ed8962944c8682b871e1a64d89f88815f86896eada107e4 |