资源简介
TLD算法作者原MATLAB+C版添加个人注释;
代码片段和文件信息
% Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation either version 3 of the License or
% (at your option) any later version.
%
% TLD is distributed in the hope that it will be useful
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with TLD. If not see .
% Compiles mex files
clc; clear all; cd mex;
if ispc
disp(‘PC‘);
include = ‘ -Id:\software\OpenCV2.2\include\opencv -Id:\software\OpenCV2.2\include\‘;
libpath = ‘D:\software\OpenCV2.2\lib\‘;
files = dir([libpath ‘*.lib‘]);
lib = [];
for i = 1:length(files)
lib = [lib ‘ ‘ libpath files(i).name];
end
eval([‘mex lk.cpp -O‘ include lib]);
mex -O -c tld.cpp
mex -O fern.cpp tld.obj
mex -O linkagemex.cpp
mex -O bb_overlap.cpp
mex -O warp.cpp
mex -O distance.cpp
end
if ismac
disp(‘Mac‘);
include = ‘ -I/opt/local/include/opencv/ -I/opt/local/include/‘;
libpath = ‘/opt/local/lib/‘;
files = dir([libpath ‘libopencv*.dylib‘]);
lib = [];
for i = 1:length(files)
lib = [lib ‘ ‘ libpath files(i).name];
end
eval([‘mex lk.cpp -O‘ include lib]);
mex -O -c tld.cpp
mex -O fern.cpp tld.o
mex -O linkagemex.cpp
mex -O bb_overlap.cpp
mex -O warp.cpp
mex -O distance.cpp
end
if isunix
disp(‘Unix‘);
include = ‘ -I/usr/local/include/opencv/ -I/usr/local/include/‘;
libpath = ‘/usr/local/lib/‘;
files = dir([libpath ‘libopencv*.so.2.2‘]);
lib = [];
for i = 1:length(files)
lib = [lib ‘ ‘ libpath files(i).name];
end
eval([‘mex lk.cpp -O‘ include lib]);
mex -O -c tld.cpp
mex -O fern.cpp tld.o
mex -O linkagemex.cpp
mex -O bb_overlap.cpp
mex -O warp.cpp
mex -O distance.cpp
end
cd ..
disp(‘Compilation finished.‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 808 2011-04-17 06:11 other\init_workspace.m
文件 2860 2011-04-17 06:11 other\run_TLD_demo.m
文件 1398 2011-04-17 06:11 other\stabilize.m
文件 711 2011-04-17 06:11 other\usbclear.m
文件 931 2011-04-17 06:11 other\usbinit.m
文件 1423 2011-04-17 06:11 other\VisualStudio.sln
文件 2115 2011-04-17 06:11 other\webcam.jpg
文件 391 2011-04-17 06:11 test\test_bbox_shift_overlap.m
文件 119 2011-04-17 06:11 test\test_bb_scan.m
文件 104 2011-04-17 06:11 test\test_display_la
文件 1088 2011-04-17 06:11 test\test_face_detector.m
文件 90 2011-04-17 06:11 test\test_featureGenerata.m
文件 340 2011-04-17 06:11 test\test_getPatch.m
文件 314 2011-04-17 06:11 test\test_tmdPatch2Pattern.m
文件 209 2011-04-17 06:11 test\test_webcam.m
文件 5845 2013-01-15 17:40 tld\tldDemo.asv
文件 5870 2013-01-16 17:28 tld\tldDemo.m
文件 2958 2011-04-17 06:11 tld\tldDetection.m
文件 7093 2011-04-17 06:11 tld\tldDisplay.m
文件 2185 2011-04-17 06:11 tld\tldExample.m
文件 1203 2011-04-17 06:11 tld\tldGenerateAprioriData.m
文件 2089 2013-01-11 16:29 tld\tldGenerateFeatures.asv
文件 2089 2013-01-11 16:30 tld\tldGenerateFeatures.m
文件 1288 2013-01-13 16:22 tld\tldGenerateNegativeData.asv
文件 1374 2013-01-15 15:03 tld\tldGenerateNegativeData.m
文件 2332 2013-01-16 21:16 tld\tldGeneratePositiveData.asv
文件 2338 2013-01-16 21:20 tld\tldGeneratePositiveData.m
文件 1176 2011-04-17 06:11 tld\tldGeneratePositiveData_single_bbox.m
文件 1353 2013-01-13 16:17 tld\tldGetPattern.asv
文件 1382 2013-01-13 16:19 tld\tldGetPattern.m
............此处省略554个文件信息
- 上一篇:灰色关联分析算法matlab实现
- 下一篇:MATLAB数值分析与应用
相关资源
- CNN卷积神经网络MATLAB工具箱中文注释
- 基于 802.11a 的 OFMD 仿真实验 MATLAB 实现
- 鲸鱼优化算法 WOA matlab源代码详细注释
- 拓扑优化99行代码详解注释版top99.m
- ISODATA聚类matlab算法带详细中文注释
- 模糊神经 超详细注释 可实现多输入
- 广义s变换matlab程序一个以及带注释的
- 平方根无迹卡尔曼滤波程序包含注释
- 2018年数学建模国赛A题matlab代码及注释
- 2017年数学建模国赛B题matlab代码及注释
- 粒子群算法matlab含注释
- matlab实现视频中动态目标跟踪程序及
- 指纹识别程序Gabor滤波+详细注释+代码
- 添加能量感知的分簇路由算法,MATL
- NSGA-II 中文版注释
- NSGA-II 带中文版注释
- eemd算法的matlab实现
- csma/ca和csma/cd的matlab仿真源代码带有详
- MATLAB蚁群算法ACA最短路径-注释完整
- 图论经典算法matlab实现,注释绝对详
- 区域生长图像分割-MATLAB程序,注释比
- matlab实现中值滤波,不用medflict2函数
- Matlab最小二乘法曲线拟合(源码+注释
- Matlab中图例注释函数legend详解
- 多进制纠错码LDPC编译码matlab算法仿真
- MATLAB 动态规划——源代码+详细注释
- 64QAM的matlab调试仿真程序新手自己的理
- MSK 调制与平方环解调MATALB程序,有详
- 数字信号处理仿真,经典谱估计matl
- 带高斯白噪声的Kalman滤波Matlab代码带
评论
共有 条评论