Ask Your Question

InsightfulPeter's profile - activity

2013-09-05 22:10:26 -0600 received badge  Student (source)
2013-09-04 20:42:59 -0600 asked a question How to find the top 'x' matches using the facial recognition algorithms

Hi,

I have an application that successfully finds and identifies faces in images. However, I need to change the application so that instead of it suggesting the most likely face (with associated confidence/distance), it instead provides the top 3 or 5 most likely faces with all their associated confidences. I then perform some other analytics to determine the best match.

I have not found any information in the opencv documentation on how to do this. I'm using an LBPH algorithm and using the "predict" method.

Can anyone provide any guidance on how I can have the algorithm produce the top 'x' matches?

Thanks