summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-12 12:57:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-13 10:29:47 +0100
commit9e1cf02df4cc065b1e260672975680bb2e1328fb (patch)
tree1057793b68cdae7a82f70bb32e3b74ae1b83be5f /tracker-pt/module
parent6e57d3c45c1d200e26a2955ba766f4f0a2010160 (diff)
tracker/pt: revert force-reducing auto threshold value
Diffstat (limited to 'tracker-pt/module')
-rw-r--r--tracker-pt/module/point_extractor.cpp3
1 files changed, 0 insertions, 3 deletions
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);
}
}