Patent attributes
Aspects of the present disclosure relate to depth sensing using a device. An example device includes a light projector configured to project light in a first and a second distribution. The first and the second distribution include a flood projection when the device operates in a first mode and a pattern projection when the device operates in a second mode, respectively. The example device includes a receiver configured to detect reflections of light projected by the light projector. The example device includes a processor connected to a memory storing instructions. The processor is configured to determine first depth information based on reflections detected by the receiver when the device operates in the first mode, determine second depth information based on reflections detected by the receiver when the device operates in the second mode, and resolve multipath interference (MPI) using the first depth information and the second depth information.