summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-05 01:22:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-05 01:22:11 +0200
commitcfffa29e29db6b2234c7f534b1ebcd612b7f4914 (patch)
tree35126a8dfc5304efaa4617efbc92e31617e4a030 /ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
parent97bd173ee4b6f30c12ca590e213b21bbc83f8617 (diff)
flush
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.h')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
index 5416bb52..9ac57417 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
@@ -16,12 +16,9 @@
#include <QHBoxLayout>
#include <QDialog>
#include <QTimer>
-#include <opencv2/opencv.hpp>
-#include <opencv/highgui.h>
#include "facetracknoir/options.h"
#include "ftnoir_tracker_aruco/trans_calib.h"
#include "facetracknoir/plugin-api.hpp"
-
#include "facetracknoir/gain-control.hpp"
using namespace options;
@@ -50,7 +47,7 @@ class Tracker : protected QThread, public ITracker
{
Q_OBJECT
public:
- Tracker();
+ Tracker();
~Tracker() override;
void StartTracker(QFrame* frame);
void GetHeadPoseData(double *data);
@@ -61,7 +58,7 @@ private:
QMutex mtx;
volatile bool stop;
QHBoxLayout* layout;
- ArucoVideoWidget* videoWidget;
+ ArucoVideoWidget* videoWidget;
settings s;
double pose[6];
cv::Mat frame;
@@ -83,14 +80,14 @@ public:
tracker = nullptr;
}
private:
- Ui::Form ui;
+ Ui::Form ui;
Tracker* tracker;
settings s;
TranslationCalibrator calibrator;
QTimer calib_timer;
private slots:
- void doOK();
- void doCancel();
+ void doOK();
+ void doCancel();
void toggleCalibrate();
void cleanupCalib();
void update_tracker_calibration();