kcobra / tesseract-ocr

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

Simple installation issue #1453

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 9 years ago
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 9 years ago
 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 9 years ago
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 9 years ago

Original comment by zde...@gmail.com on 19 Apr 2015 at 12:25