summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-kinect-face/kinect_face_tracker.cpp9
-rw-r--r--tracker-kinect-face/kinect_face_tracker.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/tracker-kinect-face/kinect_face_tracker.cpp b/tracker-kinect-face/kinect_face_tracker.cpp
index 9f4f133b..104ecda8 100644
--- a/tracker-kinect-face/kinect_face_tracker.cpp
+++ b/tracker-kinect-face/kinect_face_tracker.cpp
@@ -111,9 +111,6 @@ KinectFaceTracker::~KinectFaceTracker()
// done with color frame reader
SafeRelease(iColorFrameReader);
- // done with coordinate mapper
- SafeRelease(iCoordinateMapper);
-
// close the Kinect Sensor
if (iKinectSensor)
{
@@ -248,12 +245,6 @@ HRESULT KinectFaceTracker::InitializeDefaultSensor()
hr = iKinectSensor->Open();
}
- // TODO: check if we still need that guy
- if (SUCCEEDED(hr))
- {
- hr = iKinectSensor->get_CoordinateMapper(&iCoordinateMapper);
- }
-
// Create color frame reader
if (SUCCEEDED(hr))
{
diff --git a/tracker-kinect-face/kinect_face_tracker.h b/tracker-kinect-face/kinect_face_tracker.h
index a6d4e89b..6273cba1 100644
--- a/tracker-kinect-face/kinect_face_tracker.h
+++ b/tracker-kinect-face/kinect_face_tracker.h
@@ -81,9 +81,6 @@ private:
// Current Kinect
IKinectSensor* iKinectSensor = nullptr;
- // Coordinate mapper
- ICoordinateMapper* iCoordinateMapper = nullptr;
-
// Color reader
IColorFrameReader* iColorFrameReader = nullptr;