opencv cv::xfeatures2d::SURF::create错误

 

错误描述:运行cv::xfeatures2d::SURF::create 崩溃,出现Error: The function/feature is not implemented (This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library)

解决:依据提示 cmake 时,OPENCV_ENABLE_NONFREE 勾上。 

posted on 2022-01-24 12:09  WenJXUST  阅读(1135)  评论(0)    收藏  举报