Face Recognition in OpenCV

梦想与她 提交于 2019-12-01 00:47:06

Update: OpenCV 2.4.2 now comes with the very new cv::FaceRecognizer. Please see the very detailed documentation at:

I worked on a project with CV to recognize facial features. Most people don't understand the difference between Biometrics and Facial Recognition. There is a huge difference based on the fact that Biometrics is mainly based on histogram density matching while Facial Recognition implements this and vector support based on feature recognition from density. Check out the following link. This is the library you want to use if you are pursuing CV and Facial Recognition: www.betaface.com . Oleksander is awesome and based out of Germany, but he answers questions which is nice.

With OpenCV it's easy to get started with face detection. It comes with some predefined sets for feature detection, including face detection.

You might already know this one: OpenCV Wiki, FaceDetection

The important functions in this example are cvLoad and cvHaarDetectObjects. The first one loads the classifier and the second one applies it to an image. The standard classifiers work pretty well. Of course you can train your own classifiers, if the standard ones don't fit your purpose.

As you said there are a lot of algorithms for face detection. Some of them might provide better results, but OpenCV is definitively a good start.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!