From: Michal Sojka Date: Mon, 8 Oct 2018 08:54:02 +0000 (+0200) Subject: Ensure that bbox angle is set to zero X-Git-Url: https://rtime.felk.cvut.cz/gitweb/hercules2020/kcf.git/commitdiff_plain/43db01d6922753f75e575fc12af94008ffc470bf Ensure that bbox angle is set to zero --- diff --git a/src/kcf.cpp b/src/kcf.cpp index 961bb14..48e1468 100644 --- a/src/kcf.cpp +++ b/src/kcf.cpp @@ -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);