Development of an automated system for 3D reconstruction