sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26292
[Question #249926]: Checking for multiple images in a short time?
New question #249926 on Sikuli:
https://answers.launchpad.net/sikuli/+question/249926
I want to check if a region is equal to a series of images in a quick fashion. The region will always be equal to one of the images and it will always be in the same place, so is there an easy way to do this?
if Region.exists(image1):
#do stuff
if Region.exists(image2):
#do stuff
if Region.exists(image3):
#do stuff
and it continues on a few more times...
This works, but it isn't fast enough for my purposes. Obviously it will be fast if it's the first image, but at the tenth one it is too slow and isn't functional for my purposes. Is there any other method or a way to speed this up? My region is already as small as I can make it but I hope there is another way. Thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.