Generation method, generation program, and information processing device
By expanding the distribution of camera positions and human postures in the target domain, the method enhances the accuracy of 3D body model estimation across different camera positions and orientations, addressing the domain shift issue in existing technologies.
Patent Information
- Application Number
- PCT/JP2023/008329
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-12
Smart Images

Figure JP2023008329_12092024_PF_FP_ABST
Abstract
Description
Generation method, generation program, and information processing device
[0001] The present invention relates to a production method and the like.
[0002] There is a technology that uses a learning model (statistical body model) such as Human Mesh Recovery (HMR) to estimate a 3D body model of a person appearing in an image captured by a monocular camera.
[0003] 18 is a diagram showing an example of an estimation result using HMR. For example, when image 1-1 is input into HMR, estimation result 1-2 is obtained. In estimation result 1-2, 3D body models 2a, 2b, 2c, 2d, 2e, and 2f are estimated to correspond to people 1a, 1b, 1c, 1d, 1e, and 1f included in image 1-1.
[0004] The technology for estimating a person's 3D body model from an image is expected to be applied to a variety of fields where human movement is important, such as virtual reality (VR), augmented reality (AR), healthcare, sports, telepresence, and human-computer interaction (HCI).
[0005] Here, most HMRs assume that training data and test data follow the same distribution, but in reality, there is a gap between standard training data and test data in practical applications.
[0006] 19 is a diagram showing an example of a gap between a training dataset and a test dataset. For example, when comparing a training dataset 2-1 with a test dataset 2-2, gaps exist in the distribution of body posture, camera position (camera viewpoint), appearance, occlusion, and the like, resulting in a domain shift. Therefore, when a learning model trained on the training dataset 2-1 is used to estimate a 3D body model of a person included in the test dataset 2-2, accuracy may decrease.
[0007] For this reason, it is necessary to eliminate the domain shift that exists between the training dataset and the test data to which it is applied.
[0008] For example, there are a first means and a second means as means for eliminating the domain shift.
[0009] The first approach is to collect new 3D training data from the target domain and train a learning model. Collecting the 3D training data requires the use of a special measurement system and environment, such as MoCap (Motion Capture), making it difficult to implement the first approach in many practical applications.
[0010] The second method is a technique for preparing sample images of the target domain and domain-adapting a trained learning model. The second method focuses on the fact that sample images of the target domain and 2D skeletal information of people in the sample images are relatively easy to obtain.
[0011] The second method fine-tunes a learning model trained on 3D training data from the source domain, and adapts the learning model to the target domain so that a 3D body model that fits the 2D skeleton can be inferred for each sample image in the target domain.
[0012] For example, conventional techniques relating to the second means include SPIN and DAPA.
[0013] SPIN is a learning method that combines regression-based HMR and optimized HMR. In SPIN, an image captured by a monocular camera is input into a learning model to estimate a 3D body model (regression-based HMR). In SPIN, a 3D body model is estimated by fitting the 3D body model to the 2D skeleton of the image (optimized HMR). In SPIN, the learning model is fine-tuned to reduce the error between the estimation results of regression-based HMR and optimized HMR.
[0014] DAPA is a domain adaptation of 3D pose distributions using 3D pose perturbation and image augmentation. For each sample image, DAPA perturbs the 3D pose of a 3D body model estimated by a learning model during domain adaptation to a rare pose in the 3D pose space of the source domain. DAPA also augments the sample image by drawing the perturbed 3D body model onto the sample image. DAPA iteratively augments the sample image and fine-tunes the learning model under the constraint of fitting the inference results for the sample image to a 2D skeleton.
[0015] Wei Jiang, Kwang Moo Yi, Golnoosh Samei, Oncel Tuzel, Anurag Ranjan,“NeuMan, Neural Human Radiance Field from a Single Video,” ECCV 2022Mohsen Gholami, Bastian Wandt, Helge Rhodin, Rabab Ward, Z. Jane Wang , AdaptPose: Cross-Dataset Adaptation for 3D Human Pose Estimation by Learnable Motion Generation, CVPR 2022Nikos Kolotouros, Georgios Pavlakos, Michael J. Black, Kostas Daniilidis, “Learning to Reconstruct 3D Human Pose and Shape via Model-fitting in the Loop,” ICCV 2019Zhenzhen Weng, Kuan-Chieh Wang, Angjoo Kanazawa, Serena Yeung, “Domain Adaptive 3D Pose Augmentation for In-the-wild Human Mesh Recovery,”3DV 2022
[0016] The second method described above applies to data in which the posture of a person included in a sample image and the position of a camera co-occur, or to data in which only the posture of a person is perturbed based on such a co-occurrence condition. Therefore, the effect of domain adaptation is limited in terms of comprehensiveness for the target domain.
[0017] FIG. 20 is a diagram (1) for explaining the problems of the conventional technology. The vertical axis of graph G1 in FIG. 20 corresponds to the camera position distribution, and the horizontal axis corresponds to the person posture distribution. The distribution of target domain data is distribution 10. The given sample images are images 5, 6, 7, and 8. Using images 5 to 8, the distribution of data that can be applied by SPIN is distributions 5a, 6a, 7a, and 8a. Furthermore, using images 5 to 8, the distribution of data that can be applied by DAPA is distributions 5b, 6b, 7b, and 8b.
[0018] Comparing the distribution 10 of the target domain data with the distributions 5a to 8a and 5b to 8b, it is found that the range of the distribution 10 is not covered by the distributions 5a to 8a and 5b to 8b, and the effect of domain adaptation is limited.
[0019] 21 is a diagram (2) for explaining the problems of the conventional technology. For example, even if the second means performs domain adaptation of HMR using a sample image 9a taken at a certain camera position, the estimation accuracy of the 3D body model decreases in the operational stage for a test image 9b taken at a camera position different from that of the sample image.
[0020] That is, conventional techniques are unable to train a learning model that can correctly recognize a 3D body model of a person appearing in an image taken at a camera position different from the camera position corresponding to the sample image.
[0021] In one aspect, the present invention aims to provide a generation method, a generation program, and an information processing device that can generate augmented data for training a learning model that can correctly recognize a 3D body model of a person appearing in an image taken at a camera position different from the camera position corresponding to the sample image.
[0022] In a first proposal, the computer is caused to perform the following process: the computer identifies a first distribution of person poses and a second distribution of at least one of camera positions or orientations based on a plurality of sample images in which the person poses and the camera positions and orientations capturing the person are different; the computer augments the person pose within a range included in the first distribution, and augments at least one of camera positions or orientations within a range included in the second distribution; and generates an augmented image based on at least one of the augmented camera positions or orientations and the augmented person pose.
[0023] Augmented data can be generated to train a machine learning model that can correctly recognize 3D body models of people appearing in images taken at a camera position that differs from the camera position (at least one of the position and orientation) corresponding to the sample image.
[0024] FIG. 1 is a diagram illustrating an example of a distribution of data that can be applied by an information processing device according to this embodiment. FIG. 2 is a diagram illustrating an example of a plurality of sample images corresponding to each scene. FIG. 3 is a diagram illustrating an example of pseudo teacher data. FIG. 4 is a diagram illustrating an example of a 3D body model. FIG. 5 is a diagram illustrating an example of a body NeRF. FIG. 6 is a diagram illustrating an example of a scene NeRF. FIG. 7 is a diagram illustrating an example of a distribution of camera positions and orientations that are likely to be in a target domain. FIG. 8 is a diagram illustrating an example of a distribution of person poses that are likely to be in a target domain. FIG. 9 is a diagram illustrating a process for extending camera positions and orientations. FIG. 10 is a diagram illustrating a process for extending person poses. FIG. 11 is a functional block diagram illustrating a configuration of an information processing device according to this embodiment. FIG. 12 is a diagram illustrating an example of a data structure of pseudo teacher data. FIG. 13 is a diagram illustrating an example of a data structure of extended teacher data. FIG. 14 is a diagram illustrating an example of a relationship between pseudo teacher data and extended teacher data. FIG. 15 is a diagram illustrating an example of a composite image generated by an extension processing unit. FIG. 16 is a flowchart illustrating a processing procedure of the information processing device according to this embodiment. FIG. 17 is a diagram illustrating an example of a hardware configuration of a computer that realizes similar functions to those of the information processing device according to the embodiment. Fig. 18 is a diagram showing an example of an estimation result by HMR. Fig. 19 is a diagram showing an example of a gap between a training dataset and a test dataset. Fig. 20 is a diagram (1) for explaining the problems of the conventional technology. Fig. 21 is a diagram (2) for explaining the problems of the conventional technology.
[0025] Hereinafter, embodiments of the generating method, generating program, and information processing device disclosed in the present application will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to these embodiments.
[0026] An information processing device according to this embodiment identifies a distribution of camera positions and orientations likely to belong to the target domain and a distribution of person postures likely to belong to the target domain based on a plurality of sample images belonging to the target domain. The information processing device extends the camera positions and orientations and the person postures so that they are included in the distribution of camera positions likely to belong to the target domain and the distribution of person postures likely to belong to the target domain, and generates extended data (extended training data) using the extension results.
[0027] FIG. 1 is a diagram showing an example of a data distribution that can be applied by an information processing device according to this embodiment. The vertical axis of graph G2 in FIG. 1 corresponds to the distribution of camera position and orientation, and the horizontal axis corresponds to the distribution of person postures. The distribution of target domain data is distribution 10. The information processing device generates extended training data 5c, 6c, 7c, and 8c by performing the above-described data extension on sample images 5, 6, 7, and 8. For example, the distributions on graph G2 corresponding to extended training data 5c, 6c, 7c, and 8c are distributions 5d, 6d, 7d, and 8d, respectively.
[0028] In the information processing device, the camera position and orientation are expanded so as to be included in the distribution of camera positions and orientations that are likely to be the target domain. As a result, it is possible to cover a range 10a that is wider than the range that can be covered by the second means described as the prior art for the distribution 10 of target domain data. In other words, it is possible to generate expanded teacher data for training a learning model (machine learning model) that can correctly recognize the pose of a person appearing in an image captured with a camera position and orientation different from the camera position and orientation corresponding to the sample image.
[0029] For example, the information processing device according to this embodiment executes pre-processing, processing for identifying a distribution likely to be a target domain, processing for generating extended training data, and processing for training a learning model.
[0030] First, the pre-processing executed by the information processing device will be described. The information processing device acquires a plurality of sample images belonging to the Target domain, each of which is a plurality of sample images for each scene. For example, a scene indicates a location where a person is photographed. Furthermore, a partial scene, which will be described later, is a scene obtained by further dividing a series of the same scenes.
[0031] 2 shows an example of a plurality of sample images corresponding to each scene. Sample images 20-1, 20-2, 20-3, and 20-4 are sample images of a certain scene (in front of a house) and show a certain person 20h. Sample images 21-1, 21-2, and 21-3 are sample images of a certain scene (a forest) and show a certain person 21h.
[0032] The sample images 20-1 to 20-4 are assigned frame numbers in ascending order, and the same scene label that uniquely identifies the scene is assigned to each of the sample images 20-1 to 20-4.
[0033] The sample images 21-1 to 21-3 are assigned frame numbers in ascending order, and the same scene label that uniquely identifies the scene is assigned to each of the sample images 21-1 to 21-3.
[0034] Although not shown, the information processing apparatus may also acquire a plurality of sample images corresponding to scenes different from the sample images 20-1 to 20-4 and 21-1 to 21-3 described with reference to FIG.
[0035] The information processing device generates pseudo teacher data for each scene by analyzing the multiple sample images described in Fig. 2. Fig. 3 is a diagram showing an example of pseudo teacher data. For example, pseudo teacher data 30 includes person information 31 related to people, scene information 32 related to scenes, and camera information 33 related to cameras.
[0036] The person information 31 includes a 3D body model X s,h,i and body NeRF (Neural Radiance Fields) hN s,hThe subscript "s" indicates a partial scene, the subscript "h" indicates a person, and the subscript "i" indicates a frame number. The subscript "s" used in the person information 31 (scene information 32, camera information 33) is a scene obtained by further dividing a series of scenes corresponding to the scene label.
[0037] 3D Body Model X s,h,i is a 3D body model of person "h" obtained by inputting a sample image of partial scene "s" and frame number "i" into an HMR or the like. FIG. 4 is a diagram showing an example of a 3D body model. For example, 3D body models 13a, 13b, 13c, 13d, and 13e shown in FIG. 4 are generated from sample images 21-1 to 21-3, etc., described in FIG. 2. One 3D body model is generated for one person included in one sample image.
[0038] Body NeRF hN s,h is the NeRF of person "h" estimated based on multiple sample images of partial scene "s" and frame numbers "i to i+n." FIG. 5 is a diagram showing an example of body NeRF. For example, body NeRF 14a in FIG. 5 is the NeRF of person 20h estimated from sample images 20-1 to 20-4 in FIG. 2. Body NeRF 14b is the NeRF of person 21h estimated from sample images 21-1 to 21-3 in FIG. 2.
[0039] Returning to the explanation of FIG. 3, the scene information 32 includes a scene label S s and Scene NeRF sN s The subscript "s" indicates the partial scene mentioned above. The scene label S s is the scene label S of the partial scene "s". s is the NeRF of a partial scene "s" estimated based on a plurality of sample images with frame numbers "i to i+n." FIG. 6 is a diagram showing an example of a scene NeRF. Scene NeRFs 15a and 15b are the NeRFs of a series of scenes estimated from sample images 21-1 to 21-3. For example, scene NeRF 15a is an RGB composite image at a certain camera position, and scene NeRF 15b is a depth composite image corresponding to that RGB composite image.
[0040] Returning to the explanation of FIG. 3, the camera information 33 includes the camera parameters C s,i and real image I s,i The explanations for the subscripts "s" and "i" are the same as those given above.
[0041] Camera parameter C s,i indicates the external parameters of the camera that captured the sample image of the partial scene "s" and frame number "i". s,i is information corresponding to the position and orientation of the camera. s,i indicates a sample image of partial scene "s" and frame number "i".
[0042] As described above, the information processing device executes the above pre-processing and generates a plurality of pseudo-teacher data for each scene from a plurality of sample images for each scene.
[0043] Next, a process of identifying a distribution likely to be a target domain, which is executed by the information processing device, will be described. The information processing device identifies a distribution likely to be a target domain by using the "camera parameters C" set in a plurality of pseudo-teacher data. s,i The information processing device identifies the distribution of "3D body model X" set in the plurality of pseudo teaching data as the distribution of camera positions and orientations that are likely to be in the target domain. s,h,i " is identified as the distribution of human poses that are likely to be in the target domain.
[0044] FIG. 7 is a diagram showing an example of a distribution of camera positions and orientations that are likely to be in the target domain. A distribution 40a shown in FIG. 7 shows the distribution of camera positions and orientations in each scene (each partial scene). The distribution 40a is obtained by using the "camera parameters C s,i " corresponds to the distribution of
[0045] FIG. 8 is a diagram showing an example of a distribution of postures of a person likely to be in the target domain. A distribution 40b shown in FIG. 8 shows a distribution of postures of a person as seen from a camera. The distribution 40b is obtained by using a plurality of pseudo teaching data "3D body model X s,h,iThe distribution of a person's posture can also be said to be the distribution of the relative positional relationship between the camera position and the person's position (how the person appears).
[0046] For example, the information processing device performs machine learning (training) of a domain classifier using a Gaussian Mixture Model (GMM) and a Variational Auto Encoder (VAE). s,i 7 is input to the first domain classifier to learn the distribution 40a shown in FIG. s,h,i " is input to the second domain classifier, and the distribution 40b shown in FIG. 8 is learned.
[0047] By using the above domain classifiers (first domain classifier, second domain classifier), it is possible to determine whether the extended training data, which has been extended based on the camera position and orientation and the person's posture, has been extended within a range that is likely to be the target domain.
[0048] Next, a process for generating extended training data executed by the information processing device will be described. s,i 1 is a diagram for explaining a process of expanding the "camera parameter C'" included in the distribution 40a. s,i For example, the information processing device generates "camera parameters C s,i A first extender is used that randomly changes ".
[0049] The information processing device receives the "camera parameters C s,i " to the first expander, the expanded "camera parameters C' s,i The information processing device generates the generated "camera parameters C' s,i " is input to the first domain classifier, and a score of the likelihood of the target domain is calculated. When the score of the likelihood of the target domain is equal to or greater than a threshold, the information processing device classifies the generated "camera parameters C' s,i " will be adopted.
[0050] Figure 10 shows the posture of a person (3D body model X s,h,i 10 is a diagram for explaining the process of expanding the "3D body model X'" included in the distribution 40b. s,h,i For example, the information processing device generates "3D body model X s,h,i A second extender is used to randomly change ".
[0051] The information processing device is "3D body model X s,h,i " is input to the second expander, and the expanded "3D body model X' s,h,i The information processing device generates the generated "3D body model X' s,h,i " is input to the second domain classifier, and a score of the likelihood of the target domain is calculated. If the score of the likelihood of the target domain is equal to or greater than a threshold, the information processing device classifies the generated "3D body model X' s,h,i " will be adopted.
[0052] The information processing device calculates the "camera parameters C'" generated by the above process. s,i " and "3D Body Model X' s,h,i " and "synthetic image I' s,i For example, the information processing device generates "3D body model X' s,h,i Based on ", the body NeRF hN s,h The information processing device adjusts the posture of the adjusted body NeRF hN s,h and Scene NeRF sN s The combined information is the camera parameter C' s,i By taking a photo with the camera, a composite image I' s,i " is generated.
[0053] The information processing device generates a composite image I' s,i " is the input data, "3D body model X' s,h,i The information processing device generates a plurality of pieces of extended training data by repeatedly executing the above process.
[0054] As described above, the information processing device executes pre-processing, processing for identifying a distribution likely to be the target domain, and processing for generating augmented training data, thereby generating augmented training data for training a learning model that can correctly recognize a 3D human body model from an image of the target domain.
[0055] Next, a process of training a learning model executed by the information processing device will be described. The information processing device executes learning using pseudo teacher data and learning using augmented teacher data.
[0056] The following describes a process in which an information processing device trains a learning model to be trained using pseudo teacher data. s,i " is input to the learning model, and the output of the learning model and the pseudo-teaching data "3D body model X s,h,i The information processing device calculates the recognition error between the input image and the input image. The information processing device updates the parameters of the learning model based on the backpropagation method so as to reduce the recognition error.
[0057] The information processing device updates the parameters of the learning model by repeatedly executing the above process based on multiple pieces of pseudo teacher data.
[0058] The process of the information processing device for training a learning model to be trained using the augmented training data will be described. s,i " is input to the learning model, and the output of the learning model and the "3D body model X' s,h,i The information processing device calculates the recognition error between the input image and the input image. The information processing device updates the parameters of the learning model based on the backpropagation method so as to reduce the recognition error.
[0059] The information processing device updates the parameters of the learning model by repeatedly executing the above process based on the plurality of augmented teacher data. Furthermore, when training the learning model based on the plurality of augmented teacher data, the information processing device may update the parameters of the first augmenter and the second augmenter so that the recognition error output from the learning model falls within a certain range.
[0060] For example, the total loss L of the first and second expanders total is defined by formula (1). view is a loss related to the camera position and orientation, and is defined by equation (2). Here, the loss related to the camera position and orientation is shown, but either the loss related to the camera position or the loss related to the camera orientation may be used.
[0061]
[0062]
[0063] In formula (2), L c_pos is the loss related to the accuracy of the camera position and orientation in the world coordinate system. h_pos is a loss related to the accuracy of the position of the person in the camera coordinate system. h_rot is a loss related to the accuracy of the person's orientation in the camera coordinate system. For example, L c_pos is the camera parameter C s,i Corresponds to L h_rot and L h_rot is the camera parameter C s,i and 3D Body Model X s,h,i λ included in Equation (2) is calculated based on c_pos , λ h_pos , λ h_rot is a preset coefficient.
[0064] λ included in Equation (1) hard is a preset coefficient. hard is a value determined by equation (3).
[0065]
[0066] L included in formula (3) pred The training model is trained using the pseudo-teacher data "real image I" s,i The output result when " is input, and the pseudo-teaching data "3D body model X s,h,i This corresponds to the error between
[0067] L' included in formula (3) predis the training target learning model, and the "synthetic image I' of the augmented training data is s,i The output result when " is input, and the augmented training data "3D body model X' s,h,i This corresponds to the error between
[0068] In equation (3), c and d are preset constants, and L pred And L' pred is used to adjust the ratio of c to the range of c±d.
[0069] For example, the information processing device calculates the total loss L total The parameters of the first and second dilators are updated in a direction that decreases the value of .
[0070] As described above, the information processing device executes the process of training the learning model, thereby obtaining a learning model that can correctly recognize the 3D body model of a person appearing in an image of the target domain.
[0071] Next, an example of the configuration of the information processing device described above will be described. Fig. 11 is a functional block diagram showing the configuration of the information processing device according to this embodiment. As shown in Fig. 11, the information processing device 100 according to this embodiment includes a communication unit 110, an input unit 120, a display unit 130, a storage unit 140, and a control unit 150.
[0072] The communication unit 110 executes data communication with external devices via a network, and is realized by a network interface card (NIC) or the like.
[0073] The input unit 120 is an input device that inputs various types of information to the information processing device 100. The input unit 120 corresponds to a keyboard, a mouse, a touch panel, or the like.
[0074] The display unit 130 is a display device that displays information output from the control unit 150. The display unit 130 corresponds to a liquid crystal display, an organic EL (Electro Luminescence) display, a touch panel, or the like.
[0075] The storage unit 140 includes a sample image data table 141, a pseudo-teacher data table 142, an extended teacher data table 143, a domain classifier 144, a data extender 145, and a learning model 146. The storage unit 140 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk.
[0076] The sample image data table 141 holds a plurality of sample images belonging to the Target domain, each for a different scene, such as the sample images 20-1 to 20-4, 21-1 to 21-3, etc., described with reference to FIG.
[0077] The pseudo teacher data table 142 holds multiple pseudo teacher data. FIG. 12 is a diagram showing an example of the data structure of pseudo teacher data. As shown in FIG. 12, the pseudo teacher data includes a 3D body model, body NeRF, scene label, scene NeRF, camera parameters, and real images. The explanations regarding the 3D body model, body NeRF, scene label, scene NeRF, camera parameters, and real images are the same as those explained in FIG. 3.
[0078] The extended teacher data table 143 holds multiple pieces of extended teacher data. Fig. 13 is a diagram showing an example of the data structure of the extended teacher data. As shown in Fig. 13, the extended teacher data includes an extended 3D body model, a scene label, extended camera parameters, and a composite image. The descriptions of the extended 3D body model, the scene label, the extended camera parameters, and the composite image are the same as those described above.
[0079] 14 is a diagram showing an example of the relationship between pseudo teacher data and extended teacher data. For example, extended teacher data 60 is generated from pseudo teacher data 50. Extended teacher data 61 is generated from pseudo teacher data 51. Looking at the extended teacher data 60, 61 generated from the pseudo teacher data 50, 51, it can be seen that extended teacher data with new person poses and camera positions and orientations can be generated while reflecting the appearance and occlusion of the scene in the target domain.
[0080] The domain classifier 144 corresponds to the first domain classifier and the second domain classifier described above. When camera parameters are input to the first domain classifier, the first domain classifier outputs a likelihood score of the target domain. When a 3D body model is input to the second domain classifier, the second domain classifier outputs a likelihood score of the target domain.
[0081] The data extender 145 corresponds to the first extender and the second extender described above. By inputting camera parameters to the first extender, extended camera parameters are output. By inputting a 3D body model to the second extender, an extended 3D body model is output.
[0082] The learning model 146 is a learning model of a training target. For example, the learning model 146 is a neural network (NN).
[0083] We now move on to describing the control unit 150. The control unit 150 includes a pre-processing unit 151, a distribution identification unit 152, an extension processing unit 153, a learning processing unit 154, and an inference unit 155. The control unit 150 is realized by, for example, a central processing unit (CPU) or a micro processing unit (MPU). The control unit 150 may also be implemented by an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0084] The pre-processing unit 151 generates pseudo teacher data based on a plurality of sample images included in the sample image data table 141. The pre-processing unit 151 stores the generated pseudo teacher data in the pseudo teacher data table 142. The processing executed by the pre-processing unit 151 corresponds to the "pre-processing" described above.
[0085] For example, the pre-processing unit 151 inputs sample images into the HMR to identify a 3D body model. The pre-processing unit 151 generates a body NeRF and a scene NeRF from multiple sample images. The pre-processing unit 151 uses information attached to the sample images as scene labels. The pre-processing unit 151 extracts edge lines, vanishing points, etc. from the sample images and estimates camera parameters from the extracted edge lines, vanishing points, etc.
[0086] The pre-processing unit 151 may also generate pseudo-teacher data from a plurality of sample images using any other conventional technology.
[0087] The distribution specifying unit 152 specifies a distribution of camera positions and orientations likely to be in the target domain based on the camera parameters of the plurality of pseudo teacher data stored in the pseudo teacher data table 142. For example, the distribution specifying unit 152 specifies a distribution of camera positions and orientations likely to be in the target domain based on the camera parameters C s,i is input to the first domain classifier, and the distribution 40a shown in FIG. 7 is learned.
[0088] The distribution specifying unit 152 specifies the distribution of human postures (relative positional relationships between the camera and the human) likely to be in the target domain based on the 3D body models of the plurality of pseudo teacher data stored in the pseudo teacher data table 142. For example, the distribution specifying unit 152 specifies the distribution of human postures (relative positional relationships between the camera and the human) likely to be in the target domain based on the 3D body models X s,h,i is input to the second domain classifier, and the distribution 40b shown in FIG. 8 is learned.
[0089] The process executed by the distribution identification unit 152 corresponds to the above-mentioned “process of identifying a distribution likely to be the target domain.” The distribution identification unit 152 stores information on the trained first domain classifier and second domain classifier in the storage unit 140 as the domain classifier 144.
[0090] The extension processing unit 153 calculates the camera parameter C of the pseudo teacher data within the range included in the distribution 40a shown in FIGS. s,i and expand the expanded camera parameters C' s,i Generate.
[0091] For example, the extension processing unit 153 may use the camera parameter C s,i is input to the first expander to obtain the expanded camera parameters C' s,i The extension processing unit 153 generates the extended camera parameters C' s,i The information processing device inputs the generated camera parameters C' s,i " is adopted as the extended camera parameter.
[0092] The extension processing unit 153 extracts the 3D body model X of the pseudo teacher data within the range included in the distribution 40b shown in FIGS. s,h,i Expanded 3D body model X' s,h,i Generate.
[0093] For example, the augmentation processing unit 153 may s,h,i is input to the second expander to obtain the expanded 3D body model X' s,h,i The extension processing unit 153 generates the extended 3D body model X' s,h,i is input to the second domain classifier, and a score of the likelihood of the target domain is calculated. If the score of the likelihood of the target domain is equal to or greater than a threshold, the information processing device classifies the generated "3D body model X' s,h,i " will be adopted as an extended 3D body model.
[0094] Further, the extension processing unit 153 uses the "camera parameters C'" generated by the above processing. s,i " and "3D Body Model X' s,h,i " and "synthetic image I' s,i For example, the augmentation processing unit 153 generates "3D body model X' s,h,i Based on ", the body NeRF hN s,hThe extension processing unit 153 adjusts the posture of the adjusted body NeRF hN s,h and Scene NeRF sN s The combined information is the camera parameter C' s,i By taking a photo with the camera, a composite image I' s,i " is generated.
[0095] 15 is a diagram showing an example of a composite image generated by the extension processing unit. For example, a composite image I′ s,i 3D body model X' included in s,h,i is a 3D body model generated using the body NeRF 14a of the person shown in Figure 5. 3D body models of other people are generated in the same way based on the body NeRF of other people. s,i The background scene of the composite image I' is generated by the scene NeRF. s,i The camera position (camera parameters) of s,i "
[0096] By performing the above processing, the augmentation processing unit 153 generates augmented training data including an augmented 3D body model, scene labels, augmented camera parameters, and a composite image. The scene labels are the same as those in the pseudo training data. The augmentation processing unit 153 registers the generated augmented training data in the augmented training data table 143.
[0097] The process executed by the augmentation processing unit 153 corresponds to the above-mentioned "process of generating augmented teacher data." The augmentation processing unit 153 generates a plurality of pieces of augmented teacher data by repeatedly executing the above-mentioned process.
[0098] The augmentation processing unit 153 may update the parameters of the first and second augmenters so that the recognition error output from the learning model 146 falls within a certain range. For example, the augmentation processing unit 153 may update the parameters of the first and second augmenters so that the recognition error output from the learning model 146 falls within a certain range. totalThe parameters of the first and second augmenters are updated in a direction that decreases the error. As a result, the first augmenter augments the input camera parameters within the range of distribution 40a so that the recognition error output from the learning model 146 falls within a certain range. The second augmenter augments the input 3D body model within the range of distribution 40b so that the recognition error output from the learning model 146 falls within a certain range.
[0099] The learning processing unit 154 trains the learning model 146 based on the pseudo teacher data table 142 and the extended teacher data table 143. For example, the learning processing unit 154 s,i " is input to the learning model 146, and the output of the learning model 146 and the "3D body model X s,h,i The learning processing unit 154 updates the parameters of the learning model 146 based on the error backpropagation method so as to reduce the recognition error.
[0100] The learning processing unit 154 generates the "synthetic image I'" of the extended training data. s,i " is input to the learning model 146, and the output of the learning model 146 and the "3D body model X' of the extended training data are used. s,h,i The learning processing unit 154 updates the parameters of the learning model based on the backpropagation method so as to reduce the recognition error.
[0101] The inference unit 155 infers a 3D body model by inputting image data into the trained learning model 146. The inference unit 155 may acquire the target image data from the input unit 120, or may acquire the image data from an external device via the communication unit 110. The inference unit 155 may output the inference result to the display unit 130 for display, or may transmit information on the inference result to the external device via the communication unit 110.
[0102] Next, an example of a processing procedure of the information processing device 100 according to this embodiment will be described. Fig. 16 is a flowchart showing the processing procedure of the information processing device according to this embodiment. As shown in Fig. 16, the pre-processing unit 151 of the information processing device 100 generates a plurality of pseudo-teacher data by performing pre-processing on a plurality of sample images (step S101).
[0103] The distribution specification unit 152 of the information processing device 100 executes learning of the domain classifier 144 based on the plurality of pseudo teacher data (step S102). The extension processing unit 153 of the information processing device 100 generates a plurality of extended teacher data likely to be the target domain based on the domain classifier 144 and the data extender 145 (step S103).
[0104] The learning processing unit 154 of the information processing device 100 performs machine learning of the learning model 146 based on the plurality of pseudo teacher data and the plurality of extended teacher data (step S104). The extension processing unit 153 updates the parameters of the data extender 145 based on the recognition error of the learning model 146 (step S105).
[0105] If the information processing device 100 determines to continue the process (Yes at step S106), the process proceeds to step S103. On the other hand, if the information processing device does not determine to continue the process (No at step S106), the process ends.
[0106] Next, the effects of the information processing device 100 according to this embodiment will be described. The information processing device 100 identifies a distribution of camera positions and orientations likely to be in the target domain and a distribution of person postures likely to be in the target domain based on a plurality of sample images belonging to the target domain. The information processing device 100 extends the camera positions and orientations and the person postures so that they are included in the distribution of camera positions likely to be in the target domain and the distribution of person postures likely to be in the target domain, and generates extended training data using the extension results.
[0107] 1, the information processing device 100 extends the camera position and orientation (camera parameters) so that they are included in the distribution of camera positions and orientations that are likely to be in the target domain. This makes it possible to cover a range 10a that is wider than the range that can be covered by the second means described as the prior art for the distribution 10 of target domain data. In other words, it is possible to generate extended training data for training a learning model that can correctly recognize the poses of people in images captured with camera positions and orientations different from those corresponding to the sample images.
[0108] The information processing device 100 generates the "synthetic image I'" of the extended training data. s,i " is input to the learning model 146, and the output of the learning model 146 and the "3D body model X' of the extended training data are used. s,h,i This allows us to train a learning model that can correctly recognize the pose of a person in an image taken with a camera position and orientation that differs from the camera position and orientation corresponding to the sample image.
[0109] When training the learning model 146 based on a plurality of pieces of augmented teacher data, the information processing device 100 updates the parameters of the first and second augmenters so that the recognition error output from the learning model 146 falls within a certain range. This makes it possible to generate augmented teacher data that is moderately difficult for the learning model 146 and can reinforce the weaknesses of the learning model 146.
[0110] The information processing device 100 learns a distribution 40a of camera positions and orientations (camera parameters) that are likely to be in the target domain and a distribution 40b that indicates the distribution of person postures (3D body models) based on multiple pseudo-teaching data, thereby generating extended teaching data that is likely to be in the target domain.
[0111] The information processing device 100 extends the pose of the person so that the likelihood score when the extended pose of the person is input to a first classifier is equal to or greater than a threshold. Furthermore, the information processing device 100 extends the position and orientation of the camera in a process of extending the position and orientation of the camera so that the likelihood score when the extended position and orientation of the camera are input to a second classifier is equal to or greater than a threshold. This makes it possible to efficiently generate a camera position and orientation (camera parameters) and a pose of the person (3D body model) that are likely to be in the target domain.
[0112] Next, an example of the hardware configuration of a computer that realizes the same functions as the information processing device 100 described in the above embodiment will be described. Fig. 17 is a diagram showing an example of the hardware configuration of a computer that realizes the same functions as the information processing device of the embodiment.
[0113] 17, computer 300 has a CPU 301 that executes various types of arithmetic processing, an input device 302 that accepts data input from a user, and a display 303. Computer 300 also has a communication device 304 that exchanges data with external devices via a wired or wireless network, and an interface device 305. Computer 300 also has a RAM 306 that temporarily stores various types of information, and a hard disk drive 307. Each of devices 301 to 307 is connected to a bus 308.
[0114] The hard disk drive 307 stores a pre-processing program 307a, a distribution specification program 307b, an extension processing program 307c, a learning processing program 307d, and an inference program 307e. The CPU 301 reads out each of the programs 307a to 307e and loads them into the RAM 306.
[0115] The pre-processing program 307a functions as a pre-processing process 306a. The distribution specification program 307b functions as a distribution specification process 306b. The extension processing program 307c functions as an extension processing process 306c. The learning processing program 307d functions as a learning processing process 306d. The inference program 307e functions as an inference process 306e.
[0116] The processing of the pre-processing process 306a corresponds to the processing of the pre-processing unit 151. The processing of the distribution specification process 306b corresponds to the processing of the distribution specification unit 152. The processing of the extension processing process 306c corresponds to the processing of the extension processing unit 153. The processing of the learning processing process 306d corresponds to the processing of the learning processing unit 154. The processing of the inference process 306e corresponds to the processing of the inference unit 155.
[0117] It should be noted that each of the programs 307a to 307e does not necessarily have to be stored in the hard disk drive 307 from the beginning. For example, each program may be stored in a "portable physical medium" such as a flexible disk (FD), CD-ROM, DVD, magneto-optical disk, or IC card that is inserted into the computer 300. Then, the computer 300 may read and execute each of the programs 307a to 307e.
[0118] REFERENCE SIGNS LIST 100 Information processing device 110 Communication unit 120 Input unit 130 Display unit 140 Storage unit 141 Sample image data table 142 Pseudo teacher data table 143 Extended teacher data table 144 Domain classifier 145 Data extender 146 Learning model 150 Control unit 151 Pre-processing unit 152 Distribution identification unit 153 Extended processing unit 154 Learning processing unit 155 Inference unit
Claims
1. A method for generating an expanded image based on the expanded camera position and orientation and the expanded pose of the person, characterized in that the computer executes the following processes: based on a plurality of sample images in which the person's pose and the position and orientation of the camera photographing the person are different, a first distribution of the person's pose and a second distribution of at least one of the camera's position or orientation; expanding the person's pose within a range included in the first distribution; expanding at least one of the camera's position or orientation within a range included in the second distribution; and generating an expanded image based on at least one of the camera's position or orientation after the expansion and the person's pose after the expansion.
2. The generating method according to claim 1, further comprising the step of inputting the augmented image generated by the generating process into a machine learning model, and training the machine learning model based on the recognition error between the output result of the machine learning model and a three-dimensional body model corresponding to the posture of the person after the augmentation, wherein the computer executes the process.
3. The generation method described in claim 2, characterized in that the process of extending the person's posture extends the person's posture so that the recognition error falls within a certain range, and the process of extending at least one of the camera's position or orientation extends at least one of the camera's position or orientation so that the recognition error falls within a certain range.
4. The method of generating a human subject as described in claim 1, further comprising the steps of: training a first classifier that outputs a likelihood that the expanded human pose is included in the first distribution based on the poses of the human subject included in the plurality of sample images; and training a second classifier that outputs a likelihood that at least one of the expanded camera position or orientation is included in the second distribution based on at least one of the camera position or orientation included in the plurality of sample images.
5. The generation method described in claim 4, characterized in that the process of extending the person's posture extends the person's posture so that a likelihood score when the extended person's posture is input to the first classifier is equal to or greater than a threshold, and the process of extending at least one of the camera's position or orientation extends at least one of the camera's position or orientation so that a likelihood score when the extended camera's position or orientation is input to the second classifier is equal to or greater than a threshold.
6. A generation program that causes a computer to execute the following processes: based on a plurality of sample images in which the person's posture and the position and orientation of the camera photographing the person are different, a first distribution of the person's posture and a second distribution of at least one of the camera's position or orientation are identified; augmenting the person's posture within a range included in the first distribution; augmenting at least one of the camera's position or orientation within a range included in the second distribution; and generating an augmented image based on at least one of the camera's position or orientation after the augmentation and the person's posture after the augmentation.
7. The generation program of claim 6, further comprising inputting the augmented image generated by the generation process into a machine learning model, and causing the computer to execute a process of training the machine learning model based on a recognition error between the output result of the machine learning model and a three-dimensional body model corresponding to the posture of the person after the augmentation.
8. The generation program described in claim 7, characterized in that the process of extending the person's pose extends the person's pose so that the recognition error falls within a certain range, and the process of extending the camera position extends the camera position so that the recognition error falls within a certain range.
9. The generation program of claim 6, further comprising a process of training a first classifier that outputs a likelihood that the expanded pose of the person is included in the first distribution based on the poses of the person included in the plurality of sample images, and a process of training a second classifier that outputs a likelihood that at least one of the expanded camera position or orientation is included in the second distribution based on at least one of the camera position or orientation included in the plurality of sample images.
10. The generation program according to claim 9, characterized in that the process of extending the person's posture extends the person's posture so that a likelihood score when the extended person's posture is input to the first classifier is equal to or greater than a threshold, and the process of extending at least one of the camera's position or orientation extends at least one of the camera's position or orientation so that a likelihood score when the extended camera's position or orientation is input to the second classifier is equal to or greater than a threshold.
11. An information processing device having a control unit that executes the following processes: based on a plurality of sample images in which the person's posture and the position and orientation of the camera capturing the person are different, a first distribution of the person's posture and a second distribution of at least one of the camera's position or orientation; expanding the person's posture within a range included in the first distribution; expanding at least one of the camera's position or orientation within a range included in the second distribution; and generating an expanded image based on at least one of the camera's position or orientation after expansion and the person's posture after expansion.
12. The information processing device described in claim 11, characterized in that the control unit further executes a process of inputting the augmented image generated by the generating process into a machine learning model, and training the machine learning model based on the recognition error between the output result of the machine learning model and a three-dimensional body model corresponding to the posture of the person after the augmentation.
13. The information processing device described in claim 12, characterized in that the process of extending the person's posture extends the person's posture so that the recognition error falls within a certain range, and the process of extending at least one of the camera's position or orientation extends at least one of the camera's position or orientation so that the recognition error falls within a certain range.
14. The information processing device according to claim 11, further comprising a process of training a first classifier that outputs a likelihood that the expanded pose of the person is included in the first distribution based on the poses of the person included in the plurality of sample images, and a process of training a second classifier that outputs a likelihood that at least one of the expanded camera position or orientation is included in the second distribution based on at least one of the camera position or orientation included in the plurality of sample images.
15. The information processing device of claim 14, characterized in that the process of extending the person's posture extends the person's posture so that a likelihood score when the extended person's posture is input to the first classifier is equal to or greater than a threshold, and the process of extending at least one of the camera's position or orientation extends at least one of the camera's position or orientation so that a likelihood score when the extended camera's position or orientation is input to the second classifier is equal to or greater than a threshold.
Citation Information
Patent Citations
Information processing device
JP2022051460A
Method and system for automatically generating large training datasets from 3D models for training deep learning networks
JP2022513272A
Cited By
Generated human body image data amplification method
CN120298229A
Object recognition system
WO2025197369A1
