diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-13 10:36:47 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-24 18:46:12 +0200 |
commit | 547f3314f2a4e75a5d2c540a5f1221e9c59277ae (patch) | |
tree | cc3f11d40bb4a73d219eff03559cd4cc0335a9af /tracker-easy/module.cpp | |
parent | 12e7ec5bdac206a3072f24577e897c79d6b0189f (diff) |
Easy Tracker: OpenCV point extractor.
Diffstat (limited to 'tracker-easy/module.cpp')
-rw-r--r-- | tracker-easy/module.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tracker-easy/module.cpp b/tracker-easy/module.cpp index 4f6df056..86abffbc 100644 --- a/tracker-easy/module.cpp +++ b/tracker-easy/module.cpp @@ -5,11 +5,12 @@ #include "module.hpp" #include "frame.hpp" #include "point_extractor.h" +#include "cv-point-extractor.h" #include <memory> -static const QString module_name = "tracker-pt"; +static const QString module_name = "tracker-easy"; #ifdef __clang__ # pragma clang diagnostic ignored "-Wweak-vtables" @@ -21,7 +22,7 @@ struct pt_module_traits final : pt_runtime_traits { pointer<pt_point_extractor> make_point_extractor() const override { - return pointer<pt_point_extractor>(new PointExtractor(module_name)); + return pointer<pt_point_extractor>(new CvPointExtractor(module_name)); } QString get_module_name() const override @@ -31,14 +32,14 @@ struct pt_module_traits final : pt_runtime_traits }; -struct tracker_pt : Tracker_PT +struct tracker_pt : EasyTracker { tracker_pt() : EasyTracker(pointer<pt_runtime_traits>(new pt_module_traits)) { } }; -struct dialog_pt : TrackerDialog_PT +struct dialog_pt : EasyTrackerDialog { dialog_pt(); }; |