summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-27 13:49:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:43:02 +0200
commitf0230b9718f928717c977c7a7407dcc893056673 (patch)
tree2dde74c24fb2f902e24eaeda8143e6384c9efb15 /tracker-pt
parentcbbeca96c1b660939e9c19159f1e4525a09e1784 (diff)
tracker/pt: fine-tune point brightness score
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 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)