New question #701089 on SikuliX:
https://answers.launchpad.net/sikuli/+question/701089

I want to identify an object from an image if exists inside another image, I 
read the documentation and tested several examples but none of them seems 
working. 

Below is my code in java:

URL path1 = "Sikuli/test1.png";
URL path2 = "Sikuli/test2.png";

Finder finder = new Finder(path1);

finder.find(new Pattern(path2));
            
if (finder.hasNext()) {
System.out.println("found");
}
 } 


Seems like I am missing something, or sikuli cannot work without a screen 
object maybe (?)
Any help will be appriciated, regards.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to