To capture images using kinect