nianticlabs/monodepth2

[ICCV 2019] Monocular depth estimation from a single image

View on GitHub ↗Jump to charts ↓

nianticlabs/monodepth2 has 4.5k+ stars and 950+ forks on GitHub, is written in Jupyter Notebook, and was last pushed on Oct 5, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on October 5th, 2026
Created on May 2nd, 2019
Open Issues & Pull Requests: 32 (+0)
GitHub issues: Enabled
Number of forks: 986
Total Stargazers: 4,507 (+0)
Total Subscribers: 62 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 71.2 days
Mean response time: 141.1 days
90th percentile: 283.4 days
Tracked items: 5

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 776 days
Stale 30+ days: 6
Stale 90+ days: 6

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • custom-dataset (2)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Monodepth2 is a PyTorch implementation for monocular depth estimation that predicts depth from a single image using self-supervised learning.

The tool addresses the problem of estimating 3D depth information from monocular (single-camera) images without requiring ground-truth depth labels during training. It uses self-supervision, learning depth by comparing reconstructed views against actual images rather than relying on annotated depth data. The method trains neural networks to predict depth maps and camera motion jointly, enabling the model to learn meaningful depth representations from video sequences or stereo pairs without explicit depth supervision.

The project provides pretrained models ready for immediate use on single images, with different variants available including mono and stereo-trained options. Developers can run depth prediction on new images with a simple command-line interface. The tool suits computer vision applications requiring depth estimation where collecting ground-truth depth annotations is impractical, such as autonomous driving, 3D reconstruction, or robotics. The codebase is structured as a reference implementation accompanying a published research paper, making it appropriate for researchers validating the method or building upon the approach.

The project maintains a stable, research-focused codebase with documentation covering setup, prediction, and training workflows. The implementation has been tested across multiple PyTorch versions and Python environments, indicating attention to compatibility. Code is provided with clear examples for both single-image prediction and metric depth estimation using stereo-trained models, suggesting the maintainers prioritize practical usability alongside research reproducibility.