Ask Your Question

Revision history [back]

How does OpenCV face Recognizer Work?

Hi I am a student working on a face recognition project, I know how to use OpenCV's face recognizer functions to train and predict face images, but I am curious about what classifier does it use.

For example for Eigenface: after training a dataset by converting the images into Eigenface vectors, when an unknown image is presented, it will classify it according to the class with the shortest distance, so is this like a KNN classifier?

If I were to implment PCA manually and then use KNN to classify it, will it achieve the same result?

I am quite new to this and will really appreciate a good explanation!