diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-06 11:56:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-06 11:56:45 +0100 |
commit | 55cf7286867061bd2bd3577fbfd32526e6d8a012 (patch) | |
tree | 278cfdab20b884b507a8f082e301a530cc6975e3 /tracker-pt | |
parent | 31cd0789e415fe325d0082dc79eb5c2419bbecec (diff) |
tracker/pt: increase max point size
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | 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 6284f053..24a7467b 100644 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -65,7 +65,7 @@ void PointExtractor::extract_points(cv::Mat& frame, std::vector<cv::Vec2d>& poin int thres = 255; int cnt = 0; constexpr double min_radius = 2.5; - constexpr double max_radius = 9; + constexpr double max_radius = 15; const double radius = max(0., (max_radius-min_radius) * s.threshold / 256); const int area = int(round(3 * M_PI * (min_radius + radius)*(min_radius+radius))); auto ptr = reinterpret_cast<const float*>(hist.ptr(0)); |