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.10.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-3.2.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac562950f8c7508777ca399efa5ffc9eee402647ed9a5edd356f5a0ab3347cd4 |
|
MD5 | bfbd96779a54a304f03248b0673fd733 |
|
BLAKE2b-256 | ec078575ece0798d956f2d6242de4f111412187cde497ae235612fa46c528eaa |