Introduction
Estimating the 3D depth of a scene from a single 2D image is a fundamental yet challenging computer vision task. While neural network architectures for this task have advanced significantly, the primary bottleneck remains the availability of diverse, high-quality training data. Existing datasets typically rely on hardware sensors like LiDAR or Kinect, which are restricted to specific environments (e.g., indoor rooms or road views), or manual crowdsourcing, which is expensive and difficult to scale.
To overcome these limitations, this paper proposes a fully automated pipeline to leverage the virtually infinite supply of diverse scenes found in Internet videos. By extracting depth information from YouTube videos using Structure-from-Motion (SfM) and filtering the results with a novel Quality Assessment Network (QANet), the authors created the YouTube3D dataset, enabling state-of-the-art performance in "in-the-wild" depth estimation.
Methodology: The Filter-and-Learn Pipeline
The core challenge in using unconstrained Internet videos for 3D reconstruction is the inherent noise in Structure-from-Motion algorithms. Camera shake, moving objects, and poor textures often lead to unreliable or failed reconstructions. The authors address this by implementing a two-stage "filter-and-learn" approach.
First, the pipeline runs a simplified SfM process on pairs of video frames to generate candidate 3D point clouds. Second, the Quality Assessment Network (QANet) acts as a high-precision filter to identify and retain only the most accurate reconstructions. Because the source material is effectively infinite, the system prioritizes precision over recall, discarding any data that does not meet a high quality threshold.
Quality Assessment Network (QANet)
QANet is designed to evaluate the geometric reliability of an SfM reconstruction without being biased by visual content. To achieve this, the network does not process image pixels. Instead, it takes geometric metadata as input, including:
- Reprojection errors
- Estimated focal lengths
- Angles between camera rays
By focusing exclusively on the "math" of the reconstruction, QANet generalizes across diverse scene types. The network is trained using a ranking loss, learning to distinguish between high-quality and low-quality reconstructions rather than predicting an absolute score. This filtering mechanism is critical; without it, the inclusion of noisy SfM data significantly degrades the performance of the final depth estimation model.
The YouTube3D Dataset
Using this automated pipeline, the authors generated the YouTube3D dataset. It consists of 795,066 images derived from over 120,000 YouTube videos. Each image is paired with sparse relative depth annotations (identifying which of two points is closer to the camera).
Unlike sensor-based datasets, YouTube3D covers a vast array of "in-the-wild" scenarios, from household interiors to outdoor natural landscapes. The focus on relative depth rather than absolute metric depth makes the data scale-invariant and more robust for training models intended for general-purpose use.
Experimental Results
The effectiveness of the YouTube3D dataset was evaluated on the Depth-in-the-Wild (DIW) benchmark, which uses human-annotated relative depth on diverse Internet images.
Key findings include:
- Superior Generalization: A model trained solely on the automatically generated YouTube3D dataset outperformed models trained on human-annotated data (DIW) and other SfM-based datasets like MegaDepth.
- Error Reduction: On the DIW benchmark, the YouTube3D-trained model achieved a Weighted Human Disagreement Rate (WHDR) of 19.01%, compared to 22.14% for a model trained on the DIW set itself.
- State-of-the-Art Performance: By combining YouTube3D with existing datasets (NYU and DIW), the authors achieved a record-low WHDR of 10.59%.
Conclusion
This research demonstrates that massive, diverse training data for depth estimation can be successfully harvested from the web without manual intervention. The introduction of QANet solves the problem of unreliable SfM reconstructions by providing an automated, geometry-based quality filter. The resulting YouTube3D dataset proves that for "in-the-wild" computer vision tasks, a large-scale, high-precision automated dataset can be more effective than smaller, manually annotated alternatives.
Summary updated