Question #252621 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252621
Eugene S proposed the following answer: Hi, Sikuli has this feature to find text in Region: Region.text() Prior to using it, you have to switch the search on. There are 2 separate settings for dealing with text: Settings.OcrTextSearch = True Settings.OcrTextRead = True So if you want to look for a text in a certain Region, it might look like this: reg = Region(x, y, w, h) reg.find("text to be found") However be aware that this feature does not always working as expected as there are known issues of OCR (tesseract in this case) when working with rendered computer text. Take a look at this for more info where RaiMan mentions certain steps that steps that might be undertaken to improve the detection quality. https://bugs.launchpad.net/sikuli/+bug/710586 To get some idea what's actually being detected when you are working with certain region, try: print reg.text() Cheers, Eugene -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp