]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Ensure that bbox angle is set to zero
authorMichal Sojka <michal.sojka@cvut.cz>
Mon, 8 Oct 2018 08:54:02 +0000 (10:54 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Mon, 8 Oct 2018 08:54:02 +0000 (10:54 +0200)
src/kcf.cpp

index 961bb14e78598e2c4ef2eb9ebe4d5c887b34608d..48e1468dc26a35a730d516fb4655b84b292593aa 100644 (file)
@@ -256,6 +256,7 @@ BBox_c KCF_Tracker::getBBox()
     tmp.cy = p_current_center.y;
     tmp.w = p_init_pose.w * p_current_scale;
     tmp.h = p_init_pose.h * p_current_scale;
+    tmp.a = 0;
 
     if (p_resize_image)
         tmp.scale(1 / p_downscale_factor);