Stefano Esposito, Andreas Geiger
University of Tübingen, Autonomous Vision Group (AVG)
Our goal is to provide a plug and play library to quickly develop and test new research ideas. We offer various data loaders for commonly used multi-view datasets in 3D reconstruction and view-synthesis, that work out of the box without further data processing.
Static:
- DTU: unbounded
- NeRF-Synthetic: bounded
- Shelly: bounded
- Mip-NeRF360: unbounded
- NeRF-LLFF: forward-facing
Dynamic:
- PanopticSports: multi-view, bounded
- D-NeRF: semi-monocular, bounded
- iPhone: monocular, unbounded
- DynamicScenes: monocular, unbounded
We use the OpenCV camera coordinate system:
- X-Axis: Points to the right of the camera's sensor. It extends horizontally from the left side to the right side of the image. Increasing values move towards the right side of the image.
- Y-Axis: Points downward from the camera's sensor. It extends vertically from the top to the bottom of the image. Increasing values move towards the bottom of the image.
- Z-Axis: Represents depth and points away from the camera lens. It extends from the camera's lens outward into the scene. Increasing values move away from the camera.
Images taken from Andreas Geiger's Computer Vision lectures at the University of Tübingen.
# 1) install requirements
conda create -n mv_datasets python=3.8
conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit
conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia
pip install -r requirements.txt
pip install pycolmap==0.4.0
pip install -e .
Configure your dataset path in mvdatasets/config
, e.g.:
datasets_path = "/home/stefano/Data"
# reproduce images
python tests/train_test_splits.py dtu
python tests/pixels_sampling.py dtu
python tests/camera_rays.py dtu
python tests/reproject_points.py dtu
python tests/tensor_reel.py dtu
e.g.: python tests/train_test_splits.py blender
should render:
- Point cloud unprojection with depth has wrong scale
Functions located in any .deprecated
folder may no longer work as expected. While they might be supported again in the future, this is not guaranteed.
If you use this library for your research, please consider citing:
@misc{Esposito2024MVDatasets,
author = {Stefano Esposito and Andreas Geiger},
title = {MVDatasets: Standardized DataLoaders for 3D Computer Vision},
year = {2024},
url = {https://github.com/s-esposito/mvdatasets},
note = {GitHub repository}
}