summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/point-extractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-easy/point-extractor.h')
-rw-r--r--tracker-easy/point-extractor.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/tracker-easy/point-extractor.h b/tracker-easy/point-extractor.h
index b037eed6..f275769d 100644
--- a/tracker-easy/point-extractor.h
+++ b/tracker-easy/point-extractor.h
@@ -24,9 +24,11 @@ namespace EasyTracker
// extracts points from frame and draws some processing info into frame, if draw_output is set
// dt: time since last call in seconds
void ExtractPoints(const cv::Mat& aFrame, cv::Mat* aPreview, int aNeededPointCount, std::vector<cv::Point>& aPoints);
-
+
+ void UpdateSettings();
+
// Settings
- Settings s;
+ Settings iSettings;
// Our frame with a channel size of 8 bits
cv::Mat iFrameChannelSizeOne;
// Our frame with a single 8 bits channel
@@ -34,6 +36,10 @@ namespace EasyTracker
//
std::vector<std::vector<cv::Point> > iContours;
+ // Take a copy of settings to avoid dead lock
+ int iMinPointSize;
+ int iMaxPointSize;
+
};
}