Patent ID: 11922648
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 10:
11. A method performed by an electronic device, the method comprising:
identifying a range corresponding to a zoom magnification for obtaining an image;
obtaining, based on light emitted from a light-emitting part of a distance sensor of the electronic device and received by one or more regions of a light-receiving part of the distance sensor, one or more signals corresponding to the one or more regions of the light-receiving part;
identifying one or more first peaks of the one or more signals;
obtaining one or more first distances, based on the one or more first peaks;
identifying whether a distance that is greater than or equal to a first distance corresponding to the identified range exists among the one or more first distances;
identifying, based on identifying that the distance that is greater than or equal to the first distance exists, whether a maximum value of the one or more first peaks is less than a first value; and
determining a camera for obtaining the image among multiple cameras included in the electronic device, based on at least one of whether the distance that is greater than or equal to the first distance exists or whether the maximum value of the one or more first peaks is less than the designated first value.