"Tesseract couldn't load any languages!"

130 views
Skip to first unread message

Stephane Delecroix

unread,
Apr 8, 2017, 5:47:38 AM4/8/17
to tesseract-ocr

Hi,


I have this very (simple) error, but I don't know how to deal with it. Any help? 


macbook-air-de-stephane:~ Stephane$ brew install tesseract

Warning: tesseract-3.05.00 already installed

macbook-air-de-stephane:~ Stephane$ tesseract --tessdata-dir /Documents/APPs/OCR/imagefortest testSimpleText.png outputbase -psm 3


Error opening data file /Documents/APPs/OCR/imagefortest/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.


Thanks,


Stéphane

Reply all
Reply to author
Forward
0 new messages