Learning device, learning method, learning program
The learning device enhances skeletal estimation accuracy by using a generative adversarial network to optimize a skeletal estimation model and a discriminative model, addressing the challenge of clothing obstructing body lines in image data.
Patent Information
- Application Number
- JP2023156369
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2039-10-04
AI Technical Summary
Conventional skeletal estimation methods face accuracy issues when individuals wear clothing that obstructs the visibility of their body lines in image data.
A learning device utilizing a skeletal estimation model, a division model to segment clothing areas, and an improved skeleton estimation model, combined with a discriminative model, optimizes the estimation process through a generative adversarial network to enhance accuracy.
The method generates a model capable of performing high-accuracy skeletal estimation even when clothing obstructs body lines, improving the robustness of skeletal structure estimation.
Smart Images

Figure 0007564307000001 
Figure 0007564307000002 
Figure 0007564307000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a learning device, a learning method, and a learning program. [Background technology]
[0002] In recent years, various biometric authentication techniques have been developed to perform identity authentication. For example, one such authentication technique is a technique that performs skeletal estimation to estimate the position coordinates of the skeleton from image data including the entire body of a person to be authenticated, and performs identity authentication based on the estimation result. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-013999 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the conventional skeletal estimation method has a problem that it may not be possible to perform skeletal estimation with high accuracy. For example, when a person to be authenticated wears clothes that make it difficult to see the body line of the person in the image data, the accuracy of skeletal estimation decreases. [Means for solving the problem]
[0005] In order to solve the above-mentioned problems and achieve the object, the learning device of the present invention is characterized in having a first estimation unit that takes image data including a person as input and estimates skeletal data using a skeletal estimation model that estimates skeletal data related to the person's skeleton; a division unit that takes image data including the person as input and divides an area of the image data by clothing type using a division model that divides each clothing area of the person included in the image data by clothing type; a second estimation unit that takes as input an estimation result by the first estimation unit and a division result by the division unit and estimates the skeletal data using an improved skeletal estimation model that estimates the skeletal data; a classification unit that uses a classification model trained to distinguish between the skeletal data estimated by the second estimation unit and correct skeletal data, and outputs a skeletal classification result input to the classification model; and a learning unit that optimizes the improved skeletal estimation model and the classification model based on the classification result output by the classification unit.
[0006] Further, the learning method of the present invention is a learning method executed by a learning device, and includes the following steps: a first estimation step of taking image data including a person as input and estimating skeletal data using a skeletal estimation model that estimates skeletal data related to the skeleton of the person; a division step of taking image data including a person as input and dividing an area of the image data by clothing type using a division model that divides each clothing area of the person included in the image data by clothing type; a second estimation step of taking an estimation result by the first estimation step and a division result by the division step as input and estimating the skeletal data using an improved skeletal estimation model that estimates the skeletal data; a classification step of using a classification model trained to distinguish between the skeletal data estimated by the second estimation step and correct skeletal data and outputting a skeleton classification result input to the classification model; and a learning step of optimizing the improved skeletal estimation model and the classification model based on the classification result output by the classification step.
[0007] The learning program of the present invention is characterized in that it causes a computer to execute the following steps: a first estimation step of taking image data including a person as input and estimating skeletal data using a skeletal estimation model that estimates skeletal data related to the person's skeleton; a division step of taking image data including a person as input and dividing an area of the image data by clothing type using a division model that divides each clothing area of the person included in the image data by clothing type; a second estimation step of taking an estimation result by the first estimation step and a division result by the division step as input and estimating the skeletal data using an improved skeletal estimation model that estimates the skeletal data; an identification step of using a discrimination model trained to distinguish between the skeletal data estimated by the second estimation step and correct skeletal data and outputting a skeletal identification result input to the discrimination model; and a learning step of optimizing the improved skeletal estimation model and the discrimination model based on the identification result output by the discrimination step. Effect of the Invention
[0008] According to the present invention, it is possible to generate a model that enables accurate skeleton estimation. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram illustrating an example of the configuration of a learning device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of skeletal data. [Diagram 3] FIG. 3 is a diagram for explaining an example of a learning method for an adversarial network. [Figure 4] FIG. 4 is a diagram for explaining an example of a learning method for an adversarial network. [Diagram 5] FIG. 5 is a flowchart showing an example of a process flow in the learning device according to the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating a computer that executes a learning program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, embodiments of a learning device, a learning method, and a learning program according to the present application will be described in detail with reference to the drawings. Note that the learning device, the learning method, and the learning program according to the present application are not limited to these embodiments.
[0011] [First embodiment] In the following embodiment, the configuration of the learning device according to the first embodiment and the flow of processing by the learning device 10 will be described in order, and finally, the effects of the first embodiment will be described.
[0012] [Learning device configuration] First, the configuration of a learning device 10 will be described with reference to Fig. 1. Fig. 1 is a block diagram showing an example of the configuration of a learning device according to a first embodiment. The learning device 10 learns, for example, a model for performing skeleton estimation. In addition, the model for performing skeleton estimation learned by the learning device 10 is applied, for example, to an authentication processing system that performs personal authentication.
[0013] In the learning process, the learning device 10 uses, for example, a generative adversarial network (GAN), which is a type of neural network known as a generative adversarial network, and performs learning by combining two neural networks, a generator and a discriminator. In the learning device 10 according to the first embodiment, the improved skeleton estimation model corresponds to the generator, and the discriminator corresponds to the discriminator. For example, in the generative adversarial network, in the learning process, the generator is configured to generate fake data (estimated skeleton data), and the discriminator is configured to discriminate whether input data is correct skeleton data or fake data generated by the generator.
[0014] 1, the learning device 10 has a communication processing unit 11, a control unit 12, and a storage unit 13. The processing of each unit of the learning device 10 will be described below.
[0015] The communication processing unit 11 controls communication regarding various information exchanged between the connected device. For example, the communication processing unit 11 receives image data to be processed for skeletal estimation from an external device. The storage unit 13 stores data and programs required for various processes by the control unit 12, and has a correct answer data storage unit 13a and a trained model storage unit 13b. For example, the storage unit 13 is a storage device such as a semiconductor memory element such as a random access memory (RAM) or a flash memory.
[0016] The correct answer data storage unit 13a stores image data including a person and skeletal data of the person in association with each other as correct answer data to be input to a discrimination model described later. An example of skeletal data will be described below with reference to the example of FIG. 2. FIG. 2 is a diagram for explaining an example of skeletal data. As illustrated in FIG. 2, the skeletal data stored in the correct answer data storage unit 13a is expressed by points indicating each part and lines or arrows connecting adjacent points. In the example of FIG. 2, a predetermined point in the skeletal data and an arrow starting from the predetermined point are parts corresponding to joints, and the parts "right shoulder", "right upper arm", "right forearm", "left shoulder", "left upper arm", "left forearm", "right upper thigh", "right lower leg", "left upper thigh" and "left lower leg" are included in the skeletal data.
[0017] The trained model storage unit 13b stores trained models trained by the training unit 12f described later. For example, the trained model storage unit 13b stores, as trained models, a skeleton estimation model for performing skeleton estimation and a clothing shape region segmentation model for segmenting a clothing shape region from an image. The trained model storage unit 13b may store a single trained model in which the skeleton estimation model and the clothing shape region segmentation model are integrated.
[0018] The control unit 12 has an internal memory for storing programs that define various processing procedures and required data, and executes various processes using these. For example, the control unit 12 has an acquisition unit 12a, a first estimation unit 12b, a division unit 12c, a second estimation unit 12d, a discrimination unit 12e, and a learning unit 12f. Here, the control unit 12 is, for example, an electronic circuit such as a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or a GPU (Graphical Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0019] The acquisition unit 12a acquires image data including a person. For example, the acquisition unit 12a acquires image data including the whole body of a person wearing clothes. The acquisition unit 12a may acquire image data from an external device, or may acquire image data prepared in advance for learning from within the device.
[0020] The first estimation unit 12b estimates skeletal data using a skeletal estimation model that estimates skeletal data related to a person's skeleton, using the image data acquired by the acquisition unit 12a as input. For example, the first estimation unit 12b identifies the position of each part of the person's skeleton, and estimates the positions of the "right shoulder", "right upper arm", "right forearm", "left shoulder", "left upper arm", "left forearm", "right upper thigh", "right lower leg", "left upper thigh", and "left lower leg" as parts corresponding to each joint.
[0021] The division unit 12c receives the image data acquired by the acquisition unit 12a, and divides the image data into regions for each type of clothing using a clothing shape region division model that divides the regions for each clothing of the person included in the image data into regions for each type of clothing. For example, the division unit 12c identifies regions for each type of clothing, such as a jacket, pants, hat, and socks, from the image data, and divides the image data into regions for each type of clothing.
[0022] The second estimation unit 12d estimates skeletal data using an improved skeletal estimation model that estimates skeletal data using the estimation result by the first estimation unit 12b and the segmentation result by the segmentation unit 12c as input. Specifically, the second estimation unit 12d compares the clothing region segmentation result with the skeletal estimation result to improve the skeletal estimation result. In other words, the second estimation unit 12d improves the skeletal estimation result by using the segmentation result by the segmentation unit 12c to assist in areas where skeletal estimation is difficult in the first estimation unit 12b.
[0023] The identification unit 12e uses an identification model trained to distinguish between skeletal data estimated by the second estimation unit 12d and correct skeletal data, and outputs the identification result of the skeleton input to the identification model. For example, the identification unit 12e inputs either the skeletal data estimated by the second estimation unit 12d or the correct skeletal data stored in the correct data storage unit 13a to the identification model. Here, the identification model identifies whether the input skeletal data is skeletal data estimated from image data or correct skeletal data corresponding to the image data.
[0024] The learning unit 12f optimizes the improved skeleton estimation model and the discrimination model based on the discrimination result output by the discrimination unit 12e. That is, the learning unit 12f optimizes the discrimination model so that the discrimination model can correctly discriminate whether input skeleton data is estimated skeleton data or correct data, and optimizes the improved skeleton estimation model so that the skeleton estimation model and the clothing shape region segmentation model can generate skeleton data that resembles the skeleton data of the correct data.
[0025] In this way, in the learning process, the learning device 10 uses a GAN, which is a type of neural network called a generative adversarial network, and performs learning by combining two neural networks, a generator and a classifier. Here, an example of a learning method for an adversarial network will be described with reference to Fig. 3. Fig. 3 is a diagram for explaining an example of a learning method for an adversarial network.
[0026] As illustrated in FIG. 3, the learning device 10 inputs image data to a skeleton estimation model and a clothing shape region segmentation model. The learning device 10 then uses the image data as input data to estimate a skeleton using the skeleton estimation model. The learning device 10 also uses the image data as input data to divide the image data region by clothing type using the clothing shape region segmentation model. The learning device 10 then uses the skeleton estimation result output from the skeleton estimation model and the clothing region segmentation result output from the clothing shape region segmentation model as input data to estimate a skeleton using the improved skeleton estimation model.
[0027] Then, the learning device 10 inputs either the estimated skeletal data or the correct skeletal data stored in the correct data storage unit 13a into a discrimination model, and outputs a discrimination result from the discrimination model that discriminates whether the data is skeletal data estimated from the image data or correct skeletal data corresponding to the image data.
[0028] For example, the discrimination model discriminates whether the input data is estimated skeletal data or the correct skeletal data stored in the correct data storage unit 13a, and outputs the likelihood of the input data being correct. For example, the discrimination model is set to output a value between "0" and "1," with the closer to "1" the higher the likelihood of the data being correct, and the closer to "0" the lower the likelihood of the data being correct.
[0029] Then, the learning device 10 optimizes the generator and the classifier so that the classification result of the classification model is close to the correct answer. That is, the classification model is optimized by learning so that it can output a high value (a value close to 1) when correct skeletal data is input, and output a low value (a value close to "0") when estimated skeletal data is input. Then, the learning device 10 optimizes the generator and the classifier so that the classification result of the classification model is close to the correct answer. Furthermore, the learning device 10 optimizes the improved skeletal estimation model so that it can estimate skeletal data similar to the correct skeletal data, based on the classification result.
[0030] Although the skeleton estimation model and the clothing shape region segmentation model are separate models, the present invention is not limited to this. For example, as illustrated in Fig. 4, the learning device 10 may input image data to a simultaneous estimation model in which the skeleton estimation model and the clothing shape region segmentation model are integrated, perform a process of estimating skeletons and a process of segmenting the image data region by clothing type, and then estimate skeletons using the improved skeleton estimation model with the skeleton estimation result output from the skeleton estimation model and the clothing region segmentation result output from the clothing shape region segmentation model as input data.
[0031] [Learning device processing procedure] Next, an example of a processing procedure by the learning device 10 according to the first embodiment will be described with reference to Fig. 5. Fig. 5 is a flowchart showing an example of a processing flow in the learning device according to the first embodiment.
[0032] As illustrated in FIG. 5, in the learning device 10, when the acquisition unit 12a acquires image data including the entire body of a person wearing clothes (Yes in step S101), the first estimation unit 12b uses the image data acquired by the acquisition unit 12a as input and estimates skeletal data using a skeletal estimation model that estimates skeletal data related to the person's skeleton (step S102).
[0033] Then, the dividing unit 12c divides the image data area by clothing type (step S103). For example, the dividing unit 12c identifies clothing areas such as a jacket, pants, a hat, and socks from the image data, and divides the image data area by clothing type.
[0034] Next, the second estimation unit 12d performs improved skeleton estimation to estimate skeleton data using the estimation result by the first estimation unit 12b and the segmentation result by the segmentation unit 12c (step S104). Specifically, the second estimation unit 12d estimates a skeleton using the improved skeleton estimation model, using the skeleton estimation result output from the skeleton estimation model and the clothing segmentation result output from the clothing shape segmentation model as input data.
[0035] Then, the classification unit 12e classifies the estimated skeletal data and the correct skeletal data by using the classification model (step S105). For example, the classification unit 12e inputs either the skeletal data estimated by the second estimation unit 12d or the correct skeletal data stored in the correct data storage unit 13a to the classification model.
[0036] Thereafter, the learning unit 12f learns an improved skeletal estimation model and a discrimination model based on the discrimination result output by the discrimination unit 12e (step S106). That is, the learning unit 12f optimizes the discrimination model so that the discrimination model can correctly discriminate whether input skeletal data is estimated skeletal data or correct data, and optimizes the improved skeletal estimation model so that the improved skeletal estimation model can generate skeletal data that resembles the skeletal data of the correct data.
[0037] [Advantages of the First Embodiment] The learning device 10 according to the first embodiment acquires image data including a person, and estimates skeletal data using a skeletal estimation model that estimates skeletal data related to the person's skeleton using the acquired image data as an input. The learning device 10 also uses the acquired image data as an input and divides the image data area into clothing types using a clothing shape area division model that divides the area of each clothing of the person included in the image data into clothing types. Next, the learning device 10 estimates skeletal data using an improved skeletal estimation model using the estimation result and the division result as input, and outputs the skeleton identification result input to the identification model using a discrimination model that has been trained to distinguish between the estimated skeletal data and the correct skeletal data. Then, the learning device 10 optimizes the improved skeletal estimation model and the discrimination model based on the output discrimination result. For this reason, the learning device 10 is capable of generating a model that performs skeleton estimation with high accuracy.
[0038] In other words, the learning device 10 learns an improved skeletal estimation model and a discriminative model using a generative adversarial network, and performs skeletal estimation by applying the learned improved skeletal estimation model together with the skeleton estimation model and the clothing shape region segmentation model, thereby making it possible to perform skeletal estimation using the shape of the clothing.
[0039] In addition, the learning device 10 learns an improved skeletal estimation model and a discriminative model using a generative adversarial network, and performs skeletal estimation by applying the learned improved skeletal estimation model together with the skeletal estimation model and the clothing shape region segmentation model. This enables skeletal estimation that is robust to the shape of clothing, and makes it possible to generate a model that performs accurate skeletal estimation even when the person is wearing clothing that makes it difficult to see the body line.
[0040] [System configuration, etc.] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or a part of it can be functionally or physically distributed and integrated in any unit according to various loads and usage conditions. Furthermore, each processing function performed by each device can be realized in whole or in part by a CPU or GPU and a program analyzed and executed by the CPU or GPU, or can be realized as hardware using wired logic.
[0041] Furthermore, among the processes described in this embodiment, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0042] [program] It is also possible to create a program in which the processing performed by the information processing device described in the above embodiment is written in a language executable by a computer. For example, it is also possible to create a program in which the processing performed by the learning device 10 according to the embodiment is written in a language executable by a computer. In this case, the same effect as in the above embodiment can be obtained by having the computer execute the program. Furthermore, such a program may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read and executed by a computer to realize the same processing as in the above embodiment.
[0043] Fig. 6 is a diagram showing a computer that executes a learning program. As illustrated in Fig. 6, the computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070, and these components are connected by a bus 1080.
[0044] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012, as exemplified in FIG. 6. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090, as exemplified in FIG. 6. The disk drive interface 1040 is connected to a disk drive 1100, as exemplified in FIG. 6. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, as exemplified in FIG. 6. The video adapter 1060 is connected to a display 1130, as exemplified in FIG. 6.
[0045] 6, the hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the above programs are stored in, for example, the hard disk drive 1090 as program modules in which instructions to be executed by the computer 1000 are written.
[0046] Moreover, the various data described in the above embodiment are stored as program data, for example, in the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads out the program module 1093 and the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary, and executes various processing procedures.
[0047] Note that the program module 1093 and program data 1094 relating to the program are not limited to being stored in the hard disk drive 1090, and may be stored in, for example, a removable storage medium and read by the CPU 1020 via a disk drive or the like. Alternatively, the program module 1093 and program data 1094 relating to the program may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)) and read by the CPU 1020 via the network interface 1070.
[0048] The above-described embodiments and their modifications are included in the technology disclosed in this application, as well as in the scope of the invention described in the claims and their equivalents. [Explanation of symbols]
[0049] 10 Learning Device 11 Communication processing unit 12 Control section 12a Acquisition part 12b First Presumption 12c split part 12d Second Presumption 12e Identification part 12F Learning Section 13 Storage section 13a Correct data storage section 13b Trained model memory
Claims
1. a first estimation unit that estimates skeletal data relating to a skeleton of a person by using a skeletal estimation model based on image data including the person; a division unit that receives image data including the person and divides an area of the image data into clothing types using a division model that divides areas of each of the person's clothing included in the image data into clothing types; a second estimation unit that estimates the skeletal data using an improved skeletal estimation model that estimates the skeletal data using an estimation result by the first estimation unit and a segmentation result by the segmentation unit as input; a classification unit that uses a classification model trained to distinguish between skeletal data estimated by the second estimation unit and correct skeletal data, and outputs a classification result of the skeleton input to the classification model; a learning unit that optimizes the improved skeleton estimation model and the discrimination model based on the discrimination result output by the discrimination unit; A learning device comprising:
2. The learning device according to claim 1, characterized in that the identification unit inputs either the skeletal data estimated by the second estimation unit or the correct skeletal data stored in a memory unit into a discrimination model, and identifies whether the input skeletal data is the skeletal data estimated by the second estimation unit or the correct skeletal data.
3. The learning device described in claim 1, characterized in that the learning unit optimizes the discriminative model so that the discriminative model can correctly discriminate whether input skeletal data is estimated skeletal data or correct data, and optimizes the improved skeletal estimation model so that the skeletal estimation model and the segmentation model can generate skeletal data that resembles skeletal data of correct data.
4. A learning method performed by a learning device, comprising: a first estimation step of estimating skeletal data using a skeletal estimation model that estimates skeletal data related to a skeleton of a person using image data including the person as input; a segmentation step of inputting image data including a person, and segmenting the image data into areas of the image data by clothing type using a segmentation model that segments areas of each of the person's clothing included in the image data into clothing types; a second estimation step of estimating the skeletal data by using an improved skeletal estimation model that estimates the skeletal data using an estimation result from the first estimation step and a division result from the division step as input; a classification step of outputting a classification result of the skeleton input to a classification model trained to distinguish between the skeleton data estimated by the second estimation step and correct skeleton data; a learning step of optimizing the improved skeleton estimation model and the discrimination model based on the discrimination result output by the discrimination step; A learning method comprising:
5. a first estimation step of estimating skeletal data using a skeletal estimation model that estimates skeletal data related to a skeleton of a person using image data including the person as input; a segmentation step of inputting image data including a person, and segmenting an area of the image data into clothing types using a segmentation model that segments areas of each of the person's clothing included in the image data into clothing types; a second estimation step of estimating the skeletal data using an improved skeletal estimation model that estimates the skeletal data using an estimation result from the first estimation step and a division result from the division step as input; a classification step of outputting a classification result of the skeleton input to a classification model trained to distinguish between the skeleton data estimated by the second estimation step and correct skeleton data; a learning step of optimizing the improved skeleton estimation model and the discrimination model based on the discrimination result output by the discrimination step; A learning program characterized by causing a computer to execute the above.
Citation Information
Patent Citations
Pose estimation device, method, and program
JP2018013999A
Systems and methods for whole body measurement extraction
JP2020522285A
Systems and methods for full body measurements extraction
US10321728B1
Method and apparatus for estimating body shape
US20100111370A1
