raise TesseractNotFound
Closed this issue · 2 comments
WuHuaJi0 commented
I download this library , and import it to my program . But , when I use the function :
image_to_string()
it broke by a error :
Traceback (most recent call last):
File "/home/jwc.py", line 48, in <module>
getNum()
File "/home/jwc.py", line 43, in getNum
text = image_to_string(out)
File "/home/pytesser.py", line 77, in image_to_string
check_path() #Check if tesseract available in the path
File "/home/pytesser.py", line 44, in check_path
raise TesseractNotFound
pytesser.TesseractNotFound
i don't have idea . so i wanner what's wrong and how to fix it ?
RobinDavid commented
The tesseract binary is not in your path. This module is just a python interface for tesseract. Is which tesseract
showing you where it is ? If not the binary is probably not installed.
WuHuaJi0 commented
Thank for you answer ,I found it need tesseact first , i installed ,then this problem solved.