def save_tracks_manager(self, tracks_manager: pysfm.TracksManager, filename: Optional[str] = None) -> None: with self.io_handler.open(self._tracks_manager_file(filename), "w") as fw: fw.write(tracks_manager.as_string())
def save_undistorted_tracks_manager( self, tracks_manager: pysfm.TracksManager) -> None: filename = os.path.join(self.data_path, "tracks.csv") with self.io_handler.open(filename, "w") as fw: fw.write(tracks_manager.as_string())