From 4af0298b4844727e87964697357af088b63921d1 Mon Sep 17 00:00:00 2001 From: Stéphane Lenclud Date: Sat, 13 Apr 2019 12:24:17 +0200 Subject: Easy Tracker: Deleting legacy point extractor. Various clean-up. Head center preview now working. --- tracker-easy/module.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tracker-easy/module.cpp') 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 make_point_extractor() const override + pointer make_point_extractor() const override { - return pointer(new CvPointExtractor(module_name)); + return pointer(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(new pt_module_traits)) + tracker_pt() : EasyTracker(pointer(new pt_module_traits)) { } }; -- cgit v1.2.3