资源简介
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 = ‘ -Ic:\OpenCV2.2\include\opencv\ -Ic:\OpenCV2.2\include\‘;
libpath = ‘c:\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.‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-04-17 06:11 OpenTLD-master\
文件 35146 2011-04-17 06:11 OpenTLD-master\LICENSE
文件 1958 2011-04-17 06:11 OpenTLD-master\README
目录 0 2011-04-17 06:11 OpenTLD-master\_input\
文件 102935 2011-04-17 06:11 OpenTLD-master\_input\00001.png
文件 101601 2011-04-17 06:11 OpenTLD-master\_input\00002.png
文件 97101 2011-04-17 06:11 OpenTLD-master\_input\00003.png
文件 99838 2011-04-17 06:11 OpenTLD-master\_input\00004.png
文件 100068 2011-04-17 06:11 OpenTLD-master\_input\00005.png
文件 99023 2011-04-17 06:11 OpenTLD-master\_input\00006.png
文件 103474 2011-04-17 06:11 OpenTLD-master\_input\00007.png
文件 103750 2011-04-17 06:11 OpenTLD-master\_input\00008.png
文件 84870 2011-04-17 06:11 OpenTLD-master\_input\00009.png
文件 88138 2011-04-17 06:11 OpenTLD-master\_input\00010.png
文件 93755 2011-04-17 06:11 OpenTLD-master\_input\00011.png
文件 95938 2011-04-17 06:11 OpenTLD-master\_input\00012.png
文件 96200 2011-04-17 06:11 OpenTLD-master\_input\00013.png
文件 98503 2011-04-17 06:11 OpenTLD-master\_input\00014.png
文件 106610 2011-04-17 06:11 OpenTLD-master\_input\00015.png
文件 104194 2011-04-17 06:11 OpenTLD-master\_input\00016.png
文件 98252 2011-04-17 06:11 OpenTLD-master\_input\00017.png
文件 92513 2011-04-17 06:11 OpenTLD-master\_input\00018.png
文件 94729 2011-04-17 06:11 OpenTLD-master\_input\00019.png
文件 97832 2011-04-17 06:11 OpenTLD-master\_input\00020.png
文件 100329 2011-04-17 06:11 OpenTLD-master\_input\00021.png
文件 102453 2011-04-17 06:11 OpenTLD-master\_input\00022.png
文件 100493 2011-04-17 06:11 OpenTLD-master\_input\00023.png
文件 97028 2011-04-17 06:11 OpenTLD-master\_input\00024.png
文件 98249 2011-04-17 06:11 OpenTLD-master\_input\00025.png
文件 96762 2011-04-17 06:11 OpenTLD-master\_input\00026.png
文件 95715 2011-04-17 06:11 OpenTLD-master\_input\00027.png
............此处省略195个文件信息
- 上一篇:格林函数的Matlab模拟完整源程序和论文
- 下一篇:matlab_PIV
相关资源
- Random Walk Model Matlab源代码
- Matlab智能算法30个案例分析.源代码
- 虹膜识别+源代码+matlab+霍夫变换+hou
- 贝叶斯网络Matlab源代码
- 流形学习LLE源代码matlab编写
- GPS信号捕获跟踪的MATLAB仿真,里面有
- Vibe背景建模的方法检测运动物体mat
- 贝叶斯压缩感知matlab源代码
- [数字信号处理及其MATLAB实现——慕课
- mean shift 目标跟踪matlab程序
- matlab图像处理详解杨丹源代码
- 语音识别算法matlab 源代码!完整!可
- MATLAB数字水印 源代码+毕业论文
- 房价预测模型算法源代码
- 虹膜识别matlab程序源代码
- 滑模变结构控制MATLAB仿真(第1版)(
- matlab神经网络30个案例(文档+源代码
- [Matlab作品]matlab实现视频中动态目标跟
-
详解MATLAB/Simuli
nk通信系统建模与仿 - 基于matlab的运动目标检测源代码
- 车牌识别 matlab完整源代码,可运行有
- ofdm系统matlab仿真源代码
- zw_MATLAB版源代码.zip
- 鲸鱼群算法MATLAB程序源代码
- MATLAB实现基于Daugman的虹膜提取算法源
- 基于MATLAB的信号与系统实验指导课后
- zw_MATLAB神经网络30个案例分析全书源代
- 现代通信系统matlab版第二版以及所有
- 智能控制第4版刘金琨 源代码及PPT
- Matlab神经网络43个案例分析全书和源代
评论
共有 条评论