From 9e1cf02df4cc065b1e260672975680bb2e1328fb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 12 Feb 2019 12:57:35 +0100 Subject: tracker/pt: revert force-reducing auto threshold value --- tracker-pt/module/point_extractor.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tracker-pt') diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp index 47bc6de4..01ddcca8 100644 --- a/tracker-pt/module/point_extractor.cpp +++ b/tracker-pt/module/point_extractor.cpp @@ -193,9 +193,6 @@ void PointExtractor::threshold_image(const cv::Mat& frame_gray, cv::Mat1b& outpu thres = i; } - if (thres > min_thres) - thres = uround(thres * .8); - cv::threshold(frame_gray, output, thres, 255, cv::THRESH_BINARY); } } -- cgit v1.2.3