| CPC G06F 21/32 (2013.01) [G06V 10/141 (2022.01); G06V 40/172 (2022.01); G06V 40/18 (2022.01); G06V 40/40 (2022.01)] | 16 Claims |

|
1. An electronic device comprising:
a display for visually providing information to a user;
a camera module disposed under the display;
at least one light source disposed to correspond to the camera module;
a memory storing instruction; and
a processor, wherein the instructions, when executed by the processor, cause the electronic device to:
drive the camera module and the at least one light source in response to a request for biometric authentication,
acquire a face image including an eye image from the camera module,
determine whether the acquired face image corresponds to a face image stored including an eye image in the memory,
determine whether a number of rays reflected by an eye identified from the eye image in the acquired face image corresponds to a number of the driven at least one light source, and
perform a function related to the biometric authentication based on determining that the acquired face image including the eye image corresponds to the face image stored in the memory and a number of rays reflected by an eye identified from the eye image in the acquired face image corresponds to a number of the driven at least one light source.
|