NEW to tesseract OCR

122 views
Skip to first unread message

Prasanna Gyawali

unread,
Jul 28, 2014, 12:05:53 PM7/28/14
to tesser...@googlegroups.com
Hello,
I am very new to Tesseract OCR. When i put the statement "tesseract phototest.png out" in command promt it displays the version and says "Cannot open the input file: phototest.tif". Where should i put this image?? I have located it within "C:\Program Files (x86)\Tesseract-OCR" folder.
Can anyone show me the right direction? 

Regards,
Prasanna

Victoria A.

unread,
Jul 30, 2014, 7:53:27 AM7/30/14
to tesser...@googlegroups.com
Hi, you may put your image anywhere. Just change directory (cd) your command prompt to the folder where the image is located. If your image is in the "C:\Program Files (x86)\Tesseract-OCR" folder, change your working directory to that folder.

Paul

unread,
Jul 30, 2014, 8:56:59 AM7/30/14
to tesser...@googlegroups.com
Usually your command line shows something like "C:\Users\YourUserName>" when you open it. In order to use tesseract, you need to change the current directory to the folder where your image is. So in your case, enter "cd C:\Program Files (x86)\Tesseract-OCR" into the command line. Now tesseract will find the image, but probably it won't be able to create the output file due to lacking file permissions. So a good way to start is to copy the phototest.tif to C:\Users\YourUserName and run Tesseract there.

Paul

unread,
Jul 30, 2014, 10:57:42 AM7/30/14
to tesser...@googlegroups.com
Sorry for the duplicate, Victoria. I missed your post somehow.
Reply all
Reply to author
Forward
0 new messages