标签:
OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvExtractSURF, file /tmp/buildd/ros-hydro-opencv2-2.4.9-2precise-20141231-1914/modules/legacy/src/features2d.cpp, line 771、#include "opencv2/nonfree/features2d.hpp" #include "opencv2/nonfree/nonfree.hpp"
cv::initModule_nonfree();在main函数刚开始的时候调用这个。
include_directories( ${catkin_INCLUDE_DIRS} include ${OpenCV_INCLUDE_DIRS} )
add_executable(surf src/main.cpp src/surf.cpp ) target_link_libraries(surf ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} /opt/ros/hydro/lib/libopencv_nonfree.so.2.4.9)
OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE
标签:
原文地址:http://blog.csdn.net/dxuehui/article/details/45841293