I'm a little confused by this explanation. I have tested this with
capturing images from a webpage, and used the same page in the same
browser, testing on subsequent days. I am also using the minimum image
size that I can, capturing only the relevant section (such as a menu bar
item, and capturing as little "white space", or background). Initially
the images are a perfect match, and when looked at in the Matching
Preview show a red match (instead of the pink or purple that appears
with less exact matches) that continues to exist when I increase the
similarity to .99 (and when I run the script, the item is found
successfully), but when I check several days later they will show a
match of less similarity, such as .45 - .75.

This seems to leave only pixel level rendering errors as a possible
cause that you list, but I have a hard time believing that they could
cause such a dramatic difference in similarity. Also, I would expect
that pixel level rendering errors would vary with time, not only
downward but also upward; so that they might cause a script to fail one
day, but then the next it would work again. However, I have not seen
these images improve in similarity back to previous values once they
stop working.

Is there any logging information that would help with this?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1211462

Title:
  Image similarity value changes randomly

Status in Sikuli:
  Opinion

Bug description:
  When images are first captured, they have a similarity value of 1.0,
  and match exactly. However, when a script is run later, the similarity
  value for images degrades, typically to a value of ~.6, despite the
  exact same screen being visible. It occurs seemingly at random;
  typically it takes several days before an image will no longer be
  recognized, but it can occur faster as well. Because of the random
  nature of the error, it is difficult to reproduce intentionally, but
  seems to occur very frequently when scripts are tested at a later date
  or on a different client machine.

  Sikuli: 1.0.0
  OS: Windows 7 32-bit

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1211462/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to