Longleding Operation OCR Engine SDK
Supported Python Versions
Python >= 3.6
Installation
longleding-ocr-engine-sdk is available for Linux, macOS, and Windows.
$ pip install longleding-ocr-engine-sdk
Basic Usage
# -*- coding: utf-8 -*-
import ocr_engine
ocr_engine_endpoint = "localhost:80"
ocr_engine_src = "demo"
ocr_engine.init_service(endpoint=ocr_engine_endpoint, src=ocr_engine_src)
if __name__ == '__main__':
print(ocr_engine.ocr_with_image_oss_path('upload/some_image.jpg'))
print(ocr_engine.ocr_with_image_url('https://some.domain.com/some_image.jpg'))
with open('some_image.jpg', 'rb') as f:
img = f.read()
print(ocr_engine.ocr_with_image(img))
Metadata
Release files for longleding-ocr-engine-sdk 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| longleding-ocr-engine-sdk-0.1.3.tar.gz | 5.1 kB | Without provenance | Details for longleding-ocr-engine-sdk-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| longleding_ocr_engine_sdk-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for longleding_ocr_engine_sdk-0.1.3-py3-none-any.whl |
Total release size: 24.7 kB
Release files / longleding-ocr-engine-sdk-0.1.3.tar.gz
| Download URL | longleding-ocr-engine-sdk-0.1.3.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd7a43edbc9f6089b5b8324e8d8bdd1f724520f435a8f5e3e35e4ec40c5158fa
|
|
BLAKE2b-256 checksum How to use checksums |
907a083d184e9da034d2e33264724f2de416bfcc82ea68735d8588950654f91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0
|
Release files / longleding_ocr_engine_sdk-0.1.3-py3-none-any.whl
| Download URL | longleding_ocr_engine_sdk-0.1.3-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6391da509adfb889ddee01f96b9f57902daacde24dd879e89b03ddfc1bff32d
|
|
BLAKE2b-256 checksum How to use checksums |
8773328637f7375e3a488e29a324d58c8802cafa1f3c926855ff5190d822a975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0
|
Security for longleding-ocr-engine-sdk 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.