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.1.1.tar.gz
(14.0 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-3.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 782009280520445e4df3141e11812ef87ce9ce09446c3c8de81eb0a2113710d8 |
|
MD5 | b0756e3e46479f2f4ed0d67f45f62b8c |
|
BLAKE2b-256 | 034bcc2506ebbfec097ad064124eb7dd67841a371d7bc669f4e698f5e58537ff |