Simple installation issue
Closed this issue · 4 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Install tesseract
2. Run sudo ldconfig
3.Run tesseract --help
What is the expected output? What do you see instead?
A help message
What version of the product are you using? On what operating system?
2.12
Please provide any additional information below.
The error message:
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!
Could not initialize tesseract.
Original issue reported on code.google.com by craigfai...@gmail.com
on 19 Apr 2015 at 7:18
GoogleCodeExporter commented
Sorry, that OS is CentOS 6
Linux tower.youds.com 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
Original comment by craigfai...@gmail.com
on 19 Apr 2015 at 7:19
GoogleCodeExporter commented
TESSDATA_PREFIX=/usr/local/share/tessdata/
would appear to be my directory i need testdata_prefix to be pointed to, see:
[
root@tower tesseract-ocr]# ls /usr/local/share/tessdata/
configs tessconfigs
however `locate eng.traineddat` doesn't find anything
thanks in advance
Original comment by craigfai...@gmail.com
on 19 Apr 2015 at 7:29
GoogleCodeExporter commented
Never mind, I fixed the problem by installing a language pack.
Original comment by craigfai...@gmail.com
on 19 Apr 2015 at 7:54
GoogleCodeExporter commented
Original comment by zde...@gmail.com
on 19 Apr 2015 at 12:25
- Changed state: No-longer-an-issue