diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-02-02 21:51:27 +0100 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-02-07 13:24:13 +0100 |
commit | 997df9f3cbc9ef04c666e404b96ac4b02097b4f3 (patch) | |
tree | 62bb6b0c653cc1ed5a15208ca8134475c4717d68 /tracker-kinect-face/tracker.h | |
parent | 32c809f5e0c6a9b6a5f202fffe5d034125957551 (diff) |
Kinect: now with basic video preview.
We have a massive memory leak, could have been there before though.
Diffstat (limited to 'tracker-kinect-face/tracker.h')
-rw-r--r-- | tracker-kinect-face/tracker.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tracker-kinect-face/tracker.h b/tracker-kinect-face/tracker.h index 1f986e22..5068f185 100644 --- a/tracker-kinect-face/tracker.h +++ b/tracker-kinect-face/tracker.h @@ -6,6 +6,7 @@ #include "api/plugin-api.hpp" #include "compat/timer.hpp" #include "compat/macros.hpp" +#include "cv/video-widget.hpp" // Kinect Header files #include <Kinect.h> @@ -69,6 +70,8 @@ private: // RGBQUAD* m_pColorRGBX; + RectI iFaceBox = { 0 }; + CameraSpacePoint iLastFacePosition; CameraSpacePoint iFacePosition; CameraSpacePoint iFacePositionCenter; @@ -78,4 +81,7 @@ private: CameraSpacePoint iLastFaceRotation; CameraSpacePoint iFaceRotation; CameraSpacePoint iFaceRotationCenter; + // + std::unique_ptr<cv_video_widget> iVideoWidget; + std::unique_ptr<QLayout> iLayout; }; |