CN106846129A - The collision checking method and system of a kind of virtual fitting - Google Patents

The collision checking method and system of a kind of virtual fitting Download PDF

Info

Publication number
CN106846129A
CN106846129A CN201710173952.7A CN201710173952A CN106846129A CN 106846129 A CN106846129 A CN 106846129A CN 201710173952 A CN201710173952 A CN 201710173952A CN 106846129 A CN106846129 A CN 106846129A
Authority
CN
China
Prior art keywords
collision
clothes
human body
physical
model
Prior art date
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
Application number
CN201710173952.7A
Other languages
Chinese (zh)
Inventor
朱峰华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sunflower Interactive Technology Co Ltd
Original Assignee
Beijing Sunflower Interactive Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Sunflower Interactive Technology Co Ltd filed Critical Beijing Sunflower Interactive Technology Co Ltd
Priority to CN201710173952.7A priority Critical patent/CN106846129A/en
Publication of CN106846129A publication Critical patent/CN106846129A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering

Abstract

The present invention provides the collision checking method and system of a kind of virtual fitting, and system includes:Human body collides body Model, and clothes physical controller, gravity switch, wind control device renders material controller, physical simulation module, three-dimensional rendering module.Human body collision body Model generates complete human body collision physical model.The physical characteristic switch of clothes physical controller control clothes, gravity switch control clothes receives Action of Gravity Field, wind control device adjusts wind-force and wind direction, render the parameter that material controller sets clothes, physical simulation module carries out collision detection to clothes and human body collision physical model, and three-dimensional rendering module finally shows the effect of visualization of user's fitting.The system and method for the virtual fitting collision detection that the present invention is provided, can realistically show the clothes effect of the person of trying.

Description

The collision checking method and system of a kind of virtual fitting
Technical field
The present invention relates to computer vision field, the method for more particularly to a kind of virtual fitting based on collision body and it is System.
Background technology
Fitting facility is generally fitting mirror, can only see before and local mirror image, it is impossible to see after one's death and in walking process The appropriateness of clothes and build, and the image of fitting process cannot be retained.
With the development of virtual reality technology, have been developed for realizing all multi-schemes of virtual fitting.By virtual Dressing system, user need not truly put on clothes, and only need for the information of the stature of oneself etc. to be supplied to virtual examination Clothing system, then against fitting border just it can be seen that the effect of fitting.Virtual fitting system is according to the real human somatotype of user Coefficients to construct goes out the three-dimensional (3 D) manikin consistent with user, so as in fitting, show more real clothes effect.
Fitting based on virtual reality technology, in order that the effect of virtual fitting it is more true to nature, it is necessary in fitting mirror clothes with Manikin is fitted, and person model in fitting mirror needs to make corresponding dynamic with the attitude that human body is fitted Make, therefore need to carry out collision detection to clothes and manikin in dressing system.Existing touching based on virtual reality technology Hitting detection method has two kinds, and a kind of is that the collision body Model of human body is simulated with a capsule body, although capsule body is simulated When dressing system carries out the physical simulation of virtual fitting, efficiency is very high, but because manikin possesses four limbs and trunk, and A non-simply shape for capsule, therefore the collision detection based on this kind of method, manikin cannot be with clothes during fitting Fit completely, cause the visual experience of virtual fitting not good.Another method be use the enveloping solid of tri patch to human body and Clothes carry out physical simulation, and this mode well can be fitted manikin and clothes in virtual fitting, but Amount of calculation based on tri patch technology is too big, causes simulation efficiency very low, therefore human body can not be made greatly in virtual fitting The action (such as raise one's hand, turn round) of amplitude, can otherwise cause the time delay of dressing system because amount of calculation is excessive, it is impossible to exhibition in real time Reveal the effect of virtual fitting, so as to influence fitting to experience.
The content of the invention
In view of the above problems, the present invention proposes a kind of method and system of the virtual fitting based on collision body, overcomes The limitation of existing virtual fitting technology.The present invention is proposed and uses multiple basic collision bodies (such as ball, cube, cylinder etc.) Human body collision body Model is spliced into, while each collision body is tied on the skeletal system of personage, each collision body can be with Bone to be moved, so when customer is fitted, the clothes selected can closely be pasted with the manikin in fitting mirror Close, while also can in real time make corresponding action with the action of human body, improve the verisimilitude of virtual fitting.
Brief description of the drawings
Fig. 1 is the overview flow chart of the virtual fitting based on collision body in the present invention;
Fig. 2 is the skeleton point of identification in the present invention;
Fig. 3 is the schematic diagram for forming connector in the present invention between collision body
Fig. 4 is the schematic diagram of additional collision body filling human body physical model main frame in the present invention;
Fig. 5 is the human body physical model figure being made up of collision body in the present invention;
Fig. 6 is the frame diagram of the virtual fitting system based on collision body in the present invention;
Fig. 7 is the design sketch of virtual fitting.
Specific embodiment
Such as Fig. 1, the virtual fitting based on collision body is comprised the following steps:
The 101. skeleton cartoon model identifications based on personage go out the crucial skeleton point of personage.
The crucial skeleton point of human body is caught and is tracked by action catcher, such as recognizes three-dimensional people according to Microsoft kinect Body skeleton point, and bone tracking is carried out, human skeleton point information is obtained, it is illustrated in figure 2 the skeleton point of identification.
102. will collide the skeleton point that ball is tied on the skeletal system of personage, and each single collision body can be with bone Bone point is moved.
Then collision ball is set on each skeleton point.Collision ball is that centered on skeleton point, radius is a ball of R Body.When skeleton point is moved, collision ball can also be moved.The radius size for colliding ball keeps one with human skeleton feature Cause, such as the radius in hip joint is big in the artis of leg, and kneed joint is moderate, ankle-joint is minimum, set collision The size of ball also with articulation radii size variation and respective change.
During the establishment of human body collision body, in order to save the time of collision detection, the contact model according to clothes with body Enclose interior setting and collide ball accordingly, the part not contacted with body in clothes is not provided with colliding ball, to improve dressing system Simulation efficiency.According to the type of clothes, collision body can be in such a way set up:For the clothes without cap, head Skeleton point does not bind collision ball;For sleeveless clothes, the skeleton point of arm segment does not bind collision ball;It is small for cotta clothes The skeleton point of arm section does not bind collision ball.
The 103. collision body Models that will become filling between skeleton point according to the annexation between skeleton point, form human body The main frame of physical model.
Collision body is the connector that filling is surrounded by the outside common tangent of two collision balls and collision ball, the collision The filling region of body includes two collision balls, and the part between outside common tangent and collision ball.As shown in figure 3, will be all of Collision ball is coupled together according to human skeleton feature and is formed collision body.Each collision body represents the corresponding bone of human body Bone joint, the collision ball for constituting collision body can be shared by multiple collision bodies, such as kneed collision ball can be with hip joint Collision ball composition thigh, it is also possible to ankle-joint collision ball constitute focile.It is bundled in the collision ball of skeleton point Can accordingly be moved with moving for skeleton point position, therefore when fitting person is moved, the collision body of human body Model can occur corresponding motion according to the action of fitting person.
104. use additional collision body, such as capsule, square etc. on the basis of human body physical model main frame, to trunk It is filled, forms complete human body physical model.
As shown in figure 4, when being filled using additional collision body, being set up first at two clavicles of human body physical model Two collision balls, and two collision balls are set up in belly, and be attached to form collision body along the outside common tangent for colliding ball.
In addition, also needing to set up the collision body of human buttock using two collision balls, shank leg is set up using two collision balls The collision body of tripe.
When being filled for female body physical model main frame, also need to set up female chest using two collision balls Collision body.
The human body physical model being made up of collision body as shown in Figure 5, each collision napiform root enters according to the master pattern of human body Row is set up, and when different fitting persons carries out virtual fitting, the length and size of skeletal joint can be variant, collision body Model Shape can occur corresponding change with the difference of the skeletal joint identified by action catcher;In addition, collision body mould The information such as the personal information that the shape of type can be input into according to fitting person, such as sex, bust, waistline, further optimize.
Clothes with physical model is attached on human body physical model and carries out collision detection with collision body by 105., makes clothing Clothes are moved therewith with the action of human body physical model.
The physical model of clothes uses representational spring-mass model, will the fabric of even density be considered as by arranging The particle composition of rule is arranged, is distributed on each particle the uniform quality of fabric, connected with spring between particle and particle, used In the interaction of simulation fabric internal fiber.When a collision occurs, collide contact fabric particle can stop motion, and The fabric particle being not in contact with may proceed to motion, while the elasticity effect of other particles can be received.
In collision detection, collision detection is not carried out between the collision body inside human body physical model, only to clothes and people Collision detection is carried out between body collision body.During virtual fitting, clothes is fitted or human body physical model hair with human body physical model It is lively to make, cause clothes to be collided with the collision body in human body physical model, due in human body physical model of the invention Collision body is formed according to the filling of human skeleton relation, therefore clothes shows and worn and moved with it by human body physical model The scene that work is deformed upon, increased the sense of reality of virtual fitting.
Collision detecting system of the present invention based on collision body is illustrated in figure 6, including:Human body collides body Model, clothes thing Reason controller, gravity switch, wind control device renders material controller, physical simulation module, three-dimensional rendering module.
Human body collision model includes two modules:Human body collision model editing machine and human body collision model are switched.Human body is touched Hit physical model editing machine and be tied to ball is collided on the skeleton point on the skeletal system of manikin, and according between skeleton point Annexation will collide ball between be filled with collision body Model, the people constituted to the collision body model using additional collision body Body physical model main frame is filled, so as to generate complete human body collision physical model, human body collision model is switched to people Whether body collision model carries out the control that collision detection is opened and closed.
Clothes physical controller is controlled to the physical simulation switch of clothes, and physical simulation switchs the thing to all clothes The control that reason characteristic is opened and closed, its priority is higher than gravity switch and wind control device, and physical characteristic includes making clothes The influence of the various physical forces of dress impression, such as gravity, wind-force etc., allow clothes to carry out physical impacts with human body collision model, with And acted on by gravity and wind-force, to improve the sense of reality of fitting.
Gravity switch is to controlling that the Action of Gravity Field whether clothes is subject to is opened and closed.Wind control device adjusts clothing Clothes are controlled by wind-force and wind direction, and the effect that clothes swings with the wind is simulated with this.Render material controller and clothes is set Fabric color figure and cloth parameter, the cloth include cloth, fiber crops or silk etc..
Physical simulation module collides body Model, clothes physical controller, gravity switch, wind control device, wash with watercolours according to human body The simulation parameter of dye material controller input calculates the position of clothes, rotation and plastic deformation effect in real time.It is to clothes Using spring-mass model, and collision detection is carried out to the collision body in clothes and human body physical model.
Three-dimensional rendering module finally shows use according to the material information of the output data combination clothes of physical simulation module The effect of visualization of family virtual fitting.
The dressing system of the virtual reality course of work in actual applications is specially:
1. fitting person is input into the human parameters of oneself, and dress is selected before fitting mirror, the human parameters information Including:Height, bust, waistline, brachium, and leg is long;
2. the human body collision model editing machine of fitting mirror system generates corresponding human body collision model, and defeated according to fitting person The human parameters information for entering changes the size of human body collision model in real time;
3. dressing system reads in the threedimensional model of clothes, closes human body collision model switch and clothes physical simulation switch;
4. fitting mirror system movement clothes is at the three-dimensional position of manikin so that clothes and human body collision model patch Close;
5. fitting mirror system opens the physical simulation switch of clothes, human body collision model switch, gravity switch, according to specific Application scenarios, adjust wind control device, are illustrated in figure 7 clothes and are just fitted in clothes effect is shown on manikin.
Virtual reality dressing system provided in an embodiment of the present invention and method, human body bone is obtained by depth camera in real time Bone information, and the human body three being consistent with the build of fitting person according to the skeleton point binding collision ball generation in the skeleton information Dimension module, when being put on clothes such that it is able to show fitting person, body curvature with fitting person and examination that clothes is shown Clothing acts corresponding effect, realistically shows the clothes effect of the person of trying.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used Modified with to the technical scheme described in previous embodiment, or equivalent is carried out to which part technical characteristic;And These modifications are replaced, and do not make the spirit and model of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution Enclose.

Claims (10)

1. a kind of collision checking method of virtual fitting, comprises the following steps:
(1) collision ball is tied on the skeleton point of the skeletal system of manikin;
(2) collision body mould will be filled between the collision ball according to the annexation between skeleton point in the skeletal system Type, the collision body Model collectively constitutes human body physical model main frame;
(3) trunk is filled using additional collision body on the basis of the human body physical model main frame, forms complete human body Collision physical model.
2. collision checking method as claimed in claim 1, it is characterised in that:The collision body Model is according to the skeleton point Between annexation by two it is described collision balls and the collision ball outside common tangent filling constitute.
3. collision checking method as claimed in claim 1, it is characterised in that:Clothes with physical model is attached to described On human body collision physical model, collision detection is carried out with human body collision physical model.
4. collision checking method as claimed in claim 3, it is characterised in that:When the clothes is without cap, number of people part Skeleton point does not bind the collision ball;When the clothes is sleeveless, the skeleton point of arm segment does not bind the collision ball;It is described When clothes is cotta, the skeleton point of small arm section does not bind the collision ball.
5. collision checking method as claimed in claim 3, it is characterised in that:In collision detection, the human body physical model Collision detection is not carried out between internal collision body Model, only to the collision body inside the clothes and the human body physical model Collision detection is carried out between model.
6. a kind of collision detecting system of virtual fitting, including human body collides physical model module, clothes physical controller, gravity Switch, wind control device, render material controller, physical simulation module, wherein human body collision physical model module, described Gravity switch, the wind control device, the material controller that renders are connected with emulation controller, the clothes physical controller It is connected with the gravity switch, the wind control device, it is characterised in that:The human body collision physical model module includes human body Collision physical model editing machine and human body collision model switch, the human body collision physical model editing machine are tied to ball is collided On skeleton point on the skeletal system of manikin, and according to the annexation between the skeleton point by between the collision ball Collision body Model is filled with, the human body physical model main frame that the collision body model is constituted is filled out using additional collision body Fill, so as to generate complete human body collision physical model;Whether human body collision model switch is to carrying out collision detection and carrying out The control of opening and closing.
7. collision detecting system as claimed in claim 6, it is characterised in that:The clothes physical controller is controlled The no emulation for carrying out physical characteristic, the physical characteristic includes gravity, wind characteristic;The gravity switch controls the clothes to be The no emulation for carrying out Action of Gravity Field;The emulation of the effect of wind-force and wind direction suffered by the wind control device regulation clothes.
8. collision detecting system as claimed in claim 6, it is characterised in that:The material controller that renders sets the clothes Fabric parameter realizes the bandwagon effect of different fabrics, and the fabric includes cloth, fiber crops or silk etc..
9. collision detecting system as claimed in claim 6, it is characterised in that:The physical simulation module calculates clothes in real time Position, rotation and plastic deformation effect.
10. collision detecting system as claimed in claim 6, it is characterised in that:Also include three-dimensional rendering module, the three-dimensional wash with watercolours Dye module is connected with the physical simulation module, and the output data according to the physical simulation module exports the visual of virtual fitting Change effect.
CN201710173952.7A 2017-03-22 2017-03-22 The collision checking method and system of a kind of virtual fitting Pending CN106846129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710173952.7A CN106846129A (en) 2017-03-22 2017-03-22 The collision checking method and system of a kind of virtual fitting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710173952.7A CN106846129A (en) 2017-03-22 2017-03-22 The collision checking method and system of a kind of virtual fitting

Publications (1)

Publication Number Publication Date
CN106846129A true CN106846129A (en) 2017-06-13

Family

ID=59129479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710173952.7A Pending CN106846129A (en) 2017-03-22 2017-03-22 The collision checking method and system of a kind of virtual fitting

Country Status (1)

Country Link
CN (1) CN106846129A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960467A (en) * 2017-03-22 2017-07-18 北京太阳花互动科技有限公司 A kind of face reconstructing method and system with bone information
CN107481082A (en) * 2017-06-26 2017-12-15 珠海格力电器股份有限公司 A kind of virtual fit method and its device, electronic equipment and virtual fitting system
CN109215062A (en) * 2017-06-29 2019-01-15 沈阳新松机器人自动化股份有限公司 Motion capture method, binocular positioning device and system based on image vision
WO2019178853A1 (en) * 2018-03-23 2019-09-26 真玫智能科技(深圳)有限公司 Runway show realization method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09223247A (en) * 1996-02-19 1997-08-26 Toyobo Co Ltd Method for simulating movement of clothes
CN103530903A (en) * 2013-10-28 2014-01-22 智慧城市系统服务(中国)有限公司 Realizing method of virtual fitting room and realizing system thereof
CN104637084A (en) * 2015-01-29 2015-05-20 吴宇晖 Method for building garment virtual three-dimensional model and virtual garment trying-on system
CN104637083A (en) * 2015-01-29 2015-05-20 吴宇晖 Virtual fitting system
CN105976418A (en) * 2016-06-28 2016-09-28 珠海金山网络游戏科技有限公司 Design system and method for human dynamic bone
CN106215419A (en) * 2016-07-28 2016-12-14 腾讯科技(深圳)有限公司 Collision control method and device
CN106327589A (en) * 2016-08-17 2017-01-11 北京中达金桥技术股份有限公司 Kinect-based 3D virtual dressing mirror realization method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09223247A (en) * 1996-02-19 1997-08-26 Toyobo Co Ltd Method for simulating movement of clothes
CN103530903A (en) * 2013-10-28 2014-01-22 智慧城市系统服务(中国)有限公司 Realizing method of virtual fitting room and realizing system thereof
CN104637084A (en) * 2015-01-29 2015-05-20 吴宇晖 Method for building garment virtual three-dimensional model and virtual garment trying-on system
CN104637083A (en) * 2015-01-29 2015-05-20 吴宇晖 Virtual fitting system
CN105976418A (en) * 2016-06-28 2016-09-28 珠海金山网络游戏科技有限公司 Design system and method for human dynamic bone
CN106215419A (en) * 2016-07-28 2016-12-14 腾讯科技(深圳)有限公司 Collision control method and device
CN106327589A (en) * 2016-08-17 2017-01-11 北京中达金桥技术股份有限公司 Kinect-based 3D virtual dressing mirror realization method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙守迁等: "基于角色几何碰撞体估计的实时服装仿真", 《软件学报》 *
沈超等: "交互式服装实时动画的研究与实现", 《计算机仿真》 *
薛原等: "不同材质服装的实时动态仿真", 《图学学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960467A (en) * 2017-03-22 2017-07-18 北京太阳花互动科技有限公司 A kind of face reconstructing method and system with bone information
CN107481082A (en) * 2017-06-26 2017-12-15 珠海格力电器股份有限公司 A kind of virtual fit method and its device, electronic equipment and virtual fitting system
CN109215062A (en) * 2017-06-29 2019-01-15 沈阳新松机器人自动化股份有限公司 Motion capture method, binocular positioning device and system based on image vision
CN109215062B (en) * 2017-06-29 2022-02-08 沈阳新松机器人自动化股份有限公司 Motion capture method based on image vision, binocular positioning device and system
WO2019178853A1 (en) * 2018-03-23 2019-09-26 真玫智能科技(深圳)有限公司 Runway show realization method and device

Similar Documents

Publication Publication Date Title
US11527030B2 (en) System for neurobehavioural animation
US20210074005A1 (en) Image processing method and apparatus, image device, and storage medium
CN105654537B (en) It is a kind of to realize and the expression cloning method and device of virtual role real-time interactive
CN106846129A (en) The collision checking method and system of a kind of virtual fitting
US11928765B2 (en) Animation implementation method and apparatus, electronic device, and storage medium
CN103106604B (en) Based on the 3D virtual fit method of body sense technology
CN105354876B (en) A kind of real-time volume fitting method based on mobile terminal
JP5468047B2 (en) System and method for animating a digital face model
Nakada et al. Deep learning of biomimetic sensorimotor control for biomechanical human animation
CN107680167A (en) A kind of three-dimensional (3 D) manikin creation method and system based on user image
CN104008557B (en) A kind of three-dimensional matching process of clothing and anthropometric dummy
CN105427386A (en) Garment deformation method based on input human body posture real-time generation
Gültepe et al. Real-time virtual fitting with body measurement and motion smoothing
CN107705365A (en) Editable three-dimensional (3 D) manikin creation method, device, electronic equipment and computer program product
CN110310319A (en) The single-view human clothing's geometric detail method for reconstructing and device of illumination separation
CN105243375B (en) A kind of motion characteristic extracting method and device
CN106952334A (en) The creation method of the net model of human body and three-dimensional fitting system
WO2021240848A1 (en) Three-dimensional avatar generation device, three-dimensional avatar generation method, and three-dimensional avatar generation program
CN206614555U (en) Robot
Moussa et al. MPEG-4 FAP animation applied to humanoid robot head
JP7076861B1 (en) 3D avatar generator, 3D avatar generation method and 3D avatar generation program
Magnenat-Thalmann New trends in the direction of synthetic actors
Zhou Doctor of Philosophy in Computer Science
Zhou Core Training: Learning Deep Neuromuscular Control of the Torso for Anthropomimetic Animation
Rudomín et al. Distance fields applied to character animation.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170613