| CPC G06V 40/1318 (2022.01) [G06T 5/50 (2013.01); G06T 2207/20224 (2013.01); G06V 2201/121 (2022.01)] | 16 Claims |

|
1. An electronic device comprising:
a display panel comprising a plurality of light-emitting elements and a fingerprint sensing region;
a fingerprint sensor disposed below the fingerprint sensing region of the display panel;
memory storing instructions; and
at least one processor,
wherein the instructions, when executed by the at least one processor, cause the electronic device to:
identify an occurrence of an event that causes an operation of receiving a fingerprint through the fingerprint sensor to be executed;
acquire a first image of the fingerprint by controlling the display panel such that light-emitting elements disposed in a first light-emitting region within the fingerprint sensing region among the plurality of light-emitting elements output light;
acquire a second image of the fingerprint by controlling the display panel such that light-emitting elements disposed in a second light-emitting region that does not overlap the first light-emitting region among the plurality of light-emitting elements output light; and
determine whether the fingerprint is a three-dimensional object by using the first image and the second image,
wherein the instructions, when executed by the at least one processor, cause the electronic device to determine that the fingerprint is the three-dimensional object when a phase of a first portion among the first image is different from a phase of a second portion among the second image, and
wherein the first portion of the first image and the second portion of the second image correspond to a same portion of the fingerprint.
|