summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ar_video_widget.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-04 19:51:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-05 09:55:58 +0200
commit74b8483457b51727dba38aa05a5be9bc773d8a28 (patch)
tree2f5f454163057dd4f0f11e7346788231c5788c2a /ftnoir_tracker_aruco/ar_video_widget.h
parentb1c929e63eaf689895359ce7b5a4b86b46439f11 (diff)
octopus, pt, aruco: optimize image copying
Perform less operations in inner loop where pixels are accessed.
Diffstat (limited to 'ftnoir_tracker_aruco/ar_video_widget.h')
-rw-r--r--ftnoir_tracker_aruco/ar_video_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftnoir_tracker_aruco/ar_video_widget.h b/ftnoir_tracker_aruco/ar_video_widget.h
index 820ba7d0..8c51382b 100644
--- a/ftnoir_tracker_aruco/ar_video_widget.h
+++ b/ftnoir_tracker_aruco/ar_video_widget.h
@@ -28,6 +28,7 @@ private:
QImage texture;
QTimer timer;
cv::Mat _frame;
+ bool fresh;
private slots:
void update_and_repaint();
public: