| CPC G06V 40/168 (2022.01) [A61B 5/1171 (2016.02); G06T 1/00 (2013.01); G06T 7/00 (2013.01); G06V 40/166 (2022.01); G06V 40/172 (2022.01); G06V 40/45 (2022.01)] | 18 Claims |

|
1. An image processing device comprising:
a memory configured to store instructions; and
at least one processor configured to execute the instructions to:
acquire a first image generated by capturing an object by using light at a first wavelength, the first image including a face;
acquire a second image generated by capturing the object by using light at a second wavelength, the second image including the face;
detect the face included in the first image and the second image;
acquire depth information from the second image;
check, based on the depth information, whether or not the face detected from the second image is a living body;
determine a number of faces detected from the first image;
determine a number of faces detected from the second image, where the face detected from the second image has been checked to be the living body;
in a case where the number of faces detected from the first image is the same as the number of faces detected from the second image, where the face detected from the second image has been checked to be the living body,
compare a face feature amount of the face detected from the first image with a face feature amount of the face detected from the second image, where the face detected from the second image has been checked to be the living body, to determine whether or not a person having the face detected from the first image is the same as the person having the face detected from the second image;
determine whether or not the person of the face detected from the first image is a registered person in a case where having determined whether or not the person of the face detected from the first image is the same as the person having the face detected from the second image; and
in a case where the number of faces detected from the first image is different from the number of faces detected from the second image, where the face detected from the second image has been checked to be the living body,
determine at least some of the faces detected from the first image is not the living body.
|