structure from motion sfm python