Question #192713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/192713
Status: Open => Answered
RaiMan proposed the following answer:
Have a look at Java class Finder.
This allows, to look for a given image in a base image.
On the Java level, we can use the captured buffered image.
So you can use it to easily compare 2 images.
e.g. (look docs if problems ;-)
final Screen displayScreen = (Screen) simArea.getScreen();
final BufferedImage bf = displayScreen.capture(simArea);
Finder comp = new Finder(bf, Region.create(0,0, simarea.w, simarea.h));
comp.find("path to other image.png", 0.99);
Match result = comp.hasNext();
If result is not null, the images are the same.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp