← Back to team overview

sikuli-driver team mailing list archive

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

 

Perhaps I should add what I am trying to accomplish
I am trying to find out if there is anything in region (341, 518, 82, 35)
if its Black there is nothing

-- 
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