Patent attributes
A motion sensor device including: an image sensor; first and second light sources; and control circuitry configured to control the image sensor and the first and second light sources. The control circuitry is configured to: repeatedly perform the operation of making the image sensor capture a first frame with light emitted from the first light source at a first time, the operation of making the image sensor capture a second frame with light emitted from the second light source at a second time, and the operation of generating information about the distance to an object based on first and second images that have been gotten by capturing the first and second frames, respectively, and control the respective quantities of light emitted from the first and second light sources individually by reference to information that has been collected through the previous or earlier image capturing session.