1. An apparatus comprising: a projector configured to project a sequence of light patterns on an object; a first camera configured to capture a sequence of images of the object illuminated with the projected light patterns; a projector distortion compensation unit operable to generate a new projector location coordinate in response to an observed distorted projector location coordinate, the projector distortion compensation unit to output the new projector location coordinate; and a processing unit to receive the sequence of images and the new projector location coordinate and to reconstruct depth using triangulation in response to a camera location coordinate and the new projector location coordinate, wherein the processing unit is operable to generate a depth value based on the new projector location coordinate and the camera location coordinate.