A method and system for obtaining dynamic attributes of a garment image

By reconstructing and registering 3D clothing models and human posture estimation models, and through physical simulation, the problem of accuracy in acquiring dynamic attributes of clothing was solved. This enabled the simulation and quantification of dynamic changes in clothing under different postures, providing precise parameter support for virtual try-on and clothing customization.

CN122223217BActive Publication Date: 2026-11-24QINGDAO KUTESMART CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610247881.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-03-02
Publication Date
2026-11-24
Estimated Expiration
2046-03-02

AI Technical Summary

Technical Problem

Existing methods for acquiring clothing attributes cannot accurately capture the dynamic changes of clothing under different human postures and movements. The extraction of physical properties of fabrics is inaccurate, and the coordination between human posture and clothing simulation is insufficient, failing to meet the real-time interactive needs of virtual try-on and clothing customization.

Method used

A 3D clothing model is reconstructed by acquiring static clothing images, and a human posture estimation model is trained by combining human posture datasets to perform clothing-human posture registration. The deformation features of clothing in multiple postures are obtained by physical simulation, and finally quantified into dynamic attribute indicators by a lightweight attribute prediction model.

Benefits of technology

It achieves accurate acquisition of clothing dynamic attributes, improves the integrity of fabric features and the accuracy of posture recognition, solves simulation deviation and real-time interaction requirements, adapts to different fabrics and body types, and supports virtual try-on and online customization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122223217B_ABST
    Figure CN122223217B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for acquiring dynamic attributes of clothing images, belonging to the field of clothing image attribute prediction technology. It addresses the technical problems of existing methods for acquiring clothing attributes from static images, which fail to capture the dynamic attribute changes of clothing under different human postures and movements, suffer from inaccurate extraction of fabric physical attributes, and lack sufficient coordination between posture and clothing simulation. The method includes: reconstructing a three-dimensional clothing model from a static clothing image; extracting fabric attribute parameters of the target clothing based on the static clothing image and the three-dimensional clothing model; inputting the human feature data of the target person into a human posture estimation model to generate a target human posture model; registering the three-dimensional clothing model with the target human posture model; performing physical simulation based on the registered model and fabric attribute parameters to obtain multi-posture clothing deformation features; and quantifying the multi-posture clothing deformation features into dynamic attribute indicators using a lightweight attribute prediction model to obtain the clothing's dynamic attributes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of clothing image attribute prediction technology, and in particular to a method and system for acquiring dynamic attributes of clothing images. Background Technology

[0002] With the rapid development of virtual try-on, smart clothing customization, and digital display of clothing e-commerce, users' demand for accurate reproduction of clothing attributes is increasing, especially the dynamic reproduction of clothing under different human postures and movements. Currently, the acquisition and display of clothing attributes mostly rely on static images. By taking pictures of clothing in fixed postures, static attributes such as pattern, color, and texture are extracted to provide a reference for virtual try-on or customization. However, static images have inherent limitations: the core attributes of clothing, such as pattern fit, drape, and wrinkle distribution, have significant dynamic dependence. Their appearance changes drastically with human movements, such as raising an arm, bending over, walking, and sitting. Static images cannot capture the dynamic changes of these movements.

[0003] In existing technologies, some solutions attempt to simulate the dynamic effects of clothing through 3D modeling, but they have many shortcomings: First, most 3D clothing models only reconstruct geometric shapes based on static images, lacking accurate extraction of core physical properties such as fabric elasticity, weight, and coefficient of friction, resulting in a large deviation between the simulation effect and real clothing; second, the coordination between human posture estimation and clothing simulation is insufficient, making it difficult to accurately simulate the driving relationship between human movements and clothing deformation, resulting in low fidelity in dynamic details such as wrinkle generation and drape curvature; third, some solutions can only achieve clothing simulation in a single posture, unable to generate dynamic changes in clothing in a continuous sequence of movements, and the dynamic attributes lack quantitative support, making it difficult to meet the real-time interactive needs of virtual try-on and the precision requirements of clothing customization. Summary of the Invention

[0004] This invention provides a method and system for acquiring dynamic attributes of clothing images, which addresses the following technical problems: existing methods for acquiring clothing attributes from static images cannot capture the dynamic attribute changes of clothing under different human postures and movements, resulting in inaccurate extraction of fabric physical attributes and insufficient coordination between posture and clothing simulation.

[0005] The embodiments of the present invention adopt the following technical solutions: On one hand, embodiments of the present invention provide a method for obtaining dynamic attributes of clothing images, the method comprising: obtaining a static clothing image of a target clothing, and reconstructing a three-dimensional clothing model based on the static clothing image; Based on the static clothing image and the three-dimensional clothing model, extract the fabric attribute parameters of the target clothing; Construct a human pose dataset and train a human pose estimation model using the human pose dataset; Input the human body feature data of the target person into the human body pose estimation model to generate the target human body pose model; The 3D clothing model is registered with the target human body posture model; Based on the registered 3D clothing model and the target human body posture model, as well as the fabric attribute parameters, physical simulation is performed to obtain the multi-posture clothing deformation characteristics. The deformation features of the multi-pose clothing are quantified into dynamic attribute indicators by using a lightweight attribute prediction model, thereby obtaining the dynamic attributes of the target clothing.

[0006] In one feasible implementation, a static image of the target garment is acquired, and a three-dimensional garment model is reconstructed based on the static image, specifically including: Acquire static images of the target garment from different perspectives; wherein, the different perspectives include at least: front, side, and back; The static clothing image is input into a pre-trained YOLOv8 clothing detection model to identify key feature points of the target clothing, and background interference points are removed based on the key feature points. The illumination uniformity of the static clothing image is optimized by using an image enhancement algorithm, and image noise is eliminated by using a morphological filtering method to complete the preprocessing process. A clothing feature encoding network is constructed based on convolutional neural networks; The preprocessed static clothing image is input into the clothing feature encoding network to extract the texture features, contour features and structural features of the target clothing, and obtain a high-dimensional feature vector. The high-dimensional feature vectors are input into a graph convolutional network to generate an initial three-dimensional clothing triangular mesh model; The target garment's three-dimensional clothing model is obtained by fusing three-dimensional clothing triangular mesh models from different perspectives using the bundle adjustment method.

[0007] In one feasible implementation, based on the static clothing image and the three-dimensional clothing model, the fabric attribute parameters of the target clothing are extracted, specifically including: Based on a texture classification network, fabric texture features and fabric color features are extracted from the static clothing image to generate a first fabric feature vector; wherein, the fabric texture features include at least fabric roughness and fabric texture density. Based on the three-dimensional clothing model, the fabric drape features and fabric wrinkle features are extracted to generate a second fabric feature vector. The first fabric feature vector and the second fabric feature vector are fused to obtain a comprehensive fabric feature vector; Construct an attribute database containing the characteristics and attribute parameters of common clothing fabrics; wherein the attribute parameters include at least one or more of the following: elastic modulus, Poisson's ratio, areal density, thickness, and coefficient of friction; Calculate the cosine similarity between the comprehensive fabric feature vector and each garment fabric feature in the attribute database, output the attribute parameter corresponding to the garment fabric feature with the highest cosine similarity, and obtain the fabric attribute parameter of the target garment.

[0008] In one feasible implementation, a human pose dataset is constructed, and a human pose estimation model is trained using the human pose dataset, specifically including: Collect three-dimensional point cloud data of human bodies of different body types in different postures, and annotate the three-dimensional coordinates of the core joints of the human body in the three-dimensional point cloud data. Based on the three-dimensional coordinates, extract two-dimensional posture feature data to obtain the human posture dataset. A high-resolution pose estimation network is used as the base network, and the HRNet network is fused into the base network; An attitude parameter prediction module is constructed based on the inverse kinematics algorithm; The basic network is connected to the posture parameter prediction module to obtain the human posture estimation model; The human pose estimation model is trained using the human pose dataset; wherein the input data of the human pose estimation model is human pose images or human point cloud data, and the output data is human pose prediction parameters, including the three-dimensional coordinates of each joint of the human body, joint angles, and limb movement speed.

[0009] In one feasible implementation, the target person's human feature data is input into a trained human pose estimation model to generate a target human pose model, specifically including: The system receives human body feature data of the target person and inputs it into the human pose estimation model; wherein, the human body feature data is a human body scan image of the target person or manually input body feature parameters; The input data is fused using the HRNet network to output the two-dimensional pixel coordinates of the core joints of the target person's body; human depth information is extracted from the human feature data and the two-dimensional pixel coordinates are converted into three-dimensional world coordinates. The three-dimensional world coordinates of the human body's core joints are input into the inverse kinematics algorithm, which outputs the human body posture prediction parameters. Based on the human posture prediction parameters, a corresponding target human posture model is generated.

[0010] In one feasible implementation, the registration of the three-dimensional clothing model with the target human body posture model specifically includes: A virtual skeleton is generated for the target human posture model, and the core joints of the human body are used as the control points of the virtual skeleton. Based on the outline and position of each key part in the virtual skeleton, adjust the size of the three-dimensional clothing model so that the three-dimensional clothing model fits the target human posture model; Collision detection is performed between the 3D clothing model and the target human body posture model. Based on the detection results, the shape of the 3D clothing model is adjusted to eliminate cross-cutting points and complete the registration process.

[0011] In one feasible implementation, based on the registered 3D clothing model and the target human posture model, as well as the fabric property parameters, physical simulation is performed to obtain multi-posture clothing deformation characteristics, specifically including: The registered 3D clothing model, the target human body posture model, and the fabric attribute parameters are input into the physics simulation engine, and the initial state parameters of the clothing are set. Collect posture and motion parameters corresponding to several preset postures, and drive the target human posture model to move frame by frame through the posture and motion parameters so as to pose the corresponding postures; Based on the motion parameters of the target human body posture model, the physical simulation engine is driven to perform simulation to obtain the state parameters of the three-dimensional clothing model after it changes with the motion of the target human body posture model; wherein, the state parameters include at least the force value of each mass point of the target clothing and the displacement change value of each mass point between frames. Based on the displacement change value of each mass point, the multi-posture garment deformation characteristics of the target garment under different preset postures are obtained; the multi-posture garment deformation characteristics include at least the fold distribution characteristics and the drape change characteristics.

[0012] In one feasible implementation, the multi-pose garment deformation features are quantified into dynamic attribute indicators using a lightweight attribute prediction model to obtain the dynamic attributes of the target garment, specifically including: Collect a predetermined number of static clothing images, human body feature data, and manually calculated dynamic attribute indicators to construct a training dataset; The lightweight attribute prediction model is constructed based on the Transformer lightweight model; the input data of the lightweight attribute prediction model is the fusion feature of the multi-posture clothing deformation features and posture feature vector of the target clothing, and the output data is the dynamic attribute index. The lightweight attribute prediction model is trained using the training dataset. The multi-pose garment deformation features and the specified pose feature vector are input into a trained lightweight attribute prediction model, and the corresponding dynamic attribute indicators are output to obtain the garment dynamic attributes of the target garment in the specified pose; wherein, the dynamic attribute indicators include: pattern change indicators, drape indicators and wrinkle distribution indicators.

[0013] In one feasible implementation, after quantifying the multi-pose garment deformation features into dynamic attribute indicators using the lightweight attribute prediction model to obtain the dynamic attributes of the target garment, the method further includes: Based on a visualization rendering engine, the dynamic attributes of the target garment are rendered into a virtual try-on model, and real-time interaction is supported. The real-time interaction methods include: rendering dynamic changes in clothing in real time based on the user's selected body posture; and... The system can zoom in on specific areas of wrinkles or drooping based on user input; and... Based on the fabric attribute parameters input by the user, the system generates in real time the impact of changes in fabric attribute parameters on the dynamic attributes of the garment.

[0014] On the other hand, embodiments of the present invention also provide a system for obtaining dynamic attributes of clothing images, the system comprising: The clothing model construction module is used to acquire static images of the target clothing and reconstruct a three-dimensional clothing model based on the static images; and to extract fabric attribute parameters of the target clothing based on the static images and the three-dimensional clothing model. The pose model construction module is used to construct a human pose dataset and train a human pose estimation model using the human pose dataset; the human feature data of the target person is input into the trained human pose estimation model to generate the target human pose model. The deformation feature acquisition module is used to register the three-dimensional clothing model with the target human body posture model; based on the registered three-dimensional clothing model and the target human body posture model, as well as the fabric attribute parameters, physical simulation is performed to obtain multi-posture clothing deformation features. The dynamic attribute prediction module is used to construct and train a lightweight attribute prediction model. Through the lightweight attribute prediction model, the deformation features of the multi-pose clothing are quantified into dynamic attribute indicators to obtain the dynamic attributes of the target clothing.

[0015] Compared with the prior art, the method and system for obtaining dynamic attributes of clothing images provided in this embodiment of the invention have the following beneficial effects: 1. This invention, through limited multi-view image acquisition, YOLOv8 model feature extraction, image enhancement and morphological filtering preprocessing, and multi-view fusion reconstruction techniques such as bundle adjustment, effectively avoids geometric deviation problems caused by blind spots compared to single-view modeling schemes, and can accurately restore the texture, contour, and structural features of the target clothing. It solves the technical deficiency of existing static modeling, which can only restore appearance and cannot support dynamic simulation.

[0016] 2. This invention overcomes the limitations of existing technologies that rely solely on static images to extract fabric attributes. It extracts texture and color features from static images through a texture classification network, while simultaneously extracting geometric features such as drape and wrinkles from a 3D clothing model. These combined features generate a comprehensive fabric feature vector, significantly improving the completeness of fabric characteristics. Coupled with an attribute database containing various common fabrics and a cosine similarity matching algorithm, it can quickly output core parameters such as elastic modulus, Poisson's ratio, and areal density, accurately adapting to the physical properties of different fabrics such as cotton, linen, silk, and polyester. This dual-dimensional feature fusion extraction method makes fabric attribute parameters more closely resemble real clothing, avoiding simulation deviations caused by single feature extraction, and ensuring that subsequent physical simulations of wrinkle distribution and drape changes better match the actual fabric appearance.

[0017] 3. The human pose estimation model constructed in this invention is based on the HRNet high-resolution network, combined with inverse kinematics and pose interpolation algorithms, and possesses high-precision pose recognition and continuous motion generation capabilities. Trained on 3D point cloud datasets covering different body types and poses, the model can accurately output parameters such as 3D coordinates of human joints, joint angles, and limb movement speeds, significantly improving the accuracy of the conversion from 2D pixel coordinates to 3D world coordinates. Simultaneously, it supports dual-mode input of human scan images and manually input parameters, adapting to the needs of different application scenarios. The generated target human pose model can accurately simulate daily movements such as raising an arm, bending over, and walking, providing a precise driving source for clothing dynamic deformation and solving the problem of insufficient coordination between existing pose estimation and clothing simulation.

[0018] 4. This invention generates a virtual skeleton for the human posture model and adjusts the size of the clothing model using core joint points as control points to ensure a close fit between the clothing and the human body, adapting to the characteristics of different body types. Simultaneously, collision detection technology is used to systematically check for clipping risks and adjust the shape of the clothing model accordingly, completely eliminating clipping problems during simulation. This ensures that the natural hanging effect of the clothing in the initial state is consistent with the actual wearing state, and the contact relationship between the clothing and the human body during dynamic deformation is more realistic. This registration mechanism avoids simulation distortion caused by model misalignment, improves the reliability of dynamic attribute prediction, and provides a more realistic visual experience for scenarios such as virtual try-on.

[0019] 5. This invention inputs the registered model and precise fabric attribute parameters into a physical simulation engine. By driving the human posture model to move frame by frame and combining the calculation of force and displacement changes of mass points, it can accurately simulate the deformation characteristics of clothing under different postures, such as the distribution of wrinkles and changes in drape. During the simulation, the engine can adaptively adjust the deformation rules according to the fabric attribute parameters. For example, the soft drape of silk fabric and the rigid wrinkles of denim fabric can be accurately reproduced. At the same time, through the simulation calculation of multiple preset postures, it fully captures the dynamic change law of clothing in continuous action sequences, breaking through the limitation that static images cannot reflect dynamic attributes, and providing rich multi-posture deformation data for subsequent attribute quantification.

[0020] 6. This invention achieves rapid quantification and accurate prediction of the dynamic attributes of clothing. The model takes the fusion features of multi-posture deformation characteristics and posture feature vectors as input, and outputs quantitative indicators such as pattern change rate, drape curvature, number and depth of folds. It can transform abstract dynamic changes into quantifiable data, providing precise parameter support for clothing customization. Simultaneously, the lightweight design significantly shortens the prediction time for single-posture attributes, balancing prediction accuracy and real-time performance. It solves the problems of existing high-precision simulation algorithms being time-consuming and unable to meet real-time interactive requirements, and can be directly adapted to real-time application scenarios such as virtual try-on and online customization.

[0021] In summary, the technical solution of this invention is compatible with both multi-view and single-view static image input, requires no large amount of dynamic sample data, and relies on a lightweight model and mature algorithm framework, eliminating the need for complex hardware support during implementation. Furthermore, it supports manual parameter fine-tuning, allowing for optimization of attribute parameters for customized fabrics, adapting to the prediction needs of different clothing categories. Whether it's regular clothing such as tops, pants, and skirts, or customized clothing made from special fabrics, accurate predictions can be achieved. This low-barrier, highly adaptable design reduces the cost of digital transformation in the apparel industry, facilitates large-scale application in small and medium-sized apparel enterprises, and promotes the popularization of technologies such as virtual try-on and intelligent customization. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings: Figure 1 A flowchart of a method for obtaining dynamic attributes of clothing images provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a clothing image dynamic attribute acquisition system provided in an embodiment of the present invention. Detailed Implementation

[0023] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.

[0024] This invention provides a method for obtaining dynamic attributes of clothing images, such as... Figure 1 As shown, the method for obtaining dynamic attributes of clothing images specifically includes steps S101-S105: S101. Obtain a static image of the target garment and reconstruct a 3D garment model based on the static image.

[0025] Specifically, static images of the target garment from different perspectives are acquired; these different perspectives include at least the front, side, and back views. The static garment images are then input into a pre-trained YOLOv8 garment detection model to identify key feature points of the target garment and remove background interference points based on these key feature points.

[0026] Furthermore, the illumination uniformity of the static clothing image is optimized through image enhancement algorithms, and image noise is eliminated through morphological filtering methods, thus completing the preprocessing process.

[0027] Furthermore, a clothing feature encoding network is constructed based on a convolutional neural network. The preprocessed static clothing image is input into the clothing feature encoding network to extract the texture, contour, and structural features of the target clothing, resulting in a high-dimensional feature vector.

[0028] The high-dimensional feature vectors are then input into a graph convolutional network to generate an initial 3D clothing triangular mesh model. The 3D clothing triangular mesh models from different perspectives are then fused using bundle adjustment to obtain the 3D clothing model of the target garment.

[0029] As a feasible implementation method, taking a pure cotton shirt as an example, static images of the shirt from different perspectives are acquired using a high-definition camera with a resolution of 3000×4000 pixels, capturing images from four perspectives: front, left side, right side, and back. The acquired static images are then input into a pre-trained YOLOv8 clothing detection model. The model automatically identifies 12 key feature points of the shirt, including the collar, cuffs, hem, and shoulder line. Background interference points are removed using masking segmentation technology to obtain an image containing only the main body of the shirt.

[0030] In the image preprocessing stage, a multi-scale Retinex image enhancement algorithm was used, with Gaussian kernel sizes set to 5×5 and 11×11 to optimize image illumination uniformity. Morphological filtering was then applied, using 3×3 rectangular structuring elements for opening operations to eliminate image noise while preserving the knitted texture details of the fabric. Subsequently, a clothing feature encoding network was constructed based on a ResNet101 convolutional neural network. Fully connected layers were removed from the original network, and global average pooling layers were added. The preprocessed image was input into the network to extract a 2048-dimensional high-dimensional feature vector.

[0031] Then, the high-dimensional feature vectors are input into a graph convolutional network, which contains three graph convolutional layers and one pooling layer, and outputs an initial three-dimensional clothing triangular mesh model with 2048 vertices. Finally, the mesh models from four perspectives are fused using the bundle adjustment method, and the optimization is iterated 50 times to correct the geometric deviation of the single-view modeling, resulting in a three-dimensional clothing model with minimal deviation from the actual shirt pattern. S102. Based on static clothing images and 3D clothing models, extract the fabric attribute parameters of the target clothing.

[0032] Specifically, based on a texture classification network, fabric texture features and fabric color features are extracted from static clothing images to generate a first fabric feature vector; wherein, the fabric texture features include at least fabric roughness and fabric texture density.

[0033] Furthermore, based on the 3D clothing model, fabric drape and wrinkle features are extracted to generate a second fabric feature vector. The first and second fabric feature vectors are then fused to obtain a comprehensive fabric feature vector.

[0034] Furthermore, an attribute database containing the characteristics and properties of common clothing fabrics is constructed; wherein the attribute parameters include at least one or more of the following: elastic modulus, Poisson's ratio, areal density, thickness, and coefficient of friction.

[0035] Calculate the cosine similarity between the comprehensive fabric feature vector and each garment fabric feature in the attribute database, output the attribute parameters corresponding to the garment fabric feature with the highest cosine similarity, and obtain the fabric attribute parameters of the target garment.

[0036] As a feasible implementation method, the texture classification network uses a pre-trained ResNet50 model, with fine-tuning of its last three layers. It takes a pre-processed static clothing image as input, extracts fabric texture and color features, and generates a 1024-dimensional first fabric feature vector. For the 3D clothing model, by calculating the curvature changes of the model's surface vertices and the height difference between adjacent vertices, it extracts fabric drape features (static drape arc and drape length) and wrinkle features (number and depth of natural wrinkles), generating a 512-dimensional second fabric feature vector.

[0037] Then, a weighted summation method was used to fuse the two types of feature vectors. The weight of the first fabric feature vector was set to 0.6, and the weight of the second fabric feature vector was set to 0.4, resulting in a 1024-dimensional comprehensive fabric feature vector. The constructed fabric attribute database contains 1200 common clothing fabrics. Each record includes the fabric name, texture / color feature vector, and corresponding attribute parameters, such as elastic modulus 0.1-10GPa, Poisson's ratio 0.2-0.4, areal density 100-500g / ㎡, thickness 0.1-5mm, and coefficient of friction 0.1-0.6.

[0038] Then, the similarity between the comprehensive fabric feature vector and the feature vector in the database is calculated using the cosine similarity algorithm. The similarity threshold is set to 0.85, and the attribute parameters of the pure cotton fabric with the highest similarity are output: elastic modulus 2.5GPa, Poisson's ratio 0.3, areal density 180g / ㎡, thickness 0.8mm, and coefficient of friction 0.35. If the user confirms that the fabric is a customized pure cotton fabric, the elastic modulus can be manually adjusted to 2.2GPa to complete the extraction of fabric attribute parameters.

[0039] S103. Construct a human pose dataset and train a human pose estimation model using the human pose dataset; input the human feature data of the target person into the human pose estimation model to generate the target human pose model.

[0040] Specifically, three-dimensional point cloud data of human bodies of different body types in different postures are collected, and the three-dimensional coordinates of the core joints of the human body are marked in the three-dimensional point cloud data. Then, based on the three-dimensional coordinates, two-dimensional posture feature data are extracted to obtain the human posture dataset.

[0041] Furthermore, a high-resolution pose estimation network is used as the base network, and the HRNet network is fused into the base network. A pose parameter prediction module is constructed based on the inverse kinematics algorithm. The base network and the pose parameter prediction module are connected to obtain a human pose estimation model. The human pose estimation model is trained using a human pose dataset. The input data of the human pose estimation model is human pose images or human point cloud data, and the output data is human pose prediction parameters, including the three-dimensional coordinates of each joint, joint angles, and limb movement velocities.

[0042] As a feasible implementation method, depth cameras were used to collect human posture data, covering subjects aged 18-60 years, with heights of 150-190cm and weights of 40-100kg, of different body types. Three-dimensional point cloud data of 25 common postures, including standing, raising arms, bending over, sitting, and walking, were collected, with 50 frames collected for each posture, generating a total of 125,000 frames of point cloud data. Then, using the COCO keypoint annotation format, the three-dimensional coordinates of 17 core joints of the human body (head, neck, shoulder, elbow, wrist, hip, knee, ankle, etc.) were manually annotated. Based on the three-dimensional coordinates of these core joints, auxiliary posture feature data such as joint angles and limb movement speed were extracted to construct a human posture dataset, which was divided into training, validation, and test sets in a 7:2:1 ratio.

[0043] The human pose estimation model is based on the HRNet-W48 framework, with the addition of an inverse kinematics module and a pose interpolation module. The HRNet network performs multi-scale feature fusion through four resolution branches, outputting two-dimensional pixel coordinates of human joints. The inverse kinematics module sets joint angle constraints (e.g., 0-180° for the elbow joint, 0-120° for the hip joint), converts the two-dimensional coordinates to three-dimensional world coordinates based on depth information obtained from a depth camera, and calculates joint angles and limb movement velocities. The pose interpolation module uses a cubic spline interpolation algorithm with a step size of 0.02s to generate continuous action sequences. The human pose estimation model takes a 640×640 pixel human pose image or three-dimensional point cloud data as input and outputs the three-dimensional coordinates of each joint, joint angles, and limb movement velocities.

[0044] Furthermore, the system receives the human body feature data of the target person and inputs it into the human pose estimation model; wherein, the human body feature data is the human body scan image of the target person or the human feature parameters manually input.

[0045] Then, the HRNet network is used to perform multi-scale feature fusion on the input data and output the two-dimensional pixel coordinates of the core joints of the target person's body; human depth information is extracted from the human feature data and the two-dimensional pixel coordinates are converted into three-dimensional world coordinates.

[0046] Furthermore, the three-dimensional world coordinates of the core joints of the human body are input into the inverse kinematics algorithm, which outputs human posture prediction parameters; based on the human posture prediction parameters, the corresponding target human posture model is generated.

[0047] As a feasible implementation method, the target person's human feature data adopts two input modes: Mode 1 is human body scan image, which obtains a full-body scan image of the target person through a camera or scanning device and identifies body shape parameters such as height, shoulder width, and waist circumference; Mode 2 is manual input parameters, where the user manually inputs core parameters such as height, shoulder width, waist circumference, and weight, and the system automatically generates a basic human body contour image.

[0048] The input data is then fed into the trained human pose estimation model. The HRNet network performs multi-scale feature fusion on the input image, outputting the two-dimensional pixel coordinates of 17 core joints. Depth information is then extracted from the human scan image, and combined with camera calibration parameters, the two-dimensional pixel coordinates are converted into three-dimensional world coordinates through perspective projection transformation. These three-dimensional world coordinates are then input into the inverse kinematics algorithm to calculate the angles of each joint and the limb movement velocity, obtaining human pose prediction parameters. Based on these parameters, a target human pose model is generated using the Unity 3D engine. The model includes a virtual skeletal structure and skin mesh, accurately reproducing the raised arm posture.

[0049] S104. Register the 3D clothing model with the target human body posture model; based on the registered 3D clothing model and target human body posture model, as well as the fabric attribute parameters, perform physical simulation to obtain the multi-posture clothing deformation characteristics.

[0050] Specifically, a virtual skeleton is generated for the target human posture model using a skeletal binding algorithm, with the core joints of the human body serving as control points for the virtual skeleton. Based on the contours and positions of key parts within the virtual skeleton, the dimensions of the 3D clothing model are adjusted to ensure a close fit with the target human posture model. Finally, collision detection is performed between the 3D clothing model and the target human posture model, and the shape of the 3D clothing model is adjusted based on the detection results to eliminate clipping points, completing the registration process.

[0051] As a feasible implementation method, the skeletal binding algorithm uses automatic weight binding to generate 17 virtual skeletons for the target human pose model, with 17 core joints serving as control points for the virtual skeletons. Each control point corresponds to a key area of ​​the clothing model. Based on the contour dimensions of each key part of the virtual skeleton, a scaling algorithm is used to adjust the size of the 3D clothing model, such as adjusting the shoulder width of the shirt from 40cm to 42cm and the waist circumference from 78cm to 80cm, reducing the fit error between the clothing model and the human model. Then, a collision detection algorithm is used to generate axis-aligned bounding boxes for both the clothing model and the human model. The bounding box division precision for the clothing model is one sub-bounding box for every 10 vertices, while the bounding boxes for the human model are generated according to the bone segments. The intersection of the bounding boxes of the two models is detected frame by frame. If an intersection is detected (i.e., a clipping point, with a threshold of <0.5mm between the two points), a vertex displacement correction algorithm is used to adjust the position of the corresponding vertex of the clothing model, with a displacement of 0.5-1mm, while maintaining the integrity of the clothing pattern. After the adjustment is completed, collision detection is performed again, iterating until there are no clipping points, and the registration process is completed, ensuring that the shirt hangs naturally in the initial raised arm position without obvious wrinkles or clipping.

[0052] Furthermore, the registered 3D clothing model, the target human posture model, and fabric attribute parameters are input into the physics simulation engine, and the initial state parameters of the clothing are set. Posture motion parameters corresponding to several preset postures are collected, and the target human posture model is driven to move frame by frame using these posture motion parameters to achieve the corresponding posture.

[0053] Furthermore, based on the motion parameters of the target human body posture model, the physical simulation engine is driven to perform simulation to obtain the state parameters of the three-dimensional clothing model after it changes with the motion of the target human body posture model; among which, the state parameters include at least the force value of each mass point of the target clothing and the displacement change value of each mass point between frames.

[0054] Based on the displacement change value of each mass point, obtain the multi-posture garment deformation characteristics of the target garment under different preset postures; the multi-posture garment deformation characteristics include at least the fold distribution characteristics and the drape change characteristics.

[0055] As a feasible implementation method, the registered 3D shirt model, the target human body's raised arm posture model, and the extracted fabric attribute parameters are input into the physics simulation engine. Initial state parameters are set as follows: gravitational acceleration 9.8 m / s², air resistance coefficient 0.02, friction coefficient between clothing and human body 0.35, and initial time step 0.01 s. Then, 20 common postures (standing, raised arm, bending, turning, sitting, etc.) are preset, and posture motion parameters such as joint angles and limb displacements for each posture are collected. The target human body posture model is driven frame-by-frame at a 30fps frame rate to simulate the real motion process. The simulation engine uses a mass-spring model to construct the clothing physics model, treating the vertices of the shirt mesh as mass points. These mass points are connected by structural springs, shear springs, and bending springs. The force values ​​(tension, shear force, bending force) of each mass point and the displacement changes between frames are calculated based on the fabric attribute parameters.

[0056] Then, based on the change value of mass displacement, the multi-posture garment deformation features of the shirt under different postures are extracted. For example, in the raised arm posture, 2-3 horizontal stretch folds are generated in the armpit area, with a fold depth of 0.5-1cm; in the bent-over posture, 4-5 vertical folds are generated on the back, the hem drooping arc increases by 15°, and the drooping length is extended by 3cm. The dynamic deformation law of the garment is fully captured, providing data support for subsequent attribute quantification.

[0057] S105. Using a lightweight attribute prediction model, the deformation characteristics of multi-posture clothing are quantified into dynamic attribute indicators to obtain the dynamic attributes of the target clothing.

[0058] Specifically, a training dataset is constructed by collecting a predetermined number of static clothing images, human body feature data, and manually calculated dynamic attribute indicators.

[0059] Furthermore, a lightweight attribute prediction model is constructed based on the Transformer lightweight model. The input data of the lightweight attribute prediction model is the fusion feature of the multi-pose clothing deformation features and posture feature vectors of the target garment, and the output data is the dynamic attribute index. The lightweight attribute prediction model is trained using a training dataset.

[0060] Furthermore, the deformation features of the multi-pose garment and the specified pose feature vector are input into the trained lightweight attribute prediction model, and the corresponding dynamic attribute indicators are output to obtain the dynamic attributes of the target garment in the specified pose; among which, the dynamic attribute indicators include: pattern change indicators, drape indicators and wrinkle distribution indicators.

[0061] As a feasible implementation method, pattern variation indicators specifically include the dimensional change rate of key parts of the garment. Drape indicators specifically include the drape curvature and length of the garment hem, as well as the area ratio of the draped region. Pleat distribution indicators specifically include the number of pleats, pleat depth, and pleat direction.

[0062] As a feasible implementation method, when constructing the training dataset, 100,000 samples are collected. Each sample includes static clothing images, human body feature data, multi-pose clothing deformation features, and manually calculated dynamic attribute indicators (pattern change rate, drape index, wrinkle distribution index, etc.). In manual calculation, the pattern change rate = (post-pose size - static size) / static size × 100%, the drape index includes the hem drape arc and the drape area ratio, and the wrinkle distribution index includes the number, depth, and direction of wrinkles.

[0063] The lightweight attribute prediction model is based on the Transformer lightweight model, with a 6-layer encoder, 8 attention heads, and 512 hidden layer dimensions. The decoder module is removed, and a fully connected layer is added to output three types of dynamic attribute indicators. The model input is the fusion feature of multi-pose clothing deformation features and pose feature vectors, and the output is the corresponding dynamic attribute indicator.

[0064] The obtained multi-posture deformation features of the shirt and the feature vector of the raised arm posture are input into the model, and the dynamic attribute indicators are output: shoulder width change rate 0.8%, number of armpit folds 2, depth 0.8cm, hem drooping arc 35°, which gives the dynamic attributes of the shirt in the raised arm posture. Other postures are similar.

[0065] Furthermore, based on a visualization rendering engine, the dynamic attributes of the target garment are rendered into a virtual try-on model, supporting real-time interaction. The real-time interaction methods include: rendering the dynamic changes of the garment in real time based on the user's selected body posture; zooming in on specific folded or draped areas based on user actions; and generating real-time feedback on the impact of changes in fabric attribute parameters on the garment's dynamic attributes based on user-inputted fabric attribute parameters.

[0066] As a feasible implementation method, the visualization rendering engine integrates a fabric rendering plugin to render the obtained dynamic attributes of the shirt into the virtual try-on model. The real-time interactive function is implemented as follows: the user poses in a preset posture in front of the virtual try-on device, and the engine completes the rendering of the dynamic effect of the clothing in the corresponding posture within 50ms, and simultaneously displays a comparison image of the static shirt image and the dynamic rendering effect; it supports mouse wheel zooming in on folds and draping areas, with a magnification of 2-5 times, clearly displaying the texture details of the underarm folds and the draping curvature of the hem.

[0067] Users can adjust fabric attribute parameters via sliders. Elastic modulus can be adjusted from 0.5-5 GPa, and areal density from 100-300 g / m². After adjustment, the engine recalculates the dynamic attributes and renders the effect in real time. For example, adjusting the elastic modulus from 2.5 GPa to 3.0 GPa reduces the shirt pleat depth by 0.2 cm and the drape angle by 5°, visually demonstrating the impact of parameter changes. The rendering output format supports dynamic image sequences, GIF animations, and FBX format 3D interactive models, which can be directly embedded into virtual try-on apps and clothing customization platforms, adapting to mobile and PC display needs.

[0068] In addition, embodiments of the present invention also provide a system for obtaining dynamic attributes of clothing images, such as... Figure 2 As shown, the clothing image dynamic attribute acquisition system 200 specifically includes: The clothing model construction module 210 is used to acquire a static clothing image of the target clothing and reconstruct a three-dimensional clothing model based on the static clothing image; and extract the fabric attribute parameters of the target clothing based on the static clothing image and the three-dimensional clothing model. The pose model construction module 220 is used to construct a human pose dataset and train a human pose estimation model using the human pose dataset; the human feature data of the target person is input into the trained human pose estimation model to generate the target human pose model. The deformation feature acquisition module 230 is used to register the three-dimensional clothing model with the target human body posture model; and to perform physical simulation based on the registered three-dimensional clothing model and the target human body posture model, as well as the fabric attribute parameters, to obtain multi-posture clothing deformation features. The dynamic attribute prediction module 240 is used to construct and train a lightweight attribute prediction model. Through the lightweight attribute prediction model, the deformation features of the multi-pose clothing are quantified into dynamic attribute indicators to obtain the dynamic attributes of the target clothing.

[0069] The various embodiments in this invention are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0070] The foregoing has described specific embodiments of the present invention. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0071] The above description is merely an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, various modifications and variations can be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the embodiments of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for obtaining dynamic attributes of clothing images, characterized in that, The method includes: Acquire a static image of the target garment and reconstruct a three-dimensional garment model based on the static image; Based on the static clothing image and the 3D clothing model, the fabric attribute parameters of the target clothing are extracted, specifically including: Based on a texture classification network, fabric texture features and fabric color features are extracted from the static clothing image to generate a first fabric feature vector; wherein the fabric texture features include at least fabric roughness and fabric texture density; according to the three-dimensional clothing model, fabric drape features and fabric wrinkle features are extracted to generate a second fabric feature vector; the first fabric feature vector and the second fabric feature vector are fused to obtain a comprehensive fabric feature vector; an attribute database containing common clothing fabric features and their attribute parameters is constructed; wherein the attribute parameters include at least one or more of the following: elastic modulus, Poisson's ratio, areal density, thickness, and coefficient of friction; the cosine similarity between the comprehensive fabric feature vector and each clothing fabric feature in the attribute database is calculated, and the attribute parameter corresponding to the clothing fabric feature with the highest cosine similarity is output to obtain the fabric attribute parameters of the target clothing. Construct a human pose dataset and train a human pose estimation model using the human pose dataset; Input the human feature data of the target person into the trained human pose estimation model to generate the target human pose model. The 3D clothing model is registered with the target human body posture model; Based on the registered 3D clothing model and the target human body posture model, as well as the fabric attribute parameters, physical simulation is performed to obtain the multi-posture clothing deformation characteristics. The multi-pose garment deformation features are quantified into dynamic attribute indicators using a lightweight attribute prediction model to obtain the dynamic attributes of the target garment, specifically including: Collect a predetermined number of static clothing images, human body feature data, and manually calculated dynamic attribute indicators to construct a training dataset; The lightweight attribute prediction model is constructed based on the Transformer lightweight model; the input data of the lightweight attribute prediction model is the fusion feature of the multi-posture clothing deformation features and posture feature vector of the target clothing, and the output data is the dynamic attribute index. The lightweight attribute prediction model is trained using the training dataset. The multi-pose garment deformation features and the specified pose feature vector are input into a trained lightweight attribute prediction model, and the corresponding dynamic attribute indicators are output to obtain the garment dynamic attributes of the target garment in the specified pose; wherein, the dynamic attribute indicators include: pattern change indicators, drape indicators and wrinkle distribution indicators.

2. The method for obtaining dynamic attributes of clothing images according to claim 1, characterized in that, Acquiring a static image of the target garment and reconstructing a 3D garment model based on the static image specifically includes: Acquire static images of the target garment from different perspectives; wherein, the different perspectives include at least: front, side, and back; The static clothing image is input into a pre-trained YOLOv8 clothing detection model to identify key feature points of the target clothing, and background interference points are removed based on the key feature points. The illumination uniformity of the static clothing image is optimized by using an image enhancement algorithm, and image noise is eliminated by using a morphological filtering method to complete the preprocessing process. A clothing feature encoding network is constructed based on convolutional neural networks; The preprocessed static clothing image is input into the clothing feature encoding network to extract the texture features, contour features and structural features of the target clothing, and obtain a high-dimensional feature vector. The high-dimensional feature vectors are input into a graph convolutional network to generate an initial three-dimensional clothing triangular mesh model; The target garment's three-dimensional clothing model is obtained by fusing three-dimensional clothing triangular mesh models from different perspectives using the bundle adjustment method.

3. The method for obtaining dynamic attributes of clothing images according to claim 1, characterized in that, Constructing a human pose dataset and training a human pose estimation model using the human pose dataset, specifically including: Collect three-dimensional point cloud data of human bodies of different body types in different postures, and annotate the three-dimensional coordinates of the core joints of the human body in the three-dimensional point cloud data. Based on the three-dimensional coordinates, extract two-dimensional posture feature data to obtain the human posture dataset. A high-resolution pose estimation network is used as the base network, and the HRNet network is fused into the base network; An attitude parameter prediction module is constructed based on the inverse kinematics algorithm; The basic network is connected to the posture parameter prediction module to obtain the human posture estimation model; The human pose estimation model is trained using the human pose dataset; wherein the input data of the human pose estimation model is human pose images or human point cloud data, and the output data is human pose prediction parameters, including the three-dimensional coordinates of each joint of the human body, joint angles, and limb movement speed.

4. The method for obtaining dynamic attributes of clothing images according to claim 3, characterized in that, The target person's human feature data is input into a trained human pose estimation model to generate the target human pose model, specifically including: The system receives human body feature data of the target person and inputs it into the human pose estimation model; wherein, the human body feature data is a human body scan image of the target person or manually input body feature parameters; The input data is fused using the HRNet network to output the two-dimensional pixel coordinates of the core joints of the target person's body; human depth information is extracted from the human feature data and the two-dimensional pixel coordinates are converted into three-dimensional world coordinates. The three-dimensional world coordinates of the human body's core joints are input into the inverse kinematics algorithm, which outputs the human body posture prediction parameters. Based on the human posture prediction parameters, a corresponding target human posture model is generated.

5. The method for obtaining dynamic attributes of clothing images according to claim 1, characterized in that, Registering the 3D clothing model with the target human body pose model specifically includes: A virtual skeleton is generated for the target human posture model, and the core joints of the human body are used as the control points of the virtual skeleton. Based on the outline and position of each key part in the virtual skeleton, adjust the size of the three-dimensional clothing model so that the three-dimensional clothing model fits the target human posture model; Collision detection is performed between the 3D clothing model and the target human body posture model. Based on the detection results, the shape of the 3D clothing model is adjusted to eliminate cross-cutting points and complete the registration process.

6. The method for obtaining dynamic attributes of clothing images according to claim 1, characterized in that, Based on the registered 3D clothing model and the target human posture model, as well as the fabric attribute parameters, physical simulation is performed to obtain the multi-posture clothing deformation characteristics, specifically including: The registered 3D clothing model, the target human body posture model, and the fabric attribute parameters are input into the physics simulation engine, and the initial state parameters of the clothing are set. Collect posture and motion parameters corresponding to several preset postures, and drive the target human posture model to move frame by frame through the posture and motion parameters so as to pose the corresponding postures; Based on the motion parameters of the target human body posture model, the physical simulation engine is driven to perform simulation to obtain the state parameters of the three-dimensional clothing model after it changes with the motion of the target human body posture model; wherein, the state parameters include at least the force value of each mass point of the target clothing and the displacement change value of each mass point between frames. Based on the displacement change value of each mass point, the multi-posture garment deformation characteristics of the target garment under different preset postures are obtained; the multi-posture garment deformation characteristics include at least the fold distribution characteristics and the drape change characteristics.

7. The method for obtaining dynamic attributes of clothing images according to claim 1, characterized in that, After quantifying the multi-pose garment deformation features into dynamic attribute indicators using the lightweight attribute prediction model to obtain the dynamic attributes of the target garment, the method further includes: Based on a visualization rendering engine, the dynamic attributes of the target garment are rendered into a virtual try-on model, and real-time interaction is supported. The real-time interaction methods include: rendering dynamic changes in clothing in real time based on the user's selected body posture; and... The system can zoom in on specific areas of wrinkles or drooping based on user input; and... Based on the fabric attribute parameters input by the user, the system generates in real time the impact of changes in fabric attribute parameters on the dynamic attributes of the garment.

8. A system for acquiring dynamic attributes of clothing images, using the method for acquiring dynamic attributes of clothing images as described in any one of claims 1-7, characterized in that, The system includes: The clothing model construction module is used to acquire static clothing images of the target clothing and reconstruct a three-dimensional clothing model based on the static clothing images; and to extract fabric attribute parameters of the target clothing based on the static clothing images and the three-dimensional clothing model. The pose model construction module is used to construct a human pose dataset and train a human pose estimation model using the human pose dataset; the human feature data of the target person is input into the trained human pose estimation model to generate the target human pose model. The deformation feature acquisition module is used to register the three-dimensional clothing model with the target human body posture model; based on the registered three-dimensional clothing model and the target human body posture model, as well as the fabric attribute parameters, physical simulation is performed to obtain multi-posture clothing deformation features. The dynamic attribute prediction module is used to construct and train a lightweight attribute prediction model. Through the lightweight attribute prediction model, the deformation features of the multi-pose clothing are quantified into dynamic attribute indicators to obtain the dynamic attributes of the target clothing.

Citation Information

Patent Citations

  • Clothing model driving method and device and storage medium

    CN114119908A

  • Intelligent display system and method for costume design

    CN120997379A