DIY Structured Light 3D Scanner

The goal is to use affordable, off the shelf, commercial equipment, and write up my own codes to make a DIY structured light 3D scanner.

The equipment includes: 2 web cams and a projector, with the total price of less than $200 ( not including a DIY PC-controllable turn table which was originally intended to be used in this project, but later turned out not usable ). The software was written from scratch with C++ and OpenCV. The algorithm basically consists of:

  • calibrating each of the cameras,
  • calibrating the stereo cameras as a pair, and
  • the time-space coding and decoding for finding out the correspondence and depth map.

The results turned out well, even though not as good as I expected at the beginning, in the sense that there is some distortion in a certain direction, most possibly due to the imperfection of my calibration. Therefore the original plan of using the turntable to fuse the views from different angles didn't come true. But, for a single view, the result is satisfying enough.