How to link "eng.trainedata" to "tesseract" in Window using "vcpkg" ?

20 views
Skip to first unread message

narendra kintali

unread,
Jun 3, 2019, 1:42:39 PM6/3/19
to tesseract-ocr
I have installed Tesseract using Vcpkg in Windows 10 and tried running a example program, but it didn't work. 
Error message: 
Error opening data file C:\Users\kintali\source\repos\TesseractTest\x64\Debug\/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!

Help me in linking the eng.trainedata file to tesseract library.  I am using Visual Studio 2017.

Zdenko Podobny

unread,
Jun 3, 2019, 1:50:54 PM6/3/19
to tesser...@googlegroups.com
There is nothing like linking eng.traineddata to tesseract library. IMHO message is clear: this data patch is not at the place it should be => you did not specified where this data is located. 

Zdenko


po 3. 6. 2019 o 19:42 narendra kintali <narendra...@gmail.com> napísal(a):
--
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-oc...@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/048cf4ed-edae-404b-a32b-03241e6dcf52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

narendra kintali

unread,
Jun 3, 2019, 2:36:30 PM6/3/19
to tesseract-ocr
Thanks for clearing Zdenop. I placed the data file in the location.. it solved the issue.


On Monday, June 3, 2019 at 1:50:54 PM UTC-4, zdenop wrote:
There is nothing like linking eng.traineddata to tesseract library. IMHO message is clear: this data patch is not at the place it should be => you did not specified where this data is located. 

Zdenko


po 3. 6. 2019 o 19:42 narendra kintali <narendra...@gmail.com> napísal(a):
I have installed Tesseract using Vcpkg in Windows 10 and tried running a example program, but it didn't work. 
Error message: 
Error opening data file C:\Users\kintali\source\repos\TesseractTest\x64\Debug\/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!

Help me in linking the eng.trainedata file to tesseract library.  I am using Visual Studio 2017.

--
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 tesser...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages