summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:07:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:21:36 +0100
commit85fc6ac25d350950be56ba47b06c247216f2e22a (patch)
tree6a4b4a65e9084c9595c28c4045824376a8c577d3 /tracker-kinect-face
parent5d6cccb406e4aa4fe3e8430690296e5f59474e48 (diff)
video/widget: externalize opencv code
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r--tracker-kinect-face/kinect_face_tracker.cpp2
-rw-r--r--tracker-kinect-face/kinect_face_tracker.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tracker-kinect-face/kinect_face_tracker.cpp b/tracker-kinect-face/kinect_face_tracker.cpp
index e826f8b0..d4cf89e3 100644
--- a/tracker-kinect-face/kinect_face_tracker.cpp
+++ b/tracker-kinect-face/kinect_face_tracker.cpp
@@ -127,7 +127,7 @@ module_status KinectFaceTracker::start_tracker(QFrame* aFrame)
if (SUCCEEDED(InitializeDefaultSensor()))
{
// Setup our video preview widget
- iVideoWidget = std::make_unique<cv_video_widget>(aFrame);
+ iVideoWidget = std::make_unique<video_widget>(aFrame);
iLayout = std::make_unique<QHBoxLayout>(aFrame);
iLayout->setContentsMargins(0, 0, 0, 0);
iLayout->addWidget(iVideoWidget.get());
diff --git a/tracker-kinect-face/kinect_face_tracker.h b/tracker-kinect-face/kinect_face_tracker.h
index 672047b1..3ed28bea 100644
--- a/tracker-kinect-face/kinect_face_tracker.h
+++ b/tracker-kinect-face/kinect_face_tracker.h
@@ -109,7 +109,7 @@ private:
CameraSpacePoint iFaceRotation = { 0 };
CameraSpacePoint iFaceRotationCenter = { 0 };
//
- std::unique_ptr<cv_video_widget> iVideoWidget;
+ std::unique_ptr<video_widget> iVideoWidget;
std::unique_ptr<QLayout> iLayout;
// Id of the body currently being tracked