← Back to team overview

sikuli-driver team mailing list archive

[Question #254678]: Trouble in method "Screen.exists()"

 

New question #254678 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254678

Hi All,
I would like to compare the expecting image whether exists the current screen, my java code below, expecting image, and part of current screen are below.
Screen s = new Screen();
if (s.exists("/expecting.png") != null)
System.out.println("Found.");
else
System.out.println("Image finding false.");

the result show "Found", the expecting image was found in the current screen image.
what others setting I need to setup?
and 
how I can set up the image recognize sensitive value?


please check images I posted to github.
https://github.com/RaiMan/SikuliX-2014/issues/66

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.