Aligning the Kinect skeleton with video or depth images