CPC G06F 21/32 (2013.01) [G06F 21/36 (2013.01); G06V 10/19 (2022.01); G06V 40/166 (2022.01); G06V 40/67 (2022.01); G06V 40/70 (2022.01)] | 15 Claims |
1. An electronic device, comprising:
a camera;
a display; and
a processor,
wherein the processor is configured to:
obtain a request associated with biometric authentication;
obtain an image including at least one external object using the camera, in response to the request, wherein the image comprises a specified area and a non-specified area;
identify a state of the electronic device;
when the state of the electronic device corresponds to a first state:
display a preview image comprising the specified area of the display in conjunction with the biometric authentication; and
in response to identifying that the specified area of the image includes a specified biometric object associated with the biometric authentication among the at least one external object, perform the biometric authentication using biometric information corresponding to the specific biometric object; and
when the state of the electronic device corresponds to a second state:
display a non-preview image on the display; and
in response to identifying that the image includes the specified biometric object among the at least one external object, perform the biometric authentication using the biometric information corresponding to the specified biometric object,
wherein the first state is a state where the biometric authentication is used to perform payment, and
wherein the second state is a state where the biometric authentication is used to unlock the electronic device.
|