im using sikuli-api 1.0.1 in java. The current problem is that I want to use the matching algo for a given image instead of a screen. The code which works is:
ScreenRegion s = new DesktopScreenRegion();
Target imageTarget = new ImageTarget(new File("someImage"));
ScreenRegion r = s.find(imageTarget);
Instead of using the ScreenRegion I would like to use a given image (File/BufferedImage). Any ideas how to do it? I dont want to click on the image etc. I just want to use sikulis algo to check if the target is inside the image.
Thanks in advance