CPC H04N 13/271 (2018.05) [H04N 13/254 (2018.05)] | 18 Claims |
1. A camera comprising:
a light-emitting module configured to output output light according to a set control mode;
a light-receiving module configured to receive input light corresponding to the output light according to the control mode; and
a control module configured to:
detect at least one of presence of a subject and a distance from the subject on the basis of the input light;
reset the control mode according to a detection result;
control an output of the light-emitting module and an input of the light-receiving module according to the reset control mode; and
generate a depth map for the subject on the basis of the input light which is input according to the reset control mode,
wherein the control module is further configured to, when the presence of the subject is not detected by the control module, control the output of the light-emitting module according to the set control mode and to repeat detecting at least one of presence of the subject and the distance from the subject on the basis of the input light.
|