in tools/colmap_processor.py [0:0]
def add_arguments(parser):
parser.add_argument(
"--colmap_bin_path",
help="path to colmap bin. COLMAP 3.6 is required to enable mask_path",
default='colmap'
)
parser.add_argument(
"--sparse", help="disable dense reconstruction", action='store_true'
)
parser.add_argument(
"--initialize_pose", help="Intialize Pose", action='store_true'
)
parser.add_argument(
"--camera_params", help="prior camera parameters", default=None
)
parser.add_argument(
"--camera_model", help="camera_model", default='SIMPLE_PINHOLE'
)
parser.add_argument(
"--refine_intrinsics",
help="refine camera parameters. Not used when camera_params is None",
action="store_true"
)
parser.add_argument(
"--matcher", choices=["exhaustive", "sequential"], default="exhaustive",
help="COLMAP matcher ('exhaustive' or 'sequential')"
)