Cannot verify an object on screen
Asked by
Ioannis
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.
}
}
Seems like I am missing something, or sikuli cannot work without a screen object maybe (?)
Any help will be appriciated, regards.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ioannis for more information if necessary.
To post a message you must log in.