TextRecognizer: init: export tessdata not possible, TextRecognizer not working

Asked by md atequer rahman

Hello,
Previously I was facing problem in case of 'Set Ocr Text Read' & 'Get Text' keyword. After having long discussion it has been solved.
https://answers.launchpad.net/sikuli/+question/403089
Now facing another problem. After running test case following error msg is showing_

[error] TextRecognizer: init: export tessdata not possible - run setup with option 3
[error] TextRecognizer not working: tessdata stuff not available at:
C:\Users\admalrahab\AppData\Roaming\Sikulix\SikulixTesseract\tessdata
[error] text: text recognition is now switched off

I using SikuliLibrary not SikuliX. Following this link_
https://github.com/rainmanwy/robotframework-SikuliLibrary

Here nothing related to 'run setup with option 3'. How can I solve it?
Need your help. Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
md atequer rahman
Solved:
Last query:
Last reply:
Revision history for this message
md atequer rahman (sourov19) said :
#1

Downloaded tesseract-ocr-3.02.eng.tar.gz. Unzipped & copied 'tessdata' into my following directory where it was not found_

C:\Users\admalrahab\AppData\Roaming\Sikulix\SikulixTesseract\

Then working well.

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

Thanks for the evaluation and the solution.
I will fix the problem for version 1.1.1 according to the related bug and take care, that this extra step for the current version of SikuliLibrary is mentioned there.

A possible workaround for version 1.1.0 and current 1.1.1-SNAPSHOT:
run a SikuliX setup on your machine with options 2 and 3, which will leave you with a correct <SikliXAppData> folder including the Tesseract stuff, useable with the SikuliLibrary jar.