summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/tracker-easy.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-15 12:22:05 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit6ca96478ea4d8e6ba71ebf41a1f7d904f2c3df5d (patch)
tree85810bc2463bb5786817830cab89cd19c9241325 /tracker-easy/tracker-easy.h
parent9830011866f0817d08c3e3f0bd26e98e54c523e7 (diff)
Easy Tracker: Removing point extractor interface. Using cv::Point instead of vec2.
Diffstat (limited to 'tracker-easy/tracker-easy.h')
-rw-r--r--tracker-easy/tracker-easy.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tracker-easy/tracker-easy.h b/tracker-easy/tracker-easy.h
index fe7fece7..8b771c67 100644
--- a/tracker-easy/tracker-easy.h
+++ b/tracker-easy/tracker-easy.h
@@ -9,11 +9,12 @@
#pragma once
#include "api/plugin-api.hpp"
-#include "tracker-easy-api.h"
#include "cv/numeric.hpp"
#include "video/video-widget.hpp"
#include "video/camera.hpp"
#include "preview.h"
+#include "settings.h"
+#include "point-extractor.h"
#include <atomic>
#include <memory>
@@ -58,11 +59,12 @@ namespace EasyTracker
Settings s;
std::unique_ptr<QLayout> layout;
- std::vector<vec2> iPoints;
+ std::vector<cv::Point> iPoints;
int preview_width = 320, preview_height = 240;
- std::unique_ptr<IPointExtractor> iPointExtractor;
+ PointExtractor iPointExtractor;
+
std::unique_ptr<video::impl::camera> camera;
video::impl::camera::info iCameraInfo;
std::unique_ptr<video_widget> widget;