diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-27 13:49:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-27 16:43:02 +0200 |
commit | f0230b9718f928717c977c7a7407dcc893056673 (patch) | |
tree | 2dde74c24fb2f902e24eaeda8143e6384c9efb15 | |
parent | cbbeca96c1b660939e9c19159f1e4525a09e1784 (diff) |
tracker/pt: fine-tune point brightness score
-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 4c4e269f..d6a93c4c 100644 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -338,7 +338,7 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame if (radius > region_size_max || radius < region_size_min) continue; - blob b(radius, vec2(rect.width/2., rect.height/2.), norm/cnt, rect); + blob b(radius, vec2(rect.width/2., rect.height/2.), std::pow(f(norm), f(1.1))/cnt, rect); blobs.push_back(b); if (idx >= max_blobs) |