Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Latest version Number of PyPI downloads

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:


The following are the screenshots on Linux and Windows respectively:

Asprise OCR for Python on Linux Asprise OCR for Python on Windows

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
print "Result: " + text

# ocr.recognize(more_images...)


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: Homepage: Python OCR SDK API on

Project details

Release history Release notifications

This version
History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

History Node

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
asprise_ocr_sdk_python_api- (24.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 18, 2015 (27.1 kB) Copy SHA256 hash SHA256 Source None Jun 18, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page