Image processing device, image processing method, and program
A captured image showing face images of a plurality of persons is identified. Each face image of the plurality of persons shown in the captured image are compared with registered face images, and a registered image including a face most similar to a face of the person shown in the captured image is identified, as a matching target to be matched against the face image of the person shown in the captured image.
1 . An image processing device comprising:
a memory configured to store instructions; and
a processor configured to execute the instructions to:
identify a captured image showing face images of a plurality of persons;
acquire, from the captured image, a plurality of face images that respectively correspond to the plurality of persons;
perform, for each of the plurality of face images, an orientation modification processing for modifying a face orientation of each of a plurality of registered face images to an orientation that matches an orientation of a face of the corresponding face image among the plurality of face images, to generate, for each of the plurality of face images, the plurality of registered face images that have undergone the orientation modification processing; and
compare, for each of the plurality of face images, pixel values of each pixel between the face image with the generated plurality of registered face images, and identify, as a matching target to be matched against the face image of the person shown in the captured image, a registered image including a face most similar to a face of the person shown in the captured image.
2 . The image processing device according to claim 1 , wherein the processor is configured to execute the instructions to identify, as the matching target, a corresponding registered image similar to each face image of the plurality of persons shown in the captured image.
3 . The image processing device according to claim 1 , wherein the processor is configured to execute the instructions to identify the captured image in which face images of the plurality of persons are equal to or larger than a predetermined size in the captured image.
4 . The image processing device according to claim 1 ,
wherein the processor is configured to execute the instructions to perform processing for matching with the face image included in the captured image by using the face image of the matching target.
5 . An image processing method comprising:
identifying a captured image showing faces of a plurality of persons;
acquiring, from the captured image, a plurality of face images that respectively correspond to the plurality of persons;
performing, for each of the plurality of face images, an orientation modification processing for modifying a face orientation of each of a plurality of registered face images to an orientation that matches an orientation of a face of the corresponding face image among the plurality of face images, to generate, for each of the plurality of face images, the plurality of registered face images that have undergone the orientation modification processing; and
comparing, for each of the plurality of face images, pixel values of each pixel between the face image with the generated plurality of registered face images, and identifying, as a matching target to be matched against the face image of the person shown in the captured image, a registered image including a face most similar to a face of the person shown in the captured image.
6 . A non-transitory computer-readable recording medium that stores a program that causes a computer of an image processing device to execute:
identifying a captured image showing faces of a plurality of persons;
acquiring, from the captured image, a plurality of face images that respectively correspond to the plurality of persons;
performing, for each of the plurality of face images, an orientation modification processing for modifying a face orientation of each of a plurality of registered face images to an orientation that matches an orientation of a face of the corresponding face image among the plurality of face images, to generate, for each of the plurality of face images, the plurality of registered face images that have undergone the orientation modification processing; and
comparing, for each of the plurality of face images, pixel values of each pixel between the face image with the generated plurality of registered face images, and identifying, as a matching target to be matched against the face image of the person shown in the captured image, a registered image including a face most similar to a face of the person shown in the captured image.