Skip to main content

Image-to-text Tesseract command line wrapper.

Project description

# PILtesseract Simple Tesseract wrapper for converting PIL Images to text.

Warning: PILtesseract is intended to only work with tesseract 3.03+, one awesome feature added in 3.03 is the ability to pipe images via stdin, PILtesseract utilizes this feature.

Here is a simple example:

>>> from PIL import Image
>>> from piltesseract import get_text_from_image
>>> image = Image.open('quickfox.png')
>>> get_text_from_image(image)
'The quick brown fox jumps over the lazy dog'

See more advanced examples. See recipes.

Project details


Download files

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

Files for piltesseract, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size piltesseract-0.0.2-py2.py3-none-any.whl (6.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size piltesseract-0.0.2.zip (8.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page