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

Function write_snapshot

python/examples/custom_incremental_pipeline.py:26–32  ·  view source on GitHub ↗
(reconstruction: Reconstruction, snapshot_path: Path)

Source from the content-addressed store, hash-verified

24
25
26def write_snapshot(reconstruction: Reconstruction, snapshot_path: Path) -> None:
27 logging.info("Creating snapshot")
28 timestamp = time.time() * 1000
29 path = snapshot_path / f"{timestamp:010d}"
30 path.mkdir(exist_ok=True, parents=True)
31 logging.verbose(1, f"=> Writing to {path}")
32 reconstruction.write(path)
33
34
35def has_unknown_sensor_from_rig(

Callers 1

reconstruct_sub_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected