FaceRecognizer in OpenCV

一个人想着一个人 提交于 2019-12-07 13:16:28

The problem is, that you are using OpenCV 2.3.1. This OpenCV Version didn't have a cv::FaceRecognizer yet, so that explains your error message. I would strongly suggest you update to OpenCV 2.4.2.

The documentation comes with a lot of samples:

However if you can't update to recent OpenCV versions, you could also try to use version 0.03 of libfacerec (libfacerec is the project I contributed to OpenCV). It is compatible to all OpenCV 2.3 versions. It has a slightly different interface, but the same algorithms. Here are the available tags, you could download:

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