diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-08-19 12:11:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-08-19 12:11:11 +0200 |
commit | c1d890fcf3056cd0e45a83130055456d492d723a (patch) | |
tree | 24db9e6d42d352f645b4b69c99a48b551cabd3d1 /tracker-pt/ftnoir_tracker_pt.h | |
parent | 204354a81b04bd9b4c0aa73ed36d50511acff541 (diff) |
tracker/{pt,aruco}: simplify
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h index 4110c9d9..6c2923c0 100644 --- a/tracker-pt/ftnoir_tracker_pt.h +++ b/tracker-pt/ftnoir_tracker_pt.h @@ -11,8 +11,6 @@ #include "api/plugin-api.hpp" #include "ftnoir_tracker_pt_settings.h" -#include <atomic> - #include "cv/numeric.hpp" #include "camera.h" @@ -21,6 +19,10 @@ #include "cv/video-widget.hpp" #include "compat/util.hpp" +#include <atomic> +#include <memory> +#include <vector> + #include <QCoreApplication> #include <QThread> #include <QMutex> @@ -28,9 +30,6 @@ #include <QTime> #include <QLayout> #include <QSize> -#include <atomic> -#include <memory> -#include <vector> class TrackerDialog_PT; @@ -72,8 +71,8 @@ private: PointExtractor point_extractor; PointTracker point_tracker; - qshared<cv_video_widget> video_widget; - qshared<QLayout> layout; + std::unique_ptr<cv_video_widget> video_widget; + std::unique_ptr<QLayout> layout; settings_pt s; cv::Mat frame, preview_frame; |