summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-pt/point_extractor.cpp2
-rw-r--r--tracker-pt/point_tracker.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index 7cd46fe2..ee508b22 100644
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -64,7 +64,7 @@ void PointExtractor::extract_points(cv::Mat& frame, std::vector<vec2>& points)
const int sz = hist.cols * hist.rows;
int thres = 255;
int cnt = 0;
- constexpr double min_radius = 2.5;
+ constexpr double min_radius = 6;
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)));
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index d2071556..990ec512 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -15,7 +15,6 @@ using namespace pt_types;
#include <vector>
#include <algorithm>
#include <cmath>
-#include <iterator>
#include <QDebug>