XU-TIANYANG / LADCF_VOT

15 stars 8 forks source link

Cannot run with OTB2015 #3

Open apozop opened 5 years ago

apozop commented 5 years ago

Hello,

I was trying to run your code on the OTB2015 database and I obtained an error on line

mask_search_window(target_h, target_w) = target_mask;

I think it is caused by the target size being resized to the initial scale:

% Calculate search area and initial scale factor search_area = prod(init_target_sz * params.search_area_scale); if search_area > params.max_image_sample_size currentScaleFactor = sqrt(search_area / params.max_image_sample_size); elseif search_area < params.min_image_sample_size currentScaleFactor = sqrt(search_area / params.min_image_sample_size); else currentScaleFactor = 1.0; end

% target size at the initial scale base_target_sz = target_sz / currentScaleFactor`

However, the target_mask is never resized to this scale.

Thank you for your help

XU-TIANYANG commented 5 years ago

@apozop , this LADCF_VOT is used for VOT toolkit. if you want to run on OTB benchmark, you can try https://github.com/XU-TIANYANG/LADCF.

apozop commented 5 years ago

Thank you for your answer.

I already run that code, but I wanted to compare the results with deep features. According to what I saw that repository only included the code with hand-crafted features.