dlareklami / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Error opening data file /usr/local/share/tessdata/eng.traineddata #1141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Running tesseract through ubuntu terminal
2.successfully compiled
3.error while executing

What is the expected output? What do you see instead?
convert a tif image input to txt output,an error

What version of the product are you using? On what operating system?
tesseract 3.02 on ubuntu 12.04

Please provide any additional information below.
Error opening data file /usr/local/share/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent 
directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
tesseract-ocr initialize error

Original issue reported on code.google.com by adithya....@gmail.com on 13 Apr 2014 at 8:37

GoogleCodeExporter commented 9 years ago
Does /usr/local/share/tessdata/eng.traineddata exits?
Did you install it?

Original comment by zde...@gmail.com on 14 Apr 2014 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 17 Apr 2014 at 8:53

GoogleCodeExporter commented 9 years ago
thanks,
when i compile it again

tesseracttest.cpp:(.text._ZN9tesseract11TessBaseAPI4InitEPKcS2_[tesseract::TessB
aseAPI::Init(char const*, char const*)]+0x35): undefined reference to 
`tesseract::TessBaseAPI::Init(char const*, char const*, char**, int, bool)'

i have attached the program

Original comment by adithya....@gmail.com on 17 Apr 2014 at 9:16

Attachments:

GoogleCodeExporter commented 9 years ago
1. Your comment #3 has not nothing to do with content of this issues.
2. We provide support only for tesseract executable[1].

[1] https://code.google.com/p/tesseract-ocr/wiki/FAQ#Rules_and_advices

Original comment by zde...@gmail.com on 17 Apr 2014 at 9:46