Skip to main content

ABBYY Cloud OCR API Wrapper.

Project description

This package contain a wrapper to the ABBYY Cloud OCR API <http://ocrsdk.com/documentation/apireference/> and some helper functions.

EXAMPLE

>>> from ABBYY import CloudOCR
>>> ocr_engine = CloudOCR(application_id='YOUR_ABBYY_APPLICATION_ID', password='YOUR_ABBY_APPLICATION_PASSWORD')
>>> pdf = open('budget1988.pdf', 'rb')
>>> file = {pdf.name: pdf}
>>> result = ocr_engine.process_and_download(file, exportFormat='xml,pdfTextAndImages', language='French')
>>> result
{'xml': <_io.BytesIO object at 0x2e2e290>, 'pdfSearchable': <_io.BytesIO object at 0x2e2e2f0>}

INSTALLATION

$ pip install ABBYY

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ABBYY-0.3.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page