TextRecognizer: init: tessdata folder not found

Asked by lybersord

Am using the Sikuli API with eclipse IDE and when I try to do a text read, I get this error:

"TextRecognizer: init: tessdata folder not found at..."

The workarounds suggested for similar issue does not seem to affect this.
I did set these values at the beginning of the program:

"Settings.OcrTextRead = true;
  Settings.OcrTextSearch = true;"

Any pointers on what I am missing will be of great help.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
lybersord
Solved:
Last query:
Last reply:
Revision history for this message
lybersord (rijoy-r) said :
#1

Converting to a question

Revision history for this message
lybersord (rijoy-r) said :
#2

RaiMan's comment on the bug (that I accidentally created instead of a "question")

"Supposing we are talking about version 1.0.1 and you have run setup with option 5, then try this:
delete the folder libs in the folder containing sikuli-java.jar
it should be recreated at runtime, now having the folder tessdata."

Solved the problem.

Thanks again RaiMan.