← Back to team overview

sikuli-driver team mailing list archive

[Bug 1240001] Re: setting a new similarity have no effect

 

If interested. the attachment contains my test.

** Attachment added: "test.sikuli.zip"
   https://bugs.launchpad.net/sikuli/+bug/1240001/+attachment/3878486/+files/test.sikuli.zip

** Summary changed:

- setting a new similarity have no effect
+ [1.0.1] grayscale shots always result in score 1.0 if they do not contain real black or white elements

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

Title:
  [1.0.1] grayscale shots always result in score 1.0 if they do not
  contain real black or white elements

Status in Sikuli:
  Confirmed

Bug description:
  1. Version of Sikuli: X-1.0.1
  2. Operating system: Windows XP Pro SP3
  3. Procedure to reproduce the bug: 

          a - Create a script containing the following code
  (button_enable.png is attached)

                Settings.MinSimilarity = 0.99
                click("C:/button_enable.png")

          b - Open the attached image button_disabled.png and run the
  script above

          --> Result: The "click" is performed while it should not

  4. This problem does not appear with Sikuli X-rc3

  
  Best regards
  Pierre Dumas

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


References