CN109859306A - A method of extracting manikin in the slave photo based on machine learning - Google Patents
- ️Fri Jun 07 2019
CN109859306A - A method of extracting manikin in the slave photo based on machine learning - Google Patents
A method of extracting manikin in the slave photo based on machine learning Download PDFInfo
-
Publication number
- CN109859306A CN109859306A CN201811579410.0A CN201811579410A CN109859306A CN 109859306 A CN109859306 A CN 109859306A CN 201811579410 A CN201811579410 A CN 201811579410A CN 109859306 A CN109859306 A CN 109859306A Authority
- CN
- China Prior art keywords
- human body
- model
- manikin
- machine learning
- extracting Prior art date
- 2018-12-24 Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000010801 machine learning Methods 0.000 title claims abstract description 16
- 238000012549 training Methods 0.000 claims abstract description 19
- 238000013507 mapping Methods 0.000 claims description 12
- 210000000689 upper leg Anatomy 0.000 claims description 9
- 210000002414 leg Anatomy 0.000 claims description 6
- 210000001699 lower leg Anatomy 0.000 claims description 6
- 230000009977 dual effect Effects 0.000 claims description 3
- 239000000284 extract Substances 0.000 claims description 3
- 238000013528 artificial neural network Methods 0.000 abstract description 4
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000037237 body shape Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Image Analysis (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Image Processing (AREA)
Abstract
The method that manikin is extracted in the present invention provides a kind of slave photo based on machine learning, it is the following steps are included: divide region for training picture, handmarking's human body picture obtains training data;Using training data and standardized human body's model template, training obtains human body 3D model;The 3D model of human body image to be measured and the UV coordinate of textures are obtained in conjunction with human body 3D model;Output has the 3D model of textures.Common photo can be used in the present invention, is rapidly Human Modeling, using deep neural network, can restore human body in the scene of various complexity with very high precision.The present invention does not need depth of field camera or multiple groups camera, getable 3D model is corresponded to the true form of human body, provides wide application scenarios for various industries, such as clothes, health etc..
Description
Technical field
The invention belongs to human body three-dimensionals to model field, and in particular to extract human body in a kind of slave photo based on machine learning The method of model.
Background technique
In current area, the method for human body three-dimensional modeling that there are two main classes: the first kind is to have one group of joint, such as neck in mind Portion, such as ancon, obtain a simple skeleton model figure of human body, this partial data does not include the body scale of analysis object The information of information, analysis is very limited.Second class is by 3D scanning technique, using multiple groups camera, to shoot multiple side Formula, split go out a 3D model, and the model that this method obtains can not rule out clothes, influence of the hair style to body.
Information at present about the method analysis of human body three-dimensional modeling is very limited, can not rule out clothes, hair style to body The influence of model, obtained model application field are very limited.The textures that depth camera multi-angle photographic method is taken are then The model that split obtains cannot perceive for 3D without body scale data and provide basis.
Summary of the invention
The method that manikin is extracted in the object of the present invention is to provide a kind of slave photo based on machine learning, the present invention Depth of field camera or multiple groups camera are not needed, getable 3D model is corresponded to the true form of human body, is various industries, For example clothes, health etc. provide wide application scenarios.
For achieving the above object, the present invention is achieved by the following scheme:
A method of in the slave photo based on machine learning extract manikin, it the following steps are included:
(1) training image is divided into region, carries out handmarking, obtains training data;
(2) according to training data and standardized human body's model template, training obtains human body 3D model;
(3) human body image to be measured is inputted, obtains the 3D model of human body image to be measured and the UV of textures in conjunction with human body 3D model Coordinate;
(4) textures are carried out to the 3D model of human body image to be measured, output has the 3D model of textures.
Further, step (2) the Plays manikin template are as follows:
Wherein, eachThe vertex of corresponding 3 dimension space manikins, X represent standardized human body's model The set on template vertex.
Further, standardized human body's model template be one by triangle sets at standard 3D grid, wherein three Angular quantity is 6000.
Further, the position of handmarking is the edge of body and the key position of human body in the step (1).
Further, left side head is in the middle region that divides of the step (1), right side head, neck, left upper arm, lower-left arm, Bottom right arm, right upper arm, trunk, left hand, the right hand, left thigh, right thigh, left leg, right leg, left foot, right crus of diaphragm, wherein upper arm, Lower arm, thigh, shank are made of tow sides two parts.
Further, in the step (3), human body to be measured is the change in topology and DUAL PROBLEMS OF VECTOR MAPPING of human body 3D model, two-way ψ is mapped, from 3D coordinate to the space 2DTo ψ: representing mapping relations, uj: 2D space coordinate, xj: human body 3D model coordinate represents a vertex in 3Dmesh.
Further, textures used in the step (4) are object to be measured human body image.
Compared with prior art, advantages of the present invention and have the technical effect that the present invention provides pass through deep neural network The method that Whole Body photo obtains accurate human 3d model is analyzed, common photo can be used in the present invention, be rapidly people Volume modeling can restore human body in the scene of various complexity using deep neural network with very high precision.This method Principle can be widely used in the field of other 2D to 3D conversion, thinner coordinate cutting off field, face modeling, human ear builds Mould, the modeling of people's foot can be accomplished.
Using technical solution of the present invention, solves following technical problem: accurate profile of the human body under complicated background Separation, the semantic segmentation of human body;Human body contour outline will exclude the influence of loose clothing, hair style, accomplish to approach human body to the full extent Body shape in not habited situation.
By the present invention in that realizing human testing with multiple deep neural networks, human body semantic segmentation is schemed from 2D Mapping reconstruction of the piece to 3D model.The present invention does not need depth of field camera or multiple groups camera, with regard to getable 3D model pair The true form of human body is answered, provides wide application scenarios for various industries, such as clothes, health etc..
Detailed description of the invention
Fig. 1 is that the process for the method for extracting manikin in a kind of slave photo based on machine learning proposed by the present invention is shown It is intended to;
Fig. 2 is the schematic diagram of human body main portions label;
Fig. 3 is using the image of people as input, the schematic diagram of 3D model of the output with textures.
Specific embodiment
The technical scheme of the present invention will be explained in further detail With reference to embodiment.
The present invention utilize training data labeling method Fast Labeling, carry out the division of the human body meaning of one's words, can in complex background, Under the scene of different distance, the algorithm model for the body precisely rebuild.
Embodiment 1
As shown in Figure 1, a kind of method that manikin is extracted in the slave photo based on machine learning is present embodiments provided, Specific step is as follows:
1, training crowd is selected, taking pictures under various scenes is carried out to it, the human body in training picture is divided into 24 Meaning of one's words region, key position include left side head, right side head, neck, left upper arm, right upper arm, lower-left arm, bottom right arm, trunk, Left hand, the right hand, left thigh, right thigh, left leg, right leg, left foot, right crus of diaphragm, wherein upper arm, lower arm, thigh, shank are all It is made of tow sides two parts.Handmarking is carried out to key point, accumulates a large amount of image data.On training picture, need The edge (not being the edge of clothes) of artificial mark body and the key position label of human body, are shown in Fig. 2.
2, using image data obtained in step 1 as training data, meanwhile, using standardized human body's model template to human body It is modeled, training obtains human body 3D model.Wherein, standardized human body's model templateEachThe vertex of corresponding 3 dimension space manikins, X represent the set on standardized human body's model template vertex;The mark Quasi- manikin template be one by triangle sets at standard 3D grid, wherein number of triangles is 6000.
3, what is inputted when defining machine learning model is picture, and one group of mapping may be implemented in the feature captured from picture, The point-to-point mapping for completing 2D and 3D, from this group mapping, the 3D model of available target body, i.e. depth model, and patch The UV coordinate of figure.It is specific as follows:
The picture of object to be measured human body is inputted, picture is rgb format, can be the human body picture of free position;Mesh to be measured Mark human body is the change in topology and DUAL PROBLEMS OF VECTOR MAPPING of human body 3D model.
Biaxial stress structure ψ, from 3D coordinate to the space 2DTo Wherein, ψ: mapping relations, u are representedj: the 2D space coordinate obtained from object to be measured human figure's on piece, xj: human body 3D model coordinate represents A vertex in 3Dmesh.The manikin template of 3D be by many triangulars at, the stretching of triangle, rotation, position The variation for moving corresponding human body extracts one group of Topology Vector mapping, represents these variations.
4, directly using object to be measured human body picture as textures, according to the UV coordinate for obtaining textures in step 3, for target person The 3D model of body colours textures, and output has the 3D model of textures, sees Fig. 3.This step is to carry out textures to the 3D model of completion, UV is the coordinate of textures, it is thus necessary to determine that the corresponding relationship of each pixel and 3D on photo, U and V can be trained individually, and purpose exists In the complexity for reducing calculating.
Based on training data, the foundation of model above relies on a convolutional neural networks (CNN) to complete.Of the invention Purpose is some region each pixel-map on picture to target template, certainly also includes the picture for being not belonging to human body Element, mapping can generate an empty output, can be ignored.This is that typical returns calculates.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than is limited;Although referring to aforementioned reality Applying example, invention is explained in detail, for those of ordinary skill in the art, still can be to aforementioned implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these are modified or replace It changes, the spirit and scope for claimed technical solution of the invention that it does not separate the essence of the corresponding technical solution.
Claims (7)
1. in a kind of slave photo based on machine learning extract manikin method, it is characterised in that: it the following steps are included:
(1) training image is divided into region, carries out handmarking, obtains training data;
(2) according to training data and standardized human body's model template, training obtains human body 3D model;
(3) human body image to be measured is inputted, the 3D model of human body image to be measured and the UV coordinate of textures are obtained in conjunction with human body 3D model;
(4) textures are carried out to the 3D model of human body image to be measured, output has the 3D model of textures.
2. extracting the method for manikin in the slave photo according to claim 1 based on machine learning, it is characterised in that: Step (2) the Plays manikin template are as follows:
Wherein, eachThe vertex of corresponding 3 dimension space manikins, X represent standardized human body's model template The set on vertex.
3. extracting the method for manikin in the slave photo according to claim 2 based on machine learning, it is characterised in that: Standardized human body's model template be one by triangle sets at standard 3D grid, wherein number of triangles is 6000.
4. extracting the method for manikin in the slave photo according to claim 1 based on machine learning, it is characterised in that: The position of handmarking is the edge of body and the key position of human body in the step (1).
5. extracting the method for manikin in the slave photo according to claim 1 based on machine learning, it is characterised in that: It is left side head, right side head, neck, left upper arm, lower-left arm, bottom right arm, right upper arm, body that region is divided in the step (1) It is dry, left hand, the right hand, left thigh, right thigh, left leg, right leg, left foot, right crus of diaphragm, wherein upper arm, lower arm, thigh, shank are all It is to be made of tow sides two parts.
6. extracting the method for manikin in the slave photo according to claim 1 based on machine learning, it is characterised in that: In the step (3), human body to be measured is the change in topology and DUAL PROBLEMS OF VECTOR MAPPING of human body 3D model, biaxial stress structure ψ, from 3D coordinate to 2D SpaceTo ψ: mapping relations, u are representedj: 2D space coordinate, xj: people Body 3D model coordinate represents a vertex in 3Dmesh.
7. extracting the method for manikin in the slave photo according to claim 1 based on machine learning, it is characterised in that: Textures used in the step (4) are object to be measured human body image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811579410.0A CN109859306A (en) | 2018-12-24 | 2018-12-24 | A method of extracting manikin in the slave photo based on machine learning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811579410.0A CN109859306A (en) | 2018-12-24 | 2018-12-24 | A method of extracting manikin in the slave photo based on machine learning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109859306A true CN109859306A (en) | 2019-06-07 |
Family
ID=66891950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811579410.0A Pending CN109859306A (en) | 2018-12-24 | 2018-12-24 | A method of extracting manikin in the slave photo based on machine learning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109859306A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111311732A (en) * | 2020-04-26 | 2020-06-19 | 中国人民解放军国防科技大学 | 3D human body mesh acquisition method and device |
CN112070896A (en) * | 2020-09-07 | 2020-12-11 | 哈尔滨工业大学(威海) | An automatic slimming method for portraits based on 3D modeling |
CN114004669A (en) * | 2021-10-08 | 2022-02-01 | 深圳Tcl新技术有限公司 | Data processing method, device and computer readable storage medium |
CN118506458A (en) * | 2024-07-17 | 2024-08-16 | 凝动万生医疗科技(武汉)有限公司 | High-precision multi-view motion capturing method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182765A (en) * | 2014-08-21 | 2014-12-03 | 南京大学 | Internet image driven automatic selection method of optimal view of three-dimensional model |
US20150213646A1 (en) * | 2014-01-28 | 2015-07-30 | Siemens Aktiengesellschaft | Method and System for Constructing Personalized Avatars Using a Parameterized Deformable Mesh |
CN105653742A (en) * | 2014-11-10 | 2016-06-08 | 江苏中佑石油机械科技有限责任公司 | Clothes model building method in three-dimension simulation fitting system |
CN107545598A (en) * | 2017-07-31 | 2018-01-05 | 深圳市蒜泥科技有限公司 | A kind of human 3d model synthesis and body data acquisition methods |
CN107705355A (en) * | 2017-09-08 | 2018-02-16 | 郭睿 | A kind of 3D human body modeling methods and device based on plurality of pictures |
CN108805090A (en) * | 2018-06-14 | 2018-11-13 | 广东工业大学 | A kind of virtual examination cosmetic method based on Plane Gridding Model |
CN108805977A (en) * | 2018-06-06 | 2018-11-13 | 浙江大学 | A kind of face three-dimensional rebuilding method based on end-to-end convolutional neural networks |
-
2018
- 2018-12-24 CN CN201811579410.0A patent/CN109859306A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150213646A1 (en) * | 2014-01-28 | 2015-07-30 | Siemens Aktiengesellschaft | Method and System for Constructing Personalized Avatars Using a Parameterized Deformable Mesh |
CN104182765A (en) * | 2014-08-21 | 2014-12-03 | 南京大学 | Internet image driven automatic selection method of optimal view of three-dimensional model |
CN105653742A (en) * | 2014-11-10 | 2016-06-08 | 江苏中佑石油机械科技有限责任公司 | Clothes model building method in three-dimension simulation fitting system |
CN107545598A (en) * | 2017-07-31 | 2018-01-05 | 深圳市蒜泥科技有限公司 | A kind of human 3d model synthesis and body data acquisition methods |
CN107705355A (en) * | 2017-09-08 | 2018-02-16 | 郭睿 | A kind of 3D human body modeling methods and device based on plurality of pictures |
CN108805977A (en) * | 2018-06-06 | 2018-11-13 | 浙江大学 | A kind of face three-dimensional rebuilding method based on end-to-end convolutional neural networks |
CN108805090A (en) * | 2018-06-14 | 2018-11-13 | 广东工业大学 | A kind of virtual examination cosmetic method based on Plane Gridding Model |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111311732A (en) * | 2020-04-26 | 2020-06-19 | 中国人民解放军国防科技大学 | 3D human body mesh acquisition method and device |
CN112070896A (en) * | 2020-09-07 | 2020-12-11 | 哈尔滨工业大学(威海) | An automatic slimming method for portraits based on 3D modeling |
CN112070896B (en) * | 2020-09-07 | 2022-05-03 | 哈尔滨工业大学(威海) | Portrait automatic slimming method based on 3D modeling |
CN114004669A (en) * | 2021-10-08 | 2022-02-01 | 深圳Tcl新技术有限公司 | Data processing method, device and computer readable storage medium |
CN118506458A (en) * | 2024-07-17 | 2024-08-16 | 凝动万生医疗科技(武汉)有限公司 | High-precision multi-view motion capturing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | 2019 | Denserac: Joint 3d pose and shape estimation by dense render-and-compare |
CN103456010B (en) | 2016-03-30 | A kind of human face cartoon generating method of feature based point location |
CN109377557A (en) | 2019-02-22 | Real-time 3D face reconstruction method based on single frame face image |
CN105427385A (en) | 2016-03-23 | High-fidelity face three-dimensional reconstruction method based on multilevel deformation model |
CN109859306A (en) | 2019-06-07 | A method of extracting manikin in the slave photo based on machine learning |
CN107578435B (en) | 2019-11-29 | A kind of picture depth prediction technique and device |
CN106023288A (en) | 2016-10-12 | Image-based dynamic substitute construction method |
Fyffe et al. | 2017 | Multi‐view stereo on consistent face topology |
CN109903377B (en) | 2022-08-09 | Three-dimensional face modeling method and system without phase unwrapping |
CN107067429A (en) | 2017-08-18 | Video editing system and method that face three-dimensional reconstruction and face based on deep learning are replaced |
CN102509333B (en) | 2014-05-07 | Action-capture-data-driving-based two-dimensional cartoon expression animation production method |
CN107392131A (en) | 2017-11-24 | A kind of action identification method based on skeleton nodal distance |
CN104123749A (en) | 2014-10-29 | Picture processing method and system |
CN111950430B (en) | 2024-06-14 | Multi-scale dressing style difference measurement and migration method and system based on color textures |
CN106920277A (en) | 2017-07-04 | Simulation beauty and shaping effect visualizes the method and system of online scope of freedom carving |
CN103606190A (en) | 2014-02-26 | Method for automatically converting single face front photo into three-dimensional (3D) face model |
CN108154104A (en) | 2018-06-12 | A kind of estimation method of human posture based on depth image super-pixel union feature |
CN110074788A (en) | 2019-08-02 | A kind of body data acquisition methods and device based on machine learning |
CN101882326A (en) | 2010-11-10 | Three-dimensional craniofacial reconstruction method based on overall facial structure shape data of Chinese people |
CN104732203A (en) | 2015-06-24 | Emotion recognizing and tracking method based on video information |
CN106203503A (en) | 2016-12-07 | A kind of action identification method based on skeleton sequence |
CN113593001A (en) | 2021-11-02 | Target object three-dimensional reconstruction method and device, computer equipment and storage medium |
CN111127642A (en) | 2020-05-08 | Human face three-dimensional reconstruction method |
Bang et al. | 2021 | Estimating garment patterns from static scan data |
CN117095128A (en) | 2023-11-21 | Priori-free multi-view human body clothes editing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2019-06-07 | PB01 | Publication | |
2019-06-07 | PB01 | Publication | |
2019-07-02 | SE01 | Entry into force of request for substantive examination | |
2019-07-02 | SE01 | Entry into force of request for substantive examination | |
2024-02-27 | RJ01 | Rejection of invention patent application after publication | |
2024-02-27 | RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190607 |