1 | initial version |
the 'confidence' value is actually the distance between the test and the closest found image.
the 'threshold' value passsed into the constructor is used in the predict method, any distance greater than that is ignored (thresholded).
unfortunately, to achieve more than one result, you'd have to hack the source, or copy parts of it into your source code (contrib/src/facerec.cpp).
don't be afraid of it, the code is quite easy.
good luck!