← Back to team overview

sikuli-driver team mailing list archive

[Bug 780937] Re: X-1.0rc2: exact() information is lost in GUI on reopening --- workaround

 

I actually thought that exact matching could speed up the process.

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

Title:
  X-1.0rc2: exact() information is lost in GUI on reopening ---
  workaround

Status in Sikuli:
  New

Bug description:
  **** workaround:
  use similar(0.99) instead
  ----------------------------------------------

  When a pattern is defined as exact match using 1.0 similarity in GUI, the image gets "1.0" marker and the .py file contains the following source:
    img = Pattern("img.png").exact()

  However, if you save and reopen Sikuli, the "1.0" marker is lost, and
  click on image resets similarity slider to a value of 0.7. This
  creates big trouble when debugging, because engine still matches the
  picture as exact() match and if PS doesn't have exact similarity,
  Matching Preview will show that there is no match until you move
  slider.

  Vista 32.


References