Using OpenCV+PCA+KNN/SVM to implement face detection and recognition
本文代码使用OpenCV调用摄像头检测人脸,然后通过PCA降维,使用KNN或SVM进行分类。
face_recognition.py为代码,haarcascade_frontalface_alt.xml为opencv人脸检测器模型。
代码详细内容可见http://blog.csdn.net/gaoyueace/article/details/79600979