summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-30 11:46:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-30 11:48:46 +0200
commite59a5e62c38aad8ec66df1b05cc13d213e76e865 (patch)
tree5a30efdabad5d064789b4490f4bf8e581514b27f /tracker-pt/point_extractor.cpp
parent800b9c7a2914c59b1b42192708f6c555eb180b43 (diff)
tracker/pt: reformat lightly
Diffstat (limited to 'tracker-pt/point_extractor.cpp')
-rw-r--r--tracker-pt/point_extractor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index a67a72df..a23d1cdf 100644
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -226,7 +226,9 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame
const f kernel_radius = b.radius * radius_c;
cv::Vec2d pos(b.pos[0] - rect.x, b.pos[1] - rect.y); // position relative to ROI.
+#if defined DEBUG_MEANSHIFT
cv::Vec2d pos_(pos);
+#endif
for (int iter = 0; iter < 10; ++iter)
{