How to get distances from all trained images in face recognition using EmguCV?

I was able to compile a simple face detection and recognition program in c# using EmguCV, following this article:

http://ahmedopeyemi.com/main/face-detection-and-recognition-in-c-using-emgucv-3-0-opencv-wrapper-part-1/

Once trained the recognizer, the Predict method correctly returns the corresponding Label (or distance) of the image passed.

Is it possible to get a list of all the distances between the image sample and the faces in the database?

Basically, I would have to write another predict method like suggested in:

http://answers.opencv.org/question/3494/adding-new-method-in-facerecognizer/

http://answers.opencv.org/question/19681/confidence-values-for-all-faces-from-facerecognizer/

But I'm working with c# and Emgu, how can I do?

Thanks for your help

链接地址: http://www.djcxy.com/p/68134.html

上一篇: 片段或支持片段?

下一篇: 如何使用EmguCV获取所有训练好的图像在人脸识别中的距离?