4
votes

SikuliX or Sikuli Script has Region.text() which returns the text value from the image on screen based on tesseract ocr.

Is there something similar in Sikuli-java-api??

I need to verify some text from screen and am trying to decide which of the two api should be used. Thanx for ur help in advance!

2
This is possible and I posted the solution here: stackoverflow.com/questions/33291954/… - zerotres

2 Answers

0
votes

No, only up on setting up the tesseract ocr, you would be able to read/validate text. if you are not able to download this OCR directly during installation try the offline version of this OCR and copy it to your local.

0
votes

Depending on what you wish to accomplish by recognizing "text", Sikuli can still recognize images of text. Text images are treated the same as any other images displayed. Sikuli on its own can't interpret the text in an image, however if you know what text you wish to see, and have an image of it for comparison, you can still validate whether or not it appears. Keep in mind that font and resolution changes will likely cause unreliable results.