summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/module.cpp
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-13 12:24:17 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit4af0298b4844727e87964697357af088b63921d1 (patch)
tree03c49473e6a8e65ee3e8ac9cc4b79766444bf412 /tracker-easy/module.cpp
parent547f3314f2a4e75a5d2c540a5f1221e9c59277ae (diff)
Easy Tracker: Deleting legacy point extractor. Various clean-up. Head center preview now working.
Diffstat (limited to 'tracker-easy/module.cpp')
-rw-r--r--tracker-easy/module.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/tracker-easy/module.cpp b/tracker-easy/module.cpp
index 86abffbc..d24a1336 100644
--- a/tracker-easy/module.cpp
+++ b/tracker-easy/module.cpp
@@ -4,7 +4,6 @@
#include "module.hpp"
#include "frame.hpp"
-#include "point_extractor.h"
#include "cv-point-extractor.h"
@@ -18,11 +17,11 @@ static const QString module_name = "tracker-easy";
namespace pt_module {
-struct pt_module_traits final : pt_runtime_traits
+struct pt_module_traits final : IEasyTrackerTraits
{
- pointer<pt_point_extractor> make_point_extractor() const override
+ pointer<IPointExtractor> make_point_extractor() const override
{
- return pointer<pt_point_extractor>(new CvPointExtractor(module_name));
+ return pointer<IPointExtractor>(new CvPointExtractor(module_name));
}
QString get_module_name() const override
@@ -34,7 +33,7 @@ struct pt_module_traits final : pt_runtime_traits
struct tracker_pt : EasyTracker
{
- tracker_pt() : EasyTracker(pointer<pt_runtime_traits>(new pt_module_traits))
+ tracker_pt() : EasyTracker(pointer<IEasyTrackerTraits>(new pt_module_traits))
{
}
};