Can't find image

Asked by Cam

Hi,

I have been running my script many times successfully. However now when I run it I get errors because it can't find some images. When I click on the image I notice that the Matching Preview is no longer in red and at .99. However it was in red when I ran it successfully and it was at .70.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Cam
Solved:
Last query:
Last reply:
Revision history for this message
Alex Lunyov (lunyov-av) said :
#1

That could be an issue with setting Settings.MinSimilarity of Sikuli.
Have you changed this setting somewhere without restarting the Sikuli IDE?
Hope you have already found the solution.

Revision history for this message
Cam (cfamili) said :
#2

No I haven't changed the setting but I'm not getting this message anymore. If I get this message again I'll send another question. Thanks for your help!

Revision history for this message
Alex Lunyov (lunyov-av) said :
#3

Be sure your visuals with default similarity settings (where there are no green squared numbers on it) are matched with appropriate level of similarity. Or you can always set the similarity individual for each pic in your script – that would bring some robustness to your script (my own experience advice).
You are welcome!