https://github.com/guanyingc/pytorch3d_render_colmap
Render COLMAP reconstructed Model with Pytorch3D
https://github.com/guanyingc/pytorch3d_render_colmap
colmap pytorch3d
Last synced: 6 months ago
JSON representation
Render COLMAP reconstructed Model with Pytorch3D
- Host: GitHub
- URL: https://github.com/guanyingc/pytorch3d_render_colmap
- Owner: guanyingc
- Created: 2023-08-23T09:33:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-24T09:18:32.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T17:42:11.717Z (8 months ago)
- Topics: colmap, pytorch3d
- Language: Jupyter Notebook
- Homepage:
- Size: 63.5 MB
- Stars: 34
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.binThe `sparse/` and `images/` are from the dense reconstruction stage of colmap.
```
https://github.com/guanyingc/pytorch3d_render_colmap/assets/8651158/c66fa0c9-820e-4973-8de0-fa30b3cad540
![]()
### 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重建的物体](https://zhuanlan.zhihu.com/p/651937759) and [Jupyter Notebook](./render_colmap_mesh.ipynb).