Python tools for rendering, viewing and generating metric 3D depth videos. Tools for recovering and exporting camera pose and 3D geometry to popular formats as well as tools for projecting depthvideo in to side by side stereo(sbs) 3D stereo video.
Python
142
121 commits
updated May 24, 2026
Tools for Generating and working with metric 3D depth videos.
Banner created with 3d_view_depthfile.py
Showcase video: https://youtu.be/nEiUloZ591Q
Movie → 3D conversion demo: https://www.youtube.com/watch?v=PLFjoNgkZDY
Sample stereo clips: https://github.com/calledit/metric_depth_video_toolbox/releases/tag/Showcase
Convert rgb videos into metric depth videos using multiple SOTA models:
video_metric_convert.py) and (videoanythingmetric_video.py)moge_video.py)unidepth_video.py)unik3d_video.py)depthpro_video.py)depthcrafter_video.py)video_mvsa.py)movie_2_3D.py)stereo_rerender.py)stereo_crafter_infill.py)3d_view_depthfile.py)3d_view_depthfile.py)sam_track_video.py) and (align_3d_points.py)track_points_in_video.py)Export metric depth video to standard formats for use in other tools: (convert_metric_depth_video_to_other_format.py)
.ply point clouds.obj meshes.blend & Alembic .abc camera tracksgenerate_video_mask.py)apply_inpainting.sh)| Topic | Link |
|---|---|
| Beginner guide | HOWTO.md |
| Movie → 3D guide | HOWTO_movie2_3d.md |
| Full tool reference | USAGE.md |
| GUI tutorial video | https://youtu.be/BE_aJCI7DHI |
MDVT uses RGB-encoded 16-bit metric depth:
Future upgrade for more precision will be done with: 24-bit depth or log-encoded depth for long-range accuracy.
git clone https://github.com/calledit/metric_depth_video_toolbox
cd metric_depth_video_toolbox
windows_installer.bat
conda activate mdvt to activate conda and use the tools. Some ML models are not supported on windows but the most esential ones are supported like Sterecrafter and depth anything.
git clone https://github.com/calledit/metric_depth_video_toolbox
cd metric_depth_video_toolbox
# on linux
sudo apt-get install -y libgl1
./install_mdvtoolbox.sh
#Optional (only required for some tools)
./install_mdvtoolbox.sh -megasam
./install_mdvtoolbox.sh -geometrycrafter
./install_mdvtoolbox.sh -unik3d
./install_mdvtoolbox.sh -depthpro
./install_mdvtoolbox.sh -stereocrafter
./install_mdvtoolbox.sh -madpose
./install_mdvtoolbox.sh -unidepth
./install_mdvtoolbox.sh -moge
./install_mdvtoolbox.sh -promptda
# if using headless linux you need to start a virtual x11 server
apt-get install xvfb
Xvfb :2 &
export DISPLAY=:2
# OSX (OSX only supports post processing of depth videos not generation of them. As the ML models need CUDA)
# (open3d requires python3.11 on OSX (as of 2025)))
pip3.11 install open3d numpy opencv-python
The tools that reuire ML models have been tested on machines with nvida 3090 cards that support Cuda 12.4 and Torch 2.5.1 on vast.ai using "template PyTorch (cuDNN Devel)"
Is appreciated. Even for simple things like spelling.
62 followers · starred Dec 2025
3 followers · starred Jan 2026
Python tools for rendering, viewing and generating metric 3D depth videos. Tools for recovering and exporting camera pose and 3D geometry to popular formats as well as tools for projecting depthvideo in to side by side stereo(sbs) 3D stereo video.
Python
142
121 commits
updated May 24, 2026
Tools for Generating and working with metric 3D depth videos.
Banner created with 3d_view_depthfile.py
Showcase video: https://youtu.be/nEiUloZ591Q
Movie → 3D conversion demo: https://www.youtube.com/watch?v=PLFjoNgkZDY
Sample stereo clips: https://github.com/calledit/metric_depth_video_toolbox/releases/tag/Showcase
Convert rgb videos into metric depth videos using multiple SOTA models:
video_metric_convert.py) and (videoanythingmetric_video.py)moge_video.py)unidepth_video.py)unik3d_video.py)depthpro_video.py)depthcrafter_video.py)video_mvsa.py)movie_2_3D.py)stereo_rerender.py)stereo_crafter_infill.py)3d_view_depthfile.py)3d_view_depthfile.py)sam_track_video.py) and (align_3d_points.py)track_points_in_video.py)Export metric depth video to standard formats for use in other tools: (convert_metric_depth_video_to_other_format.py)
.ply point clouds.obj meshes.blend & Alembic .abc camera tracksgenerate_video_mask.py)apply_inpainting.sh)| Topic | Link |
|---|---|
| Beginner guide | HOWTO.md |
| Movie → 3D guide | HOWTO_movie2_3d.md |
| Full tool reference | USAGE.md |
| GUI tutorial video | https://youtu.be/BE_aJCI7DHI |
MDVT uses RGB-encoded 16-bit metric depth:
Future upgrade for more precision will be done with: 24-bit depth or log-encoded depth for long-range accuracy.
git clone https://github.com/calledit/metric_depth_video_toolbox
cd metric_depth_video_toolbox
windows_installer.bat
conda activate mdvt to activate conda and use the tools. Some ML models are not supported on windows but the most esential ones are supported like Sterecrafter and depth anything.
git clone https://github.com/calledit/metric_depth_video_toolbox
cd metric_depth_video_toolbox
# on linux
sudo apt-get install -y libgl1
./install_mdvtoolbox.sh
#Optional (only required for some tools)
./install_mdvtoolbox.sh -megasam
./install_mdvtoolbox.sh -geometrycrafter
./install_mdvtoolbox.sh -unik3d
./install_mdvtoolbox.sh -depthpro
./install_mdvtoolbox.sh -stereocrafter
./install_mdvtoolbox.sh -madpose
./install_mdvtoolbox.sh -unidepth
./install_mdvtoolbox.sh -moge
./install_mdvtoolbox.sh -promptda
# if using headless linux you need to start a virtual x11 server
apt-get install xvfb
Xvfb :2 &
export DISPLAY=:2
# OSX (OSX only supports post processing of depth videos not generation of them. As the ML models need CUDA)
# (open3d requires python3.11 on OSX (as of 2025)))
pip3.11 install open3d numpy opencv-python
The tools that reuire ML models have been tested on machines with nvida 3090 cards that support Cuda 12.4 and Torch 2.5.1 on vast.ai using "template PyTorch (cuDNN Devel)"
Is appreciated. Even for simple things like spelling.
62 followers · starred Dec 2025
3 followers · starred Jan 2026