May-03-2017, 05:20 PM
I'm trying to use
I have installed it properly, but I'm having trouble getting it working from the command line, which seems necessary if I want to use the Python wrapper.
I've add this path to the PATH Environmental Variables
The image is in my current directory, which is C:\User\Moondra
The command I tried was :
I double checked with my python code, and I get this error.
Any ideas what I may be doing wrong?
pytesseract
but it seems I have to first install Tesseract
on my windows OS and get it working properly first on Windows before I can use the python wrapper. I have installed it properly, but I'm having trouble getting it working from the command line, which seems necessary if I want to use the Python wrapper.
I've add this path to the PATH Environmental Variables
C:\Program Files (x86)\Tesseract-OCR\tesseract.exe
, which assumed allow me to run tesseract from the command line by using the command 'tesseract'The image is in my current directory, which is C:\User\Moondra
The command I tried was :
tesseract DMTX_screenshot.png outBut I"m getting the error, tesseract is not recognized as an internal or external command.
I double checked with my python code, and I get this error.
from PIL import Image from pytesseract import image_to_string #print image_to_string(Image.open('test.png')) image_to_string(Image.open('KDMN_screenshot.png')
FileNotFoundError: [WinError 2] The system cannot find the file specified
Any ideas what I may be doing wrong?