Background Prompting for Improved Object Depth

Manel Baradad, Yuanzhen Li, Forrester Cole, Michael Rubinstein, Antonio Torralba +2 more
6/8/2023
cs.CV

No official code found. Best implementation: mbaradad/depth_prompt (29 stars, last commit 2023-09-07).

Abstract

Estimating the depth of objects from a single image is a valuable task for many vision, robotics, and graphics applications. However, current methods often fail to produce accurate depth for objects in diverse scenes. In this work, we propose a simple yet effective Background Prompting strategy that adapts the input object image with a learned background. We learn the background prompts only using small-scale synthetic object datasets. To infer object depth on a real image, we place the segmented object into the learned background prompt and run off-the-shelf depth networks. Background Prompting helps the depth networks focus on the foreground object, as they are made invariant to background variations. Moreover, Background Prompting minimizes the domain gap between synthetic and real object images, leading to better sim2real generalization than simple finetuning. Results on multiple synthetic and real datasets demonstrate consistent improvements in real object depths for a variety of existing depth networks. Code and optimized background prompts can be found at: https://mbaradad.github.io/depth_prompt.

View on arXivView PDF

Code Implementations(1)

Code for paper Background Prompting for Improved Object Depth

290C, C++Jun 7, 20233 years ago

Similar Papers

Cite this paper

@article{baradad2023background,
  title  = {Background Prompting for Improved Object Depth},
  author = {Manel Baradad and Yuanzhen Li and Forrester Cole and Michael Rubinstein and Antonio Torralba and William T. Freeman and Varun Jampani},
  year   = {2023},
  eprint = {2306.05428},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05428v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.05428.svg)](https://codeofpaper.com/paper/2306.05428)

Discussion