Ask Your Question

Revision history [back]

Is it possible to get multiple prediction from FaceRecognizer

The task:

1) We have 1000+ face image database

2) For given image, we must detect top 10 most similar faces from database - in most cases face will not be exactly in database so large value for treshhold used, we must to get SIMILAR (but top 10), not exactly SAME (but 1)

We start implement it with opencv Face recognition.

But with it's API we just can get ONE BEST result for algorightm choise with minimal distance with PREDICT method.


Is it possible to get TOP N of results in descending order of distance?

I'm almost sure that internally FR algorithms "knows" weights for all matches.