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

Claim 4:
5. A method for controlling an electronic device, the method comprising:
obtaining a two-dimensional (2D) face image of a user via a camera of the electronic device;
obtaining distance sensing data via a distance sensor of the electronic device, wherein the distance sensor includes a time-of-flight (ToF) sensor, wherein the ToF sensor includes a light source module and a light receiving module, the light source module including a left light source and a right light source;
identifying a distance between a face of the user and the electronic device, and a rotation angle and a rotation direction of the face of the user with respect to the electronic device, using the obtained 2D face image and the obtained distance sensing data;
modifying at least a part of the 2D face image based on the identified distance and the identified rotation angle; and
providing information about at least the part of the modified 2D face image via a display,
wherein the method further comprises:
identifying sizes of a pore and a wrinkle in the 2D face image, the pore and the wrinkle being included in the 2D face image;
correcting the sizes of the pore and the wrinkle, based on a correction coefficient corresponding to the identified distance; and
re-correcting the corrected sizes of the pore and the wrinkle, based on the identified rotation angle,

wherein the method further comprises:
determining, based on the identified distance, a strength of a light to be outputted by the left light source and the right light source;
based on identifying, by the identified rotation angle and the identified rotation direction, that the face turns right, decreasing the determined strength of a light outputted from the left light source and increasing the determined strength of a light outputted from the right light source; and
based on identifying, by the identified rotation angle and the identified rotation direction, that the face turns left, decreasing the determined strength of the light outputted from the right light source and increasing the determined strength of the light outputted from the left light source,

wherein the method further comprises:
displaying, through the display, a guide with a first size corresponding to an average face size;
identifying a size of the face, from the obtained 2D face image;
based on the size of the face being different from the average face size, changing, based on the identified size of the face, a size of the guide from the first size to a second size different from the first size; and
displaying, through the display, the guide with the second size.