Question #240213 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240213
Status: Open => Answered
RaiMan proposed the following answer:
ok, then the easiest way is to search in both regions one after the
other.
na = existsAny(regionA, imagelist)
nb = existsAny(regionB, imagelist)
now you have na and nb to make your decisions.
If you want to get faster:
- make the regions as small as possible
- delegate the search for each regions in threads
--- this would become a very large if-elif-else...
If there are many decisions to make, then the construct gets large by design ;-)
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp