Exists Multiple Images

Asked by Jeff_Vallis

What is the fastest way to determine if any one of say 30 images appear in a region.
At present I loop through all the images with exists(Image,0.2)
Is there a better way.

n.b. Random number of images - if it fails to find one then my code takes a snapshot of the image and adds it to the list to find.
So code starts off with no images to find and expands with the snapshots.

for loop
      Image = the file name of the snapshot taken
      if exists(Image,0.2):
          return image info
not found so take a snapshot

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

Can you help with this problem?

Provide an answer of your own, or ask Jeff_Vallis for more information if necessary.

To post a message you must log in.