]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - src/kcf.h
Integration of the visual debug, with zero changes to the tracker's API.
[hercules2020/kcf.git] / src / kcf.h
index 76068c165401bf02d736d169eddc65475c0ad29b..4ca1066e033efeb732bb65b0de476f2df43d6338 100644 (file)
--- a/src/kcf.h
+++ b/src/kcf.h
@@ -59,7 +59,8 @@ class KCF_Tracker
 {
     friend ThreadCtx;
 public:
-    bool m_debug     {false};
+    bool m_debug {false};
+    bool m_visual_debug {false};
     const bool m_use_scale {true};
     const bool m_use_color {true};
     const bool m_use_subpixel_localization {true};
@@ -129,7 +130,7 @@ private:
     std::vector<double> p_angles = {0};
 
     const int p_num_of_feats = 31 + (m_use_color ? 3 : 0) + (m_use_cnfeat ? 10 : 0);
-    cv::Size p_roi;
+    cv::Size feature_size;
 
     Kcf_Tracker_Private &d;