1 | initial version |
there are 2 ways to do this, IF you have "ground truth" information (you know the Rect, where the face should be) you can use the jaccard distance as a similarity measure.
if you haven't, you can use another detectMultiScale overload, that gives you the levelWeights.