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.7.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-3.2.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d868ea91b080e9780c360ac31d92e589a40ae6b585916bff019bf61da5a13a6 |
|
MD5 | 8944ce1f2832ecdbf5bffef097a4f967 |
|
BLAKE2b-256 | fc9578753b3afdc1a4e396d1a440f6c3608b03872b14429533ef9740f0b1c283 |