Recognize Simple Digits With Pytesser
I'm learning OCR using PyTesser and Tesseract. As the first milestone, I want to write a tool to recognize captcha that simply consists of some digits. I read some tutorials and wr
Solution 1:
I think your code is quite okay. It can recognize 207770
. The problem is at pytesser
installation. The Tesseract
in pytesser
is out-of-date. You'd download a most recent version and overwrite corresponding files. You'd also edit pytesser.py
and change
tesseract_exe_name = 'tesseract'
to
import os.path
tesseract_exe_name = os.path.join(os.path.dirname(__file__), 'tesseract')
Post a Comment for "Recognize Simple Digits With Pytesser"