利用vot配置红外数据集时注意事项
vot配置红外数据集时,需要修改以下几点:
1.
[state, ~] = ncc_initialize(imread(image), region);
改为
[state, ~] = ncc_initialize(imread(image{1}), region);
2.
[state, region] = ncc_update(state, imread(image));
改为
[state, region] = ncc_update(state, imread(image{1}));
3.
gray = double(rgb2gray(I));
改为
[height, width, chans] = size(I);
if chans == 3
I = rgb2gray(I);
end
gray = double(I);
4.当在ubuntu环境下运行时,需要修改tracker_run.m中的
connect='socker';
5.vot-toolkit-python在测试vot红外数据集时,需要把图像地址改为:
bird/00000001.png -> bird/color/00000001.png
每天快乐敲代码,快乐生活