summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-06 11:56:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-06 11:56:45 +0100
commit55cf7286867061bd2bd3577fbfd32526e6d8a012 (patch)
tree278cfdab20b884b507a8f082e301a530cc6975e3 /tracker-pt
parent31cd0789e415fe325d0082dc79eb5c2419bbecec (diff)
tracker/pt: increase max point size
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/point_extractor.cpp2
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));