Explanation of working of kinect