openlifu.nav.photoscan.get_meshroom_config_info¶
- openlifu.nav.photoscan.get_meshroom_config_info(pipeline_path: str) → Tuple[List[str], int][source]¶
Extract the node names and downscale factor used in the DepthMap_1 node from a Meshroom pipeline.
- Parameters:
pipeline_path (str) – Path to the Meshroom pipeline JSON file.
- Returns:
- A list of node names in the pipeline, and the downscale factor.
Returns 2 if the downscale is not explicitly set (Meshroom default).
Returns -1 if the DepthMap_1 node is not present.
- Return type:
Tuple[List[str], int]