sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58171
[Question #701089]: Cannot verify an object on screen
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.