Home  >  Article  >  Database  >  MATLAB2010a+OpenCV2.3.1+VS2010运行TLD

MATLAB2010a+OpenCV2.3.1+VS2010运行TLD

WBOY
WBOYOriginal
2016-06-07 15:32:351083browse

出现matlab不显示C编译器的原因主要还是当前Matlab版本相对于VS来说不够新,比如14版的肯定支持10的VS。 本文引用地址: http://blog.csdn.net/shanpohe/article/details/7596401 http://blog.sina.com.cn/s/blog_adfd55190101ejvr.html TLD(Tracking Learni

出现matlab不显示C编译器的原因主要还是当前Matlab版本相对于VS来说不够新,比如14版的肯定支持10的VS。

本文引用地址:

http://blog.csdn.net/shanpohe/article/details/7596401 

http://blog.sina.com.cn/s/blog_adfd55190101ejvr.html



TLD(Tracking Learning Detection)

源代码在点击打开链接下载;

本人电脑配置是WIN7 32位+VS2010+MATLAB2010a+OpenCV2.3.1

第一步:

首先我们要解决R2010a版本不显示VS2010的C编译器的问题,假若mex -setup,有C编译器,可跳过此步

点击打开链接可以根据这个链接来解决!

>> mex -setup
Please choose your compiler for building external interface (MEX) files: 
 
Would you like mex to locate installed compilers [y]/n? y
 
Select a compiler: 
[1] Lcc-win32 C 2.4.1 in F:\PROGRA~1\MATLAB\R2010a\sys\lcc 
[2] Microsoft Visual C++ 2010 in f:\Program Files111\Microsoft Visual Studio 10.0 
 
[0] None 

第二步:

我们将根据点击打开链接

来进行安装OpenCV2.3.1,修改TLD部分代码解决部分问题。

在这里有必要提醒一下:

1.OpenCVS2.3.1的安装路径中不要出现空格!!

2.我在修改TLD代码时候,不能注释掉

#ifdef_CHAR16_T

#define CHAR16_T

#endif

   否则就会报错!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:解决Xcode 6 beta 编译Cocos2dNext article:交换机 F5互连