Suit model generation method and device, computer equipment, storage medium and program product
By generating a three-dimensional model of the human body, positioning annotation and line drawing, the problem of time-consuming and laborious production of traditional clothing templates is solved, and efficient and personalized clothing design and production is achieved.
Patent Information
- Application Number
- CN202411636586.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-07
AI Technical Summary
Traditional clothing model production is time-consuming and laborious, and the accuracy depends on the designer's experience and manual operation, making it difficult to ensure that it is fully fitted with the human curves of different body types, resulting in insufficient comfort and appearance of finished clothing.
By generating a three-dimensional human body model, users can position and line drawing on the model, generate a three-dimensional model of the suit, and convert it into a clothing template to achieve accurate fit and personalized customization.
It improves the efficiency and accuracy of clothing design, ensures the fit and comfort of finished clothing, and meets the modern market's demand for efficiency and personalization.
Smart Images

Figure CN119579786A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clothing design, and in particular to a method, device, computer equipment, storage medium and program product for generating a suit model. Background Art
[0002] Traditional clothing pattern making typically relies on two-dimensional cutting, with designers manually measuring body measurements and drawing patterns. However, this method is time-consuming and labor-intensive, and the accuracy of the pattern relies on the designer's experience and manual effort, making it difficult to ensure a perfect fit for the curves of diverse body types. In both personalized and industrialized clothing production, pattern accuracy has a direct impact on the fit and comfort of the finished product. However, errors are common in traditional pattern making, making it difficult to meet the modern market's demand for efficiency and personalization. Summary of the Invention
[0003] In view of this, the present invention provides a method, apparatus, computer equipment, storage medium and program product for generating a suit model to solve the problem that clothing design using traditional design drawings is time-consuming and labor-intensive, and also has dimensional errors and limited adaptability to body shape diversity, resulting in deficiencies in the comfort and appearance of the finished garments.
[0004] In a first aspect, the present invention provides a method for generating a suit model, the method comprising:
[0005] In response to a human body model generation operation performed by a user on a client, acquiring human body acquisition data, generating and displaying a human body three-dimensional model to the user;
[0006] In response to a positioning operation performed by the user on the client, generating and displaying a positioning mark on the three-dimensional human body model to the user, wherein the positioning operation is an operation of marking a human body part point and / or auxiliary point on the three-dimensional human body model, and the positioning mark corresponds to the human body part point or auxiliary point;
[0007] In response to a line marking operation performed by the user on the client, generating a sample line between at least two positioning marks on the three-dimensional human body model;
[0008] In response to a clothing model generation operation performed by a user on the client, rendering the collection of sample lines, generating and displaying a three-dimensional suit model to the user;
[0009] In response to a suit pattern generation operation performed by a user on the client, the suit three-dimensional model is converted into a suit garment pattern.
[0010] Optionally, before generating and displaying a positioning mark on the three-dimensional human body model to the user, the method further includes: determining a positioning area associated with a human body part on the three-dimensional human body model, and displaying the positioning area to the user.
[0011] Optionally, the body part points include at least the collar point (A), the side of the neck point (J), the seventh cervical vertebra point (O), the armpit point (H), the acromion point (I), the chest point (K) and the most prominent point of the shoulder blade (P').
[0012] Optionally, the line marking operation refers to the operation of the user connecting at least two positioning marks, and the sample lines include at least: anterior center line (AD), posterior center line (OS), waist circumference line (CGR) and hip circumference line (DES).
[0013] Optionally, before responding to the suit pattern generation operation executed by the user on the client, the method further includes:
[0014] In response to a human body model hiding operation performed by the user on the client, the human body three-dimensional model is hidden.
[0015] Optionally, converting the suit three-dimensional model into a suit garment sample includes:
[0016] Obtaining a positional relationship between the positioning mark and the corresponding sample line;
[0017] According to the positional relationship, the three-dimensional suit model is unfolded in a plane and divided into the suit clothing samples.
[0018] In a second aspect, the present invention provides a device for generating a suit model, the device comprising:
[0019] A human body model generation module is used to obtain human body acquisition data in response to a human body model generation operation performed by a user on a client, and to generate and display a human body three-dimensional model to the user;
[0020] a positioning module, configured to generate and display a positioning marker on the three-dimensional human body model in response to a positioning operation performed by the user on the client, wherein the positioning operation is an operation of marking human body parts and / or auxiliary points on the three-dimensional human body model, and the positioning marker corresponds to the human body parts or auxiliary points;
[0021] a line marking module, responsive to a line marking operation performed by the user on the client, generating a sample line between at least two positioning marks on the three-dimensional human body model;
[0022] a clothing model generation module, configured to render the collection of sample lines in response to a clothing model generation operation performed by a user on the client, and generate and display a three-dimensional suit model to the user;
[0023] The suit sample generation module is used to convert the suit three-dimensional model into a suit garment sample in response to a suit sample generation operation performed by a user on the client.
[0024] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for generating a suit model according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0025] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for generating a suit model according to the first aspect or any corresponding embodiment thereof.
[0026] In a fifth aspect, the present invention provides a computer program product comprising computer instructions for causing a computer to execute the method for generating a suit model according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 is a flow chart of a method for generating a suit model according to an embodiment of the present invention;
[0029] Figure 2 、 Figure 3 、 Figure 4 is a schematic structural diagram of a suit model obtained by the generation method provided in an embodiment of the present invention;
[0030] Figure 5 is a structural block diagram of a device for generating a suit model according to an embodiment of the present invention;
[0031] Figure 6 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0033] According to an embodiment of the present invention, an embodiment of a method for generating a suit model is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] In this embodiment, a method for generating a suit model is provided. Figure 1 is a flow chart of a generation method according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:
[0035] Step S101 : in response to a human body model generation operation performed by a user on a client, human body acquisition data is acquired, and a human body three-dimensional model is generated and displayed to the user.
[0036] Specifically, the human body model generation operation may be an indication button or component in a corresponding area on a display module of the client. The client receives a request from the user for a human body model generation operation and generates a human body model generation instruction. The human body model generation instruction may include a request to obtain human body collected data and a request to generate a human body model based on the human body collected data. The human body collected data may include real-time collected data or data stored in a database.
[0037] Based on this, the user can directly click the corresponding instruction button or component on the display module of the client to generate a human body model. The client can generate and display the human body three-dimensional data model. Correspondingly, the client has a window for displaying the human body three-dimensional data model.
[0038] Considering that when users are labeling key parts of the human body on a three-dimensional model, they need to rotate the three-dimensional human body model to find the corresponding key parts of the human body, the operation is cumbersome and reduces the labeling efficiency.
[0039] In order to solve the above problem, this embodiment provides step S1011, which, before generating and displaying a positioning mark on the three-dimensional human body model to the user, also includes: determining a positioning area associated with a human body part on the three-dimensional human body model, and displaying the positioning area to the user.
[0040] Specifically, the positioning area refers to areas associated with key parts of the human body, such as the shoulders, neck, chest, back, and waist. After the user clicks on the corresponding area, the three-dimensional model of the human body will automatically jump and display the corresponding area to the user, making it easier for the user to quickly locate and mark it.
[0041] Step S102: In response to a positioning operation performed by the user on the client, a positioning mark is generated on the three-dimensional human body model and displayed to the user, wherein the positioning operation is an operation of marking human body parts and / or auxiliary points on the three-dimensional human body model, and the positioning mark corresponds to the human body parts or auxiliary points.
[0042] Specifically, the positioning operation can be an operation in which the user clicks on a corresponding point of the human body three-dimensional data model after opening the corresponding component on the display module of the client. The client receives the positioning operation request from the client and generates a positioning mark. The positioning mark can be a dotted graphic or text with a color different from that of the human body three-dimensional model, or a combination of dotted graphics and text. Figure 2 、 Figure 3 and Figure 4 As shown, the human body points refer to the points on the suit that correspond to the human body parts. The human body points include at least the collar point (A), the neck point (J), the seventh cervical vertebra point (O), the armpit point (H), the acromion point (I), the chest point (K), and the most prominent point of the shoulder blade (P'). Among them, the collar point (A) corresponds to the lowest point of the clavicle center of the human body 3D model. The neck point (J) corresponds to the bone protrusion at the junction of the neck and shoulder of the human body 3D model. The seventh cervical vertebra point (O) corresponds to the highest cervical vertebra on the back of the human body 3D model. The acromion point (I) corresponds to the most prominent bone position of the shoulder of the human body 3D model and is used to mark the shoulder contour. The armpit point (H) corresponds to the armpit point of the human body 3D model and is used to draw the key point of the sleeve arc (IH). The chest point (K) corresponds to the highest point of the chest of the human body 3D model and serves as the key point for defining the chest circumference. The positioning markers also include auxiliary point markers, including the underarm auxiliary point (L), the pocket auxiliary point (N), the connection intersection point M, and the extension line intersection point F. It should be noted that in actual applications, the above body parts and auxiliary points can also include other points on clothing parts, which will not be listed one by one here.
[0043] Based on this, the user can mark the key points of the suit model on the client to facilitate the subsequent drawing of sample lines associated with the suit model.
[0044] Step S103 : generating a sample line between at least two positioning marks on the three-dimensional human body model in response to a line marking operation performed by the user on the client.
[0045] Specifically, the line marking operation can be an operation in which the user connects the above-marked positioning marks after clicking the corresponding button or component on the client, that is, the user connects at least two positioning marks. After receiving the line marking operation performed by the user, the client generates sample lines between the corresponding points. In this process, the client can round the direction of the lines according to the correspondence between the sample lines and the human body parts, so that the subsequently generated suit model is more in line with the curve of the three-dimensional model of the human body, thereby improving the fit and comfort of the suit. The sample lines include at least: the front center line (AD), the back center line (OS), the waistline (CGR) and the hip line (DES). The above are the main curves that define the human body parts and the key contour lines of the clothing sample. They can also include curves of other parts or decorative indicator lines of the suit, which are not listed here one by one.
[0046] Step S104 , in response to a clothing model generation operation performed by the user on the client, the collection of sample lines is rendered to generate and display a three-dimensional model of a suit to the user.
[0047] Specifically, the clothing model generation operation refers to the user clicking the corresponding button or component on the client, and the client generates the corresponding clothing model generation instruction in response to the user's click operation, and renders and fills based on the position and direction of all sample lines according to the human clothing model generation instruction, and corrects the filling area according to the surface shape of the human body three-dimensional model, so that the suit three-dimensional model is more in line with the appearance of the human body three-dimensional model, and then displays the suit three-dimensional model to the user.
[0048] Considering that the three-dimensional model of the suit is covered on the three-dimensional model of the human body, it is not convenient for the user to observe the situation inside the three-dimensional model of the suit. Therefore, this embodiment provides step S1041. Before the response to the suit sample generation operation performed by the user on the client, it also includes: responding to the human body model hiding operation performed by the user on the client, hiding the three-dimensional model of the human body, so that the user can observe the inner lining of the three-dimensional model of the suit, which is convenient for the user to make adjustments. When making adjustments, the user can click the corresponding button to jump to step S102 or step S103 to adjust the positioning mark or sample line.
[0049] Step S105 , in response to a suit pattern generation operation performed by the user on the client, converting the suit three-dimensional model into a suit garment pattern.
[0050] Specifically, the suit sample generation operation refers to the user clicking a corresponding button or component on the client, and the client unfolds the three-dimensional suit model and flattens it into a two-dimensional clothing sample based on the user's operation, that is, the suit clothing sample.
[0051] In a specific implementation of this embodiment, converting the three-dimensional suit model into a suit sample includes: obtaining a positional relationship between the positioning mark and the corresponding sample line; and unfolding the three-dimensional suit model in a plane and dividing it into the suit sample according to the positional relationship.
[0052] Specifically, the client will obtain the positional relationship between the positioning marker and the corresponding sample line, and unfold and divide the three-dimensional suit model into a suit clothing sample while ensuring the length and direction of the sample line. The suit clothing sample is a two-dimensional plane structure. At the same time, the client can also use the sample lines on the suit clothing sample as the boundary to divide the cutting pieces.
[0053] In a specific implementation of this embodiment, the size ratio of the human body three-dimensional model to the human body structure is 1:1, and the size ratio of the suit three-dimensional model to the ready-made garment is 1:1.
[0054] To sum up, by marking points and drawing lines on the three-dimensional human body model, it can be more in line with the human body structure and curves, ensuring the precise positioning of clothing points and lines, so that the pattern can accurately fit the three-dimensional shape of the human body, achieving a high degree of fit and comfort of clothing. At the same time, by unfolding the three-dimensional pattern into a two-dimensional flat pattern, key size and contour information can be retained, which is convenient for cutting and production in large-scale production or personalized customization, improving production efficiency and ensuring the accuracy of the finished product.
[0055] This embodiment also provides a device for generating a suit model, which is used to implement the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0056] This embodiment provides a device for generating a suit model, such as Figure 5 Shown, including:
[0057] The human body model generation module 501 is configured to obtain human body acquisition data in response to a human body model generation operation executed by a user on a client, and to generate and display a human body three-dimensional model to the user.
[0058] The positioning module 502 is used to generate and display a positioning mark on the three-dimensional human body model to the user in response to a positioning operation performed by the user on the client, wherein the positioning operation is an operation of marking human body part points and / or auxiliary points on the three-dimensional human body model, and the positioning mark corresponds to the human body part point or auxiliary point.
[0059] The line marking module 503 generates a sample line between at least two positioning marks on the human body three-dimensional model in response to the line marking operation performed by the user on the client.
[0060] The clothing model generation module 504 is configured to render the collection of sample lines in response to a clothing model generation operation performed by the user on the client, and generate and display a three-dimensional suit model to the user.
[0061] The suit pattern generation module 505 is configured to convert the suit three-dimensional model into a suit garment pattern in response to a suit pattern generation operation executed by the user on the client.
[0062] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0063] The suit model generation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0064] The embodiment of the present invention also provides a computer device having the above Figure 5 The device for generating the suit model shown.
[0065] See also Figure 6 , Figure 6 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0066] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0067] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0068] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0069] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0070] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The bus connection is taken as an example.
[0071] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touch pad, an indicator stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display, and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0072] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0073] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.
[0074] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for generating a suit model, characterized in that: The generation method comprises: In response to a human body model generation operation performed by a user on a client, acquiring human body acquisition data, generating and displaying a human body three-dimensional model to the user; In response to a positioning operation performed by the user on the client, a positioning mark is generated on the three-dimensional human body model and displayed to the user, wherein the positioning operation is an operation of marking a human body part point and / or an auxiliary point on the three-dimensional human body model, and the positioning mark corresponds to the human body part point or the auxiliary point; In response to a line marking operation performed by the user on the client, generating a sample line between at least two positioning marks on the human body three-dimensional model; In response to a clothing model generation operation performed by a user on the client, rendering the collection of sample lines, generating and displaying a three-dimensional suit model to the user; In response to a suit pattern generation operation performed by a user on the client, the suit three-dimensional model is converted into a suit clothing pattern.
2. The generation method according to claim 1, characterized in that: Before generating and displaying the positioning mark on the three-dimensional human body model to the user, the method further includes: determining a positioning area associated with a human body part on the three-dimensional human body model, and displaying the positioning area to the user.
3. The generation method according to claim 1, characterized in that: The human body parts at least include the collar point (A), the neck side point (J), the seventh cervical vertebra point (O), the axilla point (H), the acromion point (I), the chest point (K) and the most prominent point of the shoulder blade (P').
4. The generation method according to claim 1, characterized in that: The line marking operation refers to the operation of the user connecting at least two positioning marks, and the sample lines at least include: an anterior center line (AD), an posterior center line (OS), a waist circumference line (CGR) and a hip circumference line (DES).
5. The generation method according to claim 1, characterized in that: Before the suit pattern generation operation executed on the client in response to the user, the method further includes: In response to a human body model hiding operation performed by the user on the client, the human body three-dimensional model is hidden.
6. The generation method according to claim 1, characterized in that: The step of converting the suit three-dimensional model into a suit garment sample comprises: Acquire the positional relationship between the positioning mark and the corresponding sample line; According to the positional relationship, the three-dimensional model of the suit is unfolded in a plane and divided into the suit clothing samples.
7. A device for generating a suit model, characterized in that: The device comprises: A human body model generation module, configured to obtain human body acquisition data in response to a human body model generation operation performed by a user on a client, and to generate and display a human body three-dimensional model to the user; A positioning module, configured to generate and display a positioning mark on the three-dimensional human body model in response to a positioning operation performed by the user on the client, wherein the positioning operation is an operation of marking a human body part point and / or an auxiliary point on the three-dimensional human body model, and the positioning mark corresponds to the human body part point or the auxiliary point; A line marking module, in response to a line marking operation performed by the user on the client, generates a sample line between at least two positioning marks on the human body three-dimensional model; A clothing model generation module, configured to render the collection of sample lines in response to a clothing model generation operation performed by a user on the client, and generate and display a three-dimensional suit model to the user; The suit sample generation module is used to convert the suit three-dimensional model into a suit garment sample in response to a suit sample generation operation performed by a user on the client.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for generating a suit model according to any one of claims 1 to 7 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for generating a suit model according to any one of claims 1 to 7.
10. A computer program product, characterized in that The invention comprises computer instructions for causing a computer to execute the method for generating a suit model according to any one of claims 1 to 7.