What is confidence in OpenCV's FaceRecognizer?

后端 未结 1 972
天命终不由人
天命终不由人 2021-01-02 12:10

I\'ve been working on a face recognition project using OpenCV\'s FaceRecognizer, doing gender differentiation. The algorithm works pretty well, but I wanted to implement som

相关标签:
1条回答
  • 2021-01-02 12:29

    There's a brief discussion on what this distance actually is on the OpenCV-users list here.

    To summarise, the function they use is:

    distance = 1.0f - sqrt( distSq / (float)(nTrainFaces * nEigens) ) / 255.0f 
    

    However, the author of the function says that it is a very rough guide and not a full proof guide. See the link to the users list discussion for a reference to the paper and a suggestion for an alternative metric.

    0 讨论(0)
提交回复
热议问题