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-1.0.2.tar.gz
(11.8 kB
view details)
File details
Details for the file lucidtech-las-1.0.2.tar.gz
.
File metadata
- Download URL: lucidtech-las-1.0.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7882673218833ffb654dfcb5a913cc19d959a6afdf2e27ca3b277583dfc05f4 |
|
MD5 | 798a9eaa8fffd6c990dcf638fc5e8754 |
|
BLAKE2b-256 | b1e5b99de5d5a7f03fa1d41335ef2f20ea8c3dcc0eb651912f8a8ec6d91fe7c1 |