summaryrefslogtreecommitdiffhomepage
path: root/tracker-neuralnet/ftnoir_tracker_neuralnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-neuralnet/ftnoir_tracker_neuralnet.h')
-rw-r--r--tracker-neuralnet/ftnoir_tracker_neuralnet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-neuralnet/ftnoir_tracker_neuralnet.h b/tracker-neuralnet/ftnoir_tracker_neuralnet.h
index 3548335e..df71a7a8 100644
--- a/tracker-neuralnet/ftnoir_tracker_neuralnet.h
+++ b/tracker-neuralnet/ftnoir_tracker_neuralnet.h
@@ -31,6 +31,7 @@
#include <memory>
#include <cinttypes>
#include <array>
+#include <optional>
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
@@ -151,7 +152,7 @@ private:
QMutex mtx_ = {}; // Protects the pose
std::optional<QuatPose> last_pose_ = {};
- Affine last_pose_affine_ = {};
+ std::optional<Affine> last_pose_affine_ = {};
Preview preview_;
std::unique_ptr<cv_video_widget> video_widget_;