An open source low-cost automatic system for image-based 3D digitization