Dynamic optimal path selection for 3D Triangulation with multiple cameras