Brand new Windows 7 Tesserat user

37 views
Skip to first unread message

Garry Smithwick

unread,
Feb 6, 2018, 2:22:00 AM2/6/18
to tesseract-ocr
I just installed Tesseract and I have the directory now with all the files.  I think I have to do some kind of training, but I can't find any info on what that means.  I tried:

    
 tesseract.exe "D:\Pictures\Group\Scan0004.tif" output -l lang eng

Got Error Messages:

Error opening data file \Program Files (x86)\Tesseract-OCR\tessdata/lang.traineddata

Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.

Failed loading language 'lang'

Tesseract couldn't load any languages!

Could not initialize tesseract.


Help?
      

ShreeDevi Kumar

unread,
Feb 6, 2018, 3:15:00 AM2/6/18
to tesser...@googlegroups.com
Your command syntax is incorrect.

It should be

-l eng

(lang) is not required. Then it will use eng.traineddata for doing the OCR.

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/47d06a00-9f1b-44de-b806-a93944350aa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages