Simple python library for recognition text from image

42,724

Solution 1

I used pytesser. Very easy to learn, and did a great job for me. If you don't like this option, search for 'python OCR library'

Solution 2

OCRopus is another easy to learn OCR library for python. It also seems to yield (slightly) better results than pytesser. Here's the link to its site

Share:
42,724
shau-kote
Author by

shau-kote

User Interface Developer: aspire to develop anything user interact with. С++/Qt, JS/HTML/CSS, React Native, iOS (just on the way to).

Updated on July 20, 2022

Comments

  • shau-kote
    shau-kote almost 2 years

    I'm looking for a simple python library for text recognition from images. Images are similar to this:

    enter image description here

    The image contains a very pure and simple - one line, numbers and hyphens, but the resolution is low.

    I would like something similar (in an ideal):

     text = recognize(open('image.png', 'rb').read())
    

    Does something similar exists? Thanks.

    UPD

    I know about pytesser and OCRopus. But as far as I understand they don't support Python 3.x.