1 | initial version |
You have to use one of the _NORMED methods, and you have to set the threshold yourself. The _NORMED methods return a value between 0 and 1. You find the maximum value, and if it's over your threshold (or below, for SQDIFF, where 0 is a perfect match) then it was found.
Figuring out a good threshold is harder than it sounds. Usually trial and error. Good Luck.