- PyTorch
- PyTorch3D
- opencv-python
- pillow
- IPython
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
The synthetic cow model used in the pytorch3d document.
# 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.