CN114399615A - Efficient shoe color matching setting method and device based on three-dimensional model - Google Patents
Efficient shoe color matching setting method and device based on three-dimensional model Download PDFInfo
- Publication number
- CN114399615A CN114399615A CN202111601137.9A CN202111601137A CN114399615A CN 114399615 A CN114399615 A CN 114399615A CN 202111601137 A CN202111601137 A CN 202111601137A CN 114399615 A CN114399615 A CN 114399615A
- Authority
- CN
- China
- Prior art keywords
- color matching
- dimensional model
- target
- shoe body
- shoe
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000009877 rendering Methods 0.000 claims abstract description 82
- 238000013507 mapping Methods 0.000 claims abstract description 54
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 230000015654 memory Effects 0.000 claims description 21
- 238000010276 construction Methods 0.000 claims description 7
- 239000003086 colorant Substances 0.000 claims description 6
- 238000013461 design Methods 0.000 abstract description 18
- 230000000694 effects Effects 0.000 abstract description 10
- 239000002609 medium Substances 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011895 specific detection Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012821 model calculation Methods 0.000 description 1
- 239000012120 mounting media Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
Abstract
The embodiment of the application discloses a method and a device for efficiently setting shoe color matching based on a three-dimensional model. According to the technical scheme provided by the embodiment of the application, each appointed part of a shoe body in a target image is identified based on a target detection model by inputting the target image; identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data; and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data. By adopting the technical means, the efficiency of the shoe color matching setting can be improved, the color matching design effect is optimized, and the technical problem that the shoe color matching setting process is complicated and inconvenient is solved.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for efficiently setting shoe color matching based on a three-dimensional model.
Background
With the development and innovation of the shoe making industry, shoe body design technology is continuously developed and advanced. At present, when the shoe body is designed, the construction and design of a three-dimensional model of the shoe body and even the rendering display of the color matching of the shoe body can be realized through a computer, so that the efficiency of shoe body design can be improved, and the design effect is optimized. Generally, when a designer designs the color matching of a shoe body, the designer usually selects the pre-stored color matching data manually, and then renders and displays the color matching data at the designated position of the three-dimensional model of the shoe body. Through model rendering, the design result of the shoe body can be visually reflected, and convenience is provided for the design of the shoe body.
However, because of the relatively large number of shoe body components, different components may need to be provided with different color schemes. Resulting in a relatively complicated overall color matching setup process and lack of flexibility.
Disclosure of Invention
The embodiment of the application provides a shoe color matching efficient setting method and device based on a three-dimensional model, which can improve the efficiency of shoe color matching setting, optimize the effect of color matching design and solve the technical problem that the shoe color matching setting process is complicated and inconvenient.
In a first aspect, an embodiment of the present application provides a method for efficiently setting a color matching of a shoe body based on a three-dimensional model, including:
inputting a target image, and identifying each designated part of a shoe body in the target image based on a target detection model;
identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data;
and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining the corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data.
Further, after identifying the color matching data of each of the designated parts, the method further comprises:
and constructing color matching rendering options based on the color matching data so as to select color matching rendering display of each target component.
Further, the color matching rendering display of the target component is performed based on the color matching data, and the method further comprises the following steps:
and when the target component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the target component based on the color matching data.
Further, after performing a color rendering display of the top layer, the bottom layer, or the designated layer of the target component based on the color data, the method further includes:
and performing color matching rendering display on the rest layers of the target component based on the color matching rendering options.
Further, querying the mapping relationship according to the target component, and determining the corresponding color matching data, further comprising:
and if the target component does not have the corresponding color matching data, randomly selecting the color matching rendering option to perform color matching rendering display of the target component.
Further, querying the mapping relationship according to the target component, and determining the corresponding color matching data, further comprising:
and if the target component does not have the corresponding color matching data, selecting a main color matching option of the target image from the color matching rendering options, and performing color matching rendering display on the current target component based on the main color matching option.
Further, the identifying the color matching data of each designated part and constructing the mapping relation between the designated part and the corresponding color matching data comprises:
identifying a plurality of color matching data of the designated part, and constructing a mapping relation between the designated part and the corresponding plurality of color matching data;
correspondingly, color matching rendering display of the target component is carried out based on the color matching data, and the method comprises the following steps:
and performing color matching rendering display of different layers or different areas in the target component based on a plurality of color matching data.
In a second aspect, an embodiment of the present application provides an efficient setting device for shoe color matching based on a three-dimensional model, including:
the detection module is used for inputting a target image and identifying each designated part of the shoe body in the target image based on a target detection model;
the construction module is used for identifying the color matching data of each designated component and constructing the mapping relation between the designated component and the corresponding color matching data;
and the color matching module is used for importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when the model color matching setting of the shoe body three-dimensional model is carried out, inquiring the mapping relation according to the target component, determining the corresponding color matching data, and carrying out color matching rendering display on the target component based on the color matching data.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for efficient setting of color matching for a three-dimensional model-based shoe body according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for efficient setting of color matching for a three-dimensional model-based shoe body according to the first aspect.
According to the method, the target image is input, and each appointed part of the shoe body in the target image is identified based on the target detection model; identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data; and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data. By adopting the technical means, the efficiency of the shoe color matching setting can be improved, the color matching design effect is optimized, and the technical problem that the shoe color matching setting process is complicated and inconvenient is solved.
Drawings
FIG. 1 is a flow chart of a method for efficiently setting a color matching of a shoe body based on a three-dimensional model according to an embodiment of the present application;
FIG. 2 is a flow chart of color matching of a shoe body according to a first embodiment of the present application;
FIG. 3 is a schematic structural diagram of an efficient setting device for shoe color matching based on a three-dimensional model according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The first embodiment is as follows:
fig. 1 is a flowchart of a three-dimensional model-based efficient shoe color matching setting method according to an embodiment of the present invention, where the three-dimensional model-based efficient shoe color matching setting method provided in this embodiment may be implemented by a three-dimensional model-based efficient shoe color matching setting device, the three-dimensional model-based efficient shoe color matching setting device may be implemented in a software and/or hardware manner, and the three-dimensional model-based efficient shoe color matching setting device may be formed by two or more physical entities or may be formed by one physical entity. Generally speaking, the efficient setting device for shoe color matching based on the three-dimensional model can be a computer, a mobile phone, a tablet and other processing devices.
The following description will take the efficient setting device for shoe color matching based on three-dimensional model as an example of a main body for executing the efficient setting method for shoe color matching based on three-dimensional model. Referring to fig. 1, the efficient setting method for shoe color matching based on the three-dimensional model specifically comprises the following steps:
s110, inputting a target image, and identifying each designated part of the shoe body in the target image based on a target detection model.
When the shoe body is matched colors and is set, the shoe body is defined as a target image through inputting a shoe image, color matching data of each part of the shoe body provided in the target image is utilized, and color matching setting of each part of the shoe body three-dimensional model which is currently designed is carried out, so that the setting efficiency of the shoe body is improved, the color matching design effect is optimized, and meanwhile, the flexibility of the color matching setting of the shoe body is improved.
Illustratively, when seeing that shoes that oneself likes match colors, the user inputs shoes images into the efficient setting equipment of matching colors of the shoes based on the three-dimensional model of the embodiment of the application through shooting the shoes images, and through carrying out the recognition of the shoes color matching data of each part on the shoes images, the mapping relation of the specified parts of the shoes and the color matching data is further constructed. And subsequently, when the color matching setting of the self-designed shoe is carried out, the three-dimensional shoe model of the self-designed shoe is introduced, and the mapping relation of each target component in the three-dimensional shoe model is inquired, so that the color matching data of each target component is determined. For example, the mapping relation is inquired by the tongue of the target part, the mapping relation of which the specified part is the tongue is found, the color matching data in the mapping relation is further extracted, and the color matching rendering display of the tongue of the target part of the current shoe body three-dimensional model is carried out by using the color matching data. The user can quickly and accurately convert favorite shoe color matching to the shoe body designed by the user, so that the color matching design of the shoe body is greatly facilitated, and the design experience of the user is optimized.
Specifically, when a mapping relation is constructed for color matching setting of the shoe body, a target image is input, and the target image needs to include the shoe body part, so that each part of the shoe body can be detected and identified through a target detection model. Generally speaking, for inputting the target image of the efficient setting device for shoe color matching based on the three-dimensional model, firstly, whether the current target image includes a shoe body part is judged, if yes, each part of the shoe body is further detected, and if not, a prompt that the image does not meet the standard is output so as to inform a user of inputting a correct target image.
Before this, an object detection model is constructed in advance to detect and identify the shoe body and each appointed part of the shoe body. In order to train the target detection models of the shoe bodies and the designated parts of the shoe bodies, image information (such as a shoe tongue image set, a vamp image set and various shoe subimage sets) of the shoe bodies and the designated parts of the shoe bodies needs to be collected as a training data set, and then rectangular frames of the shoe bodies and the designated parts of the shoe bodies are manually marked one by one from the image information as marking data. And further designing a neural network structure and a loss function of the target detection model of the shoe body and each appointed part of the shoe body, and training network parameters of the target detection model of the shoe body and each appointed part of the shoe body by using the labeled data. After model training is completed, the model structure and parameters are saved for subsequent target detection. The specific parts specifically include parts such as a vamp, a lace, a tongue, a midsole and an outsole, and the specific parts can be detected by constructing a target detection model of the corresponding parts of the shoe in advance. The detection of the designated components can also be adaptively increased or refined according to actual needs. The target detection model may be a YOLOv5 or other target detection model, and the specific detection model is not fixedly limited in the embodiments of the present application and is not described herein again.
And deploying the trained target detection model on the shoe body color matching efficient setting equipment based on the three-dimensional model in the embodiment of the application. The target image input by the user is input into the target detection model, and the detection frames of the shoe body and each appointed part of the shoe body in the target image can be output through model calculation and processing, so that the detection of each appointed part is completed.
And S120, identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data.
Further, based on the identified various designated components, the embodiment of the application further identifies the color matching of the various designated components and obtains the color matching data thereof. Wherein by identifying the image characteristics of each designated component part, its color information, i.e., color matching data, can be determined based on the image characteristics. For example, the designated part partial image is subjected to binarization processing, and the RGB values of the binarized image are determined. Because different RGB values represent different colors, the RGB color table is inquired according to the RGB values, and the color matching data of the current specified component can be determined. There are many ways to perform color recognition based on images, and the specific detection recognition way is not fixedly limited in the embodiments of the present application, which is not described herein repeatedly.
The color matching data of each designated component is determined, and then each designated component and the color matching data thereof are combined to construct a mapping relation, wherein the designated component is used as a data index for the mapping relation, so that the mapping relation of the corresponding designated component can be conveniently inquired through a target component subsequently, and the color matching data is set.
It should be noted that, according to actual needs, the user may shoot or download a shoe image of a favorite shoe color, input the target detection model with the shoe image as a target image, and then identify a designated part of the target image. Corresponding to each target image, the detection and identification result can be stored by using the target image as a data index, and a subsequent user selects the identification result of the corresponding target image from the memory for color matching setting according to the color matching setting requirement, so that the flexibility and diversity of color matching design can be further improved.
S130, importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data.
Furthermore, the setting operation of the color matching of the shoe body can be carried out based on the mapping relation which is constructed in advance. The shoe body three-dimensional model to be set with color matching is introduced and is formed by combining a plurality of components. When the color matching setting of the three-dimensional shoe body model is carried out, the various components in the three-dimensional shoe body model, such as the vamp, the shoelace, the tongue, the midsole and the outsole, are firstly determined, and the components are defined as target components. And inquiring the mapping relation according to the target components, namely determining the mapping relation containing the corresponding specified components, further acquiring the color matching data of the target components, and rendering and displaying the target components by using the color matching data.
Illustratively, referring to fig. 2, when color matching setting is performed, color matching detection and identification are performed on a target image input by a user, so as to construct a mapping relationship. For the three-dimensional model of the shoe body of the importing device, the target components of the three-dimensional model of the shoe body are positioned, wherein the target components comprise an upper, a shoelace, a tongue, a midsole and an outsole. When the vamp color matching setting is carried out, the mapping relation of the vamp is inquired and designated as the part, the color matching data of the mapping relation is further obtained, and the color matching data is used for the vamp color matching setting of the current three-dimensional shoe body model. By analogy, the mapping relation corresponding to the specified component is found by inquiring the mapping relation with different target components, the color matching data in the mapping relation is further extracted, and the color matching rendering display of the target component of the current shoe body three-dimensional model is carried out by using the color matching data. The user can quickly and accurately convert favorite shoe color matching to the shoe body designed by the user, so that the color matching design of the shoe body is greatly facilitated, and the design experience of the user is optimized.
Optionally, when color matching rendering display of the target components is performed, a color matching rendering option is further constructed based on the color matching data, so that color matching rendering display of each target component is selected. It can be understood that, in order to improve the flexibility and the diversity of the color matching setting, the color matching data identified by each designated component is used for constructing the color matching rendering option, so that the subsequent color matching setting of the shoe body three-dimensional model is performed according to the color matching rendering option. For example, a user may find the target image to be a good match for the shoe upper, and may then render the options by constructing a match for the match by placing the color on the tongue portion of the three-dimensional model of the shoe body. And subsequently, when the color matching setting is carried out on the tongue part of the shoe body three-dimensional model, the preset color matching rendering options are selected to carry out the color matching setting on the tongue part.
Optionally, when the target component includes a plurality of layers, performing color rendering display of a top layer, a bottom layer, or a designated layer of the target component based on the color data. For example, for the upper of a shoe, multiple layers may be included, with the different layers being overlapped together. When the color matching rendering is carried out on the vamp, because only one color matching data can be contained in the mapping relation, if the color matching rendering display of the whole vamp is carried out based on the color matching data, the display effect is relatively poor. In order to embody the layering sense among different layers of the vamp, one of the layers can be selected for color matching rendering display. Therefore, the embodiment of the application optimizes the color matching setting effect by selecting the top layer, the bottom layer or the layer pre-designated by the user for rendering and displaying.
In one embodiment, the efficient shoe color matching setting equipment based on the three-dimensional model also performs color matching rendering display on the rest layers of the target component based on the color matching rendering options. It will be appreciated that for a multi-level target component, only one of the levels is rendered and displayed using the color matching data, and for the remaining levels, color matching rendering may also be performed according to pre-constructed color matching rendering options, so that the color matching setting of the target component meets the actual needs of the user.
Optionally, if the target component does not have the corresponding color matching data, the color matching rendering option is randomly selected to perform the color matching rendering display of the target component. It can be understood that, since the color matching data of each designated part of the target image shoe is transferred to the target part of the current three-dimensional model of the shoe body, if there is a difference in style, structure, etc. between the two shoes, the situation that the two parts are not matched may not be met, i.e., the target part does not inquire the mapping relationship of the corresponding designated part. At this time, the device randomly selects a corresponding color matching rendering option which is constructed in advance to perform color matching rendering on the current target component. Therefore, the color matching rendering flexibility can be further improved, and the color matching setting efficiency is improved.
On the other hand, if the target component does not have the corresponding color matching data, selecting a main color matching option of the target image from the color matching rendering options, and performing color matching rendering display on the current target component based on the main color matching option. Different from the above-mentioned mode of randomly selecting the color matching rendering options, the main color matching option of the target image is selected from the color matching rendering options, so that the color matching setting of the corresponding target component is more fit with the color matching composition of the target image. It will be appreciated that the master color scheme option includes color scheme data that is the color scheme that is predominantly included in the target image, i.e., the color scheme is more heavily populated in the target image. And performing color matching rendering display on the current target component by using the main color matching option, wherein the color of the target component is more fit with the target image, and the display effect is relatively better. Further facilitating the user to transfer the color matching of the target image to the three-dimensional model of the shoe body.
In one embodiment, the efficient setting device for shoe color matching based on the three-dimensional model also constructs the mapping relation between the designated part and a plurality of corresponding color matching data by identifying a plurality of color matching data of the designated part; and performing color matching rendering display of different layers or different areas in the target component based on a plurality of color matching data. It can be understood that, when the designated part includes a plurality of color matches, it is necessary to correspondingly construct a mapping relationship between the designated part and the plurality of color match data, and use the plurality of color match data to render and display the target part. For example, for the case where the target image upper contains multiple color schemes, by constructing a mapping of the upper to the multiple color schemes. And subsequently, when the vamp color matching of the shoe body three-dimensional model is set, rendering and displaying the multiple color matches to different layers or different areas of the target component. The three-dimensional model of the shoe body divides different layers or different areas of the vamp in advance so as to be convenient for carrying out a plurality of color matching settings subsequently. Optionally, when the shoe body three-dimensional model is subjected to vamp color matching setting, the main color matching of the target image shoe vamp can be configured into the target component, so that the color matching of the target image can be converted into the shoe body three-dimensional model as much as possible, and the flexibility of the color matching setting is improved.
The method comprises the steps of identifying each appointed part of a shoe body in a target image based on a target detection model by inputting the target image; identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data; and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data. By adopting the technical means, the efficiency of the shoe color matching setting can be improved, the color matching design effect is optimized, and the technical problem that the shoe color matching setting process is complicated and inconvenient is solved.
Example two:
on the basis of the above embodiments, fig. 3 is a schematic structural diagram of a shoe color matching efficient setting device based on a three-dimensional model according to a second embodiment of the present application. Referring to fig. 3, the efficient setting apparatus for shoe color matching based on a three-dimensional model provided in this embodiment specifically includes: a detection module 21, a construction module 22 and a color matching module 23.
The detection module 21 is used for inputting a target image and identifying each designated part of the shoe body in the target image based on a target detection model;
the construction module 22 is configured to identify color matching data of each of the designated components, and construct a mapping relationship between the designated components and the corresponding color matching data;
the color matching module 23 is used for importing a shoe three-dimensional model, positioning each target component in the shoe three-dimensional model when performing model color matching setting on the shoe three-dimensional model, inquiring the mapping relation according to the target component, determining the corresponding color matching data, and performing color matching rendering display on the target component based on the color matching data.
Specifically, this efficient setting device of matching colors of shoes body based on three-dimensional model still includes:
and the option construction module is used for constructing color matching rendering options based on the color matching data so as to select color matching rendering display of each target component.
And the layer display module is used for performing color matching rendering display on the top layer, the bottom layer or the designated layer of the target component based on the color matching data when the target component comprises a plurality of layers, and performing color matching rendering display on the rest layers of the target component based on the color matching rendering options.
And the first selection rendering module is used for randomly selecting the color matching rendering options to perform color matching rendering display on the current target component when the current target component does not have the corresponding color matching data.
And the second selection rendering module is used for selecting a main color matching option of the target image from the color matching rendering options when the target component does not have the corresponding color matching data, and performing color matching rendering display on the target component based on the main color matching option.
The multi-color matching rendering module is used for identifying a plurality of color matching data of the specified component and constructing a mapping relation between the specified component and the corresponding plurality of color matching data; and performing color matching rendering display of different layers or different areas in the target component based on a plurality of color matching data.
The method comprises the steps of identifying each appointed part of a shoe body in a target image based on a target detection model by inputting the target image; identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data; and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data. By adopting the technical means, the efficiency of the shoe color matching setting can be improved, the color matching design effect is optimized, and the technical problem that the shoe color matching setting process is complicated and inconvenient is solved.
The efficient setting device for shoe color matching based on the three-dimensional model provided by the second embodiment of the application can be used for executing the efficient setting method for shoe color matching based on the three-dimensional model provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 4, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 may be implemented as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for efficiently setting a color matching for a three-dimensional model-based shoe body according to any of the embodiments of the present application (e.g., a detection module, a construction module, and a color matching module in an apparatus for efficiently setting a color matching for a three-dimensional model-based shoe body). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, so as to realize the efficient setting method for color matching of the shoe body based on the three-dimensional model.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic equipment provided by the embodiment can be used for executing the efficient setting method for shoe color matching based on the three-dimensional model, and has corresponding functions and beneficial effects.
Example four:
the embodiment of the application also provides a storage medium containing computer executable instructions, and the computer executable instructions are used for executing a three-dimensional model-based shoe color matching efficient setting method, and the three-dimensional model-based shoe color matching efficient setting method comprises the following steps: inputting a target image, and identifying each designated part of a shoe body in the target image based on a target detection model; identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data; and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining the corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method for efficiently setting the color matching of the three-dimensional model-based shoe body described above, and may also perform related operations in the method for efficiently setting the color matching of the three-dimensional model-based shoe body provided in any embodiments of the present application.
The three-dimensional model-based shoe color matching efficient setting device, the storage medium and the electronic device provided in the above embodiments may perform the three-dimensional model-based shoe color matching efficient setting method provided in any embodiments of the present application, and the technical details not described in detail in the above embodiments may be referred to the three-dimensional model-based shoe color matching efficient setting method provided in any embodiments of the present application.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.
Claims (10)
1. A method for efficiently setting shoe color matching based on a three-dimensional model is characterized by comprising the following steps:
inputting a target image, and identifying each designated part of a shoe body in the target image based on a target detection model;
identifying color matching data of each designated component, and constructing a mapping relation between the designated component and the corresponding color matching data;
and importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when performing model color matching setting on the shoe body three-dimensional model, inquiring the mapping relation according to the target components, determining the corresponding color matching data, and performing color matching rendering display on the target components based on the color matching data.
2. The method for efficiently setting color matching of shoe bodies based on three-dimensional models according to claim 1, further comprising after identifying the color matching data of each designated part:
and constructing color matching rendering options based on the color matching data so as to select color matching rendering display of each target component.
3. The method for efficiently setting the color matching of the shoe body based on the three-dimensional model according to claim 2, wherein the color matching rendering display of the target component is performed based on the color matching data, and further comprising:
and when the target component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the target component based on the color matching data.
4. The method for efficiently setting color matching of shoe bodies based on three-dimensional models according to claim 3, characterized in that after the color matching rendering display of the top layer, the bottom layer or the designated layer of the target component is performed based on the color matching data, the method further comprises:
and performing color matching rendering display on the rest layers of the target component based on the color matching rendering options.
5. The method for efficiently setting color matching of a three-dimensional model-based shoe body according to claim 2, wherein the mapping relation is queried according to the target component to determine the corresponding color matching data, further comprising:
and if the target component does not have the corresponding color matching data, randomly selecting the color matching rendering option to perform color matching rendering display of the target component.
6. The method for efficiently setting color matching of a three-dimensional model-based shoe body according to claim 2, wherein the mapping relation is queried according to the target component to determine the corresponding color matching data, further comprising:
and if the target component does not have the corresponding color matching data, selecting a main color matching option of the target image from the color matching rendering options, and performing color matching rendering display on the current target component based on the main color matching option.
7. The method for efficiently setting color matching of shoe bodies based on three-dimensional models according to claim 1, wherein the identifying the color matching data of each designated part and the constructing the mapping relationship between the designated part and the corresponding color matching data comprise:
identifying a plurality of color matching data of the designated part, and constructing a mapping relation between the designated part and the corresponding plurality of color matching data;
correspondingly, color matching rendering display of the target component is carried out based on the color matching data, and the method comprises the following steps:
and performing color matching rendering display of different layers or different areas in the target component based on a plurality of color matching data.
8. The utility model provides a shoes body high efficiency setting device that matches colors based on three-dimensional model which characterized in that includes:
the detection module is used for inputting a target image and identifying each designated part of the shoe body in the target image based on a target detection model;
the construction module is used for identifying the color matching data of each designated component and constructing the mapping relation between the designated component and the corresponding color matching data;
and the color matching module is used for importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model when the model color matching setting of the shoe body three-dimensional model is carried out, inquiring the mapping relation according to the target component, determining the corresponding color matching data, and carrying out color matching rendering display on the target component based on the color matching data.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for efficient color matching setting of a three-dimensional model-based shoe body according to any of claims 1-7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, perform the method for efficiently setting the color matching of the three-dimensional model-based shoe body according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111601137.9A CN114399615A (en) | 2021-12-24 | 2021-12-24 | Efficient shoe color matching setting method and device based on three-dimensional model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111601137.9A CN114399615A (en) | 2021-12-24 | 2021-12-24 | Efficient shoe color matching setting method and device based on three-dimensional model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114399615A true CN114399615A (en) | 2022-04-26 |
Family
ID=81226916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111601137.9A Pending CN114399615A (en) | 2021-12-24 | 2021-12-24 | Efficient shoe color matching setting method and device based on three-dimensional model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114399615A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115024559A (en) * | 2022-05-30 | 2022-09-09 | 广东时谛智能科技有限公司 | Customized shoe body model design method and device based on user customized information |
CN115034841A (en) * | 2022-04-28 | 2022-09-09 | 广东时谛智能科技有限公司 | Intelligent shoe color matching method and device based on block positions and areas |
CN115035245A (en) * | 2022-05-30 | 2022-09-09 | 广东时谛智能科技有限公司 | Color matching processing method and device based on color matching quantity and original initial block division |
CN115081042A (en) * | 2022-06-27 | 2022-09-20 | 广东时谛智能科技有限公司 | Rendering method, device and equipment based on sole characteristic data and storage medium |
CN115081043A (en) * | 2022-06-27 | 2022-09-20 | 广东时谛智能科技有限公司 | Method, device, equipment and storage medium for determining characteristic data in shoe body design |
CN115329414A (en) * | 2022-10-17 | 2022-11-11 | 广东时谛智能科技有限公司 | Method, device, equipment and storage medium for quickly designing shoe body color data |
CN115344909A (en) * | 2022-10-18 | 2022-11-15 | 广东时谛智能科技有限公司 | Shoe body automatic design method and device based on function selection |
CN115578548A (en) * | 2022-12-07 | 2023-01-06 | 广东时谛智能科技有限公司 | Method and device for processing three-dimensional shoe body model according to input picture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030083850A1 (en) * | 2001-10-26 | 2003-05-01 | Schmidt Darren R. | Locating regions in a target image using color matching, luminance pattern matching and hue plane pattern matching |
CN105590238A (en) * | 2015-12-24 | 2016-05-18 | 曹晶晶 | Method, system and terminal device of customizing shoes |
CN105608614A (en) * | 2015-12-24 | 2016-05-25 | 曹晶晶 | Shoe online customization method and system as well as terminal device |
CN110796721A (en) * | 2019-10-31 | 2020-02-14 | 北京字节跳动网络技术有限公司 | Color rendering method and device of virtual image, terminal and storage medium |
-
2021
- 2021-12-24 CN CN202111601137.9A patent/CN114399615A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030083850A1 (en) * | 2001-10-26 | 2003-05-01 | Schmidt Darren R. | Locating regions in a target image using color matching, luminance pattern matching and hue plane pattern matching |
CN105590238A (en) * | 2015-12-24 | 2016-05-18 | 曹晶晶 | Method, system and terminal device of customizing shoes |
CN105608614A (en) * | 2015-12-24 | 2016-05-25 | 曹晶晶 | Shoe online customization method and system as well as terminal device |
CN110796721A (en) * | 2019-10-31 | 2020-02-14 | 北京字节跳动网络技术有限公司 | Color rendering method and device of virtual image, terminal and storage medium |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115034841A (en) * | 2022-04-28 | 2022-09-09 | 广东时谛智能科技有限公司 | Intelligent shoe color matching method and device based on block positions and areas |
CN115034841B (en) * | 2022-04-28 | 2023-07-21 | 广东时谛智能科技有限公司 | Intelligent shoe color matching method and device based on block positions and areas |
CN115024559A (en) * | 2022-05-30 | 2022-09-09 | 广东时谛智能科技有限公司 | Customized shoe body model design method and device based on user customized information |
CN115035245A (en) * | 2022-05-30 | 2022-09-09 | 广东时谛智能科技有限公司 | Color matching processing method and device based on color matching quantity and original initial block division |
CN115024559B (en) * | 2022-05-30 | 2024-01-02 | 广东时谛智能科技有限公司 | Custom shoe model design method and device based on user custom information |
CN115081042A (en) * | 2022-06-27 | 2022-09-20 | 广东时谛智能科技有限公司 | Rendering method, device and equipment based on sole characteristic data and storage medium |
CN115081043A (en) * | 2022-06-27 | 2022-09-20 | 广东时谛智能科技有限公司 | Method, device, equipment and storage medium for determining characteristic data in shoe body design |
CN115081043B (en) * | 2022-06-27 | 2024-03-22 | 广东时谛智能科技有限公司 | Method, device, equipment and storage medium for determining characteristic data in shoe body design |
CN115329414A (en) * | 2022-10-17 | 2022-11-11 | 广东时谛智能科技有限公司 | Method, device, equipment and storage medium for quickly designing shoe body color data |
CN115344909A (en) * | 2022-10-18 | 2022-11-15 | 广东时谛智能科技有限公司 | Shoe body automatic design method and device based on function selection |
CN115578548A (en) * | 2022-12-07 | 2023-01-06 | 广东时谛智能科技有限公司 | Method and device for processing three-dimensional shoe body model according to input picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114399615A (en) | Efficient shoe color matching setting method and device based on three-dimensional model | |
CN114445554B (en) | Special customization method and device for shoe body, electronic equipment and storage medium | |
CN114155328A (en) | Shoe body exclusive customization method and device based on graphic elements and color matching data | |
US9836856B2 (en) | Color name generation from images and color palettes | |
US9396560B2 (en) | Image-based color palette generation | |
US9245350B1 (en) | Image-based color palette generation | |
US9135719B1 (en) | Color name generation from images and color palettes | |
CN114882167B (en) | Shoe logo design method and device based on association elements | |
CN115081043B (en) | Method, device, equipment and storage medium for determining characteristic data in shoe body design | |
CN114612607A (en) | Shoe body design method and device based on three-dimensional model | |
CN115081042B (en) | Rendering method, device, equipment and storage medium based on sole characteristic data | |
CN114627247A (en) | Color matching design method and device for football shoe logo | |
JP2015518594A (en) | Integrated interactive segmentation method using spatial constraints for digital image analysis | |
US8958634B2 (en) | Image processing device that displays retrieved image similar to target image | |
JP2023516656A (en) | Efficient localization based on multiple feature types | |
CN115035245A (en) | Color matching processing method and device based on color matching quantity and original initial block division | |
CN113632147A (en) | Product design, configuration and decision system using machine learning | |
CN114612608A (en) | Image recognition-based shoe body exclusive customization method and device | |
US20210344779A1 (en) | Combined local and server context menus | |
CN110515929B (en) | Book display method, computing device and storage medium | |
CN112270384A (en) | Loop detection method and device, electronic equipment and storage medium | |
CN114998472B (en) | Method and device for determining shoe color matching, electronic equipment and storage medium | |
CN115187691B (en) | Method and device for automatically dividing shoe body color matching and blocks | |
CN114611177A (en) | Shoe body accessory customization method and device, electronic equipment and storage medium | |
CN114722640A (en) | Method and device for individually customizing shoe body model |
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 |
Application publication date: 20220426 |
|
RJ01 | Rejection of invention patent application after publication |