diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-13 12:59:22 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-24 18:46:12 +0200 |
commit | abaf23d7043c42a07e0d71fc0a17a8264c828d48 (patch) | |
tree | b5e8f14e4730bb45d26d2858a26ac2c6cbfc23a8 /tracker-easy/cv-point-extractor.h | |
parent | ac8f7a3e7b29a5ce60ae751ee3a97e3b344c8f3f (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.h | 21 |
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; + }; +} |