← Back to team overview

sikuli-driver team mailing list archive

[Bug 1588723] Re: Black Image Exist does not find it

 

Please make sure your image size (width and height) is less than width
and height of your region. By the way it could be useful to warn a
priori (and while running script) if the image can't be found in the
region in case the latter is smaller than the former.

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

Title:
  Black Image Exist does not find it

Status in Sikuli:
  New

Bug description:
  1.1.1(2015-11-26_01:00nightly)/Mac10.11.5/Java8(64)1.8.0_25-b17

  Found 2 References to this :-
  ​	
  #697141 X 1.0rc2: find(), exists(), onAppear(), onVanish() with black or white images not working
  Fix Released (2 comments) last updated 2011-09-27

  and

  https://answers.launchpad.net/sikuli/+question/140115

  My Code after reading various Suggestions always returns "not found"
          if exists(Pattern("1464943398109.png").similar(0.99)): 
              print "found"
          else:
              print "not found"

  The Area of the Screen that I am testing is completely black and so is
  the image

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


References