I still have the same problem for Chinese Simplified language pack on unbuntu 12.04
1. Follow the instructions to install tesseract,
2. make sure the language pack permission is 755
conan@ubuntu:~$ ll /usr/local/share/tessdata/
-rwxr-xr-x 1 root root 39973777 Sep 23 20:36 chi_sim.traineddata*
3. try to recognize a Chinese Simplified character
conan@ubuntu:~$ tesseract ma.png out -l chi_sim
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!
Could not initialize tesseract.
4. but TESSDATA_PREFIX has the correct path
conan@ubuntu:~$ env |grep TESSDATA_PREFIX
TESSDATA_PREFIX=/usr/local/share
5. and tesseract version
conan@ubuntu:~$ tesseract -v
tesseract 3.02.02
leptonica-1.69
libjpeg 8b : libpng 1.2.46 : libtiff 3.9.5 : zlib 1.2.3.4
what is the problem?
在 2013年9月17日星期二UTC+8上午3时16分05秒,Daniel Lerch写道: