Has anyone got the OCR function Region.text() working in Sikuli with java?
I keep getting this as output
Region.text: text recognition is currently switched off
and I can't find anyway to turn this feature on in java.
Sikuli has Settings class (org.sikuli.basics.Settings) that has options:
Settings.OcrTextSearch
Settings.OcrTextRead
Put them true and it should work :)
P.S. Actually I don"t know why are they by default false...
If you're using Sikulix IDE app for 1.1.x, go to Preferences, more options..., you should enable allow OCR.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With