Image processing apparatus and image processing method
The system addresses erroneous face recognition by using a learning model to compare facial features and adapt through online learning, enhancing accuracy in dynamic environments and reducing false positives.
Patent Information
- Application Number
- JP2023050387
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing face recognition systems face challenges in accurately distinguishing between similar individuals due to variations in facial expressions and orientations, leading to erroneous authentication, particularly in dynamic environments like professional sports, and require cumbersome pre-registration of similar individuals.
A system utilizing a learning model to determine whether an input image contains a registered person by comparing facial feature amounts, employing online learning to refine identification through DNNs, and incorporating tracking methods to improve accuracy in challenging conditions.
Reduces false authentication rates by enhancing the accuracy of identifying registered individuals amidst similar faces and orientations, improving performance in dynamic scenes and reducing the burden of pre-registration.
Smart Images

Figure 2024139443000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to learning techniques. [Background technology]
[0002] There is an image recognition technology (hereinafter referred to as face recognition) that uses a deep neural network (hereinafter referred to as DNN) to determine whether two facial images to be compared are of the same person. Face recognition technology is often used for security purposes, but in recent years it has also been used to control focusing in digital cameras, and is called a focus support function. There is a need for this technology in particular in scenes where it is difficult to focus on a target subject, such as professional sports and athletic meets. However, in such scenes, people in the scene are often similar in race, sex, age, etc. On the other hand, there is a problem that false recognition is likely to occur due to large variations in facial expressions and facial directions. In the invention disclosed in Patent Document 1, not only the person to be focused on, but also people similar to that person are registered in advance, and false recognition is prevented by performing two-stage authentication. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2008-257329 A [Patent Document 2] Patent Publication No. 2021-121952 [Non-patent literature]
[0004] [Non-Patent Document 1] Deng, et. Al., ArcFace: Additive Angular Margin Loss for Deep Face Recognition. In CVPR, 2019 [Non-Patent Document 2] Deng , et. Al., RetinaFace: Single-stage Dense Face Localization in the Wild. In CVPR, 2020 [Non-Patent Document 3] Zhu, et. Al., Distractor-aware Siamese Networks for Visual Object Tracking. In ECCV, 2018 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the pre-registration of similar people as in the invention disclosed in Patent Document 1 places a heavy burden on the user. In addition, in a method such as the invention disclosed in Patent Document 1, if the facial orientation or expression of a target person happens to match an image of a similar person, the user must determine whether the target person is really a different person. This invention provides a technology for reducing erroneous person recognition. [Means for solving the problem]
[0006] One aspect of the present invention is characterized in that it comprises a judgment means for judging whether a person included in an input image is a registered person or a person other than a registered person based on features of the person included in the input image and features of a registered person who has been registered in advance, a judgment means for judging the person included in the input image using a learning model based on the features of the person judged to be the registered person and the features of the person judged to be the other person, or based on the features of the person judged to be the other person, and a learning means for learning the learning model based on the result of the judgment by the judgment means and the result of the judgment by the judgment means. Effect of the Invention
[0007] According to the configuration of the present invention, it is possible to provide a technique for reducing erroneous person authentication. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of the appearance of an imaging apparatus. [Diagram 2] FIG. 1 is a block diagram showing an example of the hardware configuration of an imaging device 100. [Diagram 3] FIG. 2 is a block diagram showing an example of the functional arrangement of an image processing unit 212. [Figure 4] 4 is a flowchart showing the operation of the image processing unit 212. [Diagram 5] 10 is a flowchart showing details of the process in step S410. [Figure 6] FIG. 13 is a diagram showing an example of differential extraction of feature amounts. [Figure 7] FIG. 2 is a block diagram showing an example of the functional arrangement of an image processing unit 212. [Figure 8] 13 is a flowchart of an inference process performed by the image processing unit 212. [Figure 9] FIG. 2 is a block diagram showing an example of the functional arrangement of an image processing unit 212. [Figure 10] FIG. 2 is a block diagram showing an example of the functional arrangement of an image processing unit 212. [Figure 11] 4 is a flowchart showing the operation of the image processing unit 212. [Figure 12] FIG. 2 is a block diagram showing an example of the functional arrangement of an image processing unit 212. [Figure 13] 4 is a flowchart showing the operation of the image processing unit 212. [Figure 14] FIG. 4 is a diagram showing an example of a face image. [Figure 15] FIG. 11 is a diagram for explaining a second embodiment. [Figure 16] FIG. 13 is a diagram showing an example of a case in which the third embodiment is effective. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0010] [First embodiment] An example of the appearance of an imaging device as an image processing device according to this embodiment will be described with reference to Fig. 1. Fig. 1(a) shows an example of the appearance of the imaging device 100 from the lens side, and Fig. 1(b) shows an example of the appearance of the imaging device 100 from the display surface.
[0011] When a user presses the shooting button 102, a sensor (image pickup element) in the image pickup unit 101 receives light information from a subject through an optical system in the image pickup unit 101, and an image signal from the sensor is converted into a captured image (digital data) by A / D conversion or the like. The captured image can be displayed on the display unit 103. The display unit 103 can display predetermined related information superimposed on the captured image, or can display text information such as a menu. The cross key 104 can be used to switch the contents displayed on the display unit 103 by the user's input of up, down, left, right, or to instruct selection. Note that the appearance of the image pickup device 100 (positions, types, and numbers of buttons, display unit, image pickup unit, etc.) is not limited to the example of the appearance shown in FIG. 1, and the image pickup device 100 may further include, for example, an infrared sensor, a mode dial, etc. Next, a hardware configuration example of the image pickup device 100 will be described with reference to the block diagram of FIG. 2.
[0012] The imaging unit 101 includes an optical system, a sensor, an A / D converter, etc. The sensor outputs an image signal (analog signal) corresponding to external light incident via the optical system, and the A / D converter converts the image signal (analog signal) into an image signal (digital signal), and outputs the image signal (digital signal) as a captured image.
[0013] The CPU 201 executes various processes using computer programs and data stored in the RAM 202. In this way, the CPU 201 controls the overall operation of the imaging device 100, and executes or controls various processes that will be described as processes performed by the imaging device 100.
[0014] The RAM 202 has an area for storing computer programs and data loaded from the ROM 203, and an area for storing captured images output from the imaging device 100. The RAM 202 also has a work area used when the CPU 201 and the image processing unit 212 execute various processes. In this way, the RAM 202 can provide various areas as needed.
[0015] The ROM 203 stores setting data for the imaging apparatus 100, computer programs and data related to the basic operation of the imaging apparatus 100, computer programs and data related to the startup of the imaging apparatus 100, and the like.
[0016] The operation unit 205 is a user interface including the above-mentioned shooting button 102 and cross key 104 , and the user can input various instructions to the CPU 201 by operating it.
[0017] A display control unit 206 controls the display of the display unit 103. The display unit 103 has a liquid crystal screen and can display the results of processing by the CPU 201 as images, characters, etc. The display unit 103 may have a touch panel screen.
[0018] The imaging unit control unit 207 controls the operation of the imaging unit 101. For example, the imaging unit control unit 207 controls the imaging unit 101, such as adjusting the focus, opening and closing the shutter, and adjusting the aperture, in accordance with instructions from the CPU 201.
[0019] The signal processing unit 208 performs various types of image processing such as white balance processing, gamma processing, and noise reduction processing on the captured image output from the imaging unit 101. The echo converter unit 209 performs processing to convert the captured image output from the imaging unit 101 into data in a file format such as JPEG or MPEG, that is, into a compressed image.
[0020] The memory control unit 210 is a connection interface for mounting various media (hard disk, memory card, CF card, SD card, USB memory) that are detachably mounted in the imaging device 100 to the imaging device 100.
[0021] The communication control unit 211 performs data communication with an external device (for example, a PC (personal computer), a smartphone, a tablet terminal device) by communication such as wireless LAN or short-distance wireless communication. If the external device can provide an input / output function for the user, it may be used as an input source for the operation unit 205 or an output destination from the display control unit 206.
[0022] The image processing unit 212 acquires, as input images, the captured image output from the imaging unit 101, the captured image that has been image-processed output from the signal processing unit 208, an image read from a medium via the memory control unit 210, and an image received from an external device via the communication control unit 211. The image processing unit 212 performs authentication processing of a face included in the input image and various processes for performing the authentication processing. The image processing unit 212 may be configured with image processing hardware such as a GPU.
[0023] The imaging unit 101, CPU 201, RAM 202, ROM 203, operation unit 205, display control unit 206, imaging unit control unit 207, signal processing unit 208, encoder unit 209, memory control unit 210, communication control unit 211, and image processing unit 212 are connected to a system bus 204.
[0024] Next, a functional configuration example of the image processing unit 212 is shown in the block diagram of Fig. 3. In each of the following embodiments, each functional unit shown in the block diagram will be described as being configured with hardware, but one or more of the functional units shown in the block diagram may be implemented by a computer program (software).
[0025] The operation of the image processing unit 212 will be described with reference to the flowchart in Fig. 4. In this embodiment, when a person whose facial feature amount matches with a high degree of reliability with that of a registered person is present in the input image, the person is identified as the registered person, and online learning is performed using data of the person identified as the registered person and other people (other people). In online learning, learning is performed as a classifier dedicated to a specific person that identifies whether or not an input face is the face of a specific person. A detailed description will be given below.
[0026] In step S401, the image acquisition unit 301 acquires the above-mentioned input image. In step S402, the facial feature extraction unit 304 included in the person estimation unit 303 acquires an image of a person (registered person) registered in advance from the internal storage 310, and acquires facial features (facial feature amounts) of the registered person from the image. Note that the facial feature amounts of the registered person may be registered in advance in the internal storage 310, and in step S402, the facial feature extraction unit 304 may acquire the registered facial feature amounts.
[0027] The facial feature extraction unit 304 extracts facial features from an image using, for example, a convolutional neural network known in Non-Patent Document 1 or a DNN known as a Transformer network known in Patent Document 2. The parameters of the facial feature extraction unit 304 are various parameters such as the number of neuron layers, the number of neurons, and connection weights. In this embodiment, the facial feature extraction unit 304 extracts facial features from an image using a learning model trained by a representative vector method known in Non-Patent Document 1. The representative vector method is a learning method for face recognition that sets a feature vector representing each person and uses this in combination to increase learning efficiency. Please refer to Non-Patent Document 1 for details.
[0028] Next, in step S403, the face detection unit 302 detects a person's face from the input image acquired in step S401, and estimates the position and size of the face area. The face detection unit 302 estimates the position and size of the person's face area from the input image, for example, by using a DNN known from Non-Patent Document 2. Then, the face detection unit 302 extracts an image included in the area of the estimated position and size as a face image.
[0029] In step S404, the facial feature extraction unit 304 acquires facial features (facial feature amounts) of the person included in the facial image acquired in step S403 by the same method as in step S402. Note that the facial feature amounts may be acquired by using different methods in steps S402 and S404.
[0030] In step S405, the person estimation unit 303 obtains a similarity score representing the similarity between the facial feature amount acquired in step S402 and the facial feature amount acquired in step S404. Note that various indices are known for measuring the similarity between facial feature amounts, and any indices may be applied, but in this embodiment, the angle between feature amount vectors representing the facial feature amounts is obtained as the similarity score between the facial feature amounts. That is, in this embodiment, the similarity score between the facial feature amounts is obtained according to the following formula.
[0031] Similarity score (f1, f2) = cos(θ12) =<f1,f2> / (|f1|·|f2|) Here, the similarity score (f1, f2) is a similarity score representing the similarity between a feature vector f1 representing one facial feature and a feature vector f2 representing the other facial feature. θ12 is the angle between the feature vector f1 and the feature vector f2.<f1,f2> represents the inner product of the feature vector f1 and the feature vector f2, |f1| represents the magnitude of the feature vector f1, and |f2| represents the magnitude of the feature vector f2.
[0032] Next, in step S406, the person estimation unit 303 judges whether or not the person included in the face image acquired in step S403 is the same person as the registered person (the registered person is the same person) based on the similarity score obtained in step S405. For example, as shown in Fig. 14, the person estimation unit 303 judges whether the person in face image 1401, the person in face image 1402a, the person in face image 1402b, and the person in face image 1402c are the same person as the registered person based on the similarity score between the facial feature amount of the person in face image 1401, the facial feature amount of the person in face image 1402a, the facial feature amount of the person in face image 1402b, and the facial feature amount of the person in face image 1402c and the facial feature amount of the registered person.
[0033] In this embodiment, the person estimation unit 303 judges that a person corresponding to a facial feature having a similarity score with the facial feature of the registered person equal to or greater than a threshold a1 is the same person as the registered person (the registered person himself / herself). Here, a threshold a1 higher than a threshold a0 (matching threshold) used for matching during focusing is used as the threshold a1 so that the reliability of the registered person being the registered person is sufficiently high. For example, in a general face recognition system, there is a method of determining the matching threshold a0 based on the rate at which a different person is erroneously recognized as the person himself / herself (False Acceptance Rate: FAR). When the matching threshold a0 is set so that the false recognition rate of the system is FAR=10-6, the threshold a1 is set to a stricter level such as FAR=10-7.
[0034] If there is a face image with facial features whose similarity score with the facial features of the registered person is equal to or greater than the threshold value a1, the process proceeds to step S407; if there is no face image with facial features whose similarity score with the facial features of the registered person is equal to or greater than the threshold value a1, the process proceeds to step S408.
[0035] In step S407, the person estimation unit 303 determines, among the face images acquired in step S403, face images corresponding to face features whose similarity score with the face feature of the registered person is equal to or greater than the threshold a1 as face images of the registered person, and determines face images corresponding to face features whose similarity score with the face feature of the registered person is less than the threshold a1 as face images of other people other than the registered person. For example, in the case of Fig. 14, when it is determined that the person in face image 1401 is the same person as the registered person, it determines the person in face image 1402a, the person in face image 1402b, and the person in face image 1402c as other people other than the registered person.
[0036] In step S408, the person estimation unit 303 judges whether or not the person included in the face image acquired in step S403 is a person other than the registered person, based on the similarity score calculated in step S405. In this embodiment, the person estimation unit 303 judges a person corresponding to a facial feature having a similarity score with respect to the facial feature of the registered person that is less than a threshold value a2 as not being the same person as the registered person (i.e., a person other than the registered person).
[0037] Here, in order to increase the accuracy of identifying a different person, the threshold value a2 is set in advance to a value lower than the threshold value a0 used in matching during focusing, so as to determine whether the possibility that the person is a different person is high enough. From the above, the threshold values a0, a1, and a2 have the following relationship.
[0038] a2 <a0<a1 If the result of this determination is that there is a facial feature (target facial feature) whose similarity score with the facial feature of the registered person is less than the threshold a2, the process proceeds to step S409 to process the target facial feature. On the other hand, if there is no facial feature whose similarity score with the facial feature of the registered person is less than the threshold a2, the process according to the flowchart in FIG. 4 ends.
[0039] Since face images corresponding to face features whose similarity scores to the face features of registered persons are equal to or greater than the threshold a2 and less than the threshold a1 are images in which it is difficult to determine whether they are the registered person himself or someone other than the registered person, in this embodiment, such face images are not used for online learning, which can improve the quality of the correct answer data in the learning data.
[0040] In step S409, the extraction unit 306 included in the identification unit 305 obtains (extracts) the difference between the facial feature amount of the registered person and the facial feature amount acquired in step S404. If the process proceeds to step S409 via step S407, the extraction unit 306 obtains, in step S409, the difference between the facial feature amount of the registered person and the facial feature amount of a person determined to be the same person as the registered person, and the difference between the facial feature amount of the registered person and the facial feature amount of a person determined to be a person other than the registered person. On the other hand, if the process proceeds to step S409 via step S408, the extraction unit 306 obtains, in step S409, the difference between the facial feature amount of the registered person and the facial feature amount of a person determined to be a person other than the registered person. An example of feature amount difference extraction will be described with reference to FIG. 6.
[0041] Vector 602a is a vector representing the facial features of a facial image in a current frame of a person who has been determined to be the same person as a registered person, and vector 602b is a vector representing the facial features of a facial image in a past frame of a person who has been determined to be the same person as a registered person.
[0042] Vector 603a is a vector representing the facial features of a facial image in a current frame of a person who has been determined to be a person other than a registered person, and vector 603b is a vector representing the facial features of a facial image in a past frame of a person who has been determined to be a person other than a registered person.
[0043] Vector 601 is a vector that represents the facial feature amount of a registered person. Therefore, in this case, the extraction unit 306 calculates a difference 604a between vector 602a and vector 601 for the current frame. Furthermore, the extraction unit 306 calculates a difference 604b between vector 602b and vector 601 for the past frame. Furthermore, the extraction unit 306 calculates a difference 605a between vector 603a and vector 601 for the current frame. Furthermore, the extraction unit 306 calculates a difference 605b between vector 603b and vector 601 for the past frame.
[0044] In step S410, the identification unit 307 included in the identification unit 305 inputs the difference obtained in step S409 into a DNN and performs arithmetic processing of the DNN to generate and output a determination result indicating whether or not the person corresponding to the difference is the registered person. The determination result is, for example, a likelihood score indicating whether the face image is the registered person's face image or a face image of another person. Note that the identification unit 307 may use a classification method (learning model) such as discriminant analysis, logistic regression, or SVM instead of the DNN, and the technology for the determination is not limited to a specific technology.
[0045] Then, based on the determination result by the classification unit 307 and the correct answer data based on the information group acquired in the processes of steps S406 to S408, a learning process is performed for the DNN used by the classification unit 307, and the parameters of the DNN are updated. Details of the process in step S410 will be described with reference to the flowchart in FIG.
[0046] In step S501, the update unit 309 judges whether to perform a learning process of the DNN (whether to update the parameters of the DNN). This judgment may be determined according to a user operation, or may be determined by the update unit 309 according to whether a predetermined condition is satisfied. For example, if there is a face image whose similarity score with the facial feature amount of a registered person is greater than a specified threshold (>a1), that is, if the face image is sufficiently identified as the registered person, the parameters of the DNN do not need to be updated.
[0047] As a result of such a judgment, if the DNN learning process is to be performed (DNN parameters are to be updated), the processing proceeds to step S502, and if the DNN learning process is not to be performed (DNN parameters are not to be updated), the processing according to the flowchart of Figure 5 is terminated.
[0048] In step S502, the classification unit 307 acquires the difference calculated in step S409. Here, the number of differences to be acquired may be one or more, and if there are more than one differences, a batch size is set according to the number of differences to be acquired and the subsequent processes are performed.
[0049] In step S503, the identification unit 307 inputs the difference acquired in step S502 into the DNN and performs a calculation of the DNN to calculate the likelihood indicating the likelihood of the person being the registered person. Here, the output of the DNN is normalized by a Sigmoid function to set the likelihood value to [0,1], and it is defined that if the person is the registered person, the likelihood value is close to 1, and if the person is a person other than the registered person, the likelihood value is close to 0.
[0050] In step S504, the error calculation unit 308 calculates the loss. More specifically, from the information group acquired in the processing of steps S406 to S408, the error calculation unit 308 generates correct answer data having a value of "1" for each difference if the person corresponding to the difference is the registered person himself / herself, and a value of "0" for a person other than the registered person. Then, the error calculation unit 308 calculates the loss based on the difference between the likelihood calculated in step S503 and the correct answer data. That is, the error calculation unit 308 calculates the difference between the result of inputting the difference obtained for the registered person himself / herself into the DNN and performing the arithmetic processing of the DNN and the value of the correct answer data indicating that the person is the registered person himself / herself as the first loss. In addition, the error calculation unit 308 calculates the difference between the result of inputting the difference obtained for a person other than the registered person into the DNN and performing the arithmetic processing of the DNN and the value of the correct answer data indicating that the person is other than the registered person as the second loss. Then, the error calculation unit 308 calculates the sum of the first loss and the second loss as the loss.
[0051] The loss function is designed so that the loss is small when the classification target is correctly estimated, and the loss value is large when the classification target is not correctly estimated. For example, the commonly known cross-entropy loss can be used.
[0052] In step S505, the update unit 309 updates the parameters (weights, etc.) of the DNN using the backpropagation method based on the loss obtained by the error calculation unit 308. Here, since the number of images to be learned online is limited, it is difficult to update many parameters from random values to enable discrimination. Therefore, for example, in this embodiment, values learned in advance are used as initial parameters. Also, the parameters to be updated are limited to only the final layer of the DNN. Also, although the backpropagation method is used here as a method for updating the parameters of the DNN, if the discrimination unit 307 uses a classification method other than DNN, an update method suitable for each method, such as a gradient method, may be used.
[0053] In step S506, the update unit 309 saves the parameters of the DNN updated in step S505 in the internal storage 310. The flow up to this point is regarded as one iteration of learning.
[0054] Finally, in step S507, the update unit 309 determines whether a learning termination condition is satisfied. Various conditions can be applied as the learning termination condition, such as "the loss value is equal to or less than a predetermined threshold", "the difference (absolute value) between the previous loss value and the current loss value is equal to or less than a threshold", "learning has been performed a predetermined number of times", etc.
[0055] If the result of such a determination is that the learning end condition is satisfied, the process according to the flowchart in Fig. 5 ends. On the other hand, if the learning end condition is not satisfied, the process proceeds to step S502.
[0056] As a result, as shown in Fig. 6, a boundary 606 for distinguishing between the registered person and other people other than the registered person is drawn, and the accuracy of the boundary is improved by learning. Furthermore, if new images are acquired by continuing shooting and data on the person / others increases, online learning may be performed again using the images. In this case, the parameters of the DNN (DNN of the identification unit 307) obtained up to that point may be used as initial values. In this way, the parameters of the online learning are updated sequentially, and it is expected that the determination of whether or not the person is the registered person during shooting will gradually become generalized and stable.
[0057] Next, a functional configuration example of the image processing unit 212 for inferring whether or not a person in an image is a registered person using a DNN based on parameters obtained by the above learning process is shown in the block diagram of Fig. 7. Such inference processing by the image processing unit 212 will be described with reference to the flowchart of Fig. 8.
[0058] In step S801, the image acquisition unit 301 acquires the above-mentioned input image. In step S802, the facial feature extraction unit 304 acquires an image of a registered person from the internal storage 310, and acquires facial feature amounts from the image.
[0059] In step S803, the face detection unit 302 acquires a face image of a person from the input image acquired in step S801. In step S804, the face feature extraction unit 304 acquires a face feature amount from the face image acquired in step S803.
[0060] In step S805, the extraction unit 702 included in the classification unit 701 obtains (extracts) the difference between the facial feature amount acquired in step S802 and the facial feature amount acquired in step S804.
[0061] In step S806, the identification unit 703 of the identification unit 701 inputs the difference obtained in step S805 into the trained DNN according to the flowchart of FIG. 4 and performs arithmetic processing of the DNN to obtain the output of the DNN (likelihood indicating the likelihood of being the registered person). The likelihood is [0, 1], and is close to 1 if the person is the registered person, and close to 0 if the person is someone other than the registered person. If the likelihood is equal to or greater than a threshold, the identification unit 703 determines that the person is the registered person, and if the likelihood is less than the threshold, that the person is someone other than the registered person. Here, the threshold may be set, for example, from the FAR or may be set manually. The identification unit 703 then outputs the result of this determination. Various modified examples are possible for the method and form of outputting the result of the determination.
[0062] <Advantages of the First Embodiment> In normal face recognition, erroneous recognition is likely to occur especially in face images of people of similar race, sex, and age. One of the reasons for this is that the identification of the person and others is determined only by a scalar value called similarity. However, in this embodiment, the difference between the facial feature amount of an image identified as the person and the facial feature amount of an image identified as another person and the registered person feature amount is learned online. As a result, the feature amount with the registered person feature amount as the origin is learned so that it can be identified whether the person is the person or not, so that the identification performance of people similar to the registered person is improved and erroneous recognition can be reduced online. Below, several modified examples of the first embodiment will be described, but unless otherwise mentioned, they are the same as the first embodiment.
[0063] <Modification 1 of the First Embodiment> In the first embodiment, identification of whether or not a person is the registered person is performed by the identification unit 703. However, in the early stages of shooting when online learning has not progressed, the identification performance is low and there is a possibility that identification will fail.
[0064] Therefore, in this modified example, in the initial identification of the photographing, the person estimation unit 303 may use the DNN used in the learning process to identify whether or not the person is the registered person. Then, when the photographing progresses and the learning of the DNN used by the identification unit 307 is sufficiently performed, the identification unit 703 may identify only the face of the person whose similarity score is equal to or greater than the threshold a2 and less than the threshold a1 in the person estimation unit 303. The face of the person whose similarity is less than the threshold a2 or equal to or greater than the threshold a1 in the person estimation unit 303 is learned in the identification unit 703 as correct answer data. Therefore, it is not necessary to identify it in the identification unit 703. As a result, even if the similarity output by the person estimation unit 303 is near the threshold a0, it is possible to reduce errors in identifying whether or not the person is the registered person.
[0065] <Modification 2 of the First Embodiment> The facial feature of a registered person may be one or more. In general, when calculating the similarity of the facial feature between two images, even if the images are of the same person, if the facial orientation or facial expression of the person in those images is significantly different, the similarity score of the facial feature between the images will be low. Conversely, if the facial orientation or facial expression is similar, the similarity score will be high. Therefore, images of the face of a registered person with a plurality of (different) facial orientations and facial expressions are stored in advance. Then, the person estimation unit 303 calculates the similarity score between each facial feature and the facial feature calculated from the facial image, and adopts the highest similarity score. Then, the discrimination unit 307 learns online the difference between the facial feature of the registered person corresponding to the adopted similarity score and the facial feature calculated from the facial image.
[0066] This makes it easier for the person estimation unit 303 to identify the registered person, and increases the number of examples available for online learning. In addition, by adopting a high similarity for people other than the registered person, differences such as differences in facial direction and facial expression are not extracted, and it is believed that essential differences between the faces of the registered person and the person at the time of shooting are extracted. This improves the recognition performance of the recognition unit 307.
[0067] <Modification 3 of the First Embodiment> In the first embodiment, all other-person cases identified by the person estimation unit 303 are used for learning. Since this method uniformly handles all cases for learning without considering the difficulty of classification, there is a high possibility that difficult cases that occur infrequently will not be successfully classified even if they are learned online.
[0068] Therefore, in this modification, learning that emphasizes difficult cases is performed in the classification unit 307. Specifically, in order to exclude from the learning targets easy cases in which a person can be identified as a registered person or a person other than a registered person, thresholds a2' and a1' that satisfy the following formula are set.
[0069] a2' <a2<a0<a1<a1’ Then, in step S406, if the similarity score is equal to or greater than the threshold a1 and less than the threshold a1', the person estimation unit 303 identifies it as a difficult case of the real person, and uses it for learning of the identification unit 307 as in the first embodiment (the difference calculated for the registered person is used for learning). On the other hand, if the similarity score is equal to or greater than the threshold a1', it is an easy case of the real person, and therefore is not used for learning of the identification unit 307 (the difference calculated for the registered person is not used for learning).
[0070] Furthermore, in step S408, if the similarity score is equal to or greater than the threshold a2' and less than the threshold a2, the person estimation unit 303 identifies it as a difficult other person case, and uses it for learning of the identification unit 307 as in the first embodiment (the difference obtained for other people other than the registered person is used for learning). On the other hand, if the similarity score is less than the threshold a2', it is an easy other person case, and is not used for learning of the identification unit 307 (the difference obtained for other people other than the registered person is not used for learning). As a result, the face recognition online person identification unit 307 is trained only on difficult cases, and is therefore strong against difficult cases in identification.
[0071] <Fourth Modification of the First Embodiment> In the first embodiment, the facial feature amount of the image identified as the person / other person is learned online as the difference between the facial feature amount of the registered person. However, online learning may be performed without using the difference. For example, the facial feature amount of the image identified as the person / other person may be directly input to the DNN of the identification unit 307, and learning may be performed to distinguish between the person and other people. In particular, when the image of the registered person does not change dynamically, that is, when the facial feature amount of the registered person remains constant during the shooting period, online learning can be expected to function even in such a form that does not use the difference in the facial feature amount.
[0072] An example of the functional configuration of the image processing unit 212 according to this modified example is shown in the block diagram of Fig. 9. In Fig. 9, the same reference numbers are used for the functional units similar to those shown in Fig. 3, and the description of these functional units will be omitted. The person estimation unit 903 has a facial feature extraction unit 304 and a classification unit 905. The facial feature extraction unit 304 and the classification unit 905 use a common DNN. In this modified example, only the classification unit 905 learns online and identifies whether or not the person is the person himself / herself. The processing procedure will be described below.
[0073] The image processing unit 212 according to this modification omits the process of step S409 in the process according to the flowchart of Fig. 4. Then, in step S410, the identification unit 905 inputs the facial feature amount to the DNN and performs arithmetic processing of the DNN to generate and output a determination result indicating whether or not the person corresponding to the facial feature amount is the registered person. The facial feature amount is the facial feature amount of the person determined to be the registered person and the facial feature amount of another person other than the registered person, or the facial feature amount of another person other than the registered person. In addition, the determination result is, for example, a likelihood score indicating whether the face image is the facial image of the registered person or the facial image of another person.
[0074] In step S410, the process according to the flowchart in Fig. 5 is performed with the following modifications: In step S502, the identification unit 905 acquires facial feature amounts (facial feature amounts of a person determined to be a registered person and facial feature amounts of a person other than the registered person, or facial feature amounts of a person other than the registered person).
[0075] In step S503, the identification unit 905 inputs the facial feature amount acquired in step S502 into the DNN and performs calculations on the DNN to calculate the likelihood that the person is the registered person.
[0076] In step S504, the error calculation unit 308 generates correct answer data for each facial feature from the group of information acquired in the processing of steps S406 to S408, the correct answer data having a value of "1" if the person corresponding to the facial feature is a registered person, and a value of "0" if the person is a person other than the registered person.
[0077] Here, the identification unit 905 uses pre-trained values as initial parameters, similar to the above-mentioned identification unit 307. Furthermore, only the parameters of the final layer of the DNN are updated. Furthermore, the parameters of the facial feature extraction unit 304 may also be updated. If the parameters of the facial feature extraction unit 304 that have been trained in advance are updated, the resolution for distinguishing between people other than the registered person will decrease, but the similarity resolution for determining whether or not the person is the registered person can be further improved.
[0078] In this way, according to this modification, it is possible to improve the person identification performance with simple processing and reduce online authentication errors. Also, by updating more parameters, such as updating the parameters of the face feature extraction unit 304, it is possible to further improve the performance of identifying whether or not a person is the registered person.
[0079] In this way, we have explained that the process of identifying oneself / others and the subsequent online learning and identification process can take various derived forms and are not limited to any specific form.
[0080] [Second embodiment] In the first embodiment, only images that are identified as the same person or another person with a high degree of accuracy by face recognition are learned. However, as shown in FIG. 15, for example, in FIG. 15(a), the face is facing almost forward, so it is possible to identify the same person or another person by face recognition, but in FIG. 15(b), the face is facing almost sideways, so it is difficult to identify the same person or another person by face recognition. In such a case, it is effective to identify the same person or another person by tracking rather than by face recognition. A specific example will be described below. Unless otherwise stated below, it is assumed to be the same as the first embodiment.
[0081] An example of the functional configuration of the image processing unit 212 according to this embodiment is shown in the block diagram of Fig. 10. Moreover, the operation of the image processing unit 212 according to this embodiment will be described with reference to the flowchart of Fig. 11.
[0082] In step S1101, the image acquisition unit 1001 acquires the above-mentioned input image. In step S1102, the tracking processing unit 1004 included in the person estimation unit 1003 acquires an image of a person (registered person) registered in advance as a template from the internal storage 310, and acquires a feature amount (template feature amount) for tracking the registered person from the image.
[0083] Here, the tracking processing unit 1004 uses the Siam method to perform processing for tracking a specific target object in a search image based on a template image. The Siam method is a method for extracting feature amounts of the template image and the search image, and detecting a tracking target object by performing correlation calculation on the extracted feature amounts.
[0084] Next, in step S1103, the tracking processing unit 1004 detects a person to be tracked from the input image acquired in step S1001, and acquires an image contained in an image area including the area of the person to be tracked and its surrounding area as a cut-out image.
[0085] In step S1104, the tracking processing unit 1004 acquires the feature amount (tracking target feature amount) of the tracking target person included in the cut-out image acquired in step S1103 from the cut-out image by the same method as in step S1102. Note that the feature amount may be acquired by using different methods in steps S1102 and S1104.
[0086] In step S1105, the tracking processing unit 1004 obtains the likelihood of a person corresponding to the tracking target feature (the certainty of the tracking target person) from the template feature obtained in step S1102 and the tracking target feature obtained in step S1104. For example, the tracking processing unit 1004 uses a DNN to perform a correlation calculation between the template feature obtained in step S1102 and the tracking target feature obtained in step S1104 to obtain a correlation value, and obtains a value within the range of [0, 1] by normalizing the correlation value as the likelihood.
[0087] In step S1106, the person estimation unit 1003 determines whether the person included in the clipped image acquired in step S1103 is the same person as the registered person, based on the likelihood calculated in step S1105. For example, as shown in Fig. 15(a), if a person 1501 is a registered person, the position of the person when the person moves to the position shown in Fig. 15(b) is specified.
[0088] In this embodiment, the person estimation unit 1003 judges that a person corresponding to a likelihood equal to or greater than a threshold b1 is the same person as the registered person (the registered person himself / herself). Here, in order to increase the accuracy of identifying the person, the threshold b1 is set in advance to a threshold higher than the threshold b0 (matching threshold) used for matching during focusing, so as to determine whether the possibility that the person is the person himself / herself is sufficiently high.
[0089] If it is determined by such a determination that there is a tracking target person whose likelihood is equal to or greater than the threshold b1, the process proceeds to step S1107, and if there is no tracking target person whose likelihood is equal to or greater than the threshold b1, the process proceeds to step S1109.
[0090] In step S1107, the facial feature extraction unit 1005 acquires facial feature amounts of a tracking target person whose likelihood is equal to or greater than a threshold b1 (a tracking target person who is determined to be the same person as the registered person). For example, the facial feature extraction unit 1005 performs face detection from a cut-out image of the tracking target person whose likelihood is equal to or greater than a threshold b1 in the same manner as in the first embodiment to acquire a facial image, and acquires facial feature amounts from the facial image in the same manner as in the first embodiment.
[0091] In step S1108, the person estimation unit 1003 determines that a person other than the "person determined to be the same person as the registered person" is a person other than the registered person. The facial feature extraction unit 1005 performs face detection from a cut-out image of the tracking target person determined to be a person other than the registered person in the same manner as in the first embodiment to obtain a facial image, and obtains facial feature amounts from the facial image in the same manner as in the first embodiment. For example, in the case of FIG. 15, when a person 1501 among the people in the facial image is determined to be the same person as the registered person, a person 1502 is determined to be a person other than the registered person.
[0092] In step S1109, the person estimation unit 1003 determines whether or not the tracking target person included in the clipped image acquired in step S1103 is the same person as the registered person, based on the likelihood calculated in step S1105. In this embodiment, the person estimation unit 1003 determines that the tracking target person corresponding to the likelihood that the similarity score with the facial feature amount of the registered person is less than a threshold b2 is not the same person as the registered person (i.e., a person other than the registered person).
[0093] Here, in order to increase the accuracy of identifying a different person, the threshold value b2 is set in advance to a value lower than the threshold value b0 used in matching during focus, and used to determine whether the possibility that the person is a different person is high enough. From the above, the threshold values b0, b1, and b2 have the following relationship.
[0094] b2 <b0<b1 If the likelihood is less than the threshold b2, the process proceeds to step S1110 to process the tracking target person corresponding to the likelihood. On the other hand, if the likelihood is equal to or greater than the threshold b2 and less than the threshold b1, the process according to the flowchart in FIG. 11 ends.
[0095] The cut-out image of the tracking target person whose likelihood with respect to the feature amount of the registered person is equal to or greater than the threshold b2 and less than the threshold b1 is an image in which it is difficult to determine whether it is the registered person himself or someone other than the registered person. However, in this embodiment, such cut-out images are not used for online learning. Therefore, the quality of the correct answer data in the learning data can be improved.
[0096] In step S1110, the facial feature extraction unit 1005 acquires facial features of the registered person from the template image of the registered person in the same manner as in the first embodiment. In addition, if the process proceeds to step S1110 via step S1109, in step S1110, the facial feature extraction unit 1005 further acquires facial features from a cut-out image of the tracking target person corresponding to the likelihood that the similarity score with the facial feature amount of the registered person is less than the threshold b2 in the same manner as in the first embodiment.
[0097] Then, when the process proceeds to step S1111 via step S1108, in step S1111, the extraction unit 1007 obtains a difference between the facial feature amount of the registered person and the facial feature amount of the tracking target person determined to be the same person as the registered person, and a difference between the facial feature amount of the registered person and the facial feature amount of the tracking target person determined to be a person other than the registered person. On the other hand, when the process proceeds to step S1111 via step S1109, in step S1111, the extraction unit 1007 obtains a difference between the facial feature amount of the registered person and the facial feature amount of the tracking target person determined to be a person other than the registered person.
[0098] In step S1112, the identification unit 1008 of the identification unit 1006 inputs the difference obtained in step S1110 into the DNN and performs calculation processing of the DNN to generate and output a determination result indicating whether the tracking target person corresponding to the difference is the registered person.
[0099] Then, similarly to the first embodiment, based on the judgment result by the identification unit 1008 and the correct answer data based on the information group acquired in the processing of steps S1006 to S1009, a learning process is performed on the DNN used by the tracking processing unit 1008, and the parameters of the DNN are updated.
[0100] <Advantages of the second embodiment> In cases where the entire face is difficult to see, such as in profile, and the degree of similarity in facial recognition is not high (face recognition is difficult), it is difficult to identify the person himself or others. In this case, tracking can be used to identify the person himself or others, so images with difficult facial orientations for face recognition can also be used as learning data. This improves the performance of identity identification in difficult facial orientations and reduces false recognition.
[0101] [Third embodiment] In the first and second embodiments, a method for improving the performance of identifying a person using features in face authentication has been described. On the other hand, in the focusing of a digital camera, face authentication and tracking may be used in combination to track a main subject. In this case, even if the performance of face authentication is good, if the performance of tracking is poor, the subject cannot be tracked in a scene where face authentication is difficult. In particular, when there is a person similar to the main subject, there is a high possibility that tracking will be erroneous. In contrast, if similar people can be identified by face authentication, the tracking performance can be improved by learning the similar people. A specific example will be described below. Unless otherwise stated, the following is assumed to be the same as the first embodiment.
[0102] FIG. 16 shows an example of a case where this embodiment is effective. As shown in FIG. 16(a), it is assumed that a registered person 1602 and a person other than the registered person 1601 are included in an image, and each person is wearing a similar uniform in a sports scene. Then, it is assumed that the positional relationship between the people shown in FIG. 16(a) has changed as shown in FIG. 16(b). As shown in FIG. 16(b), the registered person 1602 is hidden by the person other than the registered person 1601, so there is a high possibility that the person other than the registered person 1601 will be determined as a registered person in tracking. However, if face recognition works, it is possible to determine that the person other than the registered person 1602 is a person other than the registered person based on the facial features of the person other than the registered person 1602. Furthermore, if the positional relationship between the people changes as shown in FIG. 16(c), there is a high possibility that the tracking will continue to be incorrect if it was incorrect in FIG. 16(b), but since the face of the registered person 1602 is visible in face recognition, it is possible to determine that the registered person 1602 is a registered person. In cases like this, where facial recognition makes it easy to identify the person / others, but tracking makes it difficult to identify the person / others, the results of facial recognition identification are used to learn tracking, improving performance.
[0103] An example of the functional configuration of the image processing unit 212 according to this embodiment is shown in the block diagram of Fig. 12. In Fig. 12, the same reference numerals are given to the same functional units as those shown in Fig. 3, and the description of these functional units will be omitted.
[0104] The operation of the image processing unit 212 according to this embodiment will be described with reference to the flowchart in Fig. 13. In Fig. 13, steps S1301 to S1306, and S1308 are similar to steps S401 to S406, and S408 in Fig. 4, respectively, and therefore descriptions of these processing steps will be omitted.
[0105] In step S1306, if there is a face image with facial features whose similarity score with the facial features of the registered person is equal to or greater than the threshold a1, the process proceeds to step S1307. On the other hand, if there is no face image with facial features whose similarity score with the facial features of the registered person is equal to or greater than the threshold a1, the process proceeds to step S1308.
[0106] In step S1307, the person estimation unit 303 determines, among the face images acquired in step S1303, face images other than the "face images of persons determined to be the same person as the registered person" as face images of other people other than the registered person.
[0107] If the process proceeds to step S1309 via step S1308, in step S1309, the tracking feature extraction unit 1204 acquires features for tracking a person contained in the face image acquired in step S1303 from the face image of a person determined to be a person other than a registered person.
[0108] If the process proceeds to step S1309 via step S1307, in step S1309, the tracking feature extraction unit 1204 acquires features for tracking the person contained in the face images acquired in step S1303 from the face images of persons determined to be other than registered persons and the face images of persons determined to be the registered persons themselves.
[0109] Furthermore, the tracking feature extraction unit 1204 acquires an image of a person (registered person) registered in advance as a template from the internal storage 310, and acquires a feature amount for tracking the registered person from the image.
[0110] Here, the feature extraction in the tracking feature extraction unit 1204 uses the Siam method, which performs processing to track a specific target object in a search image based on a template image. The Siam method is a method in which feature amounts of the template image and the search image are extracted, and the extracted feature amounts are correlated to detect the tracking target object.
[0111] Then, if the processing proceeds to step S1310 via step S1307, in step S1310, the extraction unit 1206 calculates the difference between the tracking features of the registered person and the tracking features of a person determined to be the same person as the registered person, and the difference between the tracking features of the registered person and the tracking features of a person determined to be someone other than the registered person.
[0112] On the other hand, when the process proceeds to step S1310 via step S1308, in step S1310, the extraction unit 1206 obtains the difference between the feature amount for tracking the registered person and the feature amount for tracking the person determined to be someone other than the registered person.
[0113] In step S1310, the identification unit 1207 included in the identification unit 1205 inputs the difference obtained in step S1309 into the DNN and performs the arithmetic processing of the DNN, thereby generating and outputting a determination result indicating whether the person corresponding to the difference is the registered person himself or not.
[0114] Then, similar to the first embodiment, based on the determination result by the identification unit 1207 and the correct answer data based on the information group obtained in the processes of steps S1306 to S1308, the learning process of the DNN is performed to update the parameters of the DNN.
[0115] Here, learning is performed by the <Distractor aware Siam method> known in Non-Patent Document 3. The Distractor aware Siam method is a method of finding features similar to the features of a previously registered template and learning only the difference as a Distractor. For details, refer to Non-Patent Document 3.
[0116] <Effect of the Third Embodiment> When trying to track a specific person among multiple people with similar overall features such as wearing similar clothes, there is a high possibility that the tracking will be incorrect if those people cross each other. In this case, if the face is visible, it is possible to determine whether the person is the registered person or someone else by face authentication. By using this, similar people who are difficult to track can also be learned online as Distractors, improving the tracking performance and reducing tracking errors.
[0117] [Fourth Embodiment] The imaging device described in the first to third embodiments may be applied to a digital camera or a surveillance camera. The surveillance camera can improve the performance of recognizing and tracking a person's face while proceeding with the learning of the DNN by online learning, and the image captured by such a surveillance camera and the results of the recognition and tracking of the image are transmitted to an external device that can communicate with the surveillance camera. In addition to being applied to one camera, the surveillance camera can also be applied to tracking a person with multiple cameras. In this case, for example, in two or more cameras that capture completely different areas, learning may be performed by utilizing the fact that the people captured in the image captured by the camera in which the person of interest is captured and the people captured by the other camera are all different people.
[0118] Furthermore, the various processes described in the first to third embodiments may be executed in a computer device such as a PC, a tablet terminal device, a smartphone, etc., other than an imaging device. Such a computer device acquires an input image from the imaging device or a server that holds images captured by the imaging device, and performs learning or inference based on the input image.
[0119] In addition, the numerical values, processing timing, processing order, processing subject, data (information) acquisition method / destination / source / storage location, etc. used in each of the above embodiments are given as examples to provide a concrete explanation, and are not intended to be limited to these examples.
[0120] In addition, a part or all of the embodiments described above may be used in appropriate combination. In addition, a part or all of the embodiments described above may be used selectively.
[0121] (Other embodiments) The present disclosure can also be realized by a process in which a program for implementing one or more functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that implements one or more functions.
[0122] The invention of this specification includes the following image processing device, image processing method, and computer program. (Item 1) A determination means for determining whether a person included in an input image is a registered person or a person other than a registered person based on a feature amount of the person included in the input image and a feature amount of a registered person who has been registered in advance; A determination means for determining a person included in the input image based on a feature amount of the person determined to be the registered person and a feature amount of the person determined to be the other person, or based on the feature amount of the person determined to be the other person, using a learning model; a learning means for learning the learning model based on a result of the judgment by the judging means and a result of the judgment by the determining means; An image processing device comprising: (Item 2) The determination means is The image processing device according to item 1, characterized in that a person corresponding to a facial feature having a similarity score with the facial feature of the registered person equal to or greater than a first threshold value is determined to be the registered person, and a person other than the person is determined to be the other person. (Item 3) The determination means is The image processing device according to item 1, characterized in that a person whose facial features have a similarity score with respect to the facial features of the registered person that is equal to or greater than a first threshold and less than a third threshold that is greater than the first threshold is determined to be the registered person, and a person other than the registered person is determined to be the other person. (Item 4) The determination means is 3. The image processing device according to item 2, characterized in that a person whose facial feature has a similarity score with respect to the facial feature of the registered person and is less than a second threshold value that is smaller than the first threshold value is determined to be the other person. (Item 5) The determination means is The image processing device according to item 3, characterized in that a person whose facial feature has a similarity score with respect to the facial feature of the registered person is less than a second threshold value that is smaller than the first threshold value and is equal to or greater than a fourth threshold value that is smaller than the second threshold value, is determined to be the other person. (Item 6) The determination means is Using the learning model, a person included in the input image is determined based on a difference between a facial feature amount of the person determined to be the registered person and the facial feature amount of the registered person and a difference between a facial feature amount of the person determined to be the other person and the facial feature amount of the registered person, or based on a difference between a facial feature amount of the person determined to be the other person and the facial feature amount of the registered person. 2. The image processing device according to item 1, (Item 7) The determination means is A person included in the input image is determined using a learning model based on a difference between a feature amount for tracking the person determined to be the registered person and a feature amount for tracking the registered person and a difference between a feature amount for tracking the person determined to be the other person and a feature amount for tracking the registered person, or based on a difference between a feature amount for tracking the person determined to be the other person and a feature amount for tracking the registered person. 2. The image processing device according to item 1, (Item 8) The determination means is determining whether the person included in the input image is the registered person or a person other than the registered person based on a similarity score between a facial feature amount of the person included in the input image and a plurality of facial feature amounts of the registered person; The learning is performed based on the difference between the facial feature amount of the registered person for which the highest similarity score is obtained. 2. The image processing device according to item 1, (Item 9) 9. The image processing device according to item 8, wherein the plurality of faces of the registered person have different facial poses and expressions. (Item 10) 2. The image processing device according to item 1, wherein the learning means performs the learning by using a result of the judgment as correct answer data. (Item 11) The determination means is The image processing device according to item 1, characterized in that a person whose feature quantity has a likelihood with respect to the tracking feature quantity of the registered person equal to or greater than a first threshold value is determined to be the registered person, and a person other than the person is determined to be the other person. (Item 12) The determination means is Item 12. The image processing device according to item 11, characterized in that a person corresponding to a feature amount whose likelihood with respect to the feature amount for tracking the registered person is less than a second threshold value that is smaller than the first threshold value is determined to be the other person. (Item 13) moreover, An imaging means; a means for acquiring the input image based on imaging by the imaging means; 2. The image processing device according to item 1, comprising: (Item 14) An image processing method performed by an image processing device, comprising: a determination step in which a determination means of the image processing device determines whether a person included in the input image is a registered person or a person other than a registered person based on a feature amount of the person included in the input image and a feature amount of a registered person that has been registered in advance; a determination step in which a determination means of the image processing device determines a person included in the input image based on a feature amount of the person determined to be the registered person and a feature amount of the person determined to be the other person, or based on the feature amount of the person determined to be the other person, using a learning model; a learning step in which a learning means of the image processing device learns the learning model based on a result of the judgment in the judgment step and a result of the judgment in the determination step; An image processing method comprising: (Item 15) A computer program for causing a computer to function as each of the means of the image processing device according to any one of items 1 to 12.
[0123] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0124] 101: Imaging unit 103: Display unit 201: CPU 202: RAM 203: ROM 204: System bus 205: Operation unit 206: Display control unit 207: Imaging unit control unit 208: Signal processing unit 209: Encoder unit 210: Memory control unit 211: Communication control unit 212: Image processing unit
Claims
1. A determination means for determining whether a person included in an input image is a registered person or a person other than a registered person based on a feature amount of the person included in the input image and a feature amount of a registered person who has been registered in advance; A determination means for determining a person included in the input image based on a feature amount of the person determined to be the registered person and a feature amount of the person determined to be the other person, or based on the feature amount of the person determined to be the other person, using a learning model; a learning means for learning the learning model based on a result of the judgment by the judging means and a result of the judgment by the determining means; An image processing device comprising:
2. The determination means is 2. The image processing device according to claim 1, wherein a person whose facial features have a similarity score to the facial features of the registered person that is equal to or greater than a first threshold value is determined to be the registered person, and a person other than the registered person is determined to be the other person.
3. The determination means is The image processing device according to claim 1, characterized in that a person whose facial features have a similarity score with the facial features of the registered person that is greater than a first threshold and less than a third threshold that is greater than the first threshold is determined to be the registered person, and a person other than the registered person is determined to be the other person.
4. The determination means is 3 . The image processing apparatus according to claim 2 , wherein a person whose facial feature amount has a similarity score with respect to the facial feature amount of the registered person and that is less than a second threshold value smaller than the first threshold value is determined to be the other person.
5. The determination means is The image processing device according to claim 3, characterized in that a person whose facial features correspond to a similarity score with respect to the facial features of the registered person is less than a second threshold value that is smaller than the first threshold value and is equal to or greater than a fourth threshold value that is smaller than the second threshold value is determined to be the other person.
6. The determination means is Using the learning model, a person included in the input image is determined based on a difference between a facial feature amount of the person determined to be the registered person and the facial feature amount of the registered person and a difference between a facial feature amount of the person determined to be the other person and the facial feature amount of the registered person, or based on a difference between a facial feature amount of the person determined to be the other person and the facial feature amount of the registered person.
2. The image processing device according to claim 1,
7. The determination means is A person included in the input image is determined using a learning model based on a difference between a feature amount for tracking the person determined to be the registered person and a feature amount for tracking the registered person and a difference between a feature amount for tracking the person determined to be the other person and a feature amount for tracking the registered person, or based on a difference between a feature amount for tracking the person determined to be the other person and a feature amount for tracking the registered person.
2. The image processing device according to claim 1,
8. The determination means is determining whether the person included in the input image is the registered person or a person other than the registered person based on a similarity score between a facial feature amount of the person included in the input image and a plurality of facial feature amounts of the registered person; The learning is performed based on the difference between the facial feature amount of the registered person for which the highest similarity score is obtained.
2. The image processing device according to claim 1,
9. 9. The image processing apparatus according to claim 8, wherein the plurality of faces of the registered person have different facial poses and expressions.
10. 2. The image processing apparatus according to claim 1, wherein the learning means performs the learning by using the result of the judgment as correct answer data.
11. The determination means is The image processing device according to claim 1, characterized in that a person whose feature quantity has a likelihood with respect to the tracking feature quantity of the registered person equal to or greater than a first threshold value is determined to be the registered person, and a person other than the person is determined to be the other person.
12. The determination means is The image processing device according to claim 11 , wherein a person corresponding to a feature amount whose likelihood with respect to the feature amount for tracking the registered person is less than a second threshold value that is smaller than the first threshold value is determined to be the other person.
13. moreover, An imaging means; a means for acquiring the input image based on imaging by the imaging means; The image processing device according to claim 1 , further comprising:
14. An image processing method performed by an image processing device, comprising: a determination step in which a determination means of the image processing device determines whether a person included in the input image is a registered person or a person other than a registered person based on a feature amount of the person included in the input image and a feature amount of a registered person that has been registered in advance; a determination step in which a determination means of the image processing device determines a person included in the input image based on a feature amount of the person determined to be the registered person and a feature amount of the person determined to be the other person, or based on the feature amount of the person determined to be the other person, using a learning model; a learning step in which a learning means of the image processing device learns the learning model based on a result of the judgment in the judgment step and a result of the judgment in the determination step; An image processing method comprising:
15. A computer program for causing a computer to function as each of the means of the image processing apparatus according to any one of claims 1 to 12.
Citation Information
Patent Citations
Face recognition apparatus
JP2008257329A
Attention-based sequence transduction neural network
JP2021121952A
