Skip to content

Conversation

sarlinpe
Copy link
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