From 10fff28cd3770222f7b0db13ac8214655ca3e607 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Jul 2017 19:27:43 +0200 Subject: tracker/pt: fix overlay The "fract_bits" constant wasn't used consistently in the 2nd cv::circle invocation. Drop the invocation. --- tracker-pt/point_extractor.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tracker-pt') 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.); -- cgit v1.2.3