← Back to team overview

sikuli-driver team mailing list archive

[Question #691816]: Find image in region > Then set new region around image

 

New question #691816 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691816

Trying to find an image which appears at different section of the screen, then search within that image region for other things

so at first I'm setting a relatively large area to search

largeArea = Region(149,108,1621,645)

if largeArea.exists(image):

Now i'd like to find the location of the image and set a new region around this image (lets say newRegion)

so moving forward I'd like to search  just within the (newRegion) area and look for other things

I'm doing this so it cuts the search region into something much smaller to find it quickly for the next set to searches.

I hope that makes sense, thank you






-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.