diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-04-27 08:00:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-04-27 08:00:58 +0200 |
commit | fb7e86d02e1d9a15dedad048aa477c1985423057 (patch) | |
tree | 2051d3128c7e848035fb72b7f3a834b40d78bb42 | |
parent | 546cfb5ad52dcfe1421d1af5e7baeada588ac735 (diff) |
tracker/pt: sensible max point size
-rwxr-xr-x | tracker-pt/point_extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp index 87a60e51..19d8111f 100755 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -118,7 +118,7 @@ const std::vector<cv::Vec2f>& PointExtractor::extract_points(cv::Mat& frame) const int sz = hist.cols * hist.rows; int val = 0; int cnt = 0; - constexpr int min_pixels = 250; + constexpr int min_pixels = 20; const auto pixels_to_include = std::max<int>(0, min_pixels * s.threshold/100.); auto ptr = reinterpret_cast<const float*>(hist.ptr(0)); for (int i = sz-1; i >= 0; i--) |