Image Matching

Asked by Jeff_Vallis on 2020-08-29

2.0.4-2020-03-14_08:01/Mac10.15.6/Java13(64)13.0.1+9

Is there anyway to find out what the matching level is from a exists or find without looping through from matching 0.70 to 0.99

also is v_Matching 1.00 the correct syntax for exact match
v_Image = Pattern(v_Image).similar(v_Matching)

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2020-08-30
Last query:
2020-08-30
Last reply:
2020-08-29
Best RaiMan (raimund-hocke) said : #1

--- exact match:
Pattern(...).exact()
which is the same as
Pattern(...).similar(0.99)

--- match score
if someRegion.exists(...):
    score = someRegion.getlastMatch().getScore()

or
match = someRegion.exists(...)
if match:
     score = match.getScore()

Jeff_Vallis (vallis-pj) said : #2

Thanks RaiMan, that solved my question.