shau-kote
shau-kote

Reputation: 1150

Simple python library for recognition text from image

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.

Upvotes: 5

Views: 43368

Answers (2)

austin-schick
austin-schick

Reputation: 1245

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

Upvotes: 6

Yotam
Yotam

Reputation: 10485

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'

Upvotes: 9

Related Questions