Internal function: finding the best match between a set of detected features and a set of known features.
Useful links