CN110652060A - Automatic code-placing method, system and terminal equipment - Google Patents

Automatic code-placing method, system and terminal equipment Download PDF

Info

Publication number
CN110652060A
CN110652060A CN201810694794.4A CN201810694794A CN110652060A CN 110652060 A CN110652060 A CN 110652060A CN 201810694794 A CN201810694794 A CN 201810694794A CN 110652060 A CN110652060 A CN 110652060A
Authority
CN
China
Prior art keywords
initial
drawing line
target
file
size data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810694794.4A
Other languages
Chinese (zh)
Inventor
莫碧贤
王一松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Research Institute HKUST
Shenzhen Research Institute HKPU
Original Assignee
Shenzhen Research Institute HKUST
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Research Institute HKUST filed Critical Shenzhen Research Institute HKUST
Priority to CN201810694794.4A priority Critical patent/CN110652060A/en
Publication of CN110652060A publication Critical patent/CN110652060A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A41WEARING APPAREL
    • A41HAPPLIANCES OR METHODS FOR MAKING CLOTHES, e.g. FOR DRESS-MAKING OR FOR TAILORING, NOT OTHERWISE PROVIDED FOR
    • A41H43/00Other methods, machines or appliances

Abstract

The invention is suitable for the technical field of combination of clothing and information technology, and provides an automatic code-placing method, a system and terminal equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining initial size data corresponding to an initial garment model selected by a user, obtaining target size data uploaded by the user, calculating a difference value between the target size data and the initial size data, and adjusting a drawing line in the initial garment model according to the difference value to obtain the target garment model. According to the method, the target edition is obtained by calculating the difference value between the target size data and the initial size data and automatically adjusting the drawing line according to the difference value, the automatic code release according to the target size data is realized, the manual operation with clothing manufacturing knowledge is not needed, the code release efficiency is improved, and the labor cost is reduced.

Description

Automatic code-placing method, system and terminal equipment
Technical Field
The invention belongs to the technical field of combination of clothing and information technology, and particularly relates to an automatic code-placing method, system and terminal equipment.
Background
With the improvement of living standard of people, people pay more and more attention to their own clothes, when enterprises produce clothes, because the clothes are numbered (for example, 27 yards), and when putting, need to change many parameters, need to possess the platemaker of clothing knowledge and put in good order with basic clothing model.
The mode of putting things in good order by manual work among the prior art has the problem that inefficiency and cost of labor are high.
Disclosure of Invention
In view of this, embodiments of the present invention provide an automatic grading method, system and terminal device, so as to solve the problems of low efficiency and high labor cost in the manner of manually grading clothes in the prior art.
A first aspect of an embodiment of the present invention provides an automatic code-playing method, including:
and acquiring initial size data corresponding to the initial garment type selected by the user.
And acquiring target size data uploaded by a user.
Calculating a difference between the target size data and the initial size data.
And adjusting the drawing line in the initial garment model according to the difference value to obtain the target garment model.
A second aspect of an embodiment of the present invention provides an automatic code-placing system, including:
and the initial data acquisition module is used for acquiring initial size data corresponding to the initial garment type selected by the user.
And the target data acquisition module is used for acquiring target size data uploaded by a user.
And the difference value calculating module is used for calculating the difference value between the target size data and the initial size data.
And the model adjusting module is used for adjusting the drawing line in the initial garment model according to the difference value to obtain a target garment model.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the method, the initial size data corresponding to the initial garment type selected by the user are obtained, the target size data uploaded by the user are obtained, the difference value between the target size data and the initial size data is calculated, the drawing line in the initial garment type is adjusted according to the difference value, and the target garment type is obtained. According to the method, the target edition is obtained by calculating the difference value between the target size data and the initial size data and automatically adjusting the drawing line according to the difference value, the automatic code release according to the target size data is realized, the manual operation with clothing manufacturing knowledge is not needed, the code release efficiency is improved, and the labor cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a method for automatically putting codes according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an implementation of a method for automatic code-dropping according to an embodiment of the present invention;
FIG. 3 is a block diagram of an automatic grading system according to an embodiment of the present invention;
FIG. 4 is a block diagram of an automatic grading system according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example 1:
fig. 1 shows a flow of implementing the method for automatically putting codes according to an embodiment of the present invention, and the process thereof is detailed as follows:
in step S101, initial size data corresponding to the initial garment model selected by the user is acquired.
In this embodiment, the initial garment fit comprises a western style garment fit.
In the present embodiment, the size data includes the waist circumference, hip circumference, thigh circumference, and pant length.
In one embodiment, step S101 is preceded by:
1) and receiving login account information input by a user.
2) And verifying whether the login account information is correct.
3) And if the login account information is incorrect, the output verification fails.
4) And if the login account information is correct, displaying a preset function page.
In this embodiment, before a user performs an operation, whether login account information is correct needs to be verified, so as to determine whether the user is a valid user and has an operation right.
In step S102, target size data uploaded by the user is acquired.
In the present embodiment, step S102 is preceded by:
1) and acquiring a size template downloading request input by a user, wherein the size template downloading request comprises a size template name and a template storage address.
2) And searching a template file corresponding to the size template name, and storing the template file to a template storage address.
In this embodiment, when a user needs to upload target size data, the size template file corresponding to the layout can be downloaded and filled in first, and then the filled size template file is uploaded to the terminal device.
In this embodiment, the template storage address may be a local address of the terminal device or may be an address of another device (e.g., a mobile phone communicating with the terminal device),
in this embodiment, the target size data may be size data corresponding to the number of clothing codes, for example, size data corresponding to 32 codes.
In step S103, a difference between the target size data and the initial size data is calculated.
In this embodiment, the initial size data is subtracted from the target size data to obtain a difference, which may be a negative number, a positive number, and 0.
Taking a specific application scenario as an example, the initial size data includes an initial trouser length, the target size data includes a target trouser length, and a difference between the target trouser length and the initial trouser length is calculated.
In step S104, the drawing line in the initial garment model is adjusted according to the difference value, so as to obtain the target garment model.
In one embodiment of the present invention, step S104 includes:
1) if the difference is not zero, the associated drawn line associated with the difference that is not zero is found.
2) And determining an adjusting value corresponding to each associated drawing line according to the difference value.
4) And adjusting the corresponding associated drawing line according to the adjustment value of each associated drawing line in turn.
In an embodiment of the present invention, the adjustment value of each associated drawing line corresponding to the difference is searched from the first preset comparison table.
In this embodiment, the garment layout is composed of a plurality of drawing lines, each of which is assigned with a different number in advance, for example, the numbers of the two drawing lines composing the left leg are respectively No. 1 and No. 2.
In this embodiment, the first predetermined look-up table is data obtained by a researcher performing experiments in advance, including situations that may be encountered in printing.
In this embodiment, if the target coordinate of the initial control point of the target curve corresponding to the difference is not found in the first preset comparison table, sending information to the pre-stored contact person, and after the pre-stored contact person receives the information, manually calculating the adjustment value of each drawing line corresponding to the difference and storing the adjustment value to the terminal device.
In this embodiment, it is determined whether the difference between the size data of each item and the initial size data is zero, if not, the associated drawing lines associated with the difference not zero are obtained from the third preset comparison table, for example, the difference between the target trouser length and the initial trouser length is-1 cm, and the associated drawing lines associated with the difference between the trouser lengths are obtained from the third preset comparison table, which are drawing lines No. 1, No. 2, No. 3 and No. 4 respectively.
In this embodiment, the adjustment value of each associated drawing line corresponding to the difference is obtained from the first preset comparison table, for example, if the difference of the trouser length is 1 cm, the adjustment values of the drawing lines No. 1, No. 2, No. 3, and No. 4 are all-1 cm.
In this embodiment, the adjustment value of the curved associated drawing line may be an adjustment value of a preset point on the associated drawing line, for example, the hip circumference difference value is 3 cm, the associated drawing line associated with the hip circumference difference value includes a curve No. 5, 1 preset point is on the curve No. 5, which is a first preset point, and the adjustment value of the first preset point on the curve No. 5 corresponding to the hip circumference difference value of 3 cm is obtained from the first preset comparison table as the abscissa plus 1 and the ordinate plus 1.
In this embodiment, when the difference between one target size data and the initial size data is not 0, the associated drawing line associated with the difference not being 0 is searched, and there may be more than one associated drawing line, and therefore, each associated drawing line needs to be adjusted, so as to achieve fine adjustment of the garment type, and make the finally obtained target garment type meet the requirements.
In an embodiment of the present invention, the sequentially adjusting the corresponding associated drawing line according to the adjustment value of each associated drawing line specifically includes:
1) and if the associated drawing line is a straight line, executing corresponding operation on the corresponding associated drawing line according to the adjustment value of the associated drawing line, wherein the operation comprises lengthening, shortening, leftward translation, rightward translation, upward translation and/or downward translation.
2) If the associated drawing line is a curve, redrawing the corresponding associated drawing line according to the adjustment value of the associated drawing line.
In this embodiment, the direction is specified in advance, for example, what direction indicates up and what direction indicates down, and the operation corresponding to the positive or negative of the adjustment value is specified, for example, the adjustment value of the associated plot line corresponding to the difference in the trouser length is positive, indicating an extension operation, and the adjustment value of the associated plot line corresponding to the difference in the thigh circumference is negative, indicating a leftward shift.
In this embodiment, when adjusting the associated drawing lines, it is necessary to first determine whether each associated drawing line is a straight line or a curved line, and if it is determined that the associated drawing line is a straight line, corresponding operations are directly performed on the associated drawing line according to the adjustment value of the associated drawing line, for example, if the difference between the lengths of the pants is-1 cm, and the adjustment value of the drawing line No. 1 is-1 cm, the drawing line No. 1 needs to be shortened by 1 cm.
In an embodiment of the present invention, if the associated drawing line is a curve, redrawing the corresponding associated drawing line according to the adjustment value of the associated drawing line includes:
1) and if the associated drawing line is a curve, acquiring the target coordinates of the initial control point corresponding to the adjustment value of the associated drawing line from the second preset comparison table.
2) According to
Figure BDA0001713353930000061
And redrawing the associated drawing line.
Wherein C (u) represents in the interval (u)i,ui+p+1) Curve of upper, uiDenotes the ith initial node, PiTarget coordinate, N, representing the ith initial control pointi,p(u) represents a B-spline basis function of degree p, and p represents a preset power value.
In this embodiment, if the associated drawing line is determined to be a curve, the associated drawing line is redrawn by using a B-spline algorithm based on the adjustment value of the associated drawing line.
In this embodiment, the target coordinates of the initial control point corresponding to the adjustment value of the current associated drawing line are searched from the second preset comparison table, and then the curve is redrawn according to the target coordinates of the initial control point.
In this embodiment, the curved drawing line is a spline curve, the unadjusted associated drawing line is a curve obtained according to the initial control point, the initial control point can control the shape of the drawing line, the control points at different coordinate positions can obtain curves of different shapes, after the coordinates of the initial control point are determined, a new curve is drawn by using the B-spline curve algorithm again, the initial nodes represent nodes on the unadjusted associated drawing line, and the P-th order B-spline curve (i.e., the unadjusted curved associated drawing line) is composed of n +1 initial control points P0,P1,...,PnAnd a node vector U ═ U0,u1,...,umDefinition u0、u1These represent the initial nodes.
In an embodiment of the invention, a preview request input by a user is obtained, the preview request includes an initial garment model name to be previewed and a preview mode, an initial garment model corresponding to the initial garment model name to be previewed is searched, and the initial garment model is displayed according to the preview mode.
In this embodiment, the user may also preview the initial garment type, and after detecting that the user inputs a preview request, find the initial garment type that the user wants to preview, and display the initial garment type according to a preview mode, where the preview mode includes a read-only mode and a read-write mode.
The read-only mode indicates that the user can only check the initial garment type but cannot modify the initial garment type, so that the condition that the user mistakenly modifies the initial garment type is avoided.
The reading and writing mode indicates that the user can check the initial garment type and modify the garment type.
In the embodiment, the target edition is obtained by calculating the difference value between the target size data and the initial size data and automatically adjusting the drawing line according to the difference value, so that automatic code release according to the target size data is realized, manual operation with clothing knowledge is not needed, code release efficiency is improved, and labor cost is reduced.
Fig. 2 shows a flow of implementing the method for automatically putting codes according to another embodiment of the present invention, and the process thereof is detailed as follows:
in step S201, a format conversion command input by a user is received, where the format conversion command includes a target file format, a name of a garment format to be converted, and a target address.
In the present embodiment, the target file formats include DXF format, PLT format, PNG (Portable Network Graphics) format, JPG format, PDF format, and DWG format.
In step S202, a file corresponding to the name of the clothing model to be converted is searched for as a file to be converted.
In this embodiment, in order to save the search time, it is preferred to search locally whether a file with a name of the clothing model to be converted exists, and if not, the file with the name of the clothing model to be converted is searched from a server associated with the terminal device and is used as the file to be converted.
In this embodiment, files with the same name but different formats may be stored locally or in a server, and all the found files with names of the garment types to be converted are used as the files to be converted.
Taking a specific application scenario as an example, a file in a DXF format, a file in a PLF format, and a file in a PNG format are locally stored, and finally, the found file in the DXF format, the found file in the PLF format, and the found file in the PNG format are all used as files to be converted.
In step S203, the file format of the file to be converted is acquired.
In the present embodiment, the file format of each file to be converted is acquired.
In step S204, if the target file format is different from the file format of the file to be converted, the file format of the file to be converted is converted into the target file format, and the converted file is saved to the target address.
In step S205, if the target file format is the same as the file format of the file to be converted, the file to be converted is saved to the target address.
In this embodiment, if there is a file to be converted having the same file format as the target file format, the file to be converted having the same format as the target file format is directly saved to the target address.
In this embodiment, if the file formats of all the files to be converted are different, one file to be converted is selected, the file format of the file to be converted is converted into the target file format, and the converted file is stored in the target address.
In the embodiment, whether the file format of a file to be converted is the same as the target file format or not is preferably searched, if so, the file can be directly stored without conversion, so that the operation steps are reduced, and the storage efficiency is finally improved.
In one embodiment, the frequency of searching the name of the clothing model to be converted is recorded, and if the frequency of searching is less than the preset frequency, the file corresponding to the name of the clothing model to be converted with the format which is not the preset format is deleted.
In this embodiment, the search frequency refers to the number of times of searching for a file corresponding to the name of the clothing model to be converted within a preset time, and the preset time may be 20 days.
In this embodiment, the predetermined format may be a DXF format.
In this embodiment, when the number of times of searching for the file corresponding to the name of the clothing model to be converted within the preset time is less than the preset frequency (for example, 9 times within the preset time), it indicates that the user may not use the file frequently, only the file with the format of the preset format is reserved, and the files with other formats are deleted, so that resources can be released, waste of resources is reduced, and the burden of the terminal device is reduced.
Taking a specific application scenario as an example, the name of the garment model to be converted is B, the local server and the server store files in DXF format, PLT format and DWG format, and within 20 days, if the number of times of searching the B file from the local server and the server is less than 9, the user is considered not to use the file corresponding to B frequently, only the stored B file in DXF format is reserved, and the B file in PLT format and DWG format is deleted.
In the embodiment, the format conversion can be used for directly converting the file format containing the garment type into the format (for example, the PLT format) supported by the garment trigger, and a user does not need to use other tools for converting the format, so that the user experience is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example 2:
fig. 3 shows an automatic grading system 100 according to an embodiment of the present invention, which is configured to perform the method steps in the corresponding embodiment of fig. 1, and includes:
an initial data obtaining module 110, configured to obtain initial size data corresponding to the initial garment type selected by the user.
And a target data obtaining module 120, configured to obtain target size data uploaded by the user.
And a difference value calculating module 130 for calculating. Target size data and. Difference of initial size data.
And the model adjusting module 140 is configured to adjust the drawing line in the initial garment model according to the difference value to obtain a target garment model.
In one embodiment of the present invention, the layout adjustment module 140 further comprises:
and the associated drawing line searching submodule is used for searching the associated drawing line associated with the difference value which is not zero if the difference value is not zero.
And the adjusting value determining submodule is used for determining the adjusting value corresponding to each associated drawing line according to the difference value.
And the initial value acquisition submodule is used for acquiring the initial value of each associated drawing line.
And the drawing line adjusting submodule is used for adjusting the corresponding associated drawing line according to the adjusting value of each associated drawing line in sequence.
In an embodiment of the present invention, the adjustment value determining submodule is specifically configured to:
and searching the adjustment value of each associated drawing line corresponding to the difference value from the first preset comparison table.
In an embodiment of the present invention, the plot line adjustment submodule further includes:
and the first adjusting unit is used for executing corresponding operations on the corresponding associated drawing line according to the adjusting value of the associated drawing line if the associated drawing line is a straight line, wherein the operations comprise lengthening, shortening, leftward translation, rightward translation, upward translation and/or downward translation.
And the second adjusting unit is used for redrawing the corresponding associated drawing line according to the adjusting value of the associated drawing line if the associated drawing line is a curve.
In one embodiment of the present invention, the second adjusting unit includes:
and the target coordinate acquiring subunit is used for acquiring the target coordinate of the initial control point corresponding to the sum of the initial value and the adjustment value of the associated drawing line from the second preset comparison table if the associated drawing line is a curve.
A drawing line adjusting subunit for adjusting the drawing line according to
Figure BDA0001713353930000101
Redraw associative renderingA wire.
Wherein C (u) represents in the interval (u)i,ui+p+1) Curve of upper, uiDenotes the ith initial node, PiTarget coordinate, N, representing the ith initial control pointi,p(u) represents a B-spline basis function of degree p, and p represents a preset power value.
In one embodiment of the present invention, the system 100 for automatic grading further comprises:
and the preview request acquisition module is used for acquiring a preview request input by a user, and the preview request comprises an initial clothing model name to be previewed and a preview mode.
And the model display module is used for searching the initial garment model corresponding to the initial garment model name to be previewed and displaying the initial garment model according to the previewing mode.
Fig. 4 shows an automatic grading system 100 according to an embodiment of the present invention, which is configured to perform the method steps in the corresponding embodiment of fig. 2, and includes:
a conversion command receiving module 150, configured to receive a format conversion command input by a user, where the format conversion command includes a target file format, a name of a garment format to be converted, and a target address.
And the file searching module 160 is configured to search a file corresponding to the name of the clothing model to be converted, as the file to be converted.
The file format obtaining module 170 is configured to obtain a file format of the file to be converted.
The first file saving module 180 is configured to, if the target file format is different from the file format of the file to be converted, convert the file format of the file to be converted into the target file format, and save the converted file to the target address.
The second file saving module 190 is configured to save the file to be converted to the target address if the target file format is the same as the file format of the file to be converted.
In one embodiment, the system 100 for automatic grading further includes other functional modules/units for implementing the method steps in the embodiments of embodiment 1.
Example 3:
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps of the embodiments as described in embodiment 1, such as steps S101 to S104 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the system embodiments as described in embodiment 2, such as the functions of the modules 110 to 140 shown in fig. 3.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into an initial data acquisition module, a target data acquisition module, a difference calculation module, and a layout adjustment module. The specific functions of each module are as follows:
the initial data acquisition module is used for acquiring initial size data corresponding to the initial garment type selected by the user;
the target data acquisition module is used for acquiring target size data uploaded by a user;
a difference calculation module for calculating a difference between the target size data and the initial size data;
and the model adjusting module is used for adjusting the drawing line in the initial garment model according to the difference value to obtain a target garment model.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device 5 may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
Example 4:
an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the embodiments described in embodiment 1, for example, step S101 to step S104 shown in fig. 1. Alternatively, the computer program, when executed by a processor, implements the functions of the respective modules/units in the respective system embodiments as described in embodiment 2, for example, the functions of the modules 110 to 140 shown in fig. 3.
The computer program may be stored in a computer readable storage medium, which when executed by a processor, may implement the steps of the various method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the system of the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method of automatic grading, comprising:
acquiring initial size data corresponding to an initial garment model selected by a user;
acquiring target size data uploaded by a user;
calculating a difference between the target size data and the initial size data;
and adjusting the drawing line in the initial garment model according to the difference value to obtain the target garment model.
2. The method of automatically grading according to claim 1, wherein said adjusting a drawn line in said initial garment type according to said difference to obtain a target garment type comprises:
if the difference value is not zero, searching an associated drawing line associated with the difference value which is not zero;
determining an adjusting value corresponding to each associated drawing line according to the difference value;
and adjusting the corresponding associated drawing line according to the adjustment value of each associated drawing line in turn.
3. The method of automatic grading according to claim 2, wherein said determining an adjustment value corresponding to each associated drawn line according to said difference comprises:
and searching the adjustment value of each associated drawing line corresponding to the difference value from a first preset comparison table.
4. The method of automatic grading according to claim 2, wherein said adjusting the corresponding associated rendering line according to the adjustment value of each associated rendering line in turn comprises:
if the associated drawing line is a straight line, executing corresponding operation on the corresponding associated drawing line according to the adjustment value of the associated drawing line, wherein the operation comprises lengthening, shortening, leftward translation, rightward translation, upward translation and/or downward translation;
and if the associated drawing line is a curve, redrawing the corresponding associated drawing line according to the adjustment value of the associated drawing line.
5. The method according to claim 4, wherein if the associated drawing line is a curve, redrawing the corresponding associated drawing line according to the adjustment value of the associated drawing line comprises:
if the associated drawing line is a curve, acquiring a target coordinate of an initial control point corresponding to an adjustment value of the associated drawing line from a second preset comparison table;
according toRedrawing the associated drawing line;
wherein C (u) represents in the interval (u)i,ui+p+1) Curve of upper, uiDenotes the ith initial node, PiTarget coordinate, N, representing the ith initial control pointi,p(u) represents a B-spline basis function of degree p, and p represents a preset power value.
6. The method of automatic grading according to claim 1, further comprising:
receiving a format conversion command input by a user, wherein the format conversion command comprises a target file format, a name of a garment format to be converted and a target address;
searching a file corresponding to the name of the clothing type to be converted as a file to be converted;
acquiring the file format of the file to be converted;
if the target file format is different from the file format of the file to be converted, converting the file format of the file to be converted into the target file format, and storing the converted file to the target address;
and if the target file format is the same as the file format of the file to be converted, storing the file to be converted to the target address.
7. The method of automatic grading according to claim 1, further comprising:
acquiring a preview request input by a user, wherein the preview request comprises an initial clothing type name to be previewed and a preview mode;
and searching the initial clothing model corresponding to the initial clothing model name to be previewed, and displaying according to the previewing mode.
8. An automatic grading system, comprising:
the initial data acquisition module is used for acquiring initial size data corresponding to the initial garment type selected by the user;
the target data acquisition module is used for acquiring target size data uploaded by a user;
a difference calculation module for calculating a difference between the target size data and the initial size data;
and the model adjusting module is used for adjusting the drawing line in the initial garment model according to the difference value to obtain a target garment model.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201810694794.4A 2018-06-29 2018-06-29 Automatic code-placing method, system and terminal equipment Pending CN110652060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810694794.4A CN110652060A (en) 2018-06-29 2018-06-29 Automatic code-placing method, system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810694794.4A CN110652060A (en) 2018-06-29 2018-06-29 Automatic code-placing method, system and terminal equipment

Publications (1)

Publication Number Publication Date
CN110652060A true CN110652060A (en) 2020-01-07

Family

ID=69027545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810694794.4A Pending CN110652060A (en) 2018-06-29 2018-06-29 Automatic code-placing method, system and terminal equipment

Country Status (1)

Country Link
CN (1) CN110652060A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598655A (en) * 2020-05-12 2020-08-28 广东溢达纺织有限公司 Virtual garment size updating method and device, computer equipment and storage medium
CN111709486A (en) * 2020-06-22 2020-09-25 辽宁轻工职业学院 Body size measuring method based on clothing design
CN111985017A (en) * 2020-03-03 2020-11-24 广东三维家信息科技有限公司 Method and device for adapting product to wall opening and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150242546A1 (en) * 2014-02-21 2015-08-27 Inyong JEON Method of Cloth Simulation using Constrainable Multigrid
CN106846093A (en) * 2016-12-29 2017-06-13 深圳市博克时代科技开发有限公司 It is a kind of to parameterize the custom made clothing method and apparatus for beating version
CN107230134A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of virtual costume customized management method and system
CN107491613A (en) * 2017-08-23 2017-12-19 济南爱编织信息科技有限公司 A kind of method and apparatus for drawing human clothing's prototype figure
CN107704688A (en) * 2017-10-11 2018-02-16 重庆段氏服饰实业有限公司 Method, system and the computer-readable recording medium of creation
CN108158095A (en) * 2017-11-06 2018-06-15 温州职业技术学院 A kind of special body size clothes version type production method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150242546A1 (en) * 2014-02-21 2015-08-27 Inyong JEON Method of Cloth Simulation using Constrainable Multigrid
CN106846093A (en) * 2016-12-29 2017-06-13 深圳市博克时代科技开发有限公司 It is a kind of to parameterize the custom made clothing method and apparatus for beating version
CN107230134A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of virtual costume customized management method and system
CN107491613A (en) * 2017-08-23 2017-12-19 济南爱编织信息科技有限公司 A kind of method and apparatus for drawing human clothing's prototype figure
CN107704688A (en) * 2017-10-11 2018-02-16 重庆段氏服饰实业有限公司 Method, system and the computer-readable recording medium of creation
CN108158095A (en) * 2017-11-06 2018-06-15 温州职业技术学院 A kind of special body size clothes version type production method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985017A (en) * 2020-03-03 2020-11-24 广东三维家信息科技有限公司 Method and device for adapting product to wall opening and electronic equipment
CN111985017B (en) * 2020-03-03 2024-04-09 广东三维家信息科技有限公司 Method and device for adapting product to wall hole and electronic equipment
CN111598655A (en) * 2020-05-12 2020-08-28 广东溢达纺织有限公司 Virtual garment size updating method and device, computer equipment and storage medium
CN111709486A (en) * 2020-06-22 2020-09-25 辽宁轻工职业学院 Body size measuring method based on clothing design

Similar Documents

Publication Publication Date Title
CN108681743B (en) Image object recognition method and device and storage medium
CN110652060A (en) Automatic code-placing method, system and terminal equipment
CN111311485B (en) Image processing method and related device
CN107766349B (en) Method, device, equipment and client for generating text
CN109491743A (en) Visual Report Forms generation method, device, electronic equipment and storage medium
CN107578659A (en) Generation method, generating means and the terminal of electronics topic
CN109214876A (en) A kind of fitting method and system based on augmented reality
CN111210485A (en) Image processing method and device, readable medium and electronic equipment
CN114048168A (en) Electronic archive filing method, device, equipment, system and storage medium
CN108198125A (en) A kind of image processing method and device
CN113240578A (en) Image special effect generation method and device, electronic equipment and storage medium
CN111444235A (en) Django-based data serialization method and device, computer equipment and storage medium
CN115188000A (en) Text recognition method and device based on OCR (optical character recognition), storage medium and electronic equipment
CN109189524A (en) Image resource generation method and device
CN113626903A (en) Road curve setting method and device, electronic equipment and storage medium
CN110991050B (en) CAD (computer-aided design) image stacking method and related product
CN109066973B (en) Visualization method and system for intelligent substation and terminal equipment
CN110652061B (en) Automatic clothes making method and system and terminal equipment
CN112150492A (en) Method and device for reading house-type graph and storage medium
CN110955485A (en) Method and device for adjusting interface elements
CN105279727A (en) Image processing method and apparatus
CN117611761B (en) Map element drawing method, system, equipment and medium for CAD drawing
CN112639700A (en) Handwriting processing method, handwriting input device and computer readable storage medium
CN116468824B (en) Animation redirection method, device, electronic equipment and storage medium
CN116168442B (en) Sample image generation method, model training method and target detection method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200107