From f0230b9718f928717c977c7a7407dcc893056673 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 27 Oct 2017 13:49:46 +0200 Subject: tracker/pt: fine-tune point brightness score --- tracker-pt/point_extractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt/point_extractor.cpp') 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) -- cgit v1.2.3