3D object model generating device and method
The device uses a GCN-based deep learning module to convert 2D skeleton information into 3D, addressing the limitations of existing methods by enabling accurate 3D model generation from a single 2D image, correcting errors, and enhancing precision in analyzing object posture and motion.
Patent Information
- Application Number
- JP2024519589
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-27
- Filing Date
- 2022-01-20
- Publication Date
- 2024-10-16
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for generating three-dimensional models from two-dimensional images require multiple images at different angles, making them impractical for widespread use and limiting the ability to create 3D models from a single 2D image accurately.
A three-dimensional object model generation device and method using a deep learning module, specifically a Graph Convolutional Networks (GCN)-based module, to convert two-dimensional skeleton information into three-dimensional skeleton information, incorporating object information for accurate 3D model generation.
Enables accurate generation of three-dimensional models from a single two-dimensional image, correcting errors in 2D skeleton information due to occlusion or distortion, and improving conversion accuracy through training on centroid, bone length, and joint angle errors, resulting in a more precise analysis of object posture and motion.
Smart Images

Figure 2024537799000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a 3D object model generating apparatus and method, and more particularly to an apparatus for generating a 3D model of a target object from a 2D image, and a method performed by the apparatus. [Background technology]
[0002] By using a 3D model, the posture, motion, etc. of a target object can be analyzed more precisely and accurately. As a result, in fields such as golf and rehabilitation treatment, attempts are being made to analyze the accuracy of user motion (e.g., swing motion, rehabilitation exercise motion) using a 3D human model. As part of such efforts, active research is being conducted on methods for generating a 3D human model from a 2D image of a person's motion.
[0003] Recently, a method has been proposed for modeling a target object in 3D using multiple 2D images. The proposed method captures the target object while rotating the camera to obtain multiple 2D images, and then combines the obtained 2D images to generate a 3D model of the target object. However, the proposed method requires multiple 2D images taken at different rotation angles, making it difficult to widely use in various fields, and has a clear limitation in that a 3D model cannot be generated from a 2D image taken at a single point in time. Summary of the Invention [Problem to be solved by the invention]
[0004] The technical problem to be solved through some embodiments of the present disclosure is to provide an apparatus capable of accurately generating a 3D model of a target object from a 2D image, and a method performed by the apparatus.
[0005] Another technical problem to be solved through some embodiments of the present disclosure is to provide a method for accurately converting 2D skeleton information into 3D skeleton information.
[0006] Yet another technical problem to be solved through some embodiments of the present disclosure is to provide a deep learning module that can accurately convert 2D skeleton information into 3D skeleton information.
[0007] The technical problems of the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by a person of ordinary skill in the art to which the present disclosure pertains from the following description. [Means for solving the problem]
[0008] In order to solve the above technical problems, a 3D object model generation device according to some embodiments of the present disclosure may include a memory for storing one or more instructions, and a processor for performing operations of obtaining 2D skeletal information extracted from a 2D image of a target object by executing the one or more stored instructions, converting the 2D skeletal information into 3D skeletal information via a deep learning module, and generating a 3D model for the target object based on the 3D skeletal information.
[0009] In some embodiments, the deep learning module is a GCN (Graph Convolutional Networks)-based module and may include an encoder that receives the 2D skeleton information as input and extracts feature data, and a decoder that decodes the extracted feature data and outputs the 3D skeleton information.
[0010] In some embodiments, the processor may further obtain other object information other than the 2D skeleton information from the 2D image, and the converting operation may include inputting the 2D skeleton information and the other object information into the deep learning module to obtain the 3D skeleton information.
[0011] In some embodiments, the deep learning module is trained based on an error between 3D skeleton information predicted from training 2D skeleton information and ground truth information, and the error may include at least one of a center of gravity error, a bone length error, and a joint angle error.
[0012] In some embodiments, the deep learning module is trained using 2D skeleton information corrected based on domain information of an object, and the correction may include at least one of adding new connections between key points constituting the skeleton and strengthening connections, where the domain may be defined to be divided based on motion characteristics of the object.
[0013] In some embodiments, the processor may further obtain other object information other than the 2D skeleton information from the 2D image, and perform an operation of correcting the generated 3D model based on the other object information, the correction operation including an operation of extracting 3D skeleton information from the generated 3D model, an operation of correcting the extracted 3D skeleton information according to the other object information, and an operation of regenerating a 3D model for the target object based on the corrected 3D skeleton information.
[0014] In order to solve the above-mentioned technical problems, a 3D object model generation method according to some embodiments of the present disclosure is a method performed on a computing device, and may include the steps of obtaining 2D skeleton information extracted from a 2D image of a target object, converting the 2D skeleton information into 3D skeleton information via a deep learning module, and generating a 3D model for the target object based on the 3D skeleton information.
[0015] In order to solve the above-mentioned technical problems, a computer program according to some embodiments of the present disclosure may be stored in a computer-readable recording medium to be combined with a computing device to perform the steps of obtaining 2D skeleton information extracted from a 2D image of a target object, converting the 2D skeleton information into 3D skeleton information via a deep learning module, and generating a 3D model for the target object based on the 3D skeleton information. Effect of the Invention
[0016] According to some embodiments of the present disclosure described above, a 3D model of a target object may be accurately generated using various object information extracted from a 2D image of the target object. For example, a 3D model of a target object may be accurately generated using posture information, shape information, bone information, joint information, body part information, etc. of the target object. Furthermore, the posture, movement, etc. of the target object may be more accurately analyzed through the generated 3D model.
[0017] Also, a 3D model of the target object can be accurately generated from a single viewpoint 2D image.
[0018] Also, the 2D skeleton information is converted into 3D skeleton information, and a 3D model of the target object can be generated based on the 3D skeleton information and the object information. This allows a more accurate 3D model of the target object to be generated. For example, even if there is some error in the 2D skeleton information due to occlusion or distortion in the 2D image, a more accurate 3D model of the target object can be generated through the 3D skeleton information. Even if there is almost no error in the 2D skeleton information, a more complete 3D model can be generated by further using skeleton information in the depth dimension.
[0019] In addition, by using a GCN (Graph Convolutional Networks)-based conversion module suitable for graph-structured data, 2D skeletal information can be accurately converted into 3D skeletal information.
[0020] In addition, the accuracy of converting skeletal information can be greatly improved by training the conversion module based on various errors such as center of gravity error, bone length error, joint angle error, etc.
[0021] In addition, the accuracy of skeleton information conversion can be further improved by training the conversion module using 2D skeleton information corrected to reflect the operational characteristics of the domain.
[0022] In addition, a more sophisticated 3D model of the target object can be generated by correcting the 3D model using object information extracted from the 2D image.
[0023] The effects of the technical ideas of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the following description. [Brief description of the drawings]
[0024] [Figure 1] 1 is an exemplary diagram for explaining a 3D object model generating device and its input / output data according to some embodiments of the present disclosure. FIG. [Diagram 2] 1 is an exemplary flowchart illustrating a three-dimensional object model generating method according to a first embodiment of the present disclosure. [Diagram 3] 10A to 10C are exemplary diagrams for supplementarily explaining the three-dimensional object model generating method according to the first embodiment of the present disclosure. [Figure 4] 1A to 1C are exemplary diagrams for explaining a method for extracting two-dimensional skeleton information according to some embodiments of the present disclosure. [Diagram 5] 10 is an exemplary flowchart illustrating a three-dimensional object model generating method according to a second embodiment of the present disclosure. [Figure 6] FIG. 11 is an exemplary diagram for supplementarily explaining a three-dimensional object model generating method according to a second embodiment of the present disclosure. [Figure 7] 1 is an exemplary diagram for explaining the structure and learning method of a conversion module according to some embodiments of the present disclosure. FIG. [Figure 8] 1 is an exemplary diagram for explaining the structure and learning method of a conversion module according to some embodiments of the present disclosure. FIG. [Figure 9] 1 is an exemplary diagram for explaining the structure and learning method of a conversion module according to some embodiments of the present disclosure. FIG. [Figure 10] 1 is an exemplary diagram for explaining the structure and learning method of a conversion module according to some embodiments of the present disclosure. FIG. [Figure 11] 1A to 1C are exemplary diagrams for explaining a method for improving the accuracy of conversion of skeleton information according to a first embodiment of the present disclosure. [Figure 12] 13 is an exemplary diagram for explaining a method for improving the accuracy of conversion of skeleton information according to a second embodiment of the present disclosure. FIG. [Figure 13] 13 is an exemplary flowchart illustrating a three-dimensional object model generating method according to a third embodiment of the present disclosure. [Figure 14]FIG. 11 is an exemplary diagram for supplementarily explaining a three-dimensional object model generating method according to a third embodiment of the present disclosure. [Figure 15] FIG. 1 illustrates an exemplary computing device capable of implementing a 3D object model generation device according to some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. The advantages and features of the present disclosure, and the methods for achieving them, will be apparent from the following detailed embodiments with reference to the accompanying drawings. However, the technical idea of the present disclosure is not limited to the following embodiments, and can be realized in various different forms. The following embodiments are merely provided to complete the technical idea of the present disclosure and to fully inform those skilled in the art of the present disclosure of the scope of the present disclosure, and the technical idea of the present disclosure is only defined by the scope of the claims.
[0026] In adding reference symbols to components in each drawing, it should be noted that the same components are assigned the same symbols as much as possible even if they are displayed in different drawings. In addition, in describing this disclosure, if it is determined that a detailed description of such known configurations or functions may obscure the gist of this disclosure, the detailed description will be omitted.
[0027] Unless otherwise defined, all terms (including technical and scientific terms) used herein may be used as meanings commonly understood by those having ordinary skill in the art to which this disclosure belongs. In addition, terms defined in commonly used dictionaries are not interpreted ideally or excessively unless clearly and specifically defined. The terms used herein are intended to describe the embodiments and are not intended to limit the present disclosure. In this specification, the singular form includes the plural form unless otherwise specified in the phrase.
[0028] In addition, in describing components of the present disclosure, terms such as first, second, A, B, (a), (b), etc. may be used. Such terms are merely used to distinguish the components from other components, and do not limit the nature, order, or sequence of the components. When a component is described as being "coupled," "coupled," or "connected" to another component, it should be understood that the component may be directly coupled or connected to the other component, but other components may also be "coupled," "coupled," or "connected" between each component.
[0029] As used in this disclosure, "comprises" and / or "comprising" do not exclude the presence or addition of one or more other components, steps, operations and / or elements other than the stated components, steps, operations and / or elements.
[0030] Various embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings.
[0031] FIG. 1 is an exemplary diagram for explaining a three-dimensional object model generating device 1 according to some embodiments of the present disclosure and its input / output data.
[0032] As shown in FIG. 1, the 3D object model generating apparatus 1 may be a computing device that receives a 2D image 3 of a target object and generates and outputs a 3D model 5 for the target object. For example, the 3D object model generating apparatus 1 may generate a 3D mesh model 5 for the target object from the 2D image 3 obtained by photographing the target object. A specific method in which the 3D object model generating apparatus 1 generates the 3D model 5 will be described in detail later with reference to FIG. 2 and subsequent drawings. Hereinafter, for convenience of explanation, the 3D object model generating apparatus 1 will be abbreviated to "generating apparatus 1".
[0033] The two-dimensional image 3 is an image of a target object, and may be a video image (see 30 in FIG. 3) composed of images of a series of frames, an image of a specific frame, a single image, etc. For example, the two-dimensional image 3 may be a video image obtained by shooting the movement of the target object with a video camera, or an image of a specific frame constituting a video image.
[0034] The type of the target object may be a person as illustrated, but the scope of the present disclosure is not limited thereto, and the target object may be another type of object (e.g., an animal). However, for ease of understanding, the following description will be continued assuming that the type of the target object is a "person".
[0035] The type of the three-dimensional model 5 may be a mesh model as illustrated, but the scope of the present disclosure is not limited thereto, and the three-dimensional model 5 may be another type of model (e.g., a voxel model). However, for ease of understanding, the following description will be continued assuming that the type of the three-dimensional model 5 is a "mesh model."
[0036] In some embodiments, the generating device 1 may analyze the motion of the target object using the 3D model 5. Specifically, the generating device 1 may continuously generate a 3D model (e.g., 5) that replicates the motion of the target object from a video image (i.e., a plurality of frame images) in which the motion of the target object is captured. The generating device 1 may then analyze the 3D model (e.g., 5) to more precisely and accurately determine the motion of the target object. For example, the generating device 1 may determine the accuracy of the motion by analyzing the 3D model (e.g., 5) that replicates the motion of a human object. As a more specific example, the generating device 1 may determine the accuracy of an exercise motion performed by a person, such as a golf motion, a rehabilitation exercise motion, etc. Also, if the accuracy is equal to or lower than a reference value, the generating device 1 may generate and provide a 3D model that replicates the accurate exercise motion.
[0037] 1 illustrates an example in which the generating device 1 is implemented by one computing device, the generating device 1 may be implemented by multiple computing devices. For example, a first function of the generating device 1 may be implemented by a first computing device and a second function of the generating device 1 may be implemented by a second computing device. Alternatively, a specific function of the generating device 1 may be implemented by multiple computing devices.
[0038] The computing device may be, for example, but is not limited to, a notebook computer, a desktop, a laptop, etc., and may include any type of device equipped with computing capabilities. For an example of a computing device, see FIG. 15.
[0039] Above, the generation device 1 according to some embodiments of the present disclosure and its input / output data have been described with reference to Fig. 1. Hereinafter, a 3D object model generation method that can be performed by the generation device 1 will be described in detail with reference to Fig. 2 and subsequent drawings.
[0040] Each step of the 3D object model generation method described below may be realized by one or more instructions executable by a processor of a computing device (e.g., 1). For example, each step of the method described below may be realized by one or more instructions executable by a processor of the generation device 1. In the following, for ease of understanding, the description will be continued on the assumption that all steps of the method described below are performed by the generation device 1 illustrated in FIG. 1. Therefore, when the subject of a particular step (operation) is omitted, it can be understood that it is performed by the generation device 1. However, in some cases, some steps of the method described below may be performed by another computing device.
[0041] 2 is an exemplary flowchart illustrating a three-dimensional object model generating method according to the first embodiment of the present disclosure. However, this is merely a preferred embodiment for achieving the object of the present disclosure, and it goes without saying that some steps may be added or deleted as necessary.
[0042] As shown in Fig. 2, the method according to this embodiment may start with step S120 of extracting object information from a two-dimensional image. Specifically, as shown in Fig. 3, the generating device 1 may extract various object information 32 from a two-dimensional image 31 of a target object via an extraction module 10. The two-dimensional image 31 may be, for example, one of images of a plurality of frames constituting a video image 30.
[0043] The object information 32 may include, for example, pose information, shape information, orientation information, body part information, movement information, bone information, joint information, and the like, but is not limited to these.
[0044] The posture information may include, but is not limited to, posture class, 2D skeleton, etc. Also, the 2D skeleton information may include, but is not limited to, 2D position coordinates of key-points corresponding to parts such as joints and link information of the key-points.
[0045] Furthermore, the shape information may include information regarding the shape or volume of the whole body or a part of the body, but is not limited to this.
[0046] Additionally, the direction information may include, but is not limited to, information regarding the direction of a target object or a camera.
[0047] Furthermore, the body part information may include information regarding the area, center of gravity, etc. of each body part, but is not limited thereto.
[0048] Additionally, the motion information may include, but is not limited to, information regarding motion classes, key point movement speeds, and the like.
[0049] The bone information may also include, but is not limited to, information regarding bone length, orientation, etc. The bone length may be calculated based on, for example, but is not limited to, the distance between key points that make up a two-dimensional skeleton.
[0050] The joint information may include, but is not limited to, information on the angles of the joints, etc. The angles of the joints may be calculated based on the angles of the key points that constitute the two-dimensional skeleton, but is not limited to this.
[0051] The extraction module 10 is a module having an extraction function for the object information 32, and may be embodied in any manner. For example, the extraction module 10 may be embodied as a CNN (Convolutional Neural Networks)-based deep learning module specialized for image analysis, or may be embodied as an image analysis module not based on deep learning (e.g., an edge detection module, etc.).
[0052] The extraction module 10 may be composed of a plurality of modules. For example, the extraction module 10 may be configured to include a module that extracts posture information (e.g., two-dimensional skeleton information) of a target object, a module that extracts body part information, and the like.
[0053] As a more specific example, as shown in FIG. 4, the extraction module 10 may include a CPM (Convolutional Pose Machine) based deep learning module 11, and the generating device 1 may extract two-dimensional skeleton information 35 by detecting a plurality of key points (e.g., 34) corresponding to joints and the like in the two-dimensional image 31 through the deep learning module 11. As described above, the two-dimensional skeleton information 35 may be information composed of the detected key points (e.g., 34) and their two-dimensional coordinates (e.g., X1, Y1). Those skilled in the art should be familiar with the structure and operating principle of CPM, so a description thereof will be omitted.
[0054] Referring again to FIG.
[0055] In step S140, a 3D model for the target object may be generated based on the extracted object information. Specifically, as shown in Fig. 3, the generation device 1 may generate a 3D model 33 for the target object from the object information 32 via the generation module 20.
[0056] The generation module 20 is a module that generates a 3D model based on the object information 32, and may be embodied in any manner. For example, the generation module 20 may be a module that generates (renders) a 3D mesh model for a target object using the object information 32 as a parameter. As a more specific example, when the target object is a person, the generation module 20 may be, for example, a module based on SMPL (Skinned Multi-Person Linear Model). However, the present invention is not limited thereto. Those skilled in the art should be familiar with SMPL, and therefore a description thereof will be omitted.
[0057] The 3D object model generating method according to the first embodiment of the present disclosure has been described above with reference to Figures 2 to 4. According to the above-mentioned method, various object information such as posture information (e.g., 2D skeleton information), body part information, shape information, etc. are extracted from a 2D image, and a 3D model of a target object can be accurately generated by using the extracted object information.
[0058] A 3D object model generating method according to a second embodiment of the present disclosure will be described below with reference to Fig. 5 to Fig. 12. However, in order to clarify the present disclosure, the description of the contents overlapping with the previous embodiment will be omitted.
[0059] 5 is an exemplary flowchart illustrating a three-dimensional object model generating method according to a second embodiment of the present disclosure. However, this is merely a preferred embodiment for achieving the object of the present disclosure, and it goes without saying that some steps may be added or deleted as necessary.
[0060] As shown in FIG. 5, the method according to the present embodiment relates to a method for generating a more accurate 3D model of a target object by converting 2D skeleton information into 3D skeleton information.
[0061] As shown, the method according to this embodiment may also start with step S220 of extracting object information from a 2D image of a target object. Specifically, as shown in Fig. 6, the generating device 1 may extract object information 52 from a 2D image 51 via an extraction module 10. This step S220 is the same as step S120 described above, and therefore a description thereof will be omitted.
[0062] In step S240, the 2D skeleton information may be converted into 3D skeleton information. Specifically, as shown in Fig. 6, the generating device 1 may convert the 2D skeleton information into 3D skeleton information via the conversion module 40. For example, the generating device 1 may input the 2D skeleton information and the object information 52 into the conversion module 40 and obtain the 3D skeleton information from the conversion module 40. Here, the 3D skeleton information may refer to skeleton information in which the position coordinates of the key points are composed of 3D coordinates (i.e., further including depth information).
[0063] In various embodiments of the present disclosure, the conversion module 40 may be a deep learning module trained to convert 2D skeleton information into 3D skeleton information. The structure and training method of the conversion module 40 will be described in detail later with reference to Figures 7 to 12.
[0064] Referring again to FIG.
[0065] In step S260, a 3D model of the target object may be generated based on the 3D skeleton information and other object information. Specifically, as shown in FIG. 6, the generating device 1 may generate a 3D model 53 of the target object from the 3D skeleton information and other object information 52 via the generating module 20. In this case, the 3D model 53 of the target object may be generated more accurately because the 3D skeleton information may provide additional information (i.e., depth information) and errors included in the 2D skeleton information may be corrected in the process of converting the 2D skeleton information into the 3D skeleton information. For example, if there is an occlusion or distortion in the 2D image, some errors may be included in the 2D skeleton information, but such errors may be corrected in the process of the conversion module 40 generating the 3D skeleton information by reflecting the object information 52.
[0066] Step S260 is almost identical to step S140 described above, and therefore will not be described further.
[0067] Hereinafter, various embodiments of the structure of the conversion module 40, the learning method, and the method for improving the conversion accuracy will be described with reference to Figures 7 to 12. Also, for ease of understanding, the reference number of the conversion module 40 will be changed depending on the drawings.
[0068] As described above, the conversion module 40 may be a deep learning module trained to convert 2D skeleton information into 3D skeleton information. Specifically, the conversion module 40 may be a deep learning module trained to convert 2D skeleton information into 3D skeleton information, taking into account object information (i.e., object information other than 2D skeleton information; Feature in FIG. 6).
[0069] The transformation module 40 may be embodied as various types of deep learning modules.
[0070] In some embodiments, as shown in FIG. 7, the conversion module 41 may be embodied as a deep learning module based on GCN (Graph Convolutional Networks). In this case, the performance (i.e., conversion accuracy) of the conversion module 41 may be significantly improved because the 2D skeleton information 61 has a graph structure, and therefore the features contained in the 2D skeleton information 61 may be well extracted using the GCN. In addition, since the object information (e.g., 52) is also feature information related to key points (i.e., graph nodes) or relationships between key points (i.e., graph edges) (e.g., bone information is considered as feature information of edges), the 2D skeleton information 61 and the object information (e.g., 52) may be comprehensively considered and features required for information conversion may be well extracted using the GCN. Those skilled in the art should be well familiar with the structure and operation principle of the GCN, and therefore a detailed description thereof will be omitted. In this embodiment, the 2D skeleton information 61 may be input to the transformation module 41 in the form of an adjacency matrix 63 (Adj-M) and a feature matrix 62 (Fea-M). For example, the connectivity information of the key points may be input in the form of the adjacency matrix 63, and the position coordinates of the key points may be input in the form of the feature matrix 62. In addition, various object information (e.g., 52) may also be input to the transformation module 41 in the form of a feature matrix (e.g., 62).
[0071] The detailed structure of the conversion module 40 may be designed and embodied in various ways.
[0072] In some embodiments, as shown in FIG. 8, the conversion module 42 may be embodied as a deep learning module having an encoder E (Encoder) and a decoder D (Decoder). Examples of such deep learning modules include an auto-encoder, a variational autoencoder (VAE), a U-net, and a W-net, but the scope of the present disclosure is not limited thereto. In this embodiment, the encoder E may extract feature data (e.g., latent vectors) from input 2D skeleton information 71 and object information (not shown), and the decoder D may decode the extracted feature data to output 3D skeleton information 72. The encoder E and / or the decoder D may be based on a GCN.
[0073] Also, in some embodiments, an encoder U composing the transformation module 43 is shown in FIG. E and decoder U D can conceptually have a U-shaped structure. Then, the encoder U E and / or decoder U D can be based on GCN. In this embodiment, the encoder U E can extract multiple feature data (e.g., 73-75) at different abstraction levels by performing a down-sampling process on the input 2D skeleton information and object information. For example, the encoder U E can successively extract data with more aggregated features (e.g., feature data 75 contains more aggregated features than feature data 74) by repeatedly performing graph convolution operations through multiple GCN blocks (layers). Then, the decoder U D The conversion module 43 according to the present embodiment can perform an up-sampling process on the extracted multiple feature data (e.g., 73 to 75). EFeature data extracted by (e.g. 73-75) and decoder U D By utilizing the feature data (e.g., 76, 77) generated by the above, high conversion accuracy can be ensured. In some cases, the conversion module 43 may have a W-shaped structure in which the U-shaped structure illustrated in FIG. 9 is repeated.
[0074] The transformation module 40 may be composed of one or more deep learning modules.
[0075] In some embodiments, the conversion module 40 may be configured as one deep learning module. For example, the conversion module 40 may be a deep learning module trained to receive two-dimensional skeleton information and various object information (e.g., bone information, joint information, body part information, etc.) and output three-dimensional skeleton information. In such a case, the conversion module 40 can convert the two-dimensional skeleton information into three-dimensional skeleton information by comprehensively considering various object information.
[0076] In some other embodiments, the conversion module 40 may be configured with a plurality of deep learning modules that receive different object information from each other. For example, as shown in FIG. 10, the conversion module 40 may be configured to include a first deep learning module 44 and a second deep learning module 45 that receive different object information 82, 84 from each other. Here, the first deep learning module 44 may receive two-dimensional skeleton information 81 and first object information 82 (e.g., bone information) and output three-dimensional first skeleton information 83, and the second deep learning module 45 may receive two-dimensional skeleton information 81 and second object information 84 (e.g., joint information) and output three-dimensional second skeleton information 85. In this case, the generation device 1 may integrate (e.g., average) the first skeleton information 83 and the second skeleton information 85 to calculate the three-dimensional skeleton information to be input to the generation module 20. For reference, if the deep learning modules 44, 45 are GCN-based modules, the object information 82, 84 may be input to the deep learning modules 44, 45 in the form of a feature matrix.
[0077] The conversion module 40 may be trained using training data composed of the two-dimensional skeleton information for training, the object information for training, and the correct answer information (i.e., the three-dimensional skeleton correct answer information). For example, the conversion module 40 may be trained in a direction to reduce an error between the three-dimensional skeleton information predicted from the two-dimensional skeleton information for training and the object information for training (hereinafter, abbreviated as "predicted information") and the correct answer information. However, the specific type of error may vary depending on the embodiment.
[0078] In some embodiments, the conversion module 40 may learn based on the error of the center of gravity. Here, the error of the center of gravity may be calculated based on the difference between the center of gravity calculated from the predicted information and the center of gravity calculated from the correct answer information. Alternatively, the error of the center of gravity may be calculated based on the difference between the center of gravity calculated from the learning 2D skeleton information input to the conversion module 40 and the center of gravity calculated from the predicted information. In this embodiment, the error of the center of gravity may be calculated for each body part, but the scope of the present disclosure is not limited thereto. According to this embodiment, the conversion module 40 can predict the 3D skeleton information by further considering the center of gravity of the input 2D skeleton information.
[0079] In some embodiments, the conversion module 40 may learn based on the error of the bone length. Here, the error of the bone length may be calculated based on the difference between the bone length calculated from the predicted information and the bone length calculated from the correct answer information. As described above, the bone length may be calculated based on the distance between the key points. According to this embodiment, the conversion module 40 can predict the 3D skeleton information by further considering the bone length according to the input 2D skeleton information or bone information.
[0080] In some embodiments, the conversion module 40 may learn based on the error of the joint angle. Here, the error of the joint angle may be calculated based on the difference between the joint angle calculated from the predicted information and the joint angle calculated from the correct answer information. According to this embodiment, the conversion module 40 can predict the 3D skeleton information by further considering the joint angle according to the input 2D skeleton information or joint information.
[0081] In some embodiments, the conversion module 40 may be trained based on symmetric errors. For example, when the training 2D skeleton input to the conversion module 40 has a symmetric structure (e.g., top-bottom symmetry, left-right symmetry), the conversion module 40 may be trained in a direction to reduce errors based on the degree of symmetry of the predicted 3D skeleton. According to this embodiment, the accuracy of conversion for a 2D skeleton having a symmetric structure may be further improved.
[0082] In some embodiments, the conversion module 40 may be trained based on a projection error. Here, the projection error may be calculated based on a difference between 2D skeleton information generated from prediction information through a projection operation and training 2D skeleton information input to the conversion module 40. According to this embodiment, the performance of the conversion module 40 may be further improved by further training the projection error.
[0083] Also, in some embodiments, transformation module 40 may be trained based on a combination of the various embodiments described above.
[0084] Hereinafter, a method for further improving the accuracy of skeleton information conversion will be described with reference to FIGS.
[0085] First, a method for improving the accuracy of conversion of skeleton information according to a first embodiment of the present disclosure will be described with reference to FIG.
[0086] As shown in FIG. 11, this embodiment relates to a method for improving the accuracy of transformation of skeleton information by training the transformation module 46 using two-dimensional skeleton information 91 corrected using the domain's operational characteristics.
[0087] Specifically, the domain of the target object may be defined to be divided based on the motion characteristics of the target object. In other words, objects sharing a common motion characteristic may belong to the same domain. For example, the domain of the target object may be divided into soccer (i.e., objects related to soccer motions), golf, rehabilitation therapy, etc. As another example, the domain of the target object may be divided into foot motions (i.e., objects related to foot motions), hand motions, etc. As yet another example, the domain of the target object may be defined in a more detailed form, such as a first motion related to golf, a second motion related to golf, etc.
[0088] In such a case, the training two-dimensional skeleton information 91 may be corrected based on the operational characteristics of the domain. Then, the conversion module 46 may be trained using the corrected two-dimensional skeleton information 92, thereby improving the performance of the conversion module 46. At this time, the correction of the two-dimensional skeleton information 91 may include, for example, adding new connection lines between key points constituting the skeleton, strengthening the connection lines (e.g., amplifying the values of the adjacency matrix indicating the connection lines), etc., but the scope of the present disclosure is not limited thereto.
[0089] For example, as shown in the figure, assume that the domain of the target object is golf. Since both hands are often used due to the characteristics of golf movements, correction may be performed in the two-dimensional skeleton information 91 by adding new connection lines 93 between key points corresponding to both hands or strengthening connection lines of key points corresponding to parts of the hands. Then, the conversion module 46 may learn using the corrected two-dimensional skeleton information 92. In this case, the conversion module 46 predicts the three-dimensional skeleton information 94 by further concentrating on body parts related to the movements of the golf domain, and therefore the performance of the conversion module 46 (i.e., the accuracy of conversion of skeleton information) may be significantly improved.
[0090] As another example, suppose the domain of the target object is soccer. In this case, since the feet are often used due to the characteristics of soccer movements, correction may be performed by adding new connection lines between key points corresponding to both feet in the 2D skeleton information or strengthening the connection lines of key points corresponding to parts of the feet.
[0091] For reference, even in the process of converting 2D skeletal information into 3D skeletal information using the learned transformation module 46, the 2D skeletal information may be corrected based on domain information of the target object, and the corrected 2D skeletal information may be input to the transformation module 46.
[0092] Hereinafter, a method for improving the accuracy of conversion of skeleton information according to a second embodiment of the present disclosure will be described with reference to FIG.
[0093] As shown in FIG. 12, this embodiment relates to a method for improving the accuracy of conversion of skeleton information by constructing conversion modules 47 and 48 according to the domain of the target object.
[0094] For example, the first conversion module 47 may be constructed by learning learning data belonging to the first domain, and the second conversion module 48 may be constructed by learning learning data belonging to the second domain. In such a case, the first conversion module 47 is capable of converting the input two-dimensional skeleton information 94 into three-dimensional skeleton information 95 reflecting the characteristics (e.g., movement characteristics) of the first domain, and the second conversion module 48 is capable of converting the input two-dimensional skeleton information 96 into three-dimensional skeleton information 97 reflecting the characteristics of the second domain.
[0095] In this embodiment, the generating device 1 determines a conversion module from among a plurality of conversion modules 47, 48 that corresponds to the domain of the target object, and can convert 2D skeletal information into 3D skeletal information via the determined conversion module.
[0096] A method for improving the accuracy of skeleton information conversion according to a third embodiment of the present disclosure will be described below.
[0097] This embodiment relates to a method for improving the accuracy of converting skeletal information by training the conversion module 40 with training data including domain information.
[0098] Specifically, the conversion module 40 may be trained using training data composed of two-dimensional skeletal information for training, object information, domain information, and correct answer information. For example, two-dimensional skeletal information for training, object information, and domain information may be input to the conversion module 40, and the conversion module 40 may be trained in a direction that reduces the error between the three-dimensional skeletal information predicted by the conversion module 40 and the correct answer information. In such a case, the conversion module 40 may be able to convert the two-dimensional skeletal information into three-dimensional skeletal information, reflecting the domain characteristics (e.g., motion characteristics) of the target object.
[0099] For reference, in the process of converting 2D skeleton information into 3D skeleton information using the trained conversion module 40 , domain information of the target object may also be input to the conversion module 40 .
[0100] A method for improving the accuracy of skeleton information conversion according to a fourth embodiment of the present disclosure will be described below.
[0101] This embodiment relates to a method for improving the accuracy of conversion of skeleton information by training the conversion module 40 using two-dimensional skeleton information corrected based on the moving speed of key points that constitute the skeleton.
[0102] Specifically, when a 2D image of a target object is composed of images of a plurality of consecutive frames, the movement speed of key points can be extracted along with the 2D skeleton information. Then, the conversion module 40 can learn using the 2D training skeleton information generated by correcting (e.g., adding new connection lines, strengthening connection lines) the connection lines between key points whose movement speed is equal to or greater than a reference value. In this case, the conversion module 40 can predict 3D skeleton information by concentrating on body parts that move relatively more, thereby improving the accuracy of conversion of skeleton information.
[0103] For reference, even in the process of converting 2D skeleton information into 3D skeleton information using the learned conversion module 40, the 2D skeleton information may be corrected based on the movement speed of the key points, and the corrected 2D skeleton information may be input to the conversion module 40.
[0104] A 3D object model generating method according to the second embodiment of the present disclosure has been described above with reference to FIGS. 5 to 12. According to the above-described method, 2D skeleton information is converted into 3D skeleton information through the conversion module 40, and a 3D model can be generated based on the 3D skeleton information and the object information. This allows a more accurate 3D model to be generated for the target object. For example, even if there is an error in the 2D skeleton information due to occlusion or distortion in the 2D image, a more accurate 3D model can be generated for the target object. Even if there is almost no error in the 2D skeleton information, a more complete 3D model can be generated by further providing depth-dimensional skeleton information to the generation module 20.
[0105] In addition, by using a GCN-based conversion module suitable for graph-structured data, 2D skeletal information can be accurately converted into 3D skeletal information.
[0106] In addition, the accuracy of converting skeleton information can be greatly improved by training the conversion module based on various errors such as center of gravity error, bone length error, joint angle error, etc.
[0107] In addition, the accuracy of skeleton information conversion can be further improved by correcting the 2D skeleton information to reflect the operational characteristics of the domain and training the conversion module using the corrected 2D skeleton information.
[0108] A three-dimensional object model generating method according to a third embodiment of the present disclosure will be described below with reference to Fig. 13 and Fig. 14. However, in order to clarify the present disclosure, a description of the contents overlapping with the previous embodiment will be omitted.
[0109] 13 is an exemplary flowchart illustrating a three-dimensional object model generating method according to a third embodiment of the present disclosure. However, this is merely a preferred embodiment for achieving the object of the present disclosure, and it goes without saying that some steps may be added or deleted as necessary.
[0110] As shown in FIG. 13, the method according to the present embodiment relates to a method for generating a more accurate 3D model of a target object by correcting the 3D model using object information extracted from a 2D image.
[0111] Steps S320 to S360 are the same as steps S220 to S260 described above, respectively, and therefore a description thereof will be omitted.
[0112] In step S380, the 3D model of the target object may be corrected, although the specific correction method may vary depending on the embodiment.
[0113] In some embodiments, as shown in FIG. 14, a 3D model 113 may be corrected based on object information 112 (e.g., 2D skeleton information, bone information, joint information) extracted from a 2D image 111. Specifically, the generating device 1 may extract 3D skeleton information from the 3D model 113 and correct the 3D skeleton information through the correction module 100. The generating device 1 may then provide the corrected 3D skeleton information and object information 112 to the generating module 20, and regenerate a 3D model 113 for the target object. In this embodiment, the correction module 100 may perform a function of correcting input 3D skeleton information to match the input object information. According to this embodiment, the 3D model 113 may be corrected to match the object information 112 extracted from the 2D image 111, thereby further improving the accuracy of the 3D model 113. To further explain, the object information 112 is relatively accurate information since it is information directly extracted from the 2D image 111. However, since the object information 112 is mostly 2D information, errors may occur in the process in which the generation module 20 generates the 3D model 113 based on the object information 112. Therefore, if a correction process is further performed so that the 3D model 113 matches the object information 112, the errors of the generation module 20 can be minimized and a more precise 3D model 113 can be generated.
[0114] In the above embodiment, the correction module 100 may be embodied as a deep learning module or other types of modules. For example, the correction module 100 may be embodied as a deep learning module trained to receive the 3D skeleton information and the object information 112 and output the corrected 3D skeleton information. The correction module 100 may be embodied by having the same or similar structure as the above-mentioned conversion module 40 and being trained in the same or similar manner. As another example, the correction module 100 may be embodied as a module that performs a predetermined correction logic on the input 3D skeleton information according to the object information 112.
[0115] In some other embodiments, the 3D model (e.g., 113) may be corrected based on 3D object information (e.g., 3D skeleton information, 3D bone information, 3D joint information, 3D body part information, etc.) extracted from the 3D model (e.g., 113). Specifically, the generating device 1 may correct the input 3D object information using a deep learning-based correction module (e.g., 100). For example, the correction module (e.g., 100) may be a deep learning module that has learned learning data composed of 3D skeleton information before correction, 3D object information, and corrected 3D skeleton information. The correction module (e.g., 100) according to this embodiment may also have the same or similar structure as the above-mentioned conversion model 40 and may be embodied by being learned in the same or similar manner.
[0116] Meanwhile, in some embodiments of the present disclosure, the generating device 1 may determine the accuracy of the generation of the 3D model, and perform the correction step S380 in response to determining that the determined accuracy is equal to or less than a reference value. For example, the generating device 1 may extract 3D skeleton information from the 3D model, and convert the 3D skeleton information into 2D skeleton information through a projection operation. Then, the generating device 1 may determine the accuracy of the generation of the 3D model based on the difference between the converted 2D skeleton information and the 2D skeleton information extracted from the 2D image. According to this embodiment, the correcting step S380 is performed only when the accuracy of the generation of the 3D model is equal to or less than a reference value, thereby reducing the computing cost input to the generating device 1.
[0117] A 3D object model generating method according to the third embodiment of the present disclosure has been described above with reference to Figures 13 and 14. According to the above-described method, a more precise 3D model of a target object can be generated by correcting the 3D model using object information extracted from a 2D image.
[0118] The following describes an exemplary computing device 120 capable of implementing a generating device 1 according to some embodiments of the present disclosure.
[0119] FIG. 15 is an exemplary hardware configuration diagram of a computing device 120.
[0120] As shown in FIG. 15, the computing device 120 may include one or more processors 121, a bus 123, a communication interface 124, a memory 122 for loading a computer program executed by the processor 121, and a storage 125 for storing a computer program 126. However, FIG. 15 shows only components related to the embodiment of the present disclosure. Therefore, a person skilled in the art to which the present disclosure belongs may understand that other general components may be included in addition to the components shown in FIG. 15. That is, the computing device 120 may further include various components in addition to the components shown in FIG. 15. In addition, the computing device 120 may be configured in a form in which some of the components shown in FIG. 15 are omitted depending on the case. Each component of the computing device 120 will be described below.
[0121] The processor 121 can control the overall operation of each component of the computing device 120. The processor 121 may include at least one of a central processing unit (CPU), a micro processor unit (MPU), a micro controller unit (MCU), a graphic processing unit (GPU), or any other type of processor well known in the technical field of the present disclosure. The processor 121 can also perform calculations for at least one application or program for performing operations / methods according to the embodiments of the present disclosure. The computing device 120 can include one or more processors.
[0122] The memory 122, in turn, can store various data, instructions and / or information. The memory 122 can load one or more computer programs 126 from the storage 125 to perform operations / methods according to embodiments of the present disclosure. The memory 122 may be implemented as a volatile memory such as a RAM, although the scope of the present disclosure is not limited in this respect.
[0123] The bus 123 can then provide a communication function between the components of the computing device 120. The bus 123 can be implemented as various types of buses, such as an address bus, a data bus, and a control bus.
[0124] Next, the communication interface 124 can support wired and wireless Internet communication of the computing device 120. The communication interface 124 can also support various communication methods other than Internet communication. To this end, the communication interface 124 can be configured to include a communication module well known in the technical field of the present disclosure. In some cases, the communication interface 124 may be omitted.
[0125] The storage 125 may then non-temporarily store one or more computer programs 126. The storage 125 may include a non-volatile memory such as a read only memory (ROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, a hard disk, a removable disk, or any other form of computer-readable recording medium well known in the art to which the present disclosure pertains.
[0126] The computer program 126, in turn, may include one or more instructions that, when loaded into the memory 122, cause the processor 121 to perform operations / methods according to various embodiments of the present disclosure. That is, the processor 121 may perform operations / methods according to various embodiments of the present disclosure by executing the one or more instructions.
[0127] For example, the computer program 126 may include instructions for performing an operation of obtaining 2D skeleton information extracted from a 2D image of a target object, an operation of converting the 2D skeleton information into 3D skeleton information through a deep learning module, and an operation of generating a 3D model for the target object based on the 3D skeleton information. In this case, a generating device 1 according to some embodiments of the present disclosure may be embodied through the computing device 120.
[0128] The technical ideas of the present disclosure described above with reference to Figures 1 to 15 may be embodied as computer readable codes on a computer readable medium. The computer readable recording medium may be, for example, a portable recording medium (CD, DVD, Blu-ray disc, USB storage device, portable hard disk) or a fixed recording medium (ROM, RAM, computer-installed hard disk). The computer program recorded on the computer readable recording medium may be transmitted to another computing device via a network such as the Internet and installed in the other computing device, and thus may be used in the other computing device.
[0129] Although all components constituting the embodiments of the present disclosure have been described as being combined together or operating in combination, the technical idea of the present disclosure is not necessarily limited to such embodiments. In other words, within the scope of the purpose of the present disclosure, all components may be selectively combined to operate in one or more combinations.
[0130] Although the figures show operations in a particular order, it should not be understood that the operations must be performed in the particular order or sequentially shown, or that all of the operations shown must be performed to achieve desired results. In certain situations, multitasking and parallel processing may be advantageous. Furthermore, the separation of various components in the above-described embodiments should not be understood as necessarily requiring such separation, and it should be understood that the program components and systems described may generally be integrated together in a single software product or packaged in multiple software products.
[0131] Although the embodiments of the present disclosure have been described above with reference to the accompanying drawings, those skilled in the art to which the present disclosure pertains can understand that the present disclosure can be embodied in other specific forms without changing its technical ideas or essential features. Therefore, it should be understood that the embodiments described above are illustrative in all respects and are not limiting. The scope of protection of the present disclosure should be interpreted by the scope of the appended claims, and all technical ideas within the scope equivalent thereto should be interpreted as being included in the scope of rights of the technical ideas defined by the present disclosure.
Claims
1. a memory storing one or more instructions; Executing the one or more stored instructions, obtaining two-dimensional skeleton information extracted from the two-dimensional image of the target object; converting the two-dimensional skeleton information into three-dimensional skeleton information via a deep learning module; and a processor that performs an operation of generating a three-dimensional model for the target object based on the three-dimensional skeleton information.
2. The deep learning module includes: It is a GCN (Graph Convolutional Networks) based module, 2. The three-dimensional object model generating device according to claim 1, further comprising: an encoder for receiving the two-dimensional skeleton information and extracting feature data; and a decoder for decoding the extracted feature data and outputting the three-dimensional skeleton information.
3. The encoder performs a downsampling process to extract feature data at different levels of abstraction; The 3D object model generating apparatus according to claim 2 , wherein the decoder performs an upsampling process using the plurality of feature data.
4. The processor further obtains object information other than the two-dimensional skeleton information from the two-dimensional image; The converting operation includes: The three-dimensional object model generating device according to claim 1 , further comprising an operation of inputting the two-dimensional skeleton information and the other object information into the deep learning module to obtain the three-dimensional skeleton information.
5. The other object information is Bone information, including bone length; Joint information, including joint angles; and The three-dimensional object model generating device according to claim 4 , further comprising at least one of the body part information including an area of the body part.
6. The deep learning module includes a first deep learning module that receives an input of first object information among the additional object information, and a second deep learning module that receives an input of second object information; The obtaining operation includes: The three-dimensional object model generating device of claim 4, further comprising an operation of combining first skeleton information output through the first deep learning module and second skeleton information output through the second deep learning module to obtain the three-dimensional skeleton information.
7. The deep learning module is trained based on an error between three-dimensional skeleton information predicted from two-dimensional skeleton information for learning and correct answer information, The three-dimensional object model generating apparatus according to claim 1 , wherein the errors include at least one of an error in center of gravity, an error in bone length, and an error in joint angle.
8. The deep learning module is trained using two-dimensional skeleton information corrected based on domain information of an object; The correction includes at least one of adding new connections between key points that make up the skeleton and strengthening connections; The three-dimensional object model generating apparatus according to claim 1 , wherein the domains are defined so as to be divided based on motion characteristics of the objects.
9. The 3D object model generating device of claim 1, wherein the 2D skeleton information for learning of the deep learning module is generated by correcting the connecting lines between key points based on the movement speed of the key points of the 2D skeleton information extracted from images of consecutive frames.
10. The deep learning module is a plurality of modules; The converting operation includes: determining a deep learning module among the plurality of deep learning modules that corresponds to a domain of the target object; and converting the two-dimensional skeleton information into the three-dimensional skeleton information via the determined deep learning module; The three-dimensional object model generating apparatus according to claim 1 , wherein the domains are defined so as to be divided based on motion characteristics of the objects.
11. The converting operation includes: inputting the two-dimensional skeleton information and domain information of the target object into the deep learning module to obtain the three-dimensional skeleton information; The three-dimensional object model generating apparatus according to claim 1 , wherein the domains are defined so as to be divided based on motion characteristics of the objects.
12. The processor, Further obtaining object information other than the two-dimensional skeleton information from the two-dimensional image; Further performing an operation of correcting the generated three-dimensional model based on the other object information; The correcting operation includes: extracting 3D skeleton information from the generated 3D model; correcting the extracted three-dimensional skeleton information in accordance with the other object information; and The three-dimensional object model generating apparatus according to claim 1 , further comprising an operation of regenerating a three-dimensional model for the target object based on the corrected three-dimensional skeleton information.
13. 1. A method performed on a computing device, comprising: obtaining 2D skeleton information extracted from the 2D image of the target object; converting the two-dimensional skeleton information into three-dimensional skeleton information through a deep learning module; generating a three-dimensional model for the target object based on the three-dimensional skeleton information.
14. In combination with a computing device, obtaining 2D skeleton information extracted from the 2D image of the target object; converting the two-dimensional skeleton information into three-dimensional skeleton information through a deep learning module; and generating a three-dimensional model for the target object based on the three-dimensional skeleton information. Computer program.
Citation Information
Patent Citations
Comprehensive design method for earthquake resistance of apartment house
KR102333776B1
Deep learning system
WO2019226686A2
Three-dimensional object reconstruction
WO2020099338A1
Real-time system for generating 4d spatio-temporal model of a real world environment
WO2021099778A1
