1. A method, comprising: at an apparatus comprising a projector, a camera, one or more processors, and memory storing one or more programs for execution by the one or more processors: identifying one or more areas of interest in a scene in accordance with variation of depth in the scene as detected at a first resolution; and for each area of interest of the one or more areas of interest: applying, via the projector, a respective structured-light pattern to the area of interest; capturing, via the camera, an image of the area of interest with the respective structured-light pattern applied to it; and creating a respective depth map of the area of interest using the image of the area of interest with the respective structured-light pattern applied to it, the respective depth map having a higher resolution than the first resolution.