tessdata folder not found

Asked by Daniel Something

Hi,

I'm trying to get tesseract/OCR working in sikuli(1.0.1 script with tesseract).

The error message is that tesseract can't find tessdata in /usr/local/share.

I'm running CentOS 6.3 with custom installs of Sikuli and Tesseract at (/home/user/local) because I don't have root.

I have set Settings.Ocr.Read=True & Settings.Ocr.Search=True in my test.

I tried removing the libs folder and that created a tessdata folder but it still wants one in /usr/local/share for some reason.
with -d 3 I got that it found 30 files in META-INF/libs/tessdata.

I have set SIKULIX_HOME=/home/user/local/sikuli and -Dsikuli.Home=/home/user/local/sikuli but that doesn't work either.
I get confirmation that it uses the SIKULIX_HOME with -d 3:

... Exists Property.sikuli.Home? YES: /home/user/local/sikuli/libs

Any ideas?
//Daniel

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

use
Settings.OcrDataPath = "your tessdata folder path"

Revision history for this message
Daniel Something (danne-the-boy) said :
#2

Thanks, that was it!

Is there documentation somewhere for the OCR settings?

Revision history for this message
Daniel Something (danne-the-boy) said :
#3

Thanks RaiMan, that solved my question.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

no more options available currently.

To select a language set will be available with 1.1.0 final and then have a doc ;-)