Image processing device, image processing method and program
The image processing device addresses the issue of erroneous face matching in crowded scenes by detecting, extracting, and specifying target objects, while identifying and storing similar objects to enhance accuracy.
Patent Information
- Application Number
- JP2023049368
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-09
AI Technical Summary
In scenes with multiple individuals who are similar in appearance, such as sports events, there is a high likelihood of erroneous matching of similar faces, leading to incorrect identification of the intended target object.
An image processing device that includes detection, extraction, and specification of target objects, with additional mechanisms to identify and store similar objects, allowing for accurate differentiation and suppression of erroneous matching.
The device effectively reduces the occurrence of erroneous matching by identifying and storing feature information of similar objects, ensuring accurate focus on the intended target.
Smart Images

Figure 2024138727000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing technique for processing captured images. [Background technology]
[0002] In recent years, image processing technology has been developed that uses a large amount of image data to learn (optimize) parameters of a multi-layered NN (Neural Network) to check (recognize) whether or not object images to be compared are the same. The target object is assumed to be a facial image of a specific person, and if learning is sufficient, it becomes possible to match (recognize) the specific person with high accuracy. This image processing technology is also used for focus support purposes, in which the facial features of a specific person to be photographed are registered in advance in a camera, and if the facial features within the shooting range match the features of the registered person, the face is preferentially focused on. Patent Document 1 also discloses a technology that links the faces of performers registered in advance with the progress of a program, and focuses on the performers according to the progress of the program. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2010-85530 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in scenes such as sports scenes and school athletic meets, there are multiple people who are the subjects, and they are often similar in terms of race, sex, age, etc., and depending on the type of sport, there are also many opportunities for similar expressions and face directions and angles. For this reason, it is easy to mistake someone who looks similar to the person being photographed as the person being photographed, and it is desirable to suppress the occurrence of such mismatches. In other words, even when a specific target object and a target object similar to it are mixed, it is desirable to suppress the occurrence of mismatches for a specific target object.
[0005] Therefore, an object of the present invention is to make it possible to suppress the occurrence of erroneous matching for a specific target object. [Means for solving the problem]
[0006] The image processing device of the present invention is characterized by having a detection means for detecting a target object from a captured image, an extraction means for extracting feature information from the target object detected by the detection means, an identification means for identifying a registered target object from the captured image, a other target acquisition means for acquiring other target objects from the target objects detected by the detection means excluding the registered target object identified by the identification means, and a similarity acquisition means for acquiring, from the other target objects acquired by the other target acquisition means, a similar object that is similar to the registered target object based on the feature information. Effect of the Invention
[0007] According to the present invention, it is possible to suppress the occurrence of erroneous matching for a specific target object. [Brief description of the drawings]
[0008] [Figure 1] 1 is an external view illustrating an example of an imaging device according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of the internal configuration of an imaging apparatus. [Diagram 3] FIG. 2 is a diagram illustrating an example of the internal configuration of an imaging unit. [Figure 4] FIG. 13 is a diagram showing an example of a configuration for identifying a registered person and registering similar others. [Diagram 5] 3A and 3B are diagrams illustrating an example of a registered face image and registered personal information. [Figure 6] FIG. 11 is a diagram showing an example of a face detected from a captured image. [Figure 7] FIG. 2 is a diagram showing an example of registered personal information and similar other information linked thereto. [Figure 8] 11 is a flowchart of a process from identification of a person to be registered to registration of a similar other person. [Figure 9] FIG. 13 is a diagram illustrating an example of a configuration for matching and verifying a registered person. [Figure 10] 11 is a flowchart of a process from matching a registered person to focus assistance. [Figure 11] 13A and 13B are diagrams illustrating an example of a display when a user is prompted to identify the face of a registered person. [Figure 12] FIG. 13 is a diagram showing an example of a situation in which a person other than a registered person is being photographed. [Figure 13] 13A and 13B are diagrams illustrating an example of a display when an instruction to photograph a person other than a registered person is input. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiments do not limit the present invention, and not all of the combinations of features described in the present embodiments are necessarily essential to the solution of the present invention. The configurations of the embodiments may be appropriately modified or changed depending on the specifications of the device to which the present invention is applied and various conditions (conditions of use, environment of use, etc.). In the following embodiments, the same or similar configurations and processing steps are given the same reference symbols, and duplicated explanations are omitted.
[0010] <First embodiment> In this embodiment, an image capture device having an image processing function that detects an image of a specific target object from an input image acquired by shooting and enables focus support such as shooting with the target object in focus will be described. In this embodiment, a specific person who is the subject of shooting in a sports competition or athletic meet is taken as an example of the specific target object. That is, the image capture device of this embodiment has a focus support function that detects a face image of a person from a captured image, identifies the specific person based on the detected face image, and adjusts the focus on the identified specific person.
[0011] Fig. 1 is a diagram showing an example of a schematic external configuration of an imaging device 100 according to this embodiment. Fig. 1(a) shows a schematic external configuration of the front side where a lens of an imaging unit 101 is arranged, and Fig. 1(b) shows a schematic external configuration of the rear side where a display unit 103 is arranged. The imaging device 100 includes an imaging unit 101, a shooting button 102, a display unit 103, a cross key 104, and the like.
[0012] The imaging unit 101 includes an optical system including a lens and an aperture, an imaging sensor, an A / D conversion circuit, and the like. The detailed configuration of the imaging unit 101 will be described later with reference to FIG. 3. The imaging unit 101 captures an object image formed by the optical system with the imaging sensor in response to a user pressing a capture button 102. The imaging signal acquired by the imaging sensor is analog / digital converted by the A / D conversion circuit and output from the imaging unit 101 as digital image data. In the following description, for the sake of simplicity, the digital image data handled in the imaging device 100 will be referred to as an image where appropriate.
[0013] The display unit 103 displays images captured by the imaging unit 101 and images that have been captured and stored in a memory card or the like, and superimposes predetermined related information on these images. The display unit 103 also displays a menu screen for various settings of the imaging device 100. The display unit 103 is, for example, a liquid crystal display, and may have a touch screen function.
[0014] The cross key 104 is provided to obtain various user operations, such as switching the contents displayed on the display unit 103 and selecting a menu, in response to up, down, left and right operation input by the user. The positions, types, and numbers of buttons, display units, and imaging units mounted on the imaging device 100 are not limited to those shown in Fig. 1. The imaging device 100 also includes components that are included in a typical digital camera, such as a power button, an infrared sensor, a mode dial, a flash unit, a wireless communication unit, and a cable interface unit.
[0015] FIG. 2 is a diagram showing an example of the internal configuration of the imaging device 100 of this embodiment. The CPU 201 is a central processing unit that performs overall control of the following components included in the imaging device 100 of this embodiment. A RAM (random access memory) 202 is used as a main memory, a work area, etc. for the CPU 201 . A ROM (Read Only Memory) 203 stores various programs including a control program according to this embodiment executed by the CPU 201, other setting information, and the like.
[0016] The bus 204 is a transfer path for various data in the imaging device 100. For example, an image (digital data) acquired by the imaging unit 101 is appropriately sent via this bus 204 to each information processing unit, such as a signal processing unit 208, an encoder unit 209, and an image processing unit 212, which will be described later.
[0017] The operation unit 205 is provided for obtaining user instructions in the imaging device 100. In the example of Fig. 1, the shooting button 102, the cross key 104, and the like are included in the operation unit 205. Note that, if the display unit 103 has a touch screen function as described above, the operation unit 205 also obtains user instructions for the touch screen. A display control unit 206 controls the display of captured images, items in a menu, characters, and the like, which are displayed on the display unit 103 illustrated in FIG.
[0018] Based on instructions from the CPU 201, the imaging control unit 207 performs control of the imaging system, such as driving control of the focus lens included in the optical system of the imaging unit 101, opening and closing control of a shutter (not shown) provided in the imaging device 100, and adjusting the aperture. A signal processing unit 208 performs various types of digital signal processing, such as white balance processing, gamma processing, and noise reduction processing, on the captured image received via the bus 204 . The encoder unit 209 converts the image data received via the bus 204 into image data in a predetermined file format, such as JPEG or MPEG.
[0019] The memory control unit 210 is an interface for connecting to various media (for example, a hard disk, a memory card, a CF card, an SD card, a USB memory). The communication control unit 211 is an interface for connecting to and transmitting data to an external device (such as a personal computer or a smartphone) via wired or wireless LAN, short-distance wireless communication, etc. If the external device can provide an input / output function for the user, the external device may be used as an input source for the operation unit 205 or an output destination from the display control unit 206.
[0020] The image processing unit 212 performs image processing for face recognition, including face detection, extraction of feature information, comparison, matching, and verification using the feature information, which will be described later, using the image acquired by the imaging unit 101 or the image output from the signal processing unit 208. Details of the face detection, extraction of feature information, comparison, matching, and verification using the feature information, etc., performed by the image processing unit 212 will be described later. Note that the processing by the image processing unit 212 can also be performed on images stored in various media or images acquired from the outside via the communication control unit 211. In addition to the components described above, the image capture device 100 of this embodiment also includes various components that are included in a typical image capture device, but illustration and description of these components will be omitted.
[0021] FIG. 3 is a diagram showing an example of the internal configuration of the imaging unit 101. As shown in FIG. The imaging unit 101 is configured to include a lens group 301, an aperture 302, a shutter 303, a filter group 304, an imaging sensor 305, and an A / D converter 306. The lens group 301 includes, for example, a zoom lens, a focus lens, a blur correction lens, and the like, and forms an image of a subject on an imaging surface of the imaging sensor 305. The shutter 303 is controlled to be opened by the imaging control unit 207 when the above-mentioned shooting button 102 is pressed. The filter group 304 includes, for example, a low-pass filter, an infrared cut filter (iR cut filter), a color filter, and the like. The imaging sensor 305 is, for example, an imaging element such as a CMOS or a CCD. The A / D converter 306 converts the imaging signal output from the imaging sensor 305 into digital image data, and outputs the digital image data to the above-mentioned bus 204.
[0022] FIG. 4 is a diagram showing a functional configuration of the image processing unit 212, which detects a similar object having similar feature information to a specific target object from a captured image, and stores the feature information of the similar object by linking it to the specific target object. In this embodiment, the feature information is information that represents features consisting of multiple elements of the target object, and is hereinafter referred to as a feature amount. In this embodiment, as described above, an example is given in which a person who is a subject of photography in a sports competition or an athletic meet is set as a specific target object. That is, the configuration of FIG. 4 is a configuration that detects a person's face from a captured image, finds a face image of another person whose face feature amount is similar to that of a registered person from the detected face image, and stores the feature amount of the similar face image of the other person by linking it to the feature amount of the registered person. Note that, among the functional configuration of the image processing unit 212, a configuration for performing focus support by detecting the face of a registered person from a new captured image and preferentially focusing on the face of the registered person will be described later with reference to each figure from FIG. 9 onwards.
[0023] In this embodiment, it is assumed that a face image of a person registered in advance, features extracted from the face image of the person, and identification information (ID) for identifying the person are prepared in advance and stored in a storage unit 407 described below. Hereinafter, a person registered in advance will be referred to as a "registered person", a face image of the registered person as a "registered face image", and features extracted from the registered face image as a "registered person feature". In this embodiment, the registered person feature and the identification information (ID) of the registered person will be collectively referred to as registered person information, and the registered person information is stored in the storage unit 407 in association with the registered face image.
[0024] 5 is a diagram conceptually showing a registered face image 501 and registered individual information 502 stored in the storage unit 407. If there is some information that allows a registered person to be recognized, the registered face image does not necessarily need to be stored. However, since the registered face image 501 can be used by a user for visual recognition, etc., in this embodiment, the registered face image is also stored. As described above, the registered individual information 502 includes identification information (ID) that identifies a registered person and registered individual feature amounts. In this embodiment, it is assumed that the registered face image 501 and the registered individual information 502 are acquired in advance and stored in the storage unit 407.
[0025] In Fig. 4, the image acquisition unit 401 acquires a captured image including a person's face as an input image. That is, in this embodiment, the input image acquired by the image acquisition unit 401 is an image currently being captured by the imaging unit 101. Fig. 6 is a diagram showing an example of a captured image currently being captured and acquired by the imaging unit 101, and shows an example in which the faces of four people are included.
[0026] The detection unit 402 detects the face of a person present in a captured image acquired by the image acquisition unit 401, and identifies the position of the face in the image. In this embodiment, a model consisting of a multi-layered neural network for estimating where a face is located in an image is learned in advance, and the position of the face in the image is estimated using the learned model. For the learned model, a known network in which a CNN (Convolutional Neural Network) such as VGG or ResNet is multi-layered may be used. However, the architecture is not limited to CNN, and is not particularly limited as long as the face position can be estimated using an image as input.
[0027] In the present embodiment, the learning model is assumed to have been learned to estimate a map in which the pixel at the center of the face position is close to 1 and the other pixels are close to 0. That is, the learning model is obtained by repeatedly learning in such a way that the error between the estimated map and the correct map is reduced, with a plurality of images for learning and a correct answer map in which the pixel at the center of the face position is set to 1 and the other pixels are set to 0. A commonly known cross-entropy loss or the like may be used as a loss function for evaluating the error between the estimated map and the correct answer map. It is not necessary to estimate such that only the pixel at the center of the face position has a value, and the correct answer map may be an area in which the value increases toward the center coordinate of the face position (for example, an area blurred to follow a Gaussian distribution). Such a learning method is a common method for learning a detection task using CNN, and the present embodiment is also configured to follow this method.
[0028] Furthermore, since the learning requires an image of each face, the size of the face is also estimated. For example, the face height and width may be simultaneously estimated. Multitask learning, which simultaneously learns multiple tasks in this way, is expected to improve accuracy by combining and learning highly correlated information in a mutually complementary manner. For example, the above-mentioned NN outputs only a map for estimating the face position, but in this embodiment, it is sufficient to output maps that have estimated values of the face height and width near the same pixel position as the face center. In this embodiment, the face detection model learned in this way is used as the learning model.
[0029] The detection unit 402 uses the learning model described above to identify the face position and size in the captured image, cuts out a face image from the captured image based on the face position and size, and acquires it as a detected face image. For example, in the example of Fig. 6 described above, the detection unit 402 can estimate the equivalent of rectangles 601 to 604 that estimate the center and size of each face, and acquires the detected face image by cutting out the image areas of these rectangles 601 to 604.
[0030] The extraction unit 404 extracts facial features that can identify an individual person from the detected face image acquired by the detection unit 402. Hereinafter, the features extracted by the extraction unit 404 from the detected face image will be referred to as "detected person features". In the case of this embodiment, the extraction process in the extraction unit 404 uses a learning model in which a multi-layered neural network is trained on an individual identification task. In the case of a learning model used for an individual identification task, an ID that identifies an individual is assigned to a large number of face images as correct answers, and learning is performed to estimate the ID from an input face image. In addition, the individual identification task can be considered as a type of class classification task that estimates which class an image belongs to. In the class classification task, a method of training an output layer to output a likelihood distribution for each class is known. This method, which uses cross-entropy loss as a loss function, is a common method for multi-class judgment using CNN, and the present embodiment also adopts a configuration following this method.
[0031] Here, in the case of a learning model that has sufficiently progressed in learning and can estimate IDs for personal identification with high accuracy, it is known that the output vectors of the intermediate layer before the output layer are similar vectors if they are of the same person. Therefore, by using the distance between these vectors, it is possible to perform personal identification even for unknown faces (people) that have not been learned. The extraction unit 404 of this embodiment also uses the output vectors of the intermediate layer of such a model as features.
[0032] In this embodiment, the learning model used in the detection unit 402 and the learning model used in the extraction unit 404 are models trained separately, but this is not limited to the above. For example, a NN for detecting face images and a NN for classifying them may be combined end-to-end to train both the detection and classification tasks simultaneously.
[0033] The identification unit 403 identifies a face image that can be estimated to be that of a registered person who is a target person for focusing during focus support, which will be described later, from among the detected face images cut out from the photographed image by the detection unit 402. That is, in this embodiment, identification of a registered person by the identification unit 403 refers to identification of which face image among the detected face images acquired from the photographed image by the detection unit 402 is the face image of the registered person. Of course, if the face image of the registered person is not present among the detected face images by the detection unit 402, the identification unit 403 obtains a result that none of the detected face images is the face image of the registered person. In the example of FIG. 6 described above, if the person in the face image of the rectangle 601 is a registered person (the person in the registered face image 501 in FIG. 5), the identification unit 403 identifies the position of the rectangle 601 in the photographed image as the position of the face image of the registered person.
[0034] In this embodiment, the identification unit 403 performs identification processing (matching processing) using the registered person feature amount stored in the storage unit 407 and the detected person feature amount extracted by the extraction unit 404 from each detected face image. That is, the identification unit 403 compares the registered person feature amount with the detected person feature amount, and identifies the person in the detected face image whose value indicating the comparison result exceeds a predetermined threshold as the registered person himself / herself. Hereinafter, the value indicating the comparison result between the registered person feature amount and the detected person feature amount will be referred to as a "matching score", and the threshold value compared with the matching score in the identification unit 403 will be referred to as an "identification threshold value". In addition, the detected face image identified as the face image of the registered person from among the detected face images by the identification processing in the identification unit 403 will be referred to as a "specific face image". The identification unit 403 in this embodiment calculates the matching score from, for example, the vector distance (inner product) between the registered person feature amount and the detected person feature amount. If the matching score between the registered person feature amount and the detected person feature amount exceeds a specific threshold, the identifying unit 403 determines that the detected face image from which the detected person feature amount is extracted is a specific face image.
[0035] In this embodiment, the identification threshold is a value that is set in advance as a sufficiently high threshold that can determine whether or not the possibility that the facial image is that of the registered person is high. The identification threshold is set in advance as a value higher than a threshold (hereinafter referred to as a matching threshold) used in a matching process in the matching unit 901 in FIG. 9 described later in order to further increase the accuracy of identifying the facial image as that of the registered person. Here, in normal face recognition processing, the threshold is often determined based on the False Acceptance Rate (FAR), which is the rate at which a person other than the person is mistakenly recognized as the person himself / herself. Therefore, in this embodiment, the threshold is set based on the FAR. In this embodiment, if the matching threshold used in the matching unit 901 in FIG. 9 is set to a value adjusted to FAR=1e-6 based on a sufficient number of evaluation images, for example, the identification threshold is set to a value higher than the matching threshold, such as FAR=5e-7 or 1e-7, which is adjusted to reduce false recognition. Note that the identification threshold used in the identification unit 403 is not limited to an example set based on the FAR, and a threshold set in advance by a user, for example, may be used.
[0036] The other person acquisition unit 405 performs a process of acquiring other targets, excluding the specific face image that the identification unit 403 identifies as the face image of the registered person among the detected face images acquired by the detection unit 402, and acquiring the remaining detected face images as the detected face images of other people. Here, if a specific face image exists among the detected face images acquired by the detection unit 402, the position of the specific face image in the photographed image is already known, so that other detected face images at positions different from the position of the specific face image can be considered as the face images of other people other than the registered person. That is, the other person acquisition unit 405 acquires all detected face images at positions different from the specific face image among the detected face images detected from the image as the face images of other people who are not the registered person. Hereinafter, the detected face images acquired by the other person acquisition unit 405 as the face images of other people from the detected face images acquired by the detection unit 402 will be referred to as "other person face images". In the example of FIG. 6, since the face image in the rectangle 601 is the registered face image, the face images in the other rectangles 602 to 604 in the photographed image are all acquired as the face images of other people.
[0037] The determination unit 406 performs a similarity acquisition process to acquire a different face image having similar features to the registered person from the different face images acquired by the other person acquisition unit 405 based on the feature amount extracted by the extraction unit 404. First, the determination unit 406 acquires a feature amount corresponding to the different face image acquired by the other person acquisition unit 405 from the detected person feature amount extracted by the extraction unit 404, and also acquires the registered person feature amount stored in the storage unit 407. Furthermore, the determination unit 406 compares the detected person feature amount of the different face images with the registered person feature amount, and determines whether the person in the different face image is a different person similar to the registered person based on the comparison result. Hereinafter, a different person having a face similar to the registered person among the people in the different face images will be referred to as a "similar other person".
[0038] The determination unit 406 of this embodiment obtains a matching score from the detected person feature amount of the other person's face image and the registered person feature amount, as in the process in the identification unit 403 described above, and determines whether the person in the other person's face image is a similar other person based on a comparison result between the matching score and a predetermined threshold. Hereinafter, the threshold used in the determination unit 406 to determine whether the person in the other person's face image is a similar other person is referred to as a "similar other threshold." If the matching score obtained for the other person's face image exceeds the similar other threshold, the determination unit 406 determines that the person in the other person's face image is a similar other person who is similar to the registered person. Then, the determination unit 406 sends the feature amount of the detected face image determined to be a similar other person's face image to the storage unit 407 as a similar other feature amount, and the storage unit 407 stores the similar other feature amount in association with the registered person information.
[0039] In this embodiment, in order to prevent a similar other from being erroneously matched as a registered person during focus assistance, which will be described later, a similar other is found from the other person's face image of the captured image and the feature amount of the similar other is stored. For this reason, it is preferable that the similar other threshold value used in the determination unit 406 is set as a value based on the matching threshold value used in the matching process of the matching unit 901 in FIG. 9, which will be described later. For example, if the matching threshold value Th is determined so that FAR=1e-6, it is preferable that the similar other threshold value is a threshold value that is slightly lower than the matching threshold value Th, for example, Th*0.9 or more. Of course, the threshold value of Th*0.9 or more is only an example, and is not limited to this value.
[0040] Fig. 7 is a diagram conceptually illustrating an example of similar other features linked to the registered personal information shown in Fig. 5 and stored in the storage unit 407. That is, similar other information 701 including the identification information (SID) and similar other features of a similar other is stored in the storage unit 407 in a linked manner to the registered face image 501 and the registered personal information 502. Note that Fig. 7 shows an example in which there is one similar other (identification information is SID:1), but there may be a plurality of similar others, that is, a plurality of different others may each resemble a registered person. In such a case, a plurality of similar other information 701 for each of the plurality of different similar others is stored in a linked manner to the registered face image 501 and the registered personal information 502.
[0041] FIG. 8 is a flowchart showing the flow of processing from image acquisition to registration (storage) of similar other information, which is executed by each component shown in FIG. First, in step S 801 , the image acquisition unit 401 acquires a captured image, and the captured image is sent to the detection unit 402 . In step S802, the detection unit 402 acquires a registered person feature from the storage unit 407. In this embodiment, it is assumed that at least one feature is registered as the registered person feature, and the detection unit 402 acquires the registered person feature.
[0042] Furthermore, in the process of step S803, the detection unit 402 detects a face area from the photographed image obtained in step S801, and obtains a detected face image by cutting out the detected face area from the photographed image. At this time, the range of the face area cut out from the photographed image may be set to be the same range as the face image used when learning the learning model used when the extraction unit 404 extracts features. In the case of this embodiment, the detection unit 402 estimates the center and size of the face to obtain a rectangle as shown in the above-mentioned FIG. 6, and cuts out the rectangular area as a detected face image. Here, it is assumed that a plurality of detected face images are obtained as in the example of FIG. 6 described above.
[0043] Next, in the process of step S804, the extraction unit 404 extracts features from each detected face image obtained in step S803, thereby acquiring detected person features for each detected face image. Note that in this embodiment, it is assumed that each detected face image acquired by the detection unit 402 is processed in batches to extract features collectively. Of course, this is not limited to this, and feature extraction may be performed sequentially when the subsequent identification unit 403 determines whether or not a detected face image is a face image of a registered person.
[0044] Next, in step S805, the identification unit 403 compares the registered person feature amount obtained in step S802 with the detected person feature amount extracted in step S804, and further performs processing to identify the registered person from among the people in the detected face image in step S806. That is, as described above, the identification unit 403 compares the registered person feature amount with each detected person feature amount to obtain a matching score, and compares the matching score with a identification threshold to identify the registered person from among the people in the detected face image. If the matching score of the detected face image is equal to or less than the identification threshold, the identification unit 403 determines that the detected face image is not a face image of the registered person, and returns the processing to step S805 to perform identification processing using the feature amount of the next detected face image. Note that, if it is determined in step S803 that none of the detected face images detected in the plurality of times is a face image of the registered person, the imaging device 100 does not perform processing from step S807 onward and ends the processing of the flowchart in FIG. 8. On the other hand, if the identifying unit 403 identifies a detected face image with a matching score exceeding the specific threshold as being the registered person, the process of the imaging device 100 proceeds to step S807.
[0045] When the process proceeds to step S807, the other person acquisition unit 405 acquires, as other person's face images, the detected face images excluding the face images identified as the registered person in step S805 from among the detected face images detected in step S803. The other person acquisition unit 405 then notifies the determination unit 406 of which face image of each detected face image detected in step S803 the other person's face image is. Upon receiving this notification, the determination unit 406 acquires the extracted feature amount of each detected face image that is a other person's face image from the extraction unit 404. Hereinafter, the feature amount (detected person feature amount) of the detected face image identified as a other person's face image will be referred to as the "other person feature amount".
[0046] Next, in step S808, the determination unit 406 acquires the registered person feature amount from the storage unit 407, compares the registered person feature amount with the other person feature amount obtained in step S807, and further determines whether the person in the other person face image is a similar other person in step S809. That is, the determination unit 406 obtains a matching score by comparing the other person feature amount with the registered person feature amount as described above, and compares the matching score with the similar other person threshold value to determine whether the person in the other person face image is a similar other person. When the determination unit 406 determines that the matching score of the other person face image is equal to or lower than the similar other person threshold value, it determines that the person in the other person face image is not a similar other person, and returns the process to step S807 to acquire the feature amount of the next other person face image. Note that, when it is determined in step S809 that all the people in all the other person face images are not similar other people, the imaging device 100 does not perform the processes in step S810 and thereafter, and ends the process of the flowchart in FIG. 8. On the other hand, the determination unit 406 determines that the other person's face image whose matching score exceeds the similar other threshold is a similar other person's face image, and sends the similar other person's feature amount as the similar other person feature amount to the storage unit 407. The processes from step S807 to step S809 are performed for all other person's face images.
[0047] As a result, in the process of step S810, the storage unit 407 stores the feature amount of the other person's face image determined to be a similar other person in step S809 as a similar other person feature amount in association with the registered personal information.
[0048] As described above, in this embodiment, when the position of a registered person can be specified in a photographed image, all people at the positions of other face images that exist within the same time as the photographed image was obtained are considered to be face images of other people. Furthermore, similar people who resemble the registered person are found from the face images that are considered to be other people. That is, compared to a case where, for example, it is checked one by one for each face image whether a person in a photographed image is similar to the registered person, in this embodiment, the presence of a large number of similar people can be efficiently and quickly searched for (found). And, in the imaging device 100 of this embodiment, as described above, the feature amounts of the similar people are linked to the registered person and stored.
[0049] 9 is a diagram showing a functional configuration of the image processing unit 212 of this embodiment, from among target objects detected from a new captured image, a configuration until a registered detected object as a target to be focused is matched and verified. In this embodiment, as described above, a person to be photographed at a sports competition or the like is given as an example, so the configuration of FIG. 9 shows a configuration for detecting a person's face from a new captured image, and matching and verifying the face image of a registered person from the detected face image. Among the functional units shown in FIG. 9, the image acquisition unit 401, the detection unit 402, the extraction unit 404, and the storage unit 407 perform the same processing as the corresponding functional units shown in FIG. 4, so detailed explanations of them will be omitted as appropriate.
[0050] 9 performs a matching process of comparing the registered person feature amount acquired from the storage unit 407 with the detected person feature amount extracted by the extraction unit 404 from the detected face image acquired by the detection unit 402, and determining whether or not the person in the detected face image is likely to be a registered person. Similar to the identification unit 403 described above, the matching unit 901 calculates a matching score from the inter-vector distance (inner product) between the registered person feature amount and the detected person feature amount. In the following description, the matching score obtained by the matching process in the matching unit 901 will be specifically referred to as the "registered person matching score."
[0051] The matching unit 901 compares the registered person matching score with a predetermined matching threshold, and if the registered person matching score is equal to or greater than the matching threshold, determines that the person in the detected face image is highly likely to be a registered person. As described above, the matching threshold used in the matching process in the matching unit 901 is set to a value lower than the identification threshold in the identification unit 403, and is set, for example, by using a threshold determined so that FAR=1e-6.
[0052] The verification unit 902 performs a process of verifying whether or not a detected face image for which a matching result indicating a high possibility of being a registered person has been obtained by the matching process in the matching unit 901 is the registered person himself / herself. Here, the verification unit 902 first compares the registered person matching score obtained by the matching unit 901 with a predetermined score threshold range, and judges whether or not the registered person matching score is within the score threshold range. Furthermore, the verification unit 902 compares the detected person feature amount when the registered person matching score determined to be within the score threshold range is obtained with the similar other feature amount linked to the registered face image in the storage unit 407, and calculates a matching score between the detected person feature amount and the similar other feature amount. Hereinafter, the matching score obtained by the verification unit 902 by comparing the detected person feature amount and the similar other feature amount will be referred to as a "similar other matching score."
[0053] Then, the verification unit 902 compares the similar other matching score with the registered person matching score obtained by the matching unit 901, and verifies whether or not the person in the detected face image is the registered person. For example, when the registered person matching score is greater than the similar person matching score, the verification unit 902 determines that the person in the detected face image is the registered person. Note that although the matching unit 901 and the verification unit 902 are separated in Fig. 9, they may be integrated, and for example, the function of the matching unit 901 may be included in the verification unit 902.
[0054] Here, the score threshold range described above is set as a range lower than the aforementioned identification threshold used when identifying the registered person in the identification unit 403. For this reason, for example, when the matching score between the detected person feature amount and the registered person feature amount by the matching unit 901 (registered person matching score) is higher than the aforementioned identification threshold, the verification process in the verification unit 902 may be omitted and the person in the detected face image may be determined to be the registered person himself / herself. However, this is not limited to this, and a threshold value set in advance may be referred to, or the threshold value may be dynamically changed depending on the shooting environment or the shooting scene. The shooting environment may be determined from various sensor information acquired at the time of shooting by various sensors equipped in the imaging device 100. In addition, regarding the shooting scene, for example, when the user can set the shooting mode according to the shooting scene in the imaging device 100, the threshold value corresponding to the shooting scene specified by the shooting mode may be acquired by referring to it. That is, for example, when shooting in a dark place, shooting a scene in which the subject moves quickly, or the face direction changes dynamically, the score threshold range when performing the verification may be adjusted to be wider.
[0055] In this embodiment, the verification unit 902 compares the registered person matching score with the similar other matching score, and if the similar other matching score is higher, it is deemed that the face is highly likely not a registered person. However, this is not limited to this. For example, if it is desired to avoid the target of focus being an unintended face, a certain margin may be given to the registered person matching score, rather than a condition that the similar other matching score is higher than the registered person matching score. In other words, by giving a certain margin to the registered person matching score and setting a condition that the score is higher than the similar other matching score, it is possible to strongly suppress erroneous matching.
[0056] Fig. 10 is a flowchart showing the process by each component shown in Fig. 9 and the process flow up to focusing on a face verified as being the registered person by the process. Note that in the flowchart of Fig. 10, it is assumed that the similar other feature is linked to the registered face image and stored in the storage unit 407 by the process of the flowchart of Fig. 8 described above. Also, here, a series of operations until the user points the imaging device 100 toward the subject and presses the shooting button is considered to be the operation during shooting. During this time, it is assumed that the image acquisition unit 401 sequentially acquires image data captured by the imaging unit 101 at a predetermined frame rate.
[0057] First, in the process of step S1001, the matching unit 901 acquires registered person features stored in the storage unit 407. In addition, in the process of step S1002, the verification unit 902 acquires similar other features linked to the registered person features. Note that the processes of steps S1001 and S1002 do not necessarily need to be acquired sequentially when shooting. For example, the registered person features and similar other features may be acquired in advance from the storage unit 407, and these features may be used each time shooting is performed.
[0058] Next, in step S1003 , the image acquisition unit 401 acquires a captured image, and the captured image is sent to the detection unit 402 . In step S1004, the detection unit 402 detects a face area from the captured image acquired by the image acquisition unit 401, and acquires a detected face image by cutting out the face area from the captured image. The process of acquiring the detected face image is the same as that of step S803 in Fig. 8 described above, and therefore will not be described here.
[0059] Next, in step S1005, the extraction unit 404 acquires detected person features from each detected face image obtained in step S1004. The feature extraction process in the extraction unit 404 is the same as step S804 in Fig. 8. In the process during shooting such as the flowchart in Fig. 10, features may be extracted from multiple detected face images by batch processing as long as the user does not have to wait for shooting.
[0060] Next, in step S1006, the matching unit 901 calculates a registered person matching score by matching processing using the registered person feature amount obtained in step S1001 and the detected person feature amount extracted in step S1005. Then, in the process of step S1007, the matching unit 901 compares the registered person matching score with a matching threshold and determines whether the registered person matching score is equal to or greater than the matching threshold. If the registered person matching score is less than the matching threshold, it is determined that the detected face image is not a face image of a registered person, and the process of the imaging device 100 returns to step S1005, and feature extraction and matching process are performed on the next detected face image. On the other hand, if the registered person matching score is equal to or greater than the matching threshold, it is determined that the person in the detected face image is highly likely to be a registered person, and the process of the imaging device 100 proceeds to step S1008.
[0061] In this embodiment, since focus assistance during shooting is assumed, the process of this flowchart for the currently processed captured image is interrupted and terminated when the next new captured image is acquired by the image acquisition unit 401. Also, for example, a sufficiently high threshold such as the specific threshold described above may be separately determined as the matching threshold, and if the registered person matching score exceeds the threshold, the person in the detected face image may be determined to be the registered person, and the process may proceed to step S1010 described later.
[0062] Proceeding to step S1008, the verification unit 902 compares the registered person matching score with the score threshold range, and obtains a similar other matching score by comparing the detected person features when the registered person matching score is determined to be within the score threshold range with the similar other features.
[0063] In step S1009, the verification unit 902 compares the registered person matching score with the similar person matching score. If the registered person matching score is equal to or lower than the similar person matching score, the process of the imaging device 100 returns to step S1005, and the process from step S1005 onwards is performed on the next detected face image. In this way, it is possible to easily identify the target to be focused on while suppressing erroneous matching with similar others.
[0064] On the other hand, if the registered person matching score is greater than the similar person matching score in step S1009, the verification unit 902 determines that the person in the detected face image is the registered person.
[0065] Proceeding to step S1010, the image capturing device 100 prepares to focus on the face determined (verified) to be the registered person in step S1009 as the focus adjustment target. After that, the image capturing device 100 displays to the user via the display unit 103 that the face to be the focus adjustment target has been identified and which face has been targeted.
[0066] When the user presses the capture button 102, the image capturing device 100 focuses on the face that is the subject of the focus adjustment and captures an image.
[0067] As described above, in this embodiment, when the registered person matching score, which is a result of comparing the detected person feature amount with the registered person feature amount, is equal to or greater than the matching threshold, it is determined whether the registered person matching score is greater than the similar other matching score to verify whether the person in the detected face image is a registered person. In other words, even if the registered person matching score is equal to or greater than the matching threshold, the detected face image at that time may still be a face image of a similar other person similar to the registered person. For this reason, in this embodiment, the similar other matching score is further obtained, and if the registered person matching score is greater than the similar other matching score, the person in the detected face image is determined to be a registered person. In addition, in this embodiment, if the registered person cannot be verified, matching and verification of the detected face image are continued within the time until the next photographed image to be the subject of focusing is input, so that the loss of photographing opportunities due to erroneous matching can be suppressed. In other words, according to the imaging device 100 of this embodiment, it is possible to suppress the occurrence of erroneous focusing in which the focus support function focuses on a similar other person, and it is expected to be effective in making it easier for the user to photograph the intended scene.
[0068] <Second embodiment> It is desirable that the above-mentioned identification unit 403 can reliably determine whether or not the person in the detected face image is a registered person. Therefore, in the imaging device 100 of the second embodiment, when the matching score acquired by the identification unit 403 as described above is within a predetermined range, for example, information for the user to confirm whether or not the detected face image is a face image of a registered person is displayed on the display unit 103. Then, the imaging device 100 identifies the registered person based on an instruction from the user on the display. In the case of the second embodiment, for example, the display unit 103 displays the detected faces and a message prompting the user to confirm and select which of the faces is a registered person, as shown in FIG. 11. The user's selection of which face is a registered person can be realized by, for example, making a rectangular frame selectable on the screen of the display unit 103 in response to the operation of the cross key 104. This makes it possible to reliably identify the registered person, and therefore makes it possible to more accurately evaluate whether or not a different person is a similar person.
[0069] <Third embodiment> In the third embodiment, when the user presses the capture button 102 while the display unit 103 indicates that the person has been matched with a registered person (presented as a focus candidate), the identification unit 403 identifies the person in the detected face image captured at that time as the registered person. In the case of the third embodiment, face images of people other than the registered person are detected from the captured image, and the detected face images of other people are determined to be similar to other people. As a result, according to the third embodiment, the registered person can be identified with the same degree of accuracy as in the second embodiment, where the registered person is specified by the user.
[0070] <Fourth embodiment> In the first to third embodiments described above, the matching process performed during shooting with focus assistance is performed for each image acquired at a predetermined frame rate. In contrast, in the fourth embodiment, an example is given in which the matching process is performed on some of the captured images acquired at those frame rates, taking into consideration the convenience of the user. In the imaging device 100 of the fourth embodiment, when an image is acquired at 15 frames per second (15 fps), for example, the captured image is processed at a frame rate of 1 / 2 or 1 / 3 of that. According to the fourth embodiment, when there are many faces in the captured image and processing takes time, the image at a frame rate of 1 / 2 or 1 / 3 is processed, so that the process for excluding similar others from the target of matching can be easily completed within a predetermined processing time.
[0071] <Fifth embodiment> In the first to third embodiments described above, the matching process performed during shooting in the case of focus assistance is performed for each image acquired at a predetermined frame rate. In contrast, in the fifth embodiment, after focusing on a registered person who is a target person of shooting, the process is shifted to a tracking process that is lighter than the matching process, and the focus on the target person is maintained. As the tracking process, for example, a tracking process using a general template matching method or the like that looks at the similarity of images in a certain range around the position where the focus is set in each frame may be performed. In addition, for example, after the identification unit 403 identifies a face image of a registered person from the detected face image, the person may be tracked, and thereafter, similar others may be sequentially determined from the face images of other people in the same image unless the tracking state is released.
[0072] Sixth embodiment In the above-mentioned embodiments, the identification unit 403 identifies the position of a registered person in a captured image. However, if a registered person does not exist in a captured image or a subject to be captured, the identification unit 403 may be regarded as having performed a position identification process based on an instruction from a user. For example, FIG. 12 is a diagram assuming a case where a registered person does not exist in a shooting range 1201 that a user intends to capture with the imaging device 100, and a registered person 1202 exists outside the shooting range 1201. In such a case, the user inputs to the imaging device 100 that the registered person 1202 does not exist within the shooting range 1201. In this case, the other person acquisition unit 405 determines that all detected face images existing in an image obtained by capturing the shooting range 1201 are face images of other people. In the sixth embodiment, the operation input by the user is not particularly limited. As an example, as shown in FIG. 13, a menu is displayed on the screen of the display unit 103 of the imaging device 100, and a user selects a desired menu using the cross key 104 or the like. That is, in the example of FIG. 13, when the user selects "Yes" out of "Yes" and "No" displayed in the menu of "Photograph a person other than a registered person", the other person acquisition unit 405 determines that all detected face images in the photographed image are face images of other people. In this example, the user needs to adjust the photographing direction so that the registered person does not enter the photographing range 1201 of the imaging device 100. In the case of the sixth embodiment, the identification unit 403 does not need to perform a process of identifying a registered person from a large number of detected face images, and the other person acquisition unit 405 does not need to perform a process of selecting a person other than a registered person from a large number of detected face images, and only the similar other person determination process of the determination unit 406 is required. Only the matching process of whether or not it is a similar other person is required. According to the sixth embodiment, it is possible to efficiently acquire the facial orientation and expression of other people in a state closer to a match, such as during warm-up in a sports match, and as a result, it is expected that the accuracy of the matching and verification process when photographing an actual match can be improved.
[0073] Seventh embodiment In each of the above-described embodiments, the storage unit 407 stores the similar other feature determined by the determination unit 406 in association with the registered person feature. Here, for example, if a large number of similar other features are found, the capacity of the storage unit 407 is strained, and the verification unit 902 increases the processing cost due to the verification process referring to the large number of similar other features. For this reason, for example, the storage unit 407 may hold only a predetermined number of similar other features, and the older similar other features may be discarded in order of age. In this way, by limiting the number of similar other features to be stored, the storage unit 407 reduces the strain on the capacity, and the verification unit 902 reduces the number of verification processes, making it possible to suppress an increase in processing cost. Furthermore, the verification unit 902 can perform the verification process referring to the similar other feature that is newer in time at the time of shooting, which is expected to have the effect of improving the verification accuracy.
[0074] <Eighth embodiment> As an eighth embodiment, when the determination unit 406 finds a similar other, the similar other feature and the similar other feature already stored in the storage unit 407 may be used to average the feature for each element, and the similar other information may be stored. As an example of the process of averaging the feature for each element using the stored similar other feature, a process of taking the average of each element of the feature and converting it into an average vector may be used. This can reduce the cost of the verification process in the verification unit 902, and since the averaged similar other feature also includes features acquired in the past, it is possible to cover more variations of similar others. In addition, at this time, for example, an average vector for each similar other may be created by further performing matching with the similar other feature linked to the registered person. By creating an average vector for each similar other in this way, it is possible to have a feature for each similar other, and it is possible to suppress deterioration of the feature vector such as a mixture of features of different people. In the case of the eighth embodiment, an upper limit number may be determined in the same way as in the example of the seventh embodiment described above, and the oldest similar other feature may be deleted in order to reach the upper limit number.
[0075] <Ninth embodiment> In the above-described embodiment, an example of still image shooting in which a person who has been matched and verified as a registered person is focused on during focus support during shooting and then a still image is shot when the user presses the shooting button 102 is taken has been given, but the present invention is not limited to this. As a ninth embodiment, the imaging device 100 may perform video shooting in which, for example, in each image acquired continuously in time, the captured image is recorded while the captured image is successively focused on a registered person.
[0076] <Tenth embodiment> In the above-described embodiment, the configuration in FIG. 4 and the process in FIG. 8 for registering similar other features, and the configuration in FIG. 9 and the process in FIG. 10 for performing focus assistance during shooting have been described separately, but these may be configured as a single configuration and process. For example, when a registered person is matched during actual shooting in which focus assistance is performed, it is assumed that the identification unit 403 has identified the registered person, and a process of determining a similar other is performed from the other person's face image in the captured image. When a similar other is found, the similar other feature is linked to the registered person feature and stored, and a verification process based on the similar other feature is performed from the next shooting onwards. In this way, the registration and verification of the similar other is performed without the user being aware of the work of registering the similar other, and the user can concentrate on the shooting work, improving convenience. In particular, in sports scenes, etc., it is more difficult to determine the facial expressions and facial orientations of players during a game, so it is thought that erroneous matching of a similar other as a registered person is more likely to occur during shooting. In the tenth embodiment, the verification of the registered person and the linking of the similar other feature are performed during a game, so that it is possible to use similar other feature amounts that are more suitable for the facial expressions and facial orientations of players during the game, and the effect of improving matching accuracy can be expected.
[0077] <Other embodiments> In the above-mentioned embodiment, an example was given in which a face image of a person was detected as a target object from a photographed image and the face image was compared to determine whether or not it is a registered person, but the target object detected from an image is not limited to a face image of a person. For example, an image may be detected from an image to detect an image of a target object such as an animal, a crop on a farm, a vehicle on a road, or a plurality of types of parts in the middle of production moving in a factory, and a registered specific target object may be compared from among the images of the target object. In this case, as in the above, the feature amount of a similar object similar to the registered specific target object may be linked and stored, and the registered feature amount linked and stored may be used to perform matching and verification processing of the specific target object for the photographed image. In the case of this embodiment, it is possible to focus while searching for a specific animal from among a plurality of animals such as cows and sheep on a farm, or distinguishing between good quality crops and crops whose quality has deteriorated due to disease among specific crops on a farm. It is also possible to focus while searching for a specific vehicle traveling on a road, or distinguishing between good quality parts and parts whose quality has deteriorated due to scratches among multiple types of parts in the middle of production moving in a factory. In addition, in each of the above-described embodiments, an example of focus assistance for focusing on a specific target object is given, but the present invention is not limited to focus assistance, and for example, some predetermined processing may be performed on an image of a specific target object that has been matched and verified.
[0078] The present invention can also be realized by supplying a program that realizes one or more functions of the above-mentioned embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. The above-mentioned embodiments are merely examples of concrete implementations of the present invention, and the technical scope of the present invention should not be interpreted as being limited by them. In other words, the present invention can be implemented in various forms without departing from its technical concept or main features.
[0079] The disclosure of each embodiment includes the following configurations, methods, and programs. (Configuration 1) A detection means for detecting a target object from a captured image; an extraction means for extracting feature information from the target object detected by the detection means; An identification means for identifying a registered target object from the captured image; other object acquisition means for acquiring other target objects from among the target objects detected by the detection means, excluding the registered target object identified by the identification means; a similarity acquisition means for acquiring a similar object similar to the registered target object based on the feature information from among the other target objects acquired by the other target acquisition means; 13. An image processing device comprising: (Configuration 2) The image processing device described in configuration 1, characterized in that the similar acquisition means determines the similar object from among the other target objects based on a result of comparing feature information of the other target objects acquired by the other target acquisition means with feature information of the registered target object. (Configuration 3) a storage means for storing the characteristic information of the similar object in association with the characteristic information of the registered target object; a verification means for verifying whether or not any of the target objects detected by the detection means from the new captured image is the registered target object based on a comparison result between feature information extracted by the extraction means from the target object detected by the detection means from the new captured image and feature information of the registered target object and the similar object stored in the storage means; 3. The image processing device according to configuration 1 or 2, further comprising: (Configuration 4) The verification means includes: performing a first comparison in which feature information extracted by the extraction means from the target object detected by the detection means in the new captured image is compared with feature information of the registered target object; When a result of the first comparison is within a predetermined threshold range, a second comparison is performed to compare the feature information of the similar object stored in the storage means with the feature information extracted by the extraction means from the target object detected by the detection means from the new photographed image; The image processing device according to configuration 3, characterized in that, based on the result of the first comparison and the result of the second comparison, it is verified whether or not the target object detected by the detection means from the new captured image is the registered target object. (Configuration 5) The image processing device according to configuration 4, characterized in that, when a value of the result of the first comparison is greater than a value of the result of the second comparison, the verification means verifies that the target object compared with the feature information of the registered target object in the first comparison is the registered target object. (Configuration 6) The image processing device described in any one of configurations 1 to 5, characterized in that the identification means identifies the detected target object as the registered target object when a comparison result between feature information extracted by the extraction means from the target object detected by the detection means and feature information of the registered target object exceeds a predetermined threshold. (Configuration 7) The identification means identifies at least a position of the registered target object; The image processing device described in any one of configurations 1 to 6, characterized in that the other target acquisition means acquires, as the other target objects, target objects at positions excluding the positions of registered target objects identified by the identification means, among the target objects detected by the detection means. (Configuration 8) An input means for acquiring an instruction from a user, The image processing device according to any one of configurations 1 to 7, characterized in that the identification means identifies the registered target object from among the target objects detected by the detection means, based on an instruction from the user via the input means. (Configuration 9) a display means for displaying a display for enabling a user to confirm whether or not the detected target object is the registered target object when a comparison result between the feature information extracted by the extraction means from the target object detected by the detection means and the feature information of the registered target object is within a predetermined range; The image processing device according to configuration 8, wherein the identification means identifies the detected target object as the registered target object when a user inputs an instruction to the display that the detected target object is the registered target object. (Configuration 10) An input means for acquiring an instruction from a user, The identification means identifies at least a position of the registered target object based on an instruction from the user via the input means; The image processing device according to any one of configurations 1 to 7, characterized in that the other target acquisition means acquires, as the other target object, a target object at a position excluding the position of a registered target object identified by the identification means, among the target objects detected by the detection means. (Configuration 11) The image processing device described in configuration 10, characterized in that when the position of the registered target object identified by instructions from the user via the input means is outside the range of the captured image, the other target acquisition means acquires all target objects detected by the detection means as the other target objects. (Configuration 12) The detection means detects the target object from a plurality of captured images that are consecutive in time, The image processing device described in any one of configurations 1 to 11, characterized in that the other target acquisition means acquires, for each captured image, other target objects from among the target objects detected by the detection means, excluding registered target objects identified by the identification means. (Configuration 13) 13. The image processing apparatus according to claim 12, wherein the detection means detects the target object from a portion of the plurality of photographed images that are consecutive in time. (Configuration 14) The detection means detects the target object from a plurality of captured images that are consecutive in time, 4. The image processing device according to configuration 3, further comprising a tracking unit that tracks a target object verified by the verifying unit as being a registered target object in the plurality of temporally consecutive captured images. (Configuration 15) The detection means detects the target object from a plurality of captured images that are consecutive in time, a tracking means for tracking the registered target object identified by the identification means in the plurality of temporally consecutive photographed images; The image processing device according to any one of configurations 1 to 14, characterized in that the other target acquisition means acquires other target objects, excluding registered target objects being tracked by the tracking means, from each of the temporally consecutive captured images. (Configuration 16) The image processing device according to configuration 3, characterized in that, if the registered target object cannot be verified, the verification means continues verifying the target object detected by the detection means until the next new captured image is input. (Configuration 17) An input means for acquiring an instruction from a user, The image processing device according to any one of configurations 1 to 16, characterized in that the identification means sets an object that is set as the target object to be photographed based on an instruction from the user via the input means as the registered target object. (Configuration 18) 4. The image processing apparatus according to configuration 3, wherein the storage means holds only feature information of a predetermined number of similar objects among the plurality of similar objects acquired by the similarity acquisition means. (Configuration 19) 4. The image processing apparatus according to claim 3, wherein the storage means averages the feature information of the plurality of similar objects acquired by the similarity acquisition means for each element and stores the averaged information. (Configuration 20) 4. The image processing device according to configuration 3, further comprising a control unit that brings the focus onto a target object that has been verified by the verification unit to be the registered target object. (Configuration 21) 21. The image processing device according to any one of configurations 1 to 20, characterized in that it is included in an imaging device. (Configuration 22) 22. The image processing device according to any one of configurations 1 to 21, wherein the target object is a human face. (Method 1) A detection step of detecting a target object from the captured image; an extraction step of extracting feature information from the target object detected in the detection step; a step of identifying a registered target object from the captured image; a target object acquiring step of acquiring other target objects from among the target objects detected in the detection step, excluding the registered target object identified in the identification step; a similarity acquisition step of acquiring a similar object similar to the registered target object based on the feature information from among the other target objects acquired in the other target acquisition step; 13. An image processing method comprising: (Program 1) A program that causes a computer to function as the image processing device according to any one of configurations 1 to 22. [Explanation of symbols]
[0080] 401: image acquisition unit, 402: detection unit, 403: identification unit, 404: extraction unit, 405: other person acquisition unit, 406: judgment unit, 407: storage unit, 901: matching unit, 902: verification unit
Claims
1. A detection means for detecting a target object from a captured image; an extraction means for extracting feature information from the target object detected by the detection means; An identification means for identifying a registered target object from the captured image; other object acquisition means for acquiring other target objects from among the target objects detected by the detection means, excluding the registered target object identified by the identification means; a similarity acquisition means for acquiring a similar object similar to the registered target object based on the feature information from among the other target objects acquired by the other target acquisition means; 13. An image processing device comprising:
2. The image processing device according to claim 1, characterized in that the similar acquisition means determines the similar object from among the other target objects based on the results of comparing the characteristic information of the other target objects acquired by the other target acquisition means with the characteristic information of the registered target object.
3. a storage means for storing the characteristic information of the similar object in association with the characteristic information of the registered target object; a verification means for verifying whether or not any of the target objects detected by the detection means from the new captured image is the registered target object based on a comparison result between feature information extracted by the extraction means from the target object detected by the detection means from the new captured image and feature information of the registered target object and the similar object stored in the storage means; 2. The image processing apparatus according to claim 1, further comprising:
4. The verification means includes: performing a first comparison in which feature information extracted by the extraction means from the target object detected by the detection means in the new captured image is compared with feature information of the registered target object; When a result of the first comparison is within a predetermined threshold range, a second comparison is performed to compare the feature information of the similar object stored in the storage means with the feature information extracted by the extraction means from the target object detected by the detection means from the new photographed image; 4. The image processing device according to claim 3, further comprising: a processor for processing the image based on the result of the first comparison and the result of the second comparison; and a processor for processing the image based on the result of the first comparison and the result of the second comparison.
5. The image processing device according to claim 4, characterized in that, when the value of the result of the first comparison is greater than the value of the result of the second comparison, the verification means verifies that the target object compared with the characteristic information of the registered target object in the first comparison is the registered target object.
6. The image processing device according to claim 1, characterized in that the identification means identifies the detected target object as the registered target object when a comparison result between the feature information extracted by the extraction means from the target object detected by the detection means and the feature information of the registered target object exceeds a predetermined threshold.
7. The identification means identifies at least a position of the registered target object; The image processing device according to claim 1, characterized in that the other target acquisition means acquires, as the other target object, a target object at a position excluding the position of a registered target object identified by the identification means, among the target objects detected by the detection means.
8. An input means for acquiring an instruction from a user, 2 . The image processing apparatus according to claim 1 , wherein the specifying means specifies the registered target object from among the target objects detected by the detecting means, based on an instruction from the user via the input means.
9. a display means for displaying a display for enabling a user to confirm whether or not the detected target object is the registered target object when a comparison result between the feature information extracted by the extraction means from the target object detected by the detection means and the feature information of the registered target object is within a predetermined range; The image processing device according to claim 8, characterized in that the identification means identifies the detected target object as the registered target object when a user inputs an instruction to the display that the detected target object is the registered target object.
10. An input means for acquiring an instruction from a user, The identification means identifies at least a position of the registered target object based on an instruction from the user via the input means; The image processing device according to claim 1, characterized in that the other target acquisition means acquires, as the other target object, a target object at a position excluding the position of a registered target object identified by the identification means, among the target objects detected by the detection means.
11. The image processing device according to claim 10, characterized in that when the position of the registered target object identified by instructions from the user via the input means is outside the range of the captured image, the other target acquisition means acquires all target objects detected by the detection means as the other target objects.
12. The detection means detects the target object from a plurality of captured images that are consecutive in time, The image processing device according to claim 1, characterized in that the other target acquisition means acquires, for each captured image, other target objects from among the target objects detected by the detection means, excluding registered target objects identified by the identification means.
13. 13. The image processing apparatus according to claim 12, wherein the detection means detects the target object from a portion of the plurality of photographed images that are successive in time.
14. The detection means detects the target object from a plurality of captured images that are consecutive in time, 4. The image processing apparatus according to claim 3, further comprising a tracking unit that tracks a target object verified by the verifying unit as being a registered target object in the plurality of temporally consecutive captured images.
15. The detection means detects the target object from a plurality of captured images that are consecutive in time, a tracking means for tracking the registered target object identified by the identification means in the plurality of temporally consecutive photographed images; The image processing device according to claim 1 , wherein the other target acquisition means acquires other target objects, excluding a registered target object being tracked by the tracking means, from each of the temporally consecutive captured images.
16. 4. The image processing device according to claim 3, wherein the verification means, if the registered target object cannot be verified, continues verifying the target object detected by the detection means until the next new captured image is input.
17. An input means for acquiring an instruction from a user, 2 . The image processing apparatus according to claim 1 , wherein the specifying unit specifies an object that has been designated as a photographing target by an instruction from the user via the input unit as the registered target object.
18. 4. The image processing apparatus according to claim 3, wherein the storage means holds only the feature information of a predetermined number of similar objects among the plurality of similar objects acquired by the similarity acquisition means.
19. 4. The image processing apparatus according to claim 3, wherein the storage means averages the feature information of the plurality of similar objects acquired by the similarity acquisition means for each element and stores the averaged information.
20. 4. The image processing apparatus according to claim 3, further comprising a control unit that brings the object verified by the verification unit as being the registered object into focus.
21. 2. The image processing device according to claim 1, which is included in an imaging device.
22. 22. The image processing apparatus according to claim 1, wherein the target object is a human face.
23. A detection step of detecting a target object from the captured image; an extraction step of extracting feature information from the target object detected in the detection step; an identification step of identifying a registered target object from the captured image; a target object acquiring step of acquiring other target objects from among the target objects detected in the detection step, excluding the registered target object identified in the identification step; a similarity acquisition step of acquiring a similar object similar to the registered target object based on the feature information from among the other target objects acquired in the other target acquisition step; 13. An image processing method comprising:
24. Computer, A detection means for detecting a target object from a captured image; an extraction means for extracting feature information from the target object detected by the detection means; An identification means for identifying a registered target object from the captured image; other object acquisition means for acquiring other target objects from among the target objects detected by the detection means, excluding the registered target object identified by the identification means; a similarity acquisition means for acquiring a similar object similar to the registered target object based on the feature information from among the other target objects acquired by the other target acquisition means; A program that causes the image processing device to function as an image processing device having the above-mentioned configuration.
Citation Information
Patent Citations
Autofocus system
JP2010085530A
