OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE

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 77

terminate called after throwing an instance of ‘cv::Exception‘

1、#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)

时间: 2024-09-28 20:01:33

OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE的相关文章

【error】OpenCV Error: Parsing error (Missing or invalid SVM type) in read_params, file modules/ml/src/svm.cpp

前言 移植代码到板子上出现小问题,其实非常简单,但是不一定能立即想到,故还是记录一下.好记性不如烂笔头~ 错误 Vxworks上的error 0x21c411c0 (iRtp_imx6): RTP 0x2117b0e0 has been deleted due to signal 6. OpenCV Error: Parsing error (Missing or invalid SVM type) in read_params, file modules/ml/src/svm.cpp, lin

Fatal error: Maximum function nesting level of '100' reached, aborting!

今天访问PHP网站如下以下错误: Fatal error: Maximum function nesting level of '100' reached, aborting! 原因分析: 这个问题是由于你启用了xdebug,而xdebug默认设置了函数最大嵌套数为100   解决办法: 找到php.ini文件,找到xdebug 在最后加上xdebug.max_nesting_level = 500 (这个数最好大于100即可) 转载:http://blog.sina.com.cn/s/blog

Ubuntu 13.10 PHP 5.5.x mcrypt missing – Fatal Error: Undefined function mcrypt_encrypt()!

[原文]http://www.tuicool.com/articles/goto?id=myM7veR I had updgraded my Ubuntu from 13.04 to 13.10 last week and everything went quite good. The only problems that I faced as developer are: Apache 2.4 was not working with default previous installation

两个常见的OpenCV Error

本人在在调试过程中遇到的两个常见的OpenCV Error,跟大家分享一下解决办法: 第一个:OpenCV Error: Assertion failed <dims <=2 && data && <unsigned >i0 < <unsigned>size.p[0] && <unsigned >< i1,后面一大串,还是直接截图吧 经过调试发现发生这种错误的原因在于,你访问构造矩阵时越界了,所以报

OpenCV Error: Insufficient memory问题解析

前言 项目程序运行两个月之久之后突然挂了,出现OpenCV Error: Insufficient memory的错误,在此分析一下该问题. 问题的表现形式: 程序内存使用情况: 问题: OpenCV Error: Insufficient memory (Failed to allocate 262144 bytes) in cv::OutOfMemoryError, file C:\builds\2_4_PackSlave-win64-vc12-shared\opencv\modules\c

【技术】error:function (XMLHttpRequest, textStatus, errorThrown)

完整代码: var data = { name: name, sex: sex, cardno: cardno, birth: birth, email: email, grade: grade, school: school, homephone: homephone, parentmobile: parentmobile, parentemail: parentemail, address: address, zhusu: zhusu, shenqingjiudu: shenqingjiud

opencv error :assertion faild (src.depth()==dst.depth()&amp;&amp;src.size==dst.size)

在用到opencv中出现 opencv error :assertion faild (src.depth()==dst.depth()&&src.size==dst.size) 找这个bug找了好久,网上有这样几种说法: 1.check这两个图或者矩阵是不是初始化了 2.如果初始化了,初始化的大小是不是一样,即两者有没有相同的长宽 3.两者的depth深度是不是一样,即是不是一个是三通道的,一个是单通道的. 或者一个是单通道32位浮点类型,一个是单通道8位整形类型 还是没解决的话,那么接

Error -26359: Function not allowed within a concurrent group

Error -26359: Function not allowed within a concurrent group 疑问: 基于url录制的脚步能用检查点么? 疑问: web_set_max_html_param_len("9999999"); 这个函数在基于url录制的脚本中,应该写在web_concurrent_end之后,web_concurrent_start之前. 不能写在一对web_concurrent_start和web_concurrent_end之间: 否则报错

windows下编译caffe报错:error MSB4062: 未能从程序集 E:\NugetPackages\OpenCV.2.4.10\......的解决办法

参考博客:http://blog.csdn.net/u013277656/article/details/75040459 在windows上编译caffe时,用vs打开后会自动加载还原NugetPackages文件夹,里面是caffe需要依赖的各种库. 费了很长时间还原完成编译时,出现错误:error MSB4062: 未能从程序集 E:\NugetPackages\OpenCV.2.4.10\build\native\private\coapp.NuGetNativeMSBuildTasks