pablospe · GitHub

and others added 5 commits

July 26, 2020 14:29
…s empty (default argument)
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()
…nto pablospe-python_scripts

@ahojnnes ahojnnes changed the title Pablospe python scripts Visualize models using Python in Open3D

Aug 8, 2020

@ahojnnes

@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 <Pablo.Speciale@microsoft.com>

Read the original on github.com ↗