Null text returned with region.text in version 1.1.4

Asked by chaman21

Hello,

I used region.text() successfully with version 1.1.3 of sikulix. I have now upgraded to 1.1.4 so that I can leverage the training capabilities of tesseract to try to improve my OCR results. However, using 1.1.4 calls to the text() function always return an empty string. During debugging I have stepped into the library code and can confirm that the image captured during execution is correct and clearly contains text. I'm not sure what I'm doing wrong.

Thanks for any help you can provide.

Question information

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

what system? what Java version?

I have to check.

Revision history for this message
chaman21 (chaman21) said :
#2

WIndows 10 Enterprise 64 bit and Java 8.
THanks.

Revision history for this message
Imed dody (dodyit-21) said :
#3

Hi All,
I have SikuliXIDE-1.1.4-SNAPSHOT(2019-01-16_07:30) version
more options does not show the OCR feature at al, it does not exist
I set the following:
Settings.OcrTextSearch to True and Settings.OcrTextRead to True but unfortunately it keeps on error when using
region.text("HSP")
any help what to do is appreciated!
Thanks

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

do not add asking comments to old questions
post new questions.