An image processing device comprising: an acquisition unit that is configured to acquire a first image generated by capturing an object by using a visible light and a camera, a second image generated by capturing the object by using a near-infrared light and a second camera, and depth information on the object by using the second camera and a projector; a detection unit that is configured to detect one or more faces included in the first image and one or more faces included in the second image; a check unit that, based on the depth information, is configured to check whether or not a face from the second image is one obtained by capturing a living body; an extraction unit that is configured to extract a face image from the first image and a biometric face image from the second image, wherein the biometric face image is a face image that has been detected in the second image and that has been determined to have been obtained by capturing a living body; a face feature amount extraction unit that is configured to extract a face feature amount from each of the face image detected from the first image and the biometric face image detected from the second image; a matching unit that for all the combinations of the face images detected from the first image and the biometric face images detected from the second image is configured to: determine, based on comparison between a face feature amount of the biometric face image detected from the second image and a face feature amount of the face image detected from the first image, whether or not a person of the face image detected from the first image is the same as any of persons in the biometric face image detected from the second image; extract the face image detected from the first image in the case that the face image detected from the first image is the same as any of persons in the biometric face image detected from the second image; and determine whether or not a person in the face image extracted from the first image is the same as a registered person. an acquisition unit that is configured to acquire a first image generated by capturing an object by using a visible light and a camera, a second image generated by capturing the object by using a near-infrared light and a second camera, and depth information on the object by using the second camera and a projector; a detection unit that is configured to detect one or more faces included in the first image and one or more faces included in the second image; a check unit that, based on the depth information, is configured to check whether or not a face from the second image is one obtained by capturing a living body; an extraction unit that is configured to extract a face image from the first image and a biometric face image from the second image, wherein the biometric face image is a face image that has been detected in the second image and that has been determined to have been obtained by capturing a living body; a face feature amount extraction unit that is configured to extract a face feature amount from each of the face image detected from the first image and the biometric face image detected from the second image; a matching unit that for all the combinations of the face images detected from the first image and the biometric face images detected from the second image is configured to: determine, based on comparison between a face feature amount of the biometric face image detected from the second image and a face feature amount of the face image detected from the first image, whether or not a person of the face image detected from the first image is the same as any of persons in the biometric face image detected from the second image; extract the face image detected from the first image in the case that the face image detected from the first image is the same as any of persons in the biometric face image detected from the second image; and determine whether or not a person in the face image extracted from the first image is the same as a registered person. determine, based on comparison between a face feature amount of the biometric face image detected from the second image and a face feature amount of the face image detected from the first image, whether or not a person of the face image detected from the first image is the same as any of persons in the biometric face image detected from the second image; extract the face image detected from the first image in the case that the face image detected from the first image is the same as any of persons in the biometric face image detected from the second image; and determine whether or not a person in the face image extracted from the first image is the same as a registered person.