MCPcopy Create free account
hub / github.com/colmap/colmap / run

Function run

python/examples/panorama_sfm.py:607–620  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

605
606
607def run(args: argparse.Namespace) -> None:
608 pycolmap.set_random_seed(0)
609
610 database_path = args.output_path / "database.db"
611 if database_path.exists():
612 database_path.unlink()
613
614 rec_path = args.output_path / "sparse"
615 rec_path.mkdir(exist_ok=True, parents=True)
616
617 if args.pano_render_type == PanoRenderType.SPHERICAL:
618 run_spherical(args, database_path, rec_path)
619 else:
620 run_perspective(args, database_path, rec_path)
621
622
623if __name__ == "__main__":

Callers 1

panorama_sfm.pyFile · 0.70

Calls 2

run_sphericalFunction · 0.85
run_perspectiveFunction · 0.85

Tested by

no test coverage detected