Starting with 3D face tracking example given in the Microsoft Kinect SDK
Face segmented, but having trouble saving it