promap is software to create projection maps. The maps that it produces can be used with video art tools such as radiance to project onto physical objects. The algorithm projects structured light using a projector. It captures the result using a single camera and computes the physical scene as viewed from the projector. It also attempts to compute a disparity map, which corresponds to depth. You can install promap using pip or read more about it on Github.