Skip to content

Control over COLMAP import and reconstruction options#210

Merged
sarlinpe merged 4 commits into
masterfrom
colmap-options
Aug 18, 2022
Merged

Control over COLMAP import and reconstruction options#210
sarlinpe merged 4 commits into
masterfrom
colmap-options

Conversation

@sarlinpe
Copy link
Copy Markdown
Member

@sarlinpe sarlinpe commented Jul 27, 2022

CLI usage:

python -m hloc.reconstruction [...] \
    --image_options camera_model='"RADIAL"' \
    --mapper_options ba_global_use_pba=True ba_refine_principal_point=True

API usage:

model = reconstruction.main(
    sfm_dir, images, sfm_pairs, features, matches, image_list=references,
    image_options={'camera_model': 'RADIAL'},
    mapper_options={'ba_global_use_pba': True, 'ba_refine_principal_point': True},
)

Requires colmap/pycolmap#74

TODO: bump the version of pycolmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant