summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/cv-point-extractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-easy/cv-point-extractor.h')
-rw-r--r--tracker-easy/cv-point-extractor.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/tracker-easy/cv-point-extractor.h b/tracker-easy/cv-point-extractor.h
index 405ca052..18229d4a 100644
--- a/tracker-easy/cv-point-extractor.h
+++ b/tracker-easy/cv-point-extractor.h
@@ -18,17 +18,20 @@
using namespace numeric_types;
-
-class CvPointExtractor final : public IPointExtractor
+namespace EasyTracker
{
-public:
- // extracts points from frame and draws some processing info into frame, if draw_output is set
- // dt: time since last call in seconds
- void extract_points(const cv::Mat& frame, cv::Mat* aPreview, std::vector<vec2>& aPoints) override;
- CvPointExtractor(const QString& module_name);
- pt_settings s;
-};
+ class CvPointExtractor final : public IPointExtractor
+ {
+ public:
+ // extracts points from frame and draws some processing info into frame, if draw_output is set
+ // dt: time since last call in seconds
+ void extract_points(const cv::Mat& frame, cv::Mat* aPreview, std::vector<vec2>& aPoints) override;
+ CvPointExtractor();
+
+ pt_settings s;
+ };
+}