Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Asprise OCR (optical character recognition) and barcode recognition SDK is a high performance royalty-free Python API library. It converts images (JPEG, PNG, TIFF, PDF, etc) into text, xml, searchable PDF or editable RTF/Word formats. Data capture are supported for processing documents like invoices and forms.

Project Description

Install and Run the Sample OCR Application

You may install with Python’s pip either from a Unix/Linux shell or Windows command console:

> pip install asprise_ocr_sdk_python_api       # Windows

$ sudo pip install asprise_ocr_sdk_python_api  # Linux/Mac OS X

A sample front-end GUI for the OCR engine will be installed as a script named ‘asprise_ocr’. You can run the following command in the same shell/console:

asprise_ocr

The following are the screenshots on Linux and Windows respectively:

Invoke Asprise OCR API from Your Own Code

from asprise_ocr_api import *

ocr = Ocr()
ocr.start_engine("eng")  # deu, fra, por, spa - more than 30 languages are supported
text = ocr.recognize(
    "PATH_TO_INPUT_IMAGE.tif",  # gif, jpg, pdf, png, tif, etc.
    OCR_PAGES_ALL,  # the index of the selected page
    -1, -1, -1, -1,  # you may optionally specify a region on the page instead of the whole page
    OCR_RECOGNIZE_TYPE_TEXT,  # recognize type: TEXT, BARCODES or ALL
    OCR_OUTPUT_FORMAT_PLAINTEXT  # output format: TEXT, XML, or PDF
)
print "Result: " + text

# ocr.recognize(more_images...)

ocr.stop_engine()

We’d Like to Hear From You

Asprise OCR supports more than twenty languages, however only five popular languages are included in this trial kit. Please contact us if you need to evaluate other languages.

Email: contact@asprise.com Homepage: Python OCR SDK API on asprise.com

Release History

Release History

This version
History Node

15.3.0.8

History Node

15.3.0.7

History Node

15.3.0.6

History Node

15.3.0.5

History Node

15.3.0.4

History Node

15.3.0.3

History Node

15.3.0.2

History Node

15.3.0.1

History Node

15.3.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
asprise_ocr_sdk_python_api-15.3.0.8-py2.py3-none-any.whl (24.3 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jun 18, 2015
asprise_ocr_sdk_python_api-15.3.0.8.zip (27.1 kB) Copy SHA256 Checksum SHA256 Source Jun 18, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting