CN111127577A - Method and device for adding sewing effect picture, computer equipment and storage medium - Google Patents
Method and device for adding sewing effect picture, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111127577A CN111127577A CN201911315528.7A CN201911315528A CN111127577A CN 111127577 A CN111127577 A CN 111127577A CN 201911315528 A CN201911315528 A CN 201911315528A CN 111127577 A CN111127577 A CN 111127577A
- Authority
- CN
- China
- Prior art keywords
- sewing
- ready
- made clothes
- identification
- effect picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Sewing Machines And Sewing (AREA)
Abstract
The application relates to a method and a device for adding a sewing effect picture, computer equipment and a storage medium. The sewing process parameters in the ready-made clothes form information are read; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification; acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database; extracting a corresponding stitching effect picture from the stitching effect information; and adding the sewing effect picture to the corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification. The method comprises the steps of extracting corresponding sewing effect pictures from a preset database, adding the corresponding sewing effect pictures into a virtual ready-made garment, and generating production process order information; the production personnel can obtain the sewing effect picture according to the order making information and directly produce the sewing effect picture; production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided.
Description
Technical Field
The application relates to the technical field of clothing manufacturing processes, in particular to a sewing effect picture adding method and device, computer equipment and a storage medium.
Background
The sewing is a sewing method in the sewing operation, mainly sews and wraps the products such as cloth, leather and the like through a sewing machine, and is the most important link in the knitting products.
With the continuous optimization of the garment making process, when a manufacturer carries out production of a garment, in order to ensure the effect of the produced garment, the sewing effect is usually simulated on a virtual garment in advance, and mass production is carried out according to the effect determined by the simulation.
At present, sewing effect pictures corresponding to different sewing effects need to be searched manually, the process is complicated, and time and labor are wasted; this method is inefficient and presents a significant risk of misplacement.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for adding a stitching effect picture, a computer device and a storage medium.
A method for adding a stitching effect picture, the method comprising:
reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
extracting a corresponding stitching effect picture from the stitching effect information;
and adding the sewing effect picture to a corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
In one embodiment, before obtaining the sewing effect information corresponding to both the ready-made clothes part identifier and the sewing process identifier from the preset database, the method further includes:
acquiring a preset stitching effect picture;
generating the stitching effect information according to the preset stitching effect picture;
and constructing the preset database according to the sewing effect information.
In one embodiment, the generating the stitching effect information according to the preset stitching effect picture includes:
recognizing ready-made clothes parts and sewing processes in the preset sewing effect picture, and generating corresponding ready-made clothes part marks and corresponding sewing process marks;
and generating the sewing effect information according to the preset sewing effect picture, the ready-made clothes part identification and the sewing process identification.
In one embodiment, the obtaining of the sewing effect information corresponding to both the ready-made clothes part identifier and the sewing process identifier from the preset database includes:
generating a sewing effect information identifier according to the ready-made clothes part identifier and the sewing process identifier;
and inquiring the preset database, and acquiring the sewing effect information corresponding to the sewing effect information identifier as the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier.
In one embodiment, the adding the stitching effect picture to the corresponding position in the virtual ready-made garment according to the ready-made garment part identifier includes:
adjusting the size and the direction of the sewing effect picture according to the ready-made clothes part identification to obtain an adjusted sewing effect picture; determining the corresponding adding position of the adjusted sewing effect picture in the virtual ready-made clothes according to the ready-made clothes part identification;
and adding the adjusted sewing effect picture to the adding position.
In one embodiment, after adding the stitching effect picture to the corresponding position in the virtual ready-made garment according to the ready-made garment part identifier, the method further includes:
generating a production process file according to the ready-made clothes part identification, the sewing process identification and the sewing effect picture; the production process file is used for guiding workers to produce;
generating a display process file according to the ready-made clothes part identification, the sewing process identification and the virtual ready-made clothes; the display process file is used for displaying the sewing effect of the ready-made clothes part corresponding to the ready-made clothes part identification on the virtual ready-made clothes.
In one embodiment, the generating a production process file according to the ready-made clothes part identifier, the sewing process identifier, and the sewing effect picture includes:
converting the ready-made clothes part identification and the sewing process identification according to a preset conversion format to obtain a converted ready-made clothes part identification and a converted sewing process identification;
and respectively adding the converted ready-made clothes part identification, the converted sewing process identification and the sewing effect picture to corresponding positions of a preset production process file template to obtain the production process file.
An apparatus for adding a stitching effect picture, the apparatus comprising:
the sewing process parameter reading module is used for reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
the sewing effect information acquisition module is used for acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
the sewing effect picture extraction module is used for extracting a corresponding sewing effect picture from the sewing effect information;
and the sewing effect picture adding module is used for adding the sewing effect picture to a corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
extracting a corresponding stitching effect picture from the stitching effect information;
and adding the sewing effect picture to a corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
extracting a corresponding stitching effect picture from the stitching effect information;
and adding the sewing effect picture to a corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
The method, the device, the computer equipment and the storage medium for adding the sewing effect picture read the sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification; acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database; extracting a corresponding stitching effect picture from the stitching effect information; and adding the sewing effect picture to the corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification. According to the method, corresponding sewing effect pictures are extracted from a preset database according to order information, added to the virtual ready-made clothes and used for generating production process order information; the production personnel can obtain the sewing effect picture according to the order making information and directly produce the sewing effect picture; production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided.
Drawings
FIG. 1 is a diagram of an application scenario of a method for adding a stitching effect picture in one embodiment;
FIG. 2 is a flowchart illustrating a method for adding a stitching effect picture according to an embodiment;
FIG. 3 is a diagram of a stitching effect picture in accordance with one embodiment;
FIG. 4 is a flowchart illustrating steps of building a provisioning database in one embodiment;
FIG. 5 is a schematic diagram illustrating a process for adding a stitching effect picture to a corresponding location in a virtual garment according to an embodiment;
FIG. 6 is a schematic flow chart illustrating the steps of generating a process file in another embodiment;
FIG. 7 is a schematic flow chart showing steps of generating a production process file according to the ready-made clothes part identifier, the sewing process identifier and the sewing effect picture in another embodiment;
FIG. 8 is a diagram illustrating the identification of clothing items in the sewing effect information according to another embodiment;
FIG. 9 is a schematic diagram of another embodiment of adding a stitching effect picture to a corresponding location in a virtual garment;
FIG. 10 is a block diagram showing an example of a device for adding a stitching effect picture;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for adding the stitching effect picture can be applied to the application environment shown in fig. 1. Wherein the terminal 12 communicates with the server 11 through a network. The terminal 12 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers. The production personnel can input the information of the finished garment order through the terminal 12 and know the production process through the virtual finished garment added with the sewing effect picture displayed by the terminal 12.
In one embodiment, as shown in fig. 2, a method for adding a stitching effect picture is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
The garment order information refers to file information referred to during garment production, and key information is extracted from order requirements of customers to generate garment orders applied to different production lines or production departments; the sewing process parameters refer to information parameters related to a specific production process in the information of the ready-made clothes list, such as the position of the sewing effect displayed on the ready-made clothes (i.e. clothes part marks, such as arm extension, foot support and the like) and the specific process of the sewing effect (i.e. sewing process marks, such as the methods of riding bones, three lines, picking teeth and the like), and it needs to be explained that each ready-made clothes part mark corresponds to the sewing process mark; for example, the method for treating foot shirt needs three lines and does not pick teeth, and the method for setting up the arm corresponds to the bone riding.
Specifically, a garment order file is obtained, and sewing process parameters in garment order information are read. Further, the ready-made clothes part identification and the sewing process identification are obtained from the sewing process parameters. The obtained ready-made clothes part identification and the obtained sewing process identification can be used for generating a list according to the corresponding relation, the list is displayed on terminal equipment for production personnel to determine, and the subsequent steps are executed after the determination is correct. It should be noted that, the order information of the customer can also be directly converted into the ready-made clothes order information through a perfect condition conversion format, or directly converted into a list file of ready-made clothes part identification and sewing process identification.
According to the method, the sewing process parameters are obtained from the form making information, the data necessary for extracting the sewing effect are processed in a pre-corresponding mode, the accuracy of adding the sewing effect is guaranteed, production personnel do not need to search for corresponding sewing effect pictures one by one, and the production efficiency is improved while the sewing effect pictures are prevented from being placed mistakenly.
And step 22, obtaining the sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database.
The preset database stores various data related to the invention, and can be constructed in a mode of inputting a sewing effect picture in advance and identifying and analyzing the input picture to acquire data. The sewing effect information is information containing ready-made clothes part identification and sewing process identification, and the ready-made clothes part identification and the sewing process identification can be further obtained according to the sewing effect information.
In the concrete implementation, according to the ready-made clothes part identifier and the sewing process identifier in the sewing process parameters, the sewing effect information which both comprises the ready-made clothes part identifier and the sewing process identifier is positioned and used as the sewing effect information selected from the preset database.
Through presetting the database, save ready-made clothe position sign and sewing technology sign in sewing effect information to save in advance in presetting the database, producers need not to look for the sewing effect picture that corresponds one by one again, have improved production efficiency when avoiding the wrong sewing effect picture of placing.
And step 23, extracting a corresponding stitching effect picture from the stitching effect information.
The stitching effect picture is shown in fig. 3, and shows corresponding shape, size, shape, color and the like according to the specific stitching process and the difference of the ready-made clothes. And the stitching effect picture is extracted from a preset stitching effect picture which is input into a database in advance for analysis and recognition.
In the specific implementation, when one piece of sewing effect information simultaneously contains the required part identifier and the sewing process identifier, the sewing effect information is the target sewing effect information; and the sewing effect picture contained in the sewing effect information is the selected target sewing effect picture.
In the step, the stitching effect information comprises corresponding stitching effect pictures, and the corresponding stitching effect pictures can be directly extracted through the stitching effect information without obtaining the pictures through other ways; the stitching effect picture is extracted from the preset stitching effect picture which is input in advance, so that the accuracy of the stitching effect picture is ensured, and the effect deviation of the effect picture is avoided; production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided.
And 24, adding the sewing effect picture to the corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
The ready-made clothes part identification comprises position information, size information, direction information and the like of the sewing effect picture addition, and various parameters of the sewing effect picture addition can be determined according to the ready-made clothes part identification. The virtual garment is a preset model in a computer and other equipment, is usually presented in a three-dimensional effect, can be locally adjusted to display different effects, can be split or combined for display according to actual needs, and can be changed in a split file.
Parameter information such as the position, form, shape and size of the sewing effect picture is provided through the ready-made clothes part identification, and the accuracy of the sewing effect picture is guaranteed; the sewing effect picture can be adjusted according to actual conditions, and the production personnel need not to look for the corresponding sewing effect picture one by one again, has improved production efficiency when avoiding the wrong sewing effect picture of placing.
In the method for adding the sewing effect picture, sewing process parameters in the ready-made clothes list information are read; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification; acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database; extracting a corresponding stitching effect picture from the stitching effect information; and adding the sewing effect picture to the corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification. According to the method, corresponding sewing effect pictures are extracted from a preset database according to order information, added to the virtual ready-made clothes and used for generating production process order information; the production personnel can obtain the sewing effect picture according to the order making information and directly produce the sewing effect picture; production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided.
In one embodiment, as shown in fig. 4, before obtaining the sewing effect information corresponding to both the ready-made clothes part identifier and the sewing process identifier from the preset database, step 22 further includes:
and 43, constructing a preset database according to the sewing effect information.
The preset stitching effect picture refers to a picture which is recorded for constructing a preset database and carries a stitching effect; the preset sewing effect picture can be obtained by shooting the corresponding part of the produced ready-made clothes, or can be input after being generated in batch by computer equipment; the server can generate the sewing effect information according to the preset sewing effect picture, the parameter information carried by the preset sewing effect picture and the like.
In the concrete implementation, a large number of preset stitching effect pictures are led into the server, the server carries out data processing and analysis on the preset stitching effect pictures to obtain stitching effect information, and the stitching effect information is stored in the database, namely the preset database is built.
The embodiment extracts information from the actual preset stitching effect picture to generate the stitching effect information, so that the presentation effect of the stitching effect picture on the virtual ready-made garment is ensured; the preset database is constructed to enable the searching and extracting of the stitching effect pictures to be more effective, and production personnel do not need to search the corresponding stitching effect pictures one by one, so that the stitching effect pictures are prevented from being placed by mistake, and meanwhile, the production efficiency is improved.
In one embodiment, generating the stitching effect information according to the preset stitching effect picture includes: identifying ready-made clothes parts and sewing processes in the preset sewing effect picture, and generating corresponding ready-made clothes part identification and sewing process identification; and generating sewing effect information according to the preset sewing effect picture, the ready-made clothes part identification and the sewing process identification.
In the concrete implementation, the server can identify the ready-made clothes part where the sewing effect is located in the preset sewing effect picture, the production process adopted by the sewing effect and the sewing effect picture through the preset sewing effect picture. And generating a clothes part identifier and a sewing process identifier according to the acquired information, and packaging the information into sewing effect information, so that the subsequent searching and utilization are facilitated.
In the embodiment, the sewing effect information is generated by presetting the sewing effect picture, so that the presentation effect of the sewing effect picture on the virtual ready-made clothes is ensured; production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided.
In one embodiment, the obtaining of the sewing effect information corresponding to both the ready-made clothes part identifier and the sewing process identifier from the preset database includes: generating a sewing effect information identifier according to the ready-made clothes part identifier and the sewing process identifier; and inquiring a preset database, and acquiring the sewing effect information corresponding to the sewing effect information identifier as the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier.
In the specific implementation, the sewing effect information identifier uniquely corresponds to one piece of sewing effect information in the preset database, and the selected sewing effect information can be ensured to be the target sewing effect information through the sewing effect information identifier generated by the ready-made clothes part identifier and the sewing process identifier.
In one embodiment, as shown in fig. 5, step 24, adding the stitching effect picture to the corresponding position in the virtual ready-made garment according to the ready-made garment part identifier includes:
and step 53, adding the adjusted sewing effect picture to an adding position.
It should be noted that the specific effect presentation of the stitching effect picture may not be limited to the size and the direction, and the information such as the color, the shape, the stripe, etc. may be adjusted according to the actual situation.
In the embodiment, the size and the direction of the sewing effect picture are specified through the ready-made clothes part identification, the sewing effect picture is adjusted, and the adjusted sewing effect picture is added to a corresponding position; production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided.
In one embodiment, as shown in fig. 6, step 24, after adding the stitching effect picture to the corresponding position in the virtual ready-made garment according to the ready-made garment part identifier, further includes:
In one embodiment, as shown in fig. 7, step 61, generating a production process file according to the ready-made clothes part identifier, the sewing process identifier and the sewing effect picture, includes:
and 72, adding the converted ready-made clothes part identification, the converted sewing process identification and the converted sewing effect picture to corresponding positions of a preset production process file template to obtain a production process file.
The production process file is a set of requirements of a customer on a production process. Generally, a clothing factory needs to make a system order according to the order of a customer or other requirements, but because the content of the system order is more, the production personnel are more troublesome when needing to carry out mass production; second, since some customers' requirements are in other languages, or contain specific phrases for fixed customers. In this case, the identification of the order by the production personnel is difficult. Therefore, the production process file is automatically output, so that the production personnel can conveniently operate according to the content requirement of the file. The preset condition format refers to a module capable of converting specific expressions of a client; for example, the customer's requirement is "onetwotree", which is displayed as 123 after being converted into a preset condition format, so as to ensure that the manufacturer can understand the specific process practice.
In the concrete implementation, the production process file can be a word or excel file, ready-made clothes part identification, sewing process identification and sewing effect pictures are respectively and correspondingly added into the file, and each ready-made clothes part identification corresponds to the sewing process identification and the sewing effect pictures; according to the file, a manufacturer can determine the specific process method of the part according to the ready-made clothes part identification, and uses the corresponding sewing effect picture as reference or confirms.
In the display process file, the virtual ready-made clothes with the added sewing effect can be divided according to actual requirements, and stored in the display process file together with ready-made clothes part identification and sewing process identification; because the virtual ready-made clothes have certain expansibility, the effects of local amplification, reduction, translation and the like can be carried out on the virtual ready-made clothes in the display process file, and different display patterns can be obtained.
In the embodiment, the ready-made clothes part identification, the sewing process identification and the sewing effect picture are respectively generated into different process files according to different purposes, so that the ready-made clothes part identification, the sewing process identification and the sewing effect picture are convenient for production personnel to understand and show to customers. Production personnel do not need to look for corresponding sewing effect pictures one by one, and production efficiency is improved while wrong placement of sewing effect pictures is avoided. The client can also evaluate and modify the pre-estimated production effect of the ready-made clothes according to the more specific display process file so as to make timely adjustment.
In one embodiment, as shown in fig. 8, a display effect of the clothing part identifier in the sewing effect information is shown. The gray frame in the picture is a ready-made clothes part mark, the position distribution of the whole sewing effect is seen to be bilaterally symmetrical, the left upper corner and the right upper corner are respectively provided with a triangle, and meanwhile, the two sides of the lower end are of arc structures. As shown in fig. 9, an effect diagram is shown after adding a sewing effect to the virtual ready-made garment according to the ready-made garment part identifier shown in fig. 8. It is apparent that the sewing effect corresponding to the ready-made garment part identification as in fig. 8 appears in fig. 9.
It should be understood that although the various steps in the flowcharts of fig. 2, 4-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 4-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 10, there is provided a sewing effect picture adding apparatus including: a sewing process parameter reading module 101, a sewing effect information obtaining module 102, a sewing effect picture extracting module 103 and a sewing effect picture adding module 104, wherein:
a sewing process parameter reading module 101, configured to read a sewing process parameter in the ready-made clothing form information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
a sewing effect information obtaining module 102, configured to obtain, from a preset database, sewing effect information corresponding to both the ready-made garment portion identifier and the sewing process identifier;
the stitching effect picture extracting module 103 is configured to extract a corresponding stitching effect picture from the stitching effect information;
and the sewing effect picture adding module 104 is used for adding the sewing effect picture to the corresponding position in the virtual ready-made garment according to the ready-made garment part identifier.
In one embodiment, the device for adding a stitching effect picture further comprises a preset database construction module, which is used for acquiring a preset stitching effect picture; generating sewing effect information according to a preset sewing effect picture; and constructing a preset database according to the sewing effect information.
In one embodiment, the preset database construction module is further configured to identify a ready-made clothes part and a sewing process in the preset sewing effect picture, and generate a corresponding ready-made clothes part identifier and a corresponding sewing process identifier; and generating sewing effect information according to the preset sewing effect picture, the ready-made clothes part identification and the sewing process identification.
In one embodiment, the sewing effect information obtaining module is further configured to generate a sewing effect information identifier according to the ready-made clothes part identifier and the sewing process identifier; and inquiring a preset database, and acquiring the sewing effect information corresponding to the sewing effect information identifier as the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier.
In one embodiment, the sewing effect picture adding module is further configured to adjust the size and the direction of the sewing effect picture according to the ready-made clothes part identifier to obtain an adjusted sewing effect picture; determining the corresponding adding position of the adjusted sewing effect picture in the virtual ready-made clothes according to the ready-made clothes part identification; and adding the adjusted sewing effect picture to an adding position.
In one embodiment, the device for adding the sewing effect picture further comprises a process file generation module, which is used for generating a production process file according to the ready-made clothes part identifier, the sewing process identifier and the sewing effect picture; the production process file is used for guiding workers to produce; generating a display process file according to the ready-made clothes part identification, the sewing process identification and the virtual ready-made clothes; the display process file is used for displaying the sewing effect of the ready-made clothes part corresponding to the ready-made clothes part identification on the virtual ready-made clothes.
In one embodiment, the process file generating module is further configured to convert the ready-made clothes part identifier and the sewing process identifier according to a preset conversion format to obtain a converted ready-made clothes part identifier and a converted sewing process identifier; and respectively adding the converted ready-made clothes part identification, the converted sewing process identification and the sewing effect picture to corresponding positions of a preset production process file template to obtain a production process file.
For specific limitation of the adding device of the stitching effect picture, reference may be made to the above limitation on the adding method of the stitching effect picture, and details are not described here. All modules in the adding device of the sewing effect picture can be completely or partially realized through software, hardware and a combination of the software and the hardware. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of adding a stitching effect picture. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
extracting a corresponding stitching effect picture from the stitching effect information;
and adding the sewing effect picture to the corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a preset stitching effect picture; generating sewing effect information according to a preset sewing effect picture; and constructing a preset database according to the sewing effect information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: identifying ready-made clothes parts and sewing processes in the preset sewing effect picture, and generating corresponding ready-made clothes part identification and sewing process identification; and generating sewing effect information according to the preset sewing effect picture, the ready-made clothes part identification and the sewing process identification.
In one embodiment, the processor, when executing the computer program, further performs the steps of: generating a sewing effect information identifier according to the ready-made clothes part identifier and the sewing process identifier; and inquiring a preset database, and acquiring the sewing effect information corresponding to the sewing effect information identifier as the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier.
In one embodiment, the processor, when executing the computer program, further performs the steps of: adjusting the size and the direction of the sewing effect picture according to the ready-made clothes part identification to obtain an adjusted sewing effect picture; determining the corresponding adding position of the adjusted sewing effect picture in the virtual ready-made clothes according to the ready-made clothes part identification; and adding the adjusted sewing effect picture to an adding position.
In one embodiment, the processor, when executing the computer program, further performs the steps of: generating a production process file according to the ready-made clothes part identification, the sewing process identification and the sewing effect picture; the production process file is used for guiding workers to produce; generating a display process file according to the ready-made clothes part identification, the sewing process identification and the virtual ready-made clothes; the display process file is used for displaying the sewing effect of the ready-made clothes part corresponding to the ready-made clothes part identification on the virtual ready-made clothes.
In one embodiment, the processor, when executing the computer program, further performs the steps of: converting the ready-made clothes part identification and the sewing process identification according to a preset conversion format to obtain a converted ready-made clothes part identification and a converted sewing process identification; and respectively adding the converted ready-made clothes part identification, the converted sewing process identification and the sewing effect picture to corresponding positions of a preset production process file template to obtain a production process file.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
extracting a corresponding stitching effect picture from the stitching effect information;
and adding the sewing effect picture to the corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a preset stitching effect picture; generating sewing effect information according to a preset sewing effect picture; and constructing a preset database according to the sewing effect information.
In one embodiment, the computer program when executed by the processor further performs the steps of: identifying ready-made clothes parts and sewing processes in the preset sewing effect picture, and generating corresponding ready-made clothes part identification and sewing process identification; and generating sewing effect information according to the preset sewing effect picture, the ready-made clothes part identification and the sewing process identification.
In one embodiment, the computer program when executed by the processor further performs the steps of: generating a sewing effect information identifier according to the ready-made clothes part identifier and the sewing process identifier; and inquiring a preset database, and acquiring the sewing effect information corresponding to the sewing effect information identifier as the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier.
In one embodiment, the computer program when executed by the processor further performs the steps of: adjusting the size and the direction of the sewing effect picture according to the ready-made clothes part identification to obtain an adjusted sewing effect picture; determining the corresponding adding position of the adjusted sewing effect picture in the virtual ready-made clothes according to the ready-made clothes part identification; and adding the adjusted sewing effect picture to an adding position.
In one embodiment, the computer program when executed by the processor further performs the steps of: generating a production process file according to the ready-made clothes part identification, the sewing process identification and the sewing effect picture; the production process file is used for guiding workers to produce; generating a display process file according to the ready-made clothes part identification, the sewing process identification and the virtual ready-made clothes; the display process file is used for displaying the sewing effect of the ready-made clothes part corresponding to the ready-made clothes part identification on the virtual ready-made clothes.
In one embodiment, the computer program when executed by the processor further performs the steps of: converting the ready-made clothes part identification and the sewing process identification according to a preset conversion format to obtain a converted ready-made clothes part identification and a converted sewing process identification; and respectively adding the converted ready-made clothes part identification, the converted sewing process identification and the sewing effect picture to corresponding positions of a preset production process file template to obtain a production process file.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), and Rambus Dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for adding a stitching effect picture is characterized by comprising the following steps:
reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
extracting a corresponding stitching effect picture from the stitching effect information;
and adding the sewing effect picture to a corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
2. The method according to claim 1, further comprising, before obtaining the sewing effect information corresponding to both the ready-made garment part identifier and the sewing process identifier from a preset database:
acquiring a preset stitching effect picture;
generating the stitching effect information according to the preset stitching effect picture;
and constructing the preset database according to the sewing effect information.
3. The method according to claim 2, wherein the generating the stitching effect information according to the preset stitching effect picture comprises:
recognizing ready-made clothes parts and sewing processes in the preset sewing effect picture, and generating corresponding ready-made clothes part marks and corresponding sewing process marks;
and generating the sewing effect information according to the preset sewing effect picture, the ready-made clothes part identification and the sewing process identification.
4. The method according to claim 1, wherein the obtaining of the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier from a preset database comprises:
generating a sewing effect information identifier according to the ready-made clothes part identifier and the sewing process identifier;
and inquiring the preset database, and acquiring the sewing effect information corresponding to the sewing effect information identifier as the sewing effect information corresponding to the ready-made clothes part identifier and the sewing process identifier.
5. The method of claim 1, wherein adding the stitching effect picture to the corresponding position in the virtual ready-made garment according to the ready-made garment part identifier comprises:
adjusting the size and the direction of the sewing effect picture according to the ready-made clothes part identification to obtain an adjusted sewing effect picture; determining the corresponding adding position of the adjusted sewing effect picture in the virtual ready-made clothes according to the ready-made clothes part identification;
and adding the adjusted sewing effect picture to the adding position.
6. The method of claim 1, further comprising, after adding the stitch effect picture to a corresponding location in the virtual garment according to the garment part identification:
generating a production process file according to the ready-made clothes part identification, the sewing process identification and the sewing effect picture; the production process file is used for guiding workers to produce;
generating a display process file according to the ready-made clothes part identification, the sewing process identification and the virtual ready-made clothes; the display process file is used for displaying the sewing effect of the ready-made clothes part corresponding to the ready-made clothes part identification on the virtual ready-made clothes.
7. The method according to claim 6, wherein the generating a production process file according to the ready-made clothes part identifier, the sewing process identifier and the sewing effect picture comprises:
converting the ready-made clothes part identification and the sewing process identification according to a preset conversion format to obtain a converted ready-made clothes part identification and a converted sewing process identification;
and respectively adding the converted ready-made clothes part identification, the converted sewing process identification and the sewing effect picture to corresponding positions of a preset production process file template to obtain the production process file.
8. An adding device of sewing effect pictures, which is characterized in that the device comprises:
the sewing process parameter reading module is used for reading sewing process parameters in the ready-made clothes list information; the sewing process parameters comprise ready-made clothes part identification of the virtual ready-made clothes and sewing process identification corresponding to the ready-made clothes part identification;
the sewing effect information acquisition module is used for acquiring sewing effect information corresponding to the ready-made clothes part identification and the sewing process identification from a preset database;
the sewing effect picture extraction module is used for extracting a corresponding sewing effect picture from the sewing effect information;
and the sewing effect picture adding module is used for adding the sewing effect picture to a corresponding position in the virtual ready-made clothes according to the ready-made clothes part identification.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented by the processor when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911315528.7A CN111127577B (en) | 2019-12-19 | 2019-12-19 | Method and device for adding sewing effect picture, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911315528.7A CN111127577B (en) | 2019-12-19 | 2019-12-19 | Method and device for adding sewing effect picture, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111127577A true CN111127577A (en) | 2020-05-08 |
CN111127577B CN111127577B (en) | 2023-03-14 |
Family
ID=70500166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911315528.7A Active CN111127577B (en) | 2019-12-19 | 2019-12-19 | Method and device for adding sewing effect picture, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111127577B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104562473A (en) * | 2015-01-23 | 2015-04-29 | 上海鲍麦克斯电子科技有限公司 | Industrial sewing machine matching parameter self-setting driving control system |
US20160155186A1 (en) * | 2014-12-01 | 2016-06-02 | Ebay Inc. | Digital wardrobe |
CN107977882A (en) * | 2017-11-23 | 2018-05-01 | 王春林 | The online clothes zoarium degree reference method for trying picture library on is formed based on scapegoat's generation examination |
CN109461055A (en) * | 2018-10-31 | 2019-03-12 | 上海与德通讯技术有限公司 | Garment dimension determines method, apparatus, equipment and storage medium |
-
2019
- 2019-12-19 CN CN201911315528.7A patent/CN111127577B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160155186A1 (en) * | 2014-12-01 | 2016-06-02 | Ebay Inc. | Digital wardrobe |
CN104562473A (en) * | 2015-01-23 | 2015-04-29 | 上海鲍麦克斯电子科技有限公司 | Industrial sewing machine matching parameter self-setting driving control system |
CN107977882A (en) * | 2017-11-23 | 2018-05-01 | 王春林 | The online clothes zoarium degree reference method for trying picture library on is formed based on scapegoat's generation examination |
CN109461055A (en) * | 2018-10-31 | 2019-03-12 | 上海与德通讯技术有限公司 | Garment dimension determines method, apparatus, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111127577B (en) | 2023-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108509400B (en) | Document template generation method and device, computer equipment and storage medium | |
CN111490990A (en) | Network security analysis method based on big data platform and big data platform server | |
US20140118396A1 (en) | Image processing device, image processing method, and computer program product | |
CN110955418A (en) | Code generation method and device, computer equipment and storage medium | |
CN108304243B (en) | Interface generation method and device, computer equipment and storage medium | |
US20150269759A1 (en) | Image processing apparatus, image processing system, and image processing method | |
CN109542962B (en) | Data processing method, data processing device, computer equipment and storage medium | |
CN111611416B (en) | Picture retrieval method and device, electronic equipment and storage medium | |
CN109597979A (en) | Inventory table generation method, device, computer equipment and storage medium | |
CN111708971A (en) | Page configuration method and device, computer equipment and storage medium | |
US20240022685A1 (en) | Method for generating on-the-beat video and electronic device | |
CN113204808A (en) | Insole design method and device, computer equipment and storage medium | |
CN104318002A (en) | Method for converting three-dimensional clothing effect to two-dimensional clothing effect | |
CN111127577B (en) | Method and device for adding sewing effect picture, computer equipment and storage medium | |
CN110807761A (en) | Method and device for generating label panel, storage medium and computer equipment | |
CN108897772B (en) | Data source supplementing method and device, computer equipment and storage medium | |
CN111159598A (en) | Image browsing method and device, computer equipment and storage medium | |
CN111709069B (en) | Decoration scheme generation method and device, computer equipment and storage medium | |
CN110555123B (en) | Method and device for processing curvilinear motion of interface elements and computer equipment | |
CN110648339B (en) | Trademark cutting method and device, computer equipment and storage medium | |
CN113297639A (en) | Data processing method and system and electronic equipment | |
CN110727481A (en) | Picture editing method and device, computer equipment and storage medium | |
CN106983204B (en) | Pattern tissue seam allowance handles system and method | |
CN111524179B (en) | Ironing effect determination method and device of virtual ready-made clothes and computer equipment | |
CN111598655A (en) | Virtual garment size updating method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |