← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #632850]: Can't tell the difference between two images

 

Question #632850 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632850

RaiMan proposed the following answer:
try:
Pattern image = new Pattern("C:\\Images\\TestImage.png").exact()
this.screen.type(image, "a");

The Pattern class is the feature, that allows, to tell SikuliX a needed
match score for an image (0.99 in this case, which means exact).

read this to understand the magic behind:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.