Dynamic Text recognition

Asked by Bindu

Hi,

I need some help in recognizing the text from the screen that comes dynamically, is there any way other than using region.text() and using an offset image. I can see a TextRecognizer class in sikuli script jar file, but I am not sure how to use it and whether it really recognizes the text.. Please help me out.

Thanks,
Bin

Question information

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

Region.text() IS IN FACT the function to OCR-read text from a given region on the screen (it internally uses class TextRecognizer, but it does not make any sense to step down to that level).

Be aware: bug 710586

Revision history for this message
Bindu (madhupenugonda-bindu) said :
#2

Thanks for the quick response RaiMan, it is really appreciable. I also want to know if there is any other way to recognize the text apart from region.text() and find("img.png).text()

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

simply no.

Revision history for this message
Bindu (madhupenugonda-bindu) said :
#4

Thanks RaiMan, that solved my question.