|
3 days ago | |
---|---|---|
.. | ||
readme_images | 3 days ago | |
README.md | 3 days ago |
This folder contains the Jupyter Notebooks and Scripts for the LearnOpenCV article - DUSt3R: Dense and Unconstrained Stereo 3D Reconstruction.
Visit DUSt3R Repository : Link
git clone --recursive https://github.com/naver/dust3r
cd dust3r
# if you have already cloned dust3r:
# git submodule update --init --recursive
#setup
!pip install -r requirements.txt
# Optional: you can also install additional packages to:
# - add support for HEIC images
# - add pyrender, used to render depthmap in some datasets preprocessing
# - add required packages for visloc.py
!pip install -r requirements_optional.txt
Download checkpoints:
mkdir -p checkpoints/
!wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/
Gradio Demo
The input can be a single image or multiple images, and if you have limited GPU Resources say 6GB or 12 GB, for larger scenes go with one-ref
pairing strategy. Otherwise use complete-pairing strategy for small subsets.
Datasets used in Article:
Download individual Point Cloud Outputs of DUSt3R if you are limited with internet pack:
To download all the dataset scenes and point cloud in one go hit the below button:
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.