Question #227732 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/227732
Status: Open => Answered RaiMan proposed the following answer: In Sikuli currently region and images to search can only be compound rectangular areas. If you want to check, wether a rectangular frame around a rectangular area (whose content does not matter in the first place), then you have to search in the edge areas with according images. In many cases it might be sufficient, to only search one edge area to decide, that the whole frame matches. And it might be sufficient to capture only a small part of the frame as search image. fr = some_region # the outer shape of the frame frw = 50 # the frame width - supposed to be even at all 4 edges frl = fr.left(1).right(frw) # the left edge area frt = fr.above(1).below(frw) # the top edge area ... -- 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