summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/video-widget.hpp')
-rw-r--r--cv/video-widget.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cv/video-widget.hpp b/cv/video-widget.hpp
index 3e328977..3b29ffc6 100644
--- a/cv/video-widget.hpp
+++ b/cv/video-widget.hpp
@@ -17,6 +17,7 @@
#include <QTimer>
#include <QMutex>
#include <QMutexLocker>
+#include <QSize>
#include <QDebug>
class cv_video_widget final : public QWidget
@@ -32,6 +33,7 @@ private:
QMutex mtx;
QImage texture;
QTimer timer;
+ QSize preview_size;
cv::Mat _frame, _frame2, _frame3;
bool freshp;
};