MCPcopy Create free account
hub / github.com/XiaoBaiiiiii/colmap-pcd / parse_args

Function parse_args

scripts/python/read_write_dense.py:90–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89
90def parse_args():
91 parser = argparse.ArgumentParser()
92 parser.add_argument("-d", "--depth_map",
93 help="path to depth map", type=str, required=True)
94 parser.add_argument("-n", "--normal_map",
95 help="path to normal map", type=str, required=True)
96 parser.add_argument("--min_depth_percentile",
97 help="minimum visualization depth percentile",
98 type=float, default=5)
99 parser.add_argument("--max_depth_percentile",
100 help="maximum visualization depth percentile",
101 type=float, default=95)
102 args = parser.parse_args()
103 return args
104
105
106def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected