find(img, score) in Finder not there --- use find(new Pattern(img).similar(score))
Bug #1607275 reported by
Kanwar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Confirmed
|
Undecided
|
RaiMan |
Bug Description
Contrary to explanation provided in JAVA DOC of Sikuli the find() function should take img and similarity arguments , but the Eclipse IDE gives error when similarity is provided stating that the function is buiilt only to take the image.
Windows10
64-bit
Procedure to produce the bug
img1 = path to file saved as string in java ;
img2 = path to file saved as string in java ;
Finder f = Finder(img1)
if (f.find(
print("matach")
else:
print("did not match")
To post a comment you must log in.
the actual JavaDocs do not show this feature: nightly. sikuli. de/docs/ index.html
http://
This might have been available in a version < 1.1.0
Now you have to use a Pattern as with all find() methods.