Reading subimage-search command line results
Posted: 2019-06-26T15:32:18-07:00
compare -metric RMSE -subimage-search writes a value with format 'A (B) @ X,Y' to stderr.
Examples:
B = similarity threshold of match
X = x-coordinate of match
Y = y-coordinate of match
Question 1
What is A for? It's obviously 0 when there's a match, so I'm sure A and B are related - I just can't tell the relationship.
Question 2
Can the return format ever be different? For example, is there a way to get a list of the top 3 matches?
Examples:
- 0 (0) @ 94,86
- 15903.7 (0.242675) @ 233,304
- 22620 (0.34516) @ 614,126
B = similarity threshold of match
X = x-coordinate of match
Y = y-coordinate of match
Question 1
What is A for? It's obviously 0 when there's a match, so I'm sure A and B are related - I just can't tell the relationship.
Question 2
Can the return format ever be different? For example, is there a way to get a list of the top 3 matches?