Method and system for generating three-dimensional garment upper body effect
By constructing three-dimensional body model and cluster analysis, the clothing layout is adjusted for users of different body shapes and realizing virtual trial-on, the problem of users being unable to modify clothing in a targeted manner is solved, the fit and user satisfaction of the clothing are improved, and the shopping experience is improved and retail efficiency.
Patent Information
- Application Number
- CN202411548492.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-18
AI Technical Summary
During the clothing sales process, users are unable to make targeted suggestions for modification of clothing, resulting in a decrease in user satisfaction.
By obtaining the user's body shape data, a three-dimensional body shape model is constructed, and a hierarchical clustering algorithm is used to cluster and analyze all three-dimensional body shape models to form multiple user body shape categories. Adjust the basic layout of clothing according to these categories, store the adjusted layout into the database, and retrieve the matching clothing layout based on the user's body shape data to realize the visual display of virtual trial-on.
It improves the fit of the clothing, enhances user satisfaction, improves shopping experience, reduces the demand for fittings in physical stores, reduces the return rate, improves retail efficiency and reduces operating costs.
Smart Images

Figure CN119477463A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clothing, and in particular to a method and system for generating a three-dimensional clothing upper body effect. Background Art
[0002] Clothing sales refers to the process of providing clothing products to consumers through various sales channels. This process involves multiple links from design, production to marketing and distribution. Clothing sales not only include the operation of physical stores, but also cover the operation of online e-commerce platforms. With the development of technology and changes in consumer behavior, the field of clothing sales is also constantly innovating to better meet market demand. The design stage of clothing is an important starting point in the sales chain. Designers create new clothing based on market trends, consumer preferences, and seasonal changes. After the design is completed, it enters the production stage. The clothing factory makes samples according to the design drawings and produces them in batches.
[0003] In the above manufacturing and sales process, the user is the last to participate and is unable to make targeted suggestions for corresponding modifications to the clothing, thereby reducing user satisfaction. Summary of the invention
[0004] The purpose of the present invention is to provide a method and system for generating three-dimensional clothing upper body effects, aiming to generate corresponding pattern clothing in a targeted manner based on a database of registered users, thereby improving the degree of fit, making users more satisfied, and enhancing consumers' shopping experience.
[0005] To achieve the above-mentioned purpose, in a first aspect, the present invention provides a method for generating a three-dimensional clothing upper body effect, comprising obtaining body shape data uploaded by a user through an electronic device, and preprocessing the data to generate user registration information;
[0006] constructing a three-dimensional body model according to the registration information;
[0007] A hierarchical clustering algorithm is used to perform cluster analysis on all three-dimensional body shape models to form multiple user body shape categories;
[0008] The basic layout of the clothing is adjusted according to multiple user body types to meet the needs of users of different body types;
[0009] storing the adjusted multiple clothing patterns in a clothing pattern database, each pattern corresponding to a specific user body type category;
[0010] According to the clothing type selected by the user and his body shape data, the target clothing pattern is retrieved and matched in the clothing pattern database;
[0011] The matching target clothing pattern is superimposed on the user's body model in the form of a three-dimensional model to achieve a visual display of virtual try-on.
[0012] The specific steps of obtaining the body shape data uploaded by the user through the electronic device and preprocessing the data to generate the user's registration information include:
[0013] Obtain personal information entered by users on electronic devices;
[0014] Upload your body shape data after personal information registration is approved;
[0015] Preprocess the uploaded body shape data to generate user registration information.
[0016] Among them, the personal information includes user name, password and contact information.
[0017] The body shape data includes height, weight, chest circumference, waist circumference and hip circumference.
[0018] The specific steps of constructing the three-dimensional body model according to the registration information include:
[0019] Convert the body shape parameters in the registration information into numerical data;
[0020] Build a preliminary geometric model based on numerical data;
[0021] Meshing the geometric model into a finite number of mesh elements;
[0022] Set boundary conditions for the model based on human motion and physiological characteristics;
[0023] Run the solver of the finite element analysis software to calculate and generate the model to obtain a three-dimensional body model.
[0024] The specific steps of using a hierarchical clustering algorithm to perform cluster analysis on all three-dimensional body shape models to form multiple user body shape categories include:
[0025] Extracting body parameter data of all users from a three-dimensional body model database;
[0026] Cosine similarity was selected to calculate the similarity between models of different body shapes;
[0027] Treat each body shape model as a separate cluster, that is, each model is a class in itself, initialize the clustering process, and set the parameters of the clustering algorithm;
[0028] According to the distance measurement results, the two closest clusters are found and merged into a superordinate cluster. A cluster tree is established to record the cluster merging process until the target number of clusters is reached, and multiple user body shape categories are obtained.
[0029] Each user body type category formed is verified.
[0030] The specific steps of adjusting the basic layout of clothing according to multiple user body types to adapt to the needs of users of different body types include:
[0031] Extracting parameters of basic patterns from clothing pattern database;
[0032] Develop clothing layout adjustment strategies based on the characteristics of body types;
[0033] Adjust the layout parameters of each body type category accordingly based on the adjustment strategy;
[0034] Make prototype corrections to the adjusted layout parameters and draw a new clothing layout diagram.
[0035] In a second aspect, the present invention also provides a system for generating a three-dimensional clothing upper body effect, comprising a data uploading module, a body model generating module, a body clustering module, a layout generating module, a storage module, a matching module and a display module;
[0036] The data uploading module is used to obtain the body shape data uploaded by the user through the electronic device, and pre-process the data to generate the user's registration information;
[0037] The body model generation module is used to construct a three-dimensional body model according to the registration information;
[0038] The body shape clustering module is used to perform cluster analysis on all three-dimensional body shape models using a hierarchical clustering algorithm to form multiple user body shape categories;
[0039] The pattern generation module is used to adjust the basic pattern of clothing according to multiple user body types to meet the needs of users of different body types;
[0040] The storage module is used to store the adjusted multiple clothing patterns in a clothing pattern database, each pattern corresponding to a specific user body type category;
[0041] The matching module is used to retrieve and match the target clothing pattern in the clothing pattern database according to the clothing type selected by the user and his body shape data;
[0042] The display module is used to superimpose the matching target clothing pattern on the user body model in the form of a three-dimensional model to achieve a visual display of virtual try-on.
[0043] The invention discloses a method and system for generating a three-dimensional clothing upper body effect, comprising: obtaining body shape data uploaded by a user through an electronic device, preprocessing the data, and generating user registration information; constructing a three-dimensional body shape model according to the registration information; clustering and analyzing all three-dimensional body shape models using a hierarchical clustering algorithm to form multiple user body shape categories; adjusting the basic layout of clothing according to multiple user body shape categories to adapt to the needs of users of different body shape categories; storing the adjusted multiple clothing layouts in a clothing layout database, each layout corresponding to a specific user body shape category; retrieving and matching the target clothing layout in the clothing layout database according to the clothing type selected by the user and his body shape data; superimposing the matched target clothing layout on the user body shape model in the form of a three-dimensional model to realize the visual display of virtual try-on. Thus, a contactless shopping experience is provided for users, reducing the need for fitting in physical stores, improving shopping efficiency, and also reducing the return rate. In summary, this method not only improves the shopping experience of consumers, but also reduces the need for physical fitting rooms, which helps to improve retail efficiency and reduce operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 It is a flow chart of a method for generating a three-dimensional clothing upper body effect according to the first embodiment of the present invention.
[0046] Figure 2 This is a flowchart of the first embodiment of the present invention for obtaining body shape data uploaded by a user via an electronic device, preprocessing the data, and generating registration information of the user.
[0047] Figure 3 It is a flowchart of constructing a three-dimensional body model according to the registration information in the first embodiment of the present invention.
[0048] Figure 4 This is a flow chart of the first embodiment of the present invention, which uses a hierarchical clustering algorithm to perform cluster analysis on all three-dimensional body models to form multiple user body shape categories.
[0049] Figure 5 This is a flow chart of the first embodiment of the present invention, which adjusts the basic layout of clothing according to multiple user body types to meet the needs of users with different body types.
[0050] Figure 6This is a flow chart of storing a plurality of adjusted clothing patterns in a clothing pattern database, wherein each pattern corresponds to a specific user body type category, according to a first embodiment of the present invention.
[0051] Figure 7 It is a flowchart of the first embodiment of the present invention for retrieving and matching a target clothing pattern in a clothing pattern database according to the clothing type selected by the user and his body shape data.
[0052] Figure 8 This is a flowchart of the first embodiment of the present invention, in which a matching target clothing pattern is superimposed on a user body model in the form of a three-dimensional model to achieve a visualized display of a virtual try-on. DETAILED DESCRIPTION
[0053] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0054] First embodiment
[0055] See also Figures 1 to 8 The present invention provides a method for generating a three-dimensional clothing upper body effect, comprising:
[0056] S101 obtains the body shape data uploaded by the user through the electronic device, and pre-processes the data to generate the user's registration information;
[0057] S201 obtains personal information input by a user on an electronic device.
[0058] The user launches the registration interface on the electronic device and enters personal information, including but not limited to the following: enter the user name as the unique identifier for logging into the system and set a password to protect the security of the user account; fill in contact information, such as mobile phone number, email address, etc., to facilitate communication between the system and the user.
[0059] S202 Upload body shape data after personal information registration is approved.
[0060] After the user completes the personal information input, click the Submit button; after the system verifies that the personal information is correct, the user is prompted to upload the body shape data;
[0061] The user uploads the following body data as instructed: upload height data, usually in centimeters; upload weight data, usually in kilograms; upload chest circumference data, measuring the circumference of the fullest part of the chest; S202.4 upload waist circumference data, measuring the circumference of the thinnest part of the waist; upload hip circumference data, measuring the circumference of the fullest part of the hips.
[0062] S203 pre-processes the uploaded body shape data to generate user registration information.
[0063] The system receives the body shape data uploaded by the user and performs the following preprocessing operations: verifying the data format to ensure that the data meets the system requirements; removing invalid data, such as obviously abnormal or missing data; standardizing data to convert data from different units to a unified standard; and cleaning data to eliminate duplicate or erroneous data.
[0064] After the preprocessing is completed, the system associates the personal information with the body shape data to generate the user's registration information;
[0065] Registration information includes user name, which serves as account identification; password, which is used for account login; contact information, which facilitates communication between the system and the user; and body shape data, which is used for subsequent body shape analysis and clothing matching.
[0066] S102 constructs a three-dimensional body model according to the registration information;
[0067] The specific steps include:
[0068] S301 Converting the body shape parameters in the registration information into numerical data
[0069] Extract body parameters from user registration information, including key dimensions such as height, weight, chest circumference, waist circumference, and hip circumference; convert the extracted body parameters into numerical data, ensuring that the data format is suitable for processing by 3D modeling and finite element analysis software; for example, convert height data into numerical values in centimeters; convert weight data into numerical values in kilograms; convert chest circumference, waist circumference, hip circumference and other size data into numerical values in centimeters.
[0070] S302 Establish a preliminary geometric model based on numerical data
[0071] Use professional 3D modeling software to build a preliminary geometric model based on the converted numerical data. First, set the initial form of the model, such as the basic proportions and shape of the human body; then adjust the model size to ensure that the model matches the actual body parameters; generate the initial geometric shape of the model, including the outline and basic features of the body.
[0072] S303 meshes the geometric model into a finite number of mesh units.
[0073] In the 3D modeling software, mesh the initially established geometric model; then select the appropriate mesh type, such as tetrahedral or hexahedral mesh; determine the mesh density to ensure the accuracy of the model while avoiding over-calculation; divide the mesh and divide the model into a finite number of mesh elements in preparation for finite element analysis.
[0074] S304 sets boundary conditions for the model according to human body motion and physiological characteristics.
[0075] Considering human motion and physiological characteristics, boundary conditions are set for the 3D body model. First, the fixed points of the model are determined, such as the contact point between the foot and the ground; then the range of motion of the model is set, such as the rotation angle and displacement limit of the joint; and then physiological characteristics are applied, such as the elastic modulus and tension of the muscle.
[0076] S305 runs the solver of the finite element analysis software to calculate and generate the model to obtain a three-dimensional body model
[0077] Use the solver of the finite element analysis software to calculate the meshed model; input the material properties of the model, such as elastic modulus, Poisson's ratio, etc.; run the solver to calculate the model's stress, strain and other physical quantities under boundary conditions; generate the final three-dimensional body model, which can reflect the user's actual body characteristics; verify the calculation results to ensure the validity and accuracy of the model.
[0078] S103 uses a hierarchical clustering algorithm to perform cluster analysis on all three-dimensional body shape models to form multiple user body shape categories;
[0079] The specific steps include:
[0080] S401 extracts body parameter data of all users from the three-dimensional body model database.
[0081] Access the three-dimensional body model database and extract body parameter data of all users;
[0082] The extracted data includes key measurements such as height, weight, chest, waist, and hips;
[0083] Ensure that the extracted data is in a consistent format to facilitate cluster analysis.
[0084] S402 selects cosine similarity to calculate the similarity between different body shape models.
[0085] Cosine similarity was selected as the distance metric to calculate the similarity between models of different body shapes;
[0086] Cosine similarity can effectively reflect the correlation and difference between body shape parameters;
[0087] The calculated similarity is used for subsequent clustering analysis.
[0088] S403 regards each body shape model as a separate cluster, that is, each model is a class in itself, initializes the clustering process, and sets the parameters of the clustering algorithm.
[0089] Each 3D body shape model in the database is considered as a separate cluster;
[0090] Initialize the clustering process and set the parameters of the clustering algorithm, such as the distance threshold or the number of clusters;
[0091] Make sure that the parameters are set reasonably to ensure the effectiveness and accuracy of the clustering results.
[0092] S404 finds the two closest clusters according to the distance measurement result, merges them into a superior cluster, and establishes a cluster tree to record the cluster merging process until the target number of clusters is reached, and obtains multiple user body shape categories.
[0093] According to the cosine similarity calculation results, find the two clusters with the closest distance; merge the two clusters into a parent cluster, and record the merging process in the cluster tree; repeat this step until the preset number of clusters is reached; finally, multiple user body shape categories are obtained, each category contains a group of similar three-dimensional body shape models.
[0094] S405 verifies each user body type category formed.
[0095] Analyze the characteristics of each user's body type, including the mean, standard deviation, and proportion of body parameters; determine the main body differences and clothing design requirements of each category; verify whether each category meets the purpose of clustering, ensuring high similarity within the class and obvious differences between classes; collect verification results, evaluate the rationality and accuracy of the clustering results; make necessary adjustments and optimizations to the clustering results to improve the effect and practicality of clustering.
[0096] S104 adjusts the basic layout of the clothing according to the multiple user body types to meet the needs of users of different body types;
[0097] The specific steps include:
[0098] S501 Extracting basic layout parameters from clothing layout database
[0099] Access the clothing pattern database and extract basic pattern parameters, including key dimensions such as neckline, shoulder width, chest circumference, waist circumference, hip circumference, sleeve length, etc.
[0100] Prepare adjustment templates for layout parameters to facilitate batch processing and adjustment.
[0101] S502 Develop clothing layout adjustment strategies based on the characteristics of body types
[0102] Analyze the characteristics of each user's body type, including the mean, standard deviation, and proportion of body parameters; determine the main body differences and clothing design requirements for each category;
[0103] Develop strategies for adjusting clothing patterns, including which parts need to be adjusted and the direction and magnitude of the adjustments;
[0104] For example, for categories with larger busts, the chest width needs to be increased; for categories with thinner waists, the waist design needs to be tightened.
[0105] S503: adjusting the layout parameters of each body type according to the adjustment strategy
[0106] Apply the adjustment strategy to adjust each layout parameter in the clothing layout database accordingly;
[0107] Use professional clothing design software for parametric design to ensure accuracy and consistency of adjustments;
[0108] Verify the adjusted layout parameters to ensure that the adjusted layout can meet the needs of users of different body types.
[0109] S504 performs prototype correction on the adjusted layout parameters and draws a new clothing layout diagram
[0110] Prototype corrections are made to the adjusted layout parameters, including adjustment of the shape, size and structure of the layout;
[0111] Draw new clothing pattern drawings, including detailed size tables, design instructions and production instructions for the pattern;
[0112] Ensure that the layout diagram meets the garment structure and process requirements;
[0113] Validate new clothing layouts to ensure they meet the needs of users of different body types.
[0114] S105 stores the adjusted multiple clothing patterns into a clothing pattern database, each pattern corresponding to a specific user body type category;
[0115] The specific steps include:
[0116] S601 creates metadata for each layout file, including layout number, applicable body type, design features, applicable fabric type, etc.
[0117] Create a unique pattern number for each adjusted clothing pattern as its unique identification in the database;
[0118] Extract the design features of the layout file, such as style, style, color, etc.;
[0119] Determine the type of fabric that the layout is suitable for, such as cotton, linen, silk, wool, etc.;
[0120] Collect body type information applicable to the layout file, such as key dimensions such as bust, waist, hips, etc.;
[0121] Integrate the above information into layout metadata to facilitate database retrieval and management.
[0122] S602 Upload the layout file to the corresponding storage area of the database
[0123] Use the tools provided by the database management system to upload the layout file to the corresponding storage area of the database;
[0124] Ensure file integrity and data security during the upload process;
[0125] The storage area should have sufficient storage space and efficient data retrieval capabilities.
[0126] S603 Create an index for the layout metadata table in the database
[0127] Create indexes for the format metadata table in the database to improve query efficiency;
[0128] Indexes can be based on key fields such as pattern number, applicable body type category, design features, or applicable fabric type;
[0129] Ensure that the index supports the rapid location and retrieval of specific layout files.
[0130] S106 retrieves and matches a target clothing pattern in a clothing pattern database according to the clothing type selected by the user and the body shape data;
[0131] The specific steps include:
[0132] S701 Obtain the clothing type selected by the user
[0133] Provide a user interface that allows users to select the desired clothing type, such as shirt, pants, dress, etc.; users confirm or update their body model information to ensure that the model reflects the latest body data.
[0134] S702: Constructing database query conditions based on the clothing type selected by the user and the extracted body parameters
[0135] Extract key body parameters such as chest circumference, waist circumference, hip circumference, shoulder width, etc. from the user's body model; construct database query conditions based on the extracted body parameters and the type of clothing selected by the user; ensure that the query conditions can accurately match the user's body category and clothing type.
[0136] S703 performs a query in the clothing pattern database based on the query condition to retrieve pattern records corresponding to the user's body type and clothing type.
[0137] Execute a query in the clothing pattern database to retrieve pattern records corresponding to the user's body type and clothing type; use the previously established indexes and associations to improve query efficiency; retrieve the pattern records corresponding to the user's body type and clothing type.
[0138] S704 applies a similarity calculation algorithm to compare the user's body shape parameters with the pattern parameters in the database to select a group of clothing patterns that best match the user's body shape.
[0139] Apply similarity calculation algorithms, such as cosine similarity or Euclidean distance, to compare the user's body parameters with the pattern parameters in the database; select a set of clothing patterns that best suit the user's body shape; consider factors such as the pattern's fit, comfort, and fashion trends; the selected clothing patterns should be able to meet the user's personalized needs.
[0140] S107 superimposes the matching target clothing pattern onto the user body model in the form of a three-dimensional model to achieve a visual display of the virtual try-on.
[0141] The specific steps include:
[0142] S801 Extract the 3D model file of the matching target clothing pattern from the clothing pattern database
[0143] Access the clothing pattern database, retrieve the 3D model file of the matching target clothing pattern according to the user's body type and clothing type; ensure that the format of the 3D model file is compatible with the visualization display system; extract the 3D model file, including information such as the shape, size and structure of the clothing.
[0144] S802 Obtaining the user's three-dimensional body model
[0145] Access user registration information to obtain the user's 3D body model; ensure the accuracy and update of the 3D body model; obtain information such as the shape, size and structure of the model for superimposition with the clothing pattern.
[0146] S803 Aligning the three-dimensional model of the clothing pattern with the user body model
[0147] In a virtual environment, align the three-dimensional model of the clothing pattern with the user's body model;
[0148] Ensure that the garment model is positioned to match the body model, such as the collar to the neck, the sleeves to the arms, etc. The alignment process should take into account the model's proportions and position to ensure that the garment fits the body model properly.
[0149] S804 Apply appropriate textures and materials to the 3D model of the clothing pattern to realistically reflect the fabric and color of the clothing
[0150] Apply appropriate textures and materials to the 3D models of the clothing pattern to realistically reflect the fabric and color of the clothing; select textures and materials that match the fabric and color of the clothing to enhance the realism of the model; ensure that the textures and materials are rendered realistically to provide accurate visual effects.
[0151] Second embodiment
[0152] The invention provides a system for generating a three-dimensional clothing upper body effect, comprising a data uploading module, a body shape model generating module, a body shape clustering module, a layout generating module, a storage module, a matching module and a display module; the data uploading module is used to obtain body shape data uploaded by a user through an electronic device, and pre-process the data to generate user registration information; the body shape model generating module is used to construct a three-dimensional body shape model according to the registration information; the body shape clustering module is used to perform clustering analysis on all three-dimensional body shape models by adopting a hierarchical clustering algorithm to form a plurality of user body shape categories; the layout generating module is used to adjust the basic layout of clothing according to the plurality of user body shape categories to meet the needs of users of different body shape categories; the storage module is used to store the adjusted plurality of clothing layouts in a clothing layout database, each layout corresponding to a specific user body shape category; the matching module is used to retrieve and match a target clothing layout in the clothing layout database according to the clothing type selected by the user and the body shape data thereof; the display module is used to superimpose the matched target clothing layout on the user body shape model in the form of a three-dimensional model to realize the visual display of virtual try-on.
[0153] In this embodiment, the data upload module is used to obtain the body shape data uploaded by the user through the electronic device, and pre-process the data to generate the user's registration information. The specific steps include the user inputting personal information on the electronic device, such as user name, password and contact information; the user uploading body shape data, including height, weight, chest circumference, waist circumference and hip circumference; the system pre-processes the uploaded body shape data, such as verifying the data format, removing invalid data, standardizing data, etc., to generate the user's registration information.
[0154] The body shape model generation module is used to construct a three-dimensional body shape model based on the registration information. The specific steps include converting the body shape parameters in the registration information into numerical data; establishing a preliminary geometric model based on the numerical data; meshing the geometric model into a finite number of mesh units; setting boundary conditions for the model based on human movement and physiological characteristics; running the solver of the finite element analysis software to calculate and generate the model to obtain a three-dimensional body shape model.
[0155] The body shape clustering module is used to perform cluster analysis on all three-dimensional body shape models using a hierarchical clustering algorithm to form multiple user body shape categories. The specific steps include: extracting body shape parameter data of all users from the three-dimensional body shape model database; selecting cosine similarity to calculate the similarity between different body shape models; treating each body shape model as a separate cluster, initializing the clustering process, and setting the parameters of the clustering algorithm; finding the two closest clusters based on the distance measurement results, and merging them into a superordinate cluster, establishing a clustering tree to record the cluster merging process until the target number of clusters is reached, and obtaining multiple user body shape categories; and verifying each formed user body shape category.
[0156] The layout generation module is used to adjust the basic layout of clothing according to multiple user body types to meet the needs of users of different body types. The specific steps include: extracting the parameters of the basic layout from the clothing layout database; formulating the clothing layout adjustment strategy according to the characteristics of the body type; adjusting the layout parameters of each body type according to the adjustment strategy; and making prototype corrections to the adjusted layout parameters to draw a new clothing layout diagram.
[0157] The storage module is used to store the adjusted multiple clothing patterns in the clothing pattern database, and each pattern corresponds to a specific user body type. The specific steps include creating metadata for each pattern file, including pattern number, applicable body type, design features, applicable fabric type and other information; uploading the pattern file to the corresponding storage area of the database; and indexing the pattern metadata table in the database.
[0158] The matching module is used to retrieve and match the target clothing pattern in the clothing pattern database according to the clothing type selected by the user and his body shape data. The specific steps include: obtaining the clothing type selected by the user; constructing database query conditions according to the clothing type selected by the user and the extracted body shape parameters; executing queries in the clothing pattern database based on the query conditions to retrieve pattern records corresponding to the user's body shape category and clothing type; applying a similarity calculation algorithm to compare the user's body shape parameters with the pattern parameters in the database to select a set of clothing patterns that best match the user's body shape.
[0159] The display module is used to superimpose the matching target clothing pattern onto the user's body model in the form of a three-dimensional model to achieve a visual display of virtual try-on.
[0160] Through the above modules and steps, the system can provide users with a solution for generating and displaying the effects of three-dimensional clothing on the body, realizing personalized clothing design and virtual try-on experience.
[0161] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A method for generating a three-dimensional clothing upper body effect, It is characterized in that It includes: obtaining the body shape data uploaded by the user through the electronic device, and pre-processing the data to generate the user's registration information; constructing a three-dimensional body model according to the registration information; A hierarchical clustering algorithm is used to perform cluster analysis on all three-dimensional body shape models to form multiple user body shape categories; The basic layout of the clothing is adjusted according to multiple user body types to meet the needs of users of different body types; storing the adjusted multiple clothing patterns in a clothing pattern database, each pattern corresponding to a specific user body type category; According to the clothing type selected by the user and his body shape data, the target clothing pattern is retrieved and matched in the clothing pattern database; The matching target clothing pattern is superimposed on the user's body model in the form of a three-dimensional model to achieve a visual display of virtual try-on.
2. A method for generating a three-dimensional clothing upper body effect as claimed in claim 1, characterized in that: The specific steps of obtaining the body shape data uploaded by the user through the electronic device and preprocessing the data to generate the user's registration information include: Obtain personal information entered by users on electronic devices; Upload your body shape data after personal information registration is approved; Preprocess the uploaded body shape data to generate user registration information.
3. A method for generating a three-dimensional clothing upper body effect as claimed in claim 2, characterized in that: The personal information includes username, password and contact information.
4. A method for generating a three-dimensional clothing upper body effect as claimed in claim 3, characterized in that: The body shape data includes height, weight, chest circumference, waist circumference and hip circumference.
5. A method for generating a three-dimensional clothing upper body effect as claimed in claim 4, characterized in that: The specific steps of constructing the three-dimensional body model according to the registration information include: Convert the body shape parameters in the registration information into numerical data; Build a preliminary geometric model based on numerical data; Meshing the geometric model into a finite number of mesh elements; Set boundary conditions for the model based on human motion and physiological characteristics; Run the solver of the finite element analysis software to calculate and generate the model to obtain a three-dimensional body model.
6. A method for generating a three-dimensional clothing upper body effect as claimed in claim 5, characterized in that: The specific steps of using a hierarchical clustering algorithm to perform cluster analysis on all three-dimensional body shape models to form multiple user body shape categories include: Extracting body parameter data of all users from a three-dimensional body model database; Cosine similarity was selected to calculate the similarity between models of different body shapes; Treat each body shape model as a separate cluster, that is, each model is a class in itself, initialize the clustering process, and set the parameters of the clustering algorithm; According to the distance measurement results, the two closest clusters are found and merged into a superordinate cluster. A cluster tree is established to record the cluster merging process until the target number of clusters is reached, and multiple user body shape categories are obtained. Each user body type category formed is verified.
7. A method for generating a three-dimensional clothing upper body effect as claimed in claim 6, characterized in that: The specific steps of adjusting the basic layout of the clothing according to the multiple user body types to adapt to the needs of users of different body types include: Extracting parameters of basic patterns from clothing pattern database; Develop clothing layout adjustment strategies based on the characteristics of body types; Adjust the layout parameters of each body type category accordingly based on the adjustment strategy; Make prototype corrections to the adjusted layout parameters and draw a new clothing layout diagram.
8. A system for generating a three-dimensional clothing upper body effect, characterized in that: It includes a data uploading module, a body model generating module, a body clustering module, a layout generating module, a storage module, a matching module and a display module; The data uploading module is used to obtain the body shape data uploaded by the user through the electronic device, and pre-process the data to generate the user's registration information; The body model generation module is used to construct a three-dimensional body model according to the registration information; The body shape clustering module is used to perform cluster analysis on all three-dimensional body shape models using a hierarchical clustering algorithm to form multiple user body shape categories; The pattern generation module is used to adjust the basic pattern of clothing according to multiple user body types to meet the needs of users of different body types; The storage module is used to store the adjusted multiple clothing patterns in a clothing pattern database, each pattern corresponding to a specific user body type category; The matching module is used to retrieve and match the target clothing pattern in the clothing pattern database according to the clothing type selected by the user and his body shape data; The display module is used to superimpose the matching target clothing pattern on the user body model in the form of a three-dimensional model to achieve a visual display of virtual try-on.