sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37209
[Question #288544]: Does Settings MinSimilarity apply to exists() when using Java API?
New question #288544 on Sikuli:
https://answers.launchpad.net/sikuli/+question/288544
Hi,
I am using the Sikulix Java API in Windows.
Does Settings MinSimilarity value apply to exists() function also? Java docs seem to imply that it's only for ''find''.
I wish to know this because I want to impose a 100% similarity check to make a part of the program proceed.
I have another question :
In ReadtheDocs, it's mentioned that exists() returns false. But Java Docs state that exists() return match if successful, or null if not found on region.
Will the code below work?
Match m=r.exists("picture");
if(m==null)
{
System.out.println("image not found");
}
else
{
//Image found}
Thanks.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.