Python Language Optical Character Recognition PyTesseract


Example

PyTesseract is an in-development python package for OCR.

Using PyTesseract is pretty easy:

try:
    import Image
except ImportError:
    from PIL import Image

import pytesseract

    #Basic OCR
    print(pytesseract.image_to_string(Image.open('test.png')))

    #In French
    print(pytesseract.image_to_string(Image.open('test-european.jpg'), lang='fra’))

PyTesseract is open source and can be found here.