summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-25 19:27:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-25 19:27:43 +0200
commit10fff28cd3770222f7b0db13ac8214655ca3e607 (patch)
treebdf24445db8119c8f47206f94c0367c5a462c46c /tracker-pt
parent54749f9d879b244639c44f3a8865e17b679c8528 (diff)
tracker/pt: fix overlay
The "fract_bits" constant wasn't used consistently in the 2nd cv::circle invocation. Drop the invocation.
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/point_extractor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index 3266d889..5339f982 100644
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -216,7 +216,6 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame
cv::Point p(iround(b.pos[0] * cx * c_fract), iround(b.pos[1] * cy * c_fract));
cv::circle(preview_frame, p, iround((b.radius + 2) * c_ * c_fract), cv::Scalar(255, 255, 0), 1, cv::LINE_AA, fract_bits);
- cv::circle(preview_frame, p, 1, cv::Scalar(255, 255, 64), -1, cv::LINE_4);
char buf[64];
sprintf(buf, "%.1fpx", int(b.radius*10+.5)/10.);