Skip to content Skip to sidebar Skip to footer

Tesseractnotfound - Pytesser

I'm trying to do OCR using pytesser downloaded from HERE. Here is the code of pytesser.py try: import cv2.cv as cv OPENCV_AVAILABLE = True except ImportError: OPENCV_AV

Solution 1:

Following changes in pytesser.py solved my problem, there is no problem with the paths that are set.

Changes are as follows:

PROG_NAME=tesseract changed to PROG_NAME=tesseract.exe

In the function image_to_string() added f.close() after txt=f.read()

That't it :)

Post a Comment for "Tesseractnotfound - Pytesser"