资源简介
官网的OTB工具箱源代码比较老,缺少很多文件,跑不了OTB100。在原OTB代码的基础上,加了很多文件,对代码进行了小的更改,可以计算FPS(找到注释的地方启用即可),可以跑OTB100,OTB50等各种OTB数据集。适合刚开始接触跟踪接触OTB的新手,能少走很多弯路。
代码片段和文件信息
close all
clear
clc
warning off all;
addpath(‘./util‘);
pathRes = ‘.\results\results_SRE\‘;% The folder containing the tracking results
pathDraw = ‘.\tmp\imgs\‘;% The folder that will stores the images with overlaid bounding box
rstIdx = 1;
seqs=checkBox;
trks=configTrackers;
trks=trks(1:6);
if isempty(rstIdx)
rstIdx = 1;
end
LineWidth = 4;
plotSetting;
lenTotalSeq = 0;
resultsAll=[];
trackerNames=[];
for index_seq=1:length(seqs)
seq = seqs{index_seq};
seq_name = seq.name;
% fileName = [pathAnno seq_name ‘.txt‘];
% rect_anno = dlmread(fileName);
seq_length = seq.endframe-seq.startframe+1; %size(rect_anno1);
lenTotalSeq = lenTotalSeq + seq_length;
for index_algrm=1:length(trks)
algrm = trks{index_algrm};
name=algrm.name;
trackerNames{index_algrm}=name;
fileName = [pathRes seq_name ‘_‘ name ‘.mat‘];
load(fileName);
res = results{rstIdx};
if ~isfield(res‘type‘)&&isfield(res‘transformType‘)
res.type = res.transformType;
res.res = res.res‘;
end
if strcmp(res.type‘rect‘)
for i = 2:res.len
r = res.res(i:);
if (isnan(r) | r(3)<=0 | r(4)<=0)
res.res(i:)=res.res(i-1:);
% results.res(i:) = [1111];
end
end
end
resultsAll{index_algrm} = res;
end
nz = strcat(‘%0‘num2str(seq.nz)‘d‘); %number of zeros in the name of image
pathSave = [pathDraw seq_name ‘_‘ num2str(rstIdx) ‘/‘];
if ~exist(pathSave‘dir‘)
mkdir(pathSave);
end
for i=1:seq_length
image_no = seq.startframe + (i-1);
id = sprintf(nzimage_no);
fileName = strcat(seq.pathid‘.‘seq.ext);
img = imread(fileName);
% imshow(img);
imshow(img‘border‘‘tight‘‘initialmagnification‘‘fit‘);
text(10 15 [‘#‘ id] ‘Color‘‘r‘ ‘FontWeight‘‘bold‘ ‘FontSize‘24);
for j=1:length(trks)
disp(trks{j}.name)
Linestyle = plotDrawstyle{j}.linestyle;
switch resultsAll{j}.type
case ‘rect‘
rectangle(‘Position‘ resultsAll{j}.res(i:) ‘EdgeColor‘ plotDrawstyle{j}.color ‘LineWidth‘ LineWidth‘Linestyle‘Linestyle);
case ‘ivtAff‘
drawbox(resultsAll{j}.tmplsize resultsAll{j}.res(i:) ‘Color‘ plotDrawstyle{j}.color ‘LineWidth‘ LineWidth‘Linestyle‘Linestyle);
case ‘L1Aff‘
drawAffine(resultsAll{j}.res(i:) resultsAll{j}.tmplsize plotDrawstyle{j}.color LineWidth Linestyle);
case ‘LK_Aff‘
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\basketball.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Biker.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Bird1.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Bird2.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurBody.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurCar1.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurCar2.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurCar3.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurCar4.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurFace.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\BlurOwl.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Board.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\bolt.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Bolt2.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Box.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\boy.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Car1.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Car2.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Car24.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\car4.txt
文件 22 2013-07-02 07:51 tracker_benchmark_v1.0\anno\att\carDark.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\carScale.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\ClifBar.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\coke.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\couple.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Coupon.txt
文件 22 2013-07-02 07:53 tracker_benchmark_v1.0\anno\att\crossing.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Crowds.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Dancer.txt
文件 22 2017-12-12 13:38 tracker_benchmark_v1.0\anno\att\Dancer2.txt
............此处省略977个文件信息
相关资源
- Tracking and Kalman Filtering Made Easy
- Adaptive Back-Stepping Sliding Mode Attitude T
-
翻译:ob
ject Tracking: A Survey,物体跟 - 多目标假设跟踪MHt.doc
- 超像素实现目标的跟踪
- Adaptive-background-mixture-models-for-real-ti
- 相关滤波目标跟踪算法以及评价
- High Performance Visual Tracking with Siamese
-
Online ob
ject Tracking:A Benchmark_CVPR13翻 - [UE] Eye Tracking the User Experience 英文版
- Estimation with Applications to Tracking and N
- 2014BMCV-Accurate Scale Estimation for Robust
- 眼睛跟踪方法学和实践第二版Eye_Tra
- KCF改进后的代码
- trackinfo_20130721.txt.zip
- Design and Analysis of Modern Tracking Systems
- 基于opencv实现 LK跟踪算法
- Estimation With Applications to Tracking and N
- L1最小化的视觉跟踪 论文 代码详细解
- __EstimationwithApplicationstoTrackingandNavig
- 视频目标跟踪数据集VOT2013-源自官网
- 目标跟踪OTB数据集结果
- KCFECO_HC.DSST等十种算法在OTB100的TRESR
- SaveOTBresults.zip
- 基于K最短路径的多目标跟踪算法Mul
- TargetTrackingPADF3
- MPPtrackIref.m
- Face-tracking.zip
- opencv团块跟踪 blobtracking
- GPStrackingGeneral1009A.slx
评论
共有 条评论