Skip to content

guanyingc/pytorch3d_render_colmap

Repository files navigation

Render COLMAP reconstructed Model with Pytorch3D

Dependencies

  • PyTorch
  • PyTorch3D
  • opencv-python
  • pillow
  • IPython

Data

Real Data

data_colmap/
├── images/
    └── *.jpg
├── meshed-delaunay.obj
└── sparse
    ├── cameras.bin
    ├── images.bin
    └── points3D.bin

The `sparse/` and `images/` are from the dense reconstruction stage of colmap.

images.mp4

Synthetic Data

The synthetic cow model used in the pytorch3d document.

Get Started

# Render depth and normal map of a reconstructed mesh using a colmap camera
python render_colmap_mesh.py
# Render a simple cow mesh
python render_colmap_mesh.py --debug

Can also see the 知乎文章:PyTorch3D渲染COLMAP重建的物体 and Jupyter Notebook.

About

Render COLMAP reconstructed Model with Pytorch3D

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published