Abstract
We introduce SharpNet, a method that predicts an accurate depth map given a single input color image, with a particular attention to the reconstruction of occluding contours. Occluding contours are an important cue for object recognition and for realistic integration of virtual objects in Augmented Reality (AR), but they are notoriously difficult to reconstruct accurately. We introduce novel terms to constrain normals, depth, and occluding contours predictions. By training on synthetic images followed by fine-tuning on real data, SharpNet outperforms state-of-the-art methods along occluding contours on the NYUv2-Depth dataset. We also introduce a new benchmark for evaluating occluding contours in monocular reconstruction.
Introduction
Monocular depth estimation—predicting 3D distance from a single 2D image—is a foundational challenge for robotics, autonomous driving, and AR. While deep learning has made massive strides, most existing models suffer from a "blurry edge" problem. At the boundaries of objects (occluding contours), depth values change abruptly. Standard sensors used for training data (like the Kinect) produce noisy or missing data at these edges, leading models to "bleed" depth across boundaries. In AR, this results in virtual objects appearing to overlap blurry edges, destroying the illusion of reality.
Methodology
SharpNet utilizes a multi-task "U-Net" style architecture with a shared ResNet-50 encoder and three distinct decoder branches predicting depth maps, surface normals, and occluding contour probabilities.
Consensus Losses
The core innovation lies in the Consensus Losses that enforce geometric consistency during training:
- Depth-Contours Consensus ($L_{dc}$): Penalizes sharp depth changes where no contour is predicted, and vice versa, using the contour branch to guide the depth branch.
- Depth-Normals Consensus ($L_{dn}$): Ensures predicted surface normals align with the spatial gradient of the predicted depth map.
Training Strategy
Due to noisy real-world edge data, the model is first trained on the synthetic PBRS dataset for "pixel-perfect" contours. It is then fine-tuned on NYUv2-Depth, keeping contour and normal decoders frozen to preserve sharp boundaries learned from synthetic data.
Evaluation and Results
The authors introduced NYUv2-OC, a new benchmark of 100 images with manually annotated occluding contours for precise evaluation of boundary quality.
Key Findings
- Boundary Accuracy: SharpNet significantly outperforms previous methods on the Depth Boundary Edge (DBE) metric, which measures edge localization.
- Efficiency: At inference, the normals and contour branches can be discarded, allowing the model to run at 150 FPS, making it suitable for mobile AR.
- General Performance: On standard metrics like RMSE, SharpNet remains highly competitive, ranking second overall on NYUv2, proving that edge focus does not compromise global accuracy.
Conclusion
SharpNet demonstrates that prioritizing local geometric features like contours and normals can significantly improve the sharpness of monocular depth estimation. Its real-time performance and superior boundary reconstruction make it a powerful tool for high-quality AR applications where realistic object occlusion is critical.
Summary updated