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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
piltesseract-0.0.2.zip
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for piltesseract-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbcdb6e0f292d6adac88396abf99b17dc515cfd2c6dec25fea244cfedfbcd02 |
|
MD5 | a48447fff6ee527d27406c286be41c9c |
|
BLAKE2b-256 | 3d40e12161edec39db2cdebb576a332b9fe8310d133fd808f9feeccf737e5359 |