目标跟踪学习系列十:Struck:Structured Output Tracking with Kernels 代码调试
2014-10-15 19:12
489 查看
本来想看完代码再详细的写的。但是有人问了就先贴出来吧!代码调试中会遇到的一些的问题。
首先,你没有代码的话可以在这里下载:http://download.csdn.net/detail/u012192662/8042147
然后需要安装opencv(我想如果你是做这个应该有的);Eigen;http://download.csdn.net/detail/u012192662/8042155
作者的代码使用的是 OpenCV v2.1 and Eigen v2.0.15。opencv还没有问题,高一点版本的都还行,只是你要换掉里面的附加库等等(这个就是一般的opencv的工程的基本操作)。
但是Eigen如果使用的是高版本的代码就有问题了。
出现这样的错误:fatal error C1189: #error : The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved
to Eigen/Core. 我的做法是找到代码的位置,将这句话注释掉。就是这一段:
#ifndef EIGEN2_SUPPORT
#error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
#endif
另外还有一个 M_pi的定义问题,自己也在前面定义一下就行了。
同时还有一个 cwise().min(x2).sum()也会出错。改成.cwiseMin(x2).sum();就行了。
好了这样调整一下就可以了。但是我没有实验的数据有的话给个链接吧!哈哈,希望可以帮到你!
iker Cross
2014. 10. 15
首先,你没有代码的话可以在这里下载:http://download.csdn.net/detail/u012192662/8042147
然后需要安装opencv(我想如果你是做这个应该有的);Eigen;http://download.csdn.net/detail/u012192662/8042155
作者的代码使用的是 OpenCV v2.1 and Eigen v2.0.15。opencv还没有问题,高一点版本的都还行,只是你要换掉里面的附加库等等(这个就是一般的opencv的工程的基本操作)。
但是Eigen如果使用的是高版本的代码就有问题了。
出现这样的错误:fatal error C1189: #error : The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved
to Eigen/Core. 我的做法是找到代码的位置,将这句话注释掉。就是这一段:
#ifndef EIGEN2_SUPPORT
#error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
#endif
另外还有一个 M_pi的定义问题,自己也在前面定义一下就行了。
同时还有一个 cwise().min(x2).sum()也会出错。改成.cwiseMin(x2).sum();就行了。
好了这样调整一下就可以了。但是我没有实验的数据有的话给个链接吧!哈哈,希望可以帮到你!
iker Cross
2014. 10. 15
相关文章推荐
- 目标跟踪学习系列十:Struck:Structured Output Tracking with Kernels 代码调试
- 目标跟踪学习系列八:Struck:Structured Output Tracking with Kernels(2011 ICCV)
- 目标跟踪学习系列九:Struck:Structured Output Tracking with Kernels头文件代码框架
- Struck: Structured Output Tracking with Kernels
- 目标跟踪学习系列三:A robust boosting tracker with minimum error bound in a Co-training framework
- Struck: Structrued Output Tracking with Kernels 论文笔记
- Struck: Structrued Output Tracking with Kernels 论文笔记
- structed_structured output tracking with kernels
- 目标跟踪学习系列一:on-line boosting and vision 阅读
- opencv学习系列:目标跟踪相关
- 目标跟踪学习系列六:semi-supervised Boosting using Visual Similarity Learning 学习
- Visual Tracking with Online Multiple Instance Learning (MIL)目标跟踪论文笔记
- <<High-Speed Tracking with Kernelized Correlation Filters>> KCF(核化相关滤波)跟踪算法学习笔记
- TLD目标跟踪算法学习(三)代码理解
- 目标跟踪系列三:ECO: Efficient Convolution Operators for Tracking(2016年11月)
- 目标跟踪之“Robust Visual Tracking with Deep Convolutional Neural Network based Object Proposals on PETS”
- 目标跟踪系列十三:Exploiting the Circulant Structure of Tracking-by-detection with Kernels 公式详细的推导
- 关于目标跟踪matlab代码调试时一个问题的解决办法
- 目标跟踪之:blob_tracking 跟踪代码中文注释
- <<High-Speed Tracking with Kernelized Correlation Filters>> KCF(核化相关滤波)跟踪算法学习笔记