fatal error: opencv2/nonfree/nonfree.hpp: No such file or directory
http://stackoverflow.com/questions/11175794/opencv-surf-function-is-not-implemented
ubuntu14.04 indigo 测试 face_tracking时遇到此问题。
发现indigo版本之后,不再提供apt-get install opencv的安装。
SURF is located in nonfree module. To use it you should initialize nonfree module:
#include <opencv2/nonfree/nonfree.hpp>
...
cv::initModule_nonfree(); The SIFT and

在尝试使用OpenCV的face_tracking功能时,遇到`fatal error: opencv2/nonfree/nonfree.hpp: No such file or directory`的错误。Ubuntu 14.04 Indigo之后,通过apt-get安装的OpenCV不包含nonfree模块。要使用SURF等非自由功能,需要手动安装nonfree模块。
最低0.47元/天 解锁文章
4710

被折叠的 条评论
为什么被折叠?



