summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/cv-point-extractor.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-13 12:59:22 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commitabaf23d7043c42a07e0d71fc0a17a8264c828d48 (patch)
treeb5e8f14e4730bb45d26d2858a26ac2c6cbfc23a8 /tracker-easy/cv-point-extractor.h
parentac8f7a3e7b29a5ce60ae751ee3a97e3b344c8f3f (diff)
EasyTracker: Adding namespace. Reducing number of classes.
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;
+ };
+}