search multiple images at same time
I have a script where i search images one after the other because I can't figure out how to search them all at once. I have a feeling the observe function might be my answer but don't understand it well enough.
I know how to set ROI and I have. The reason they are being changed in the script so many times is because if it finds a match and clicks the region needs to change.
The problem is that I need to speed this up significantly. Right now it is searching for 1 image at a time. There are about 10 images (this is not the whole script) and I would like to add more.
Also I found out that the coordinates for setROI cannot be decimals. Is there a way to round those numbers up or down? (its not giving me an error now because x and y are set to 1)
setROI(
for pick in range(1):
if exists(
wait(1)
if exists(
wait(1)
if exists(
wait(1)
if exists(
wait(1)
if exists(
wait(1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: