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.9.tar.gz
(15.3 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-3.2.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf72d6cfa20381cdcb43e16437e845fe3c9bf983c4b07a71db8da431b5f77a4 |
|
MD5 | c41c70066cf2a4a383ee7ee5cc66cc9b |
|
BLAKE2b-256 | ff33d9dc86b1bb763de7176444ea98eca69efedff55fe51f486c1213ccfaaf70 |