Information processing apparatus, information processing method, and non-transitory recording medium
The information processing apparatus uses a convolutional neural network to learn feature detection from both annotated and unannotated images, addressing inefficiencies in existing technologies by enhancing accuracy and reducing resource requirements.
Patent Information
- Application Number
- US19/148728
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2026-11-26
AI Technical Summary
Existing information processing technologies face challenges in accurately detecting feature information from images, particularly when limited annotated data is available, leading to inefficiencies and high resource requirements.
An information processing apparatus and method that utilizes both annotated and unannotated images to learn a detection mechanism, employing a convolutional neural network to detect feature information by minimizing supervised and unsupervised losses, enabling accurate detection with reduced human effort and computational load.
The approach allows for high-accuracy and efficient detection of feature information, reducing the need for extensive annotated data and improving processing efficiency compared to existing methods.
Smart Images

Figure US20260378205A1-D00000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] This disclosure relates to the technical field of information processing apparatus, information processing methods, and recording media.BACKGROUND ART
[0002] Patent Literature 1 stores information of a discriminator that outputs the likelihood of a predetermined part being the target part, determines the likelihood of the image area included in the input image being the target part based on the information of the discriminator, determines the position of the predetermined location related to the input image based on the determined likelihood of being a location, stores information about the fiducial position of the predetermined location, calculates the difference between the fiducial position and the determined position of the predetermined location based on the information about the fiducial position, and calculates the confidence level indicating the possibility that the input image is the image to be detected based on the difference information.
[0003] Patent Literature 2 describes a method for detecting a face in an input image by generating a face orientation conversion image in which the orientation of the face represented in the input image is converted to a predetermined orientation according to the assumed orientation of the face, generating a face image in which the face represented in the face orientation conversion image is inverted for each assumed orientation of the face, and converting the orientation of the face represented in the inverted face image to the assumed orientation of the face, or converting the orientation of the face depicted in the input image to a predetermined orientation corresponding to the assumed face orientation, and based on the conversion results, calculating an evaluation value representing the degree of difference between the face depicted in the inverted face image and the face depicted in the input image for each assumed face orientation, and identifying one of the assumed face orientations as the orientation of the face depicted in the input image based on the evaluation value.
[0004] Patent Literature 3 describes a technology for acquiring data related to a detection target, extracting common feature quantities common to multiple candidates for attributes possessed by the detection target from the data, detecting the feature information for each of the multiple candidates based on the common feature quantities, determining the attributes of the detection target based on the data, and outputting the feature information corresponding to the determined attributes.
[0005] Non-patent literature 1 describes a technology for learning a network that reconstructs faces using a large number of unannotated face images and an autoencoder with a sandglass-shaped network, then fixing the weights of the autoencoder and adding a network that branches off midway to learn feature detection using a small number of annotated face images.CITATION LISTPatent LiteraturePatent Literature 1: WO2013 / 122009A
[0007] Patent Literature 1: JP2018-097573A
[0008] Patent Literature 3: WO2022 / 003982ANon-Patent LiteratureNon-patent Literature 1: Bjorn Browatzki and Christian Wallraven. “3fabrec: Fast few-shot face alignment by reconstruction.” Proceedings of the IEEE / C VF Conference on Computer Vision and Pattern Recognition. 2020.SUMMARY
[0010] It is an example object of this disclosure to provide an information processing apparatus, an information processing method, and a recording medium that are intended to improve the techniques / technologies disclosed in Citation List.Solution to Problem
[0011] An information processing apparatus according to an example aspect includes: an acquisition unit that acquires an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; and a learning unit that makes a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.
[0012] An information processing method according to an example aspect includes: acquiring an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; and making a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.
[0013] A recording medium according to an example aspect is a recording medium on which a computer program that allows a computer to execute an information processing method is recorded, the information processing method including: acquiring an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; and making a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.BRIEF DESCRIPTION OF DRAWINGS
[0014] FIG. 1 is a block diagram illustrating a configuration of an information processing apparatus according to this disclosure.
[0015] FIG. 2 is a block diagram illustrating a configuration of a learning apparatus according to this disclosure.
[0016] FIG. 3 is a flowchart illustrating a flow of a learning operation of the learning apparatus according to this disclosure.
[0017] FIG. 4 is a conceptual diagram showing a learning operation of the learning apparatus according to this disclosure.
[0018] FIG. 5 is a block diagram illustrating a configuration of a detection apparatus according to this disclosure.
[0019] FIG. 6 is a flowchart illustrating a flow of a detection operation of the detection apparatus according to this disclosure.
[0020] FIG. 7 is a block diagram illustrating a configuration of a recognition apparatus according to this disclosure.
[0021] FIG. 8 is a flowchart illustrating a flow of a recognition operation of the recognition apparatus according to this disclosure.DESCRIPTION OF EXAMPLE EMBODIMENTS
[0022] The following describes embodiments of the information processing apparatus, the information processing method, and the recording medium with reference to the drawings.1: First Example Embodiment
[0023] A first embodiment of an information processing apparatus, information processing method, and recording medium is described. The first embodiment of the information processing apparatus, information processing method, and recording medium will be described below using an information processing apparatus 1 to which the first embodiment of the information processing apparatus, information processing method, and recording medium is applied.[1-1: Configuration of the Information Processing Apparatus 1]
[0024] FIG. 1 is a block diagram showing the configuration of the information processing apparatus 1 according to the first embodiment. As shown in FIG. 1, the information processing apparatus 1 includes an acquisition unit 11 and a learning unit 12. The acquisition unit 11 acquires an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information. The learning unit 12 makes a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.[1-2: Technical Effects of the Information Processing Apparatus 1]
[0025] The information processing apparatus 1 according to the first embodiment uses the image-with-correct-answer, which has the correct-answer-feature-information, and the image-without-correct-answer, which does not have the correct answer feature information, to learn the detection mechanism to detect the feature information from the input image. The information processing apparatus 1 uses the image-with-correct-answer having the correct-answer-feature-information and the image-without-correct-answer not having the correct answer feature information, which is relatively easy to prepare, thereby enabling the detection method to accurately detect the feature information with relatively ease and high accuracy.2: Second Example Embodiment
[0026] Next, a second embodiment of the information processing apparatus, information processing method, and recording medium will be described. The second embodiment of the information processing apparatus, information processing method, and recording medium will be described using a learning apparatus 2 to which the second embodiment of the information processing apparatus, information processing method, and recording medium is applied.[2-1: Configuration of the learning apparatus 2]
[0027] FIG. 2 is a block diagram showing the configuration of the learning apparatus 2 according to the second embodiment. As shown in FIG. 2, the learning apparatus 2 is provided with an arithmetic apparatus 21 and a storage apparatus 22. Furthermore, the learning apparatus 2 may include a communication apparatus 23, an input apparatus 24, and an output apparatus 25. However, the learning apparatus 2 may not include at least one of the communication apparatus 23, the input apparatus 24, and the output apparatus 25. The arithmetic apparatus 21, the storage apparatus 22, the communication apparatus 23, the input apparatus 24, and the output apparatus 25 may be connected via a data bus 26.
[0028] The arithmetic apparatus 21 may be, for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and / or an FPGA (Field Programmable Gate Array). The arithmetic apparatus 21 reads a computer program. For example, the arithmetic apparatus 21 may read a computer program stored in the storage apparatus 22. For example, the arithmetic apparatus 21 may read a computer program stored in a computer-readable and non-temporary recording medium using a recording medium reading apparatus (e.g., the input apparatus 24 described later) provided in the learning apparatus 2. The arithmetic apparatus 21 may acquire (i.e., download or read) a computer program from an apparatus not shown, which is disposed outside the learning apparatus 2, via the communication apparatus 23 (or other communication apparatus). The arithmetic apparatus 21 executes the read computer program. As a result, logical functional blocks for executing the operations to be performed by the learning apparatus 2 are realized within the arithmetic apparatus 21. In other words, the arithmetic apparatus 21 functions as a controller for realizing logical functional blocks for executing the operations (i.e., processing) to be performed by the learning apparatus 2.
[0029] FIG. 2 shows an example of logical functional blocks realized within the arithmetic apparatus 21 for executing information processing operations. As shown in FIG. 3, the arithmetic apparatus 21 includes an acquisition unit 211, which is a specific example of the “acquisition unit” described in the Supplementary Note described later, and a learning unit 212, which is a specific example of the “learning unit” described in the Supplementary Note described later. The learning unit 212 may include a loss-function calculation unit 2121 and a parameter update unit 2122. Furthermore, the arithmetic apparatus 21 includes a detection unit 213, a transformation unit 214, and an inverse transformation unit 215. However, at least one of the detection unit 213, the transformation unit 214, and the inverse transformation unit 215 may not be implemented within the arithmetic apparatus 21. The details of the operation of each of the acquisition unit 211, the learning unit 212, the detection unit 213, the transformation unit 214, and the inverse transformation unit 215 will be explained later with reference to FIG. 3 and FIG. 4.
[0030] The storage apparatus 22 is capable of storing desired data. For example, the storage apparatus 22 may temporarily store the computer program executed by the arithmetic apparatus 21. The storage apparatus 22 may temporarily store data temporarily used by the arithmetic apparatus 21 in case the arithmetic apparatus 21 is executing a computer program. The storage apparatus 22 may store data that the learning apparatus 2 stores long-term. Note that the storage apparatus 22 may include at least one of RAM (Random Access Memory), ROM (Read-Only Memory), a hard disk apparatus, an optical magnetic disk apparatus, an SSD (Solid State Drive), and a disk array apparatus. In other words, the storage apparatus 22 may include a non-temporary recording medium. The storage apparatus 22 may include a learning data storage unit 221 and a parameter storage unit 222.
[0031] The learning data storage unit 221 may store the image-with-correct-answer and the image-without-correct-answer as learning data. The image-with-correct-answer has the correct-answer-feature-information as the correct answer. The image-with-correct-answer may be an image-with-annotation with the correct-answer-feature-information annotated. The image-without-correct-answer does not have the correct answer feature information. The image-without-correct-answer may be an image-without-annotation that is not annotated with the correct answer feature information.
[0032] The learning data storage unit 221 may store, for example, the image-with-correct-answer of 1,000 and the image-without-correct-answer of 100,000 as learning data. The numbers 1,000and 100,000 are merely examples, but the learning data storage unit 221 may store many images-without-correct-answer that are orders of magnitude greater than the images-with-correct-answer.
[0033] The communication apparatus 23 is capable of communicating with an external apparatus of the learning apparatus 2 via an unillustrated communication network. The communication apparatus 23 may be a communication interface based on standards such as Ethernet (registered trademark), Wi-Fi (registered trademark), Bluetooth (registered trademark), or USB (Universal Serial Bus).
[0034] The input apparatus 24 is an apparatus that accepts information input to the learning apparatus 2 from outside the learning apparatus 2. For example, the input apparatus 24 may include an operation apparatus (e.g., at least one of a keyboard, a mouse, and a touch panel) that can be operated by an operator of the learning apparatus 2. For example, the input apparatus 24 may include a reading apparatus capable of reading information recorded as data on a recording medium that can be attached to the learning apparatus 2.
[0035] The output apparatus 25 is an apparatus that outputs information to the outside of the learning apparatus 2. For example, the output apparatus 25 may output information as images. In other words, the output apparatus 25 may include a display apparatus (a so-called display) capable of displaying images indicating the information to be output. For example, the output apparatus 25 may output information as sound. In other words, the output apparatus 25 may include a sound apparatus (a so-called speaker) capable of outputting sound. For example, the output apparatus 25 may output information onto paper. In other words, the output apparatus 25 may include a printing apparatus (a so-called printer) capable of printing desired information onto paper.[2-2: Learning Operation Performed by the Learning Apparatus 2]
[0036] Referring to FIG. 3 and FIG. 4, the flow of the learning operation performed by the learning apparatus 2 will be explained. FIG. 3 is a flowchart showing the flow of the learning operation performed by the learning apparatus 2. FIG. 4 is a conceptual diagram of the learning operation performed by the learning apparatus 2.Detection Mechanism DM
[0037] The detection mechanism DM detects the feature information from the input image. The detection mechanism DM according to the second embodiment is a model that has been learned to output facial feature points in case a face image is input. The detection mechanism DM detects facial organ points such as the eyes, nose, and mouth. The detection mechanism DM may be a model that outputs the positions of both eyes, the tip of the nose, and both corners of the mouth as feature points, as illustrated in FIG. 4.
[0038] The parameters necessary for the detection mechanism DM to function are stored in the parameter storage unit 222. For example, the parameter storage unit 222 stores the parameters necessary for the detection mechanism DM to constitute a neural network.
[0039] The detection mechanism DM includes a convolutional neural network and a fully connected layer. The convolutional neural network and the fully connected layer are connected in series. Hereinafter, the convolutional neural network and the fully connected layer will be described without distinction.
[0040] The detection mechanism DM used in each of networks 1 and 2 shown in FIG. 4 has the same structure and performs learning with common weight parameters. In other words, the detection mechanism DM includes a neural network composed of common weight parameters. Each of networks 1 and 2 uses the detection mechanism DM with common weight parameters.Network 1: Operation Using the Image-With-Annotation Ia
[0041] As shown in FIG. 3, the learning unit 212 performs learning of the detection mechanism DM using the image-with-annotation Ia as the image-with-correct-answer (step S20). FIG. 4 is a conceptual diagram of the learning operation of the detection mechanism DM using the image-with-annotation Ia.
[0042] As shown in FIG. 4, the acquisition unit 211 acquires the image-with-annotation Ia. The image-with-annotation Ia may have correct values of coordinates of correct feature points FP1 annotated. The acquisition unit 211 may acquire the image-with-annotation Ia from the learning data storage unit 221.
[0043] The detection unit 213 detects annotated feature points FP2 from the image-with-annotation Ia. The detection unit 213 inputs the image-with-annotation Ia into the detection mechanism DM and outputs the annotated feature points FP2 output by the detection mechanism DM as the detection result. In case feature points are defined as shown in FIG. 4, the detection mechanism DM may output 10 numerical values indicating the x-coordinates and y-coordinates of five feature points.
[0044] The learning unit 212 uses the correct feature points FP1 and the detection-information-with-correct-answer based on the annotated feature points FP2 detected by the detection mechanism DM from the image-with-annotation Ia to teach the detection mechanism DM the feature point detection method. The loss-function calculation unit 2121-a calculates the loss La based on a loss function where the loss increases as the correct feature points FP1 and the annotated feature points FP2 become less similar. This loss La is referred to as a supervised feature point error loss La. The loss-function calculation unit 2121-a may calculate the supervised feature point error loss La based on the 10 coordinate values output in case the image-with-annotation Ia is input to the detection mechanism DM and the coordinate values of the correct feature point FP1. The supervised feature point error loss La is a loss of regression learning, and a loss decreases as information annotated on an input image matches a detection result from the input image.Network 2: Operation Using the Image-Without-Annotation Ib
[0045] As shown in FIG. 3, the learning unit 212 performs learning of the detection mechanism DM using the image-without-annotation Ib as the image-without-correct-answer (step S21). FIG. 4 is a conceptual diagram of the learning operation of the detection mechanism DM using the image-without-annotation Ib.
[0046] As shown in FIG. 4, the acquisition unit 211 acquires the image-without-annotation Ib. Hereinafter, the image-without-annotation Ib is referred to as the original image Ib. The detection unit 213 detects original feature points FP3 from the original image Ib. The detection unit 213 inputs the original image Ib into the detection mechanism DM and outputs the original feature points FP3, which is output by the detection mechanism DM, as the detection result.
[0047] The transformation unit 214 applies a transformation to the original image Ib and generates the extended-image Ic, which is an extended version of the original image Ib. For example, as illustrated in FIG. 4, the transformation unit 214 may generate the extended-image Ic by inverting the left and right sides of the original image Ib. In addition to the input image inversion such as left-right inversion illustrated in FIG. 4, other methods of extending the input image by the transformation unit 214 include parallel translation of the input image and rotation of the input image.
[0048] The detection unit 213 detects extended feature points FP4 from the extended image IC. The detection unit 213 inputs the extended image IC into the detection mechanism DM and outputs the extended feature points FP4, output by the detection mechanism DM as the detection result.
[0049] The inverse transformation unit 215 applies the inverse transformation of the transformation applied by the transformation unit 214 to the original image Ib to the extended feature points FP4. For example, as illustrated in FIG. 4, the inverse transformation unit 215 may generate inverse transformation feature points FP5 by inversing the left and right sides of the extended feature points FP4.
[0050] The learning unit 212 uses the detection-information-without-correct-answer based on the original feature points FP3 and the inverse transformation feature points FP5 to learn the feature point detection method in the detection mechanism DM. The loss-function calculation unit 2121-b calculates loss Lb based on a loss function where the loss increases as the similarity between the original feature points FP3 and the inverse transformation feature points FP5 decreases. This loss Lb is referred to as an unsupervised invariance loss Lb. The loss-function calculation unit 2121-b, for example, calculates the unsupervised invariance loss Lb based on the 10 coordinate values output in case the original image Ib is input to the detection mechanism DM and the 10 coordinate values acquired by inverse transformation of the 10 coordinate values output in case the extended image Ic is input to the detection mechanism DM. The unsupervised invariance loss Lb is a loss that decreases as the detection results with data extension and the detection results without data extension match. The fact that the detection results with data extension match the detection results without data extension is a necessary condition for both to correctly detect features.
[0051] Furthermore, in the example shown in FIG. 4, it is possible to learn the same amount for cases where the face is facing right and cases where the face is facing left. This prevents bias from occurring where detection from one direction is good and detection from the other direction is poor.
[0052] Note that steps S20 and S21 may be performed in reverse order or simultaneously.Updating the Parameters of the Detection Mechanism DM
[0053] The parameter update unit 2122 updates the weight parameters of the detection mechanism DM so that the supervised feature point error loss La and the unsupervised invariance loss Lb are minimized. The parameter update unit 2122 may update the weight parameters of the detection mechanism DM such that L, expressed by the following Equation 1, is minimized.L=λLa+Lb [Equation 1]
[0054] The algorithm for determining the above parameters so as to minimize the supervised feature point error loss La and the unsupervised invariance loss Lb may be any learning algorithm used in machine learning, such as gradient descent or backpropagation.
[0055] The parameter update unit 2122 may perform parameter update operations each time detection operations are performed on a predetermined number of face images. The predetermined number of face images may include the images-with-correct-answer and the images-without-correct-answer in the same ratio as the ratio of all face images stored in the learning data storage unit 221. For example, in case the ratio of the images-with-correct-answer to the images-without-correct-answer is 1 to 10, the specified number of face images may include the images-without-correct-answer that is 10 times the number of the images-with-correct-answer. For example, in case the ratio of the images-with-correct-answer to the images-without-correct-answer is 1 to 10, λ in the above equation 1 may be set to “0.1.” That is, loss L may be calculated so that the supervised feature point error loss La and the unsupervised invariance loss Lb contribute equally.
[0056] Alternatively, the learning unit 212 may perform learning using the image-without-annotation Ib, followed by learning using the image-with-annotation Ia. Conversely, the learning unit 212 may perform learning using the image with annotation Ia after performing learning using the image without annotation Ib.
[0057] Determine whether learning has been completed (step S22). For example, the learning unit 212 may determine that learning has been completed in case learning has been performed using all face images stored in the learning data storage unit 221. In another example, the learning unit 212 may determine that learning has been completed in case L expressed by the above equation 1 is less than or equal to a predetermined threshold value. Alternatively, the learning unit 212 may determine that learning has been completed in case the loss calculated in each of steps S20 and S21 is below a predetermined threshold. In yet another example, the learning unit 212 may determine that learning has been completed in case steps S20 and S21 are repeated a predetermined number of times.
[0058] In case the learning unit 212 determines that learning has been completed (step S22; Yes), the learning unit 212 determines the parameters of the detection mechanism DM and determines the detection mechanism DM (step S23). The learning unit 212 may transmit the determined parameters of the detection mechanism DM to an apparatus that performs detection operations using the detection mechanism DM. On the other hand, in case the learning unit 212 determines that learning has not been completed (step S22; No), it returns to step S20.[2-3: Modified Example]
[0059] In the above second embodiment, the feature information of the image was explained using the example of feature points of the image, but the feature information may be information on features other than feature points. For example, the feature information of the image may be information indicating feature regions in the image. The information indicating feature regions may be information used for semantic segmentation, etc. The learning operation according to the second embodiment may be widely applied to tasks that use images as input.
[0060] In the second embodiment, the explanation was given using the example of a face image, but the image may be an image other than a face. For example, it may be an image of a body of a living organism. The living organism may be mammals, including humans, birds, etc. Alternatively, it may be an image containing numbers, such as a car license plate.
[0061] For example, in image recognition, technology for accurately detecting feature points is important. Feature points detected from faces can be used, for example, for face recognition and expression recognition. Feature points detected from bodies can be used, for example, for estimating human poses, analyzing human behavior, and matching human bodies. Feature points detected from bodies may be, for example, joint points.[2-4: Technical Effects of the Learning Apparatus 2]
[0062] The learning apparatus 2 according to the second embodiment learns the detection method so that the feature information detected is similar to the correct answer feature information, and also learns the detection method so that the feature information detected from the image is similar to the feature information detected from the extended image, thereby enabling the learning of the detection method that accurately detects the feature information. The learning apparatus 2 learns the detection method to ensure that the feature information acquired by inversing the feature information detected from the extended-image transformed from the original image is similar to the feature information detected from the original image, thereby enabling the detection method to accurately detect the feature information.
[0063] To accurately detect feature points from images, it is common to prepare a large number of the image-with-annotation annotated with image feature points and perform learning. Preparing a large number of the image-with-annotation requires significant human resources and time. In case learning using a small number of the image-with-annotation can accurately detect feature points from images, human resources and time can be reduced.
[0064] The learning apparatus 2 can learn the detection mechanism to detect the feature information with high accuracy by using the image-without-annotation, which is relatively easy to prepare, in addition to the image-with-annotation. The learning apparatus 2 uses a relatively large number of the image-without-annotation, which are relatively easy to prepare, thereby reducing the human cost and time required to prepare learning data. The learning apparatus 2 can learn the detection mechanism to detect feature points with high accuracy using a small number of the image-with-annotation.
[0065] The above non-patent literature 1 describes a comparative example that uses a small number of annotated face images and a large number of unannotated face images. The comparative example described in the above non-patent literature 1 uses an hourglass-type network that requires an encoder and a decoder. In other words, there are limitations to the network. The hourglass-type network requires a large amount of processing, has poor processing efficiency, and has slow learning and inference speeds. In addition, the comparative example is relatively computationally intensive because it finds feature points from the peaks of the heat maps of each feature point output by the hourglass-type network.
[0066] In contrast, the detection mechanism DM according to the present embodiment directly outputs the feature information without using the heat map. Since the detection mechanism DM according to the present embodiment does not use the hourglass-type network, the amount of computation can be reduced and the computational efficiency is good. In addition, since the detection mechanism DM according to the present embodiment directly outputs the feature information, the processing is lighter than that of the comparative example.3: Third Example Embodiment
[0067] Next, the third embodiment of the information processing apparatus, information processing method, and recording medium will be described. In the following, the third embodiment of the information processing apparatus, information processing method, and recording medium will be described using a detection apparatus 3 to which the third embodiment of the information processing apparatus, information processing method, and recording medium is applied.[3-1: Configuration of the Detection Apparatus 3]
[0068] Referring to FIG. 5, the configuration of the detection apparatus 3 according to the third embodiment will be described. FIG. 5 is a block diagram showing the configuration of the detection apparatus 3 according to the third embodiment.
[0069] As shown in FIG. 5, the detection apparatus 3 according to the third embodiment is provided with the arithmetic apparatus 21 and the storage apparatus 22, as in the learning apparatus 2 according to the second embodiment. Furthermore, the detection apparatus 3 according to the third embodiment may include the communication apparatus 23, the input apparatus 24, and the output apparatus 25, as in the learning apparatus 2 according to the second embodiment. However, the detection apparatus 3 may not include at least one of the communication apparatus 23, the input apparatus 24, and the output apparatus 25. The detection apparatus 3 according to the third embodiment differs from the learning apparatus 2 according to the second embodiment in that it performs a detection operation using the detection mechanism DM learned by the learning apparatus 2 according to the second embodiment. Other features of the detection apparatus 3 may be the same as other features of the learning apparatus 2. Therefore, in the following, only those parts that differ from the embodiment already described will be explained in detail, and other overlapping parts will be omitted as appropriate.[3-2: Detection Operation Performed by the Detection Apparatus 3]
[0070] Referring to FIG. 6, the detection operation performed by the detection apparatus 3 will be described. FIG. 6 is a flowchart showing the detection operation performed by the detection apparatus 3. In the third embodiment, the case of detecting facial features from the face region of an image will be described as an example. A parameter storage unit 322 in the third embodiment stores the parameters of the detection mechanism DM learned in the second embodiment.
[0071] As shown in FIG. 6, an acquisition unit 311 acquires an image (step S30). A face detection unit 316 detects a face region from the image (step S31). The feature detection unit 313 detects feature points from the face region using the detection mechanism DM (step S32). The feature points detected from the face region may be applied to face recognition, expression analysis, etc.
[0072] In case the input image is an image of a human body, the detection mechanism DM may output the elbows, knees, heels, etc. as feature points.[3-3: Technical Effects of the Detection Apparatus 3]
[0073] The detection mechanism DM can perform high-speed calculations because it uses an algorithm with high calculation efficiency and a convolutional neural network. The detection apparatus 3 according to the third embodiment can detect the feature information from an image using the detection mechanism DM, and therefore can detect the feature information accurately and at high speed.[4: Fourth Example Embodiment]
[0074] Next, the fourth embodiment of the information processing apparatus, information processing method, and recording medium will be described. In the following, the fourth embodiment of the information processing apparatus, information processing method, and recording medium will be described using a recognition apparatus 4 to which the fourth embodiment of the information processing apparatus, information processing method, and recording medium is applied.[4-1: Configuration of the Recognition Apparatus 4]
[0075] Referring to FIG. 7, the configuration of the recognition apparatus 4 according to the fourth embodiment will be described. FIG. 7 is a block diagram showing the configuration of the recognition apparatus 4 according to the fourth embodiment.
[0076] As shown in FIG. 7, the recognition apparatus 4 according to the fourth embodiment is provided with the arithmetic apparatus 21 and the storage apparatus 22, similar to the learning apparatus 2 according to the second embodiment and the detection apparatus 3 according to the third embodiment. Furthermore, the recognition apparatus 4 according to the fourth embodiment may include the communication apparatus 23, the input apparatus 24, and the output apparatus 25, as in the learning apparatus 2 according to the second embodiment and the detection apparatus 3 according to the third embodiment. However, the recognition apparatus 4 may not include at least one of the communication apparatus 23, the input apparatus 24, and the output apparatus 25. The recognition apparatus 4 according to the fourth embodiment differs from the learning apparatus 2 according to the second embodiment and the detection apparatus 3 according to the third embodiment in that it performs recognition using the detection mechanism DM learned by the learning apparatus 2 according to the second embodiment. Other features of the recognition apparatus 4 may be the same as other features of at least one of the learning apparatus 2 and the detection apparatus 3. For this reason, the following description will explain in detail the parts that differ from the embodiment already described, and omit explanations of other overlapping[4-2: Detection Operation Performed by the Recognition Apparatus 4]
[0077] Referring to FIG. 8, the flow of detection operations performed by the recognition apparatus 4 will be described. FIG. 8 is a flowchart showing the detection operations performed by the recognition apparatus 4. In the fourth embodiment, an example of face recognition using the face region of an image will be described. The parameter storage unit 322 in the fourth embodiment stores the parameters of the detection mechanism DM learned in the second embodiment.
[0078] As shown in FIG. 8, the acquisition unit 311 acquires an image (step S30). The face detection unit 316 detects a face region from the image (step S31). The feature detection unit 313 detects feature points from the face region using the detection mechanism DM (step S32). The normalization unit 417 normalizes the face images by aligning the orientation of the faces to a predetermined orientation and aligning the sizes of the faces to a predetermined size (step S40). The extraction unit 418 extracts features from the normalized faces (step S41). The extraction unit 418 extracts features useful for face recognition from the face images. A recognition unit 419 compares and matches the features extracted in step S41 with the features registered in a registered information storage unit 423 to determine whether or not the persons are the same (step S42).[4-3: Technical Effects of the Recognition Apparatus 4]
[0079] The detection mechanism DM can detect feature points from a face image accurately and at high speed. Therefore, the recognition apparatus 4 according to the fourth embodiment performs face recognition based on feature points detected from a face image using the detection mechanism DM, thereby enabling accurate and high-speed face recognition.[5: Supplementary Note]
[0080] The following supplementary note is disclosed regarding the embodiments described above.[Supplementary Note 1]
[0081] An information processing apparatus including:
[0082] an acquisition unit that acquires an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; and
[0083] a learning unit that makes a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.[supplementary Note 2]
[0084] The information processing apparatus according to claim 1, wherein
[0085] the detection-information-with-correct-answer is information based on a loss-function-with-correct-answer in which a loss increases the more dissimilar the feature-information-with-correct-answer and the correct-answer-feature-information, and
[0086] the detection-information-without-correct-answer is information based on a loss-function-without-correct-answer in which a loss increases the more dissimilar the feature-information-without-correct-answer and extended-feature-information.[Supplementary Note 3]
[0087] The information processing apparatus according to claim 1 or 2, further comprising:
[0088] a transformation unit that applies a transformation to the image-without-correct-answer to generate the extended-image that is the extension of the image-without-correct-answer; and
[0089] an inverse transformation unit that applies an inverse transformation of the transformation on the extended-feature-information detected from the extended-image by the detection mechanism.[supplementary Note 4]
[0090] The information processing apparatus according to any one of claims 1 to 3, wherein the acquisition unit acquires a larger number of the image-without-correct-answer compared to the image-with-correct-answers.[Supplementary Note 5]
[0091] The information processing apparatus according to any one of claims 1 to 4, further comprising a detection unit that detects feature information from an image using the detection mechanism.[supplementary Note 6]
[0092] The information processing apparatus according to any one of claims 1 to 5, further
[0093] an extraction unit that extracts features from the image using the feature information; and
[0094] a recognition unit that recognizes the image using the features.[Supplementary Note 7]
[0095] The information processing apparatus according to any one of claims 1 to 6, wherein the image is a face image.[Supplementary Note 8]
[0096] The information processing apparatus according to any one of claims 1 to 7, wherein the feature information includes feature points of the image.[Supplementary Note 9]
[0097] An information processing method including:
[0098] acquiring an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; and
[0099] making a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.[supplementary Note 10]
[0100] A recording medium on which a computer program that allows a computer to execute an information processing method is recorded, the information processing method including:
[0101] acquiring an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; and
[0102] making a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.
[0103] This disclosure may be changed as appropriate within the scope that does not contradict the technical idea that can be read from the claims and the entire description. The information processing apparatus, information processing method, and recording medium with such changes are also included in the technical idea of this disclosure.DESCRIPTION OF REFERENCE CODES1 information processing apparatus
[0105] 11, 211, 311 acquisition unit
[0106] 12, 212 learning unit
[0107] 2 learning apparatus
[0108] 2121 loss-function calculation unit
[0109] 2122 parameter update unit
[0110] DM detection mechanism
[0111] 213 detection unit
[0112] 214 transformation unit
[0113] 215 inverse transformation unit
[0114] 221 learning data storage unit
[0115] 222, 322 parameter storage unit
[0116] 3 detection apparatus
[0117] 313 feature detection unit
[0118] 316 face detection unit
[0119] 4 recognition apparatus
[0120] 417 normalization unit
[0121] 418 extraction unit
[0122] 419 recognition unit
[0123] 423 registered information storage unit
Claims
1. An information processing apparatus comprising:at least one memory storing instructions; andat least one processor that is configured to execute the instructions to:acquire an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; andmake a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.
2. The information processing apparatus according to claim 1, whereinthe detection-information-with-correct-answer is information based on a loss-function-with-correct-answer in which a loss increases the more dissimilar the feature-information-with-correct-answer and the correct-answer-feature-information, andthe detection-information-without-correct-answer is information based on a loss-function-without-correct-answer in which a loss increases the more dissimilar the feature-information-without-correct-answer and extended-feature-information.
3. The information processing apparatus according to claim 1, wherein the at least one processor that is configured to execute the instructions to:apply a transformation to the image-without-correct-answer to generate the extended-image that is the extension of the image-without-correct-answer; andapply an inverse transformation of the transformation on the extended-feature-information detected from the extended-image by the detection mechanism.
4. The information processing apparatus according to claim 1, wherein the acquisition unit acquires a larger number of the image-without-correct-answer compared to the image-with-correct-answers.
5. The information processing apparatus according to claim 1, wherein the at least one processor that is configured to execute the instructions to detect feature information from an image using the detection mechanism.
6. The information processing apparatus according to claim 1, wherein the at least one processor that is configured to execute the instructions to:extract features from the image using the feature information; andrecognize the image using the features.
7. The information processing apparatus according to claim 1, wherein the image is a facial image.
8. The information processing apparatus according to claim 1, wherein the feature information includes feature points of the image.
9. An information processing method comprising:acquiring an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; andmaking a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.
10. A non-transitory recording medium on which a computer program that allows a computer to execute an information processing method is recorded, the information processing method comprising:acquiring an image-with-correct-answer having correct-answer-feature-information, and an image-without-correct-answer not having correct answer feature information; andmaking a detection mechanism learn a detection method for detecting feature information from an input image, using feature-information-with-correct-answer detected by the detection mechanism from the image-with-correct-answer and detection-information-with-correct-answer based on the correct-answer-feature-information, and feature-information-without-correct-answer detected by the detection mechanism from the image-without-correct-answer and detection-information-without-correct-answer based on extended-feature-information detected by the detection mechanism from an extended-image that is an extension of the image-without-correct-answer.
