Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ahojnnes
Copy link
Contributor

@ahojnnes ahojnnes commented Aug 8, 2020

No description provided.

pablospe and others added 5 commits July 26, 2020 14:29
For running the example:

    python run_example.py --input_model sofa/sparse --input_format ".bin"

For non-blocking visualization with Open3D this kind of the logic in `run_example.py` is needed:

    import colmap

    model = colmap.Model()
    model.read_sparse(args.input_model, ext=args.input_format)

    # display
    model.create_window()
    model.show_points()
    model.show_cameras()
    model.render()
@ahojnnes ahojnnes changed the title Pablospe python scripts Visualize models using Python in Open3D Aug 8, 2020
@ahojnnes ahojnnes merged commit d84ccf8 into dev Aug 8, 2020
@ahojnnes ahojnnes deleted the pablospe-python_scripts branch August 8, 2020 08:42
lucasthahn pushed a commit to tne-ai/colmap that referenced this pull request Aug 17, 2022
* fixed python script in documentation

* try to detect the model format (.bin or .txt) automatically, if ext is empty (default argument)

* Script to show a colmap reconstruction with Open3D.

For running the example:

    python run_example.py --input_model sofa/sparse --input_format ".bin"

For non-blocking visualization with Open3D this kind of the logic in `run_example.py` is needed:

    import colmap

    model = colmap.Model()
    model.read_sparse(args.input_model, ext=args.input_format)

    # display
    model.create_window()
    model.show_points()
    model.show_cameras()
    model.render()

* Several fixes for visualization and other misc improvements

Co-authored-by: Pablo Speciale <[email protected]>
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.

3 participants