CN114612608A - Image recognition-based shoe body exclusive customization method and device - Google Patents

Image recognition-based shoe body exclusive customization method and device Download PDF

Info

Publication number
CN114612608A
CN114612608A CN202210130317.1A CN202210130317A CN114612608A CN 114612608 A CN114612608 A CN 114612608A CN 202210130317 A CN202210130317 A CN 202210130317A CN 114612608 A CN114612608 A CN 114612608A
Authority
CN
China
Prior art keywords
color
color matching
information
target
shoe body
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
CN202210130317.1A
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.)
Guangdong Shidi Intelligent Technology Co Ltd
Original Assignee
Guangdong Shidi Intelligent Technology Co Ltd
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 Guangdong Shidi Intelligent Technology Co Ltd filed Critical Guangdong Shidi Intelligent Technology Co Ltd
Priority to CN202210130317.1A priority Critical patent/CN114612608A/en
Publication of CN114612608A publication Critical patent/CN114612608A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures

Abstract

The embodiment of the application discloses a shoe body exclusive customization method and device based on image recognition. According to the technical scheme provided by the embodiment of the application, the target image is obtained, the target graph and the color information in the target image are identified, and the master color matching information and the slave color matching information of the color information are determined; introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component; and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component. By adopting the technical means, the efficiency of setting the figures and the color matching of the shoe body can be improved, the design effects of the figures and the color matching are optimized, and the flexibility of customizing the shoe body is improved.

Description

Image recognition-based shoe body exclusive customization method and device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a shoe body exclusive customization method and device based on image recognition.
Background
With the development and innovation of the shoe making industry, the shoe body design technology is also continuously improved. At present, when designing a shoe body, a computer can be used for realizing the construction and design of a three-dimensional model of the shoe body and the rendering display of a figure and a color matching of the shoe body, so that the efficiency of designing the shoe body can be improved, and the design effect can be optimized. Generally, designers often select pre-stored graphic data and color information manually during the design of shoe figures and colors, and then render and display the data at designated positions 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. The graphs need to be drawn manually by designers, so that the whole graph and color matching setting process is relatively complicated and lacks flexibility.
Disclosure of Invention
The embodiment of the application provides a shoe body exclusive customization method and device based on image recognition, which can improve the efficiency of shoe body figure and color matching setting, optimize the figure and color matching design effect, improve the flexibility of shoe body customization and solve the technical problem of complexity and inconvenience in shoe body figure and color matching setting processes.
In a first aspect, an embodiment of the present application provides a shoe body-specific customization method based on image recognition, including:
acquiring a target image, identifying a target graph and color information in the target image, and determining master color matching information and slave color matching information of the color information;
introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component;
and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component.
Further, determining master color matching information and slave color matching information of the color information comprises:
and determining the area ratio of each piece of color information in the target image, selecting the color information with the largest area ratio as main color matching information, and using the rest color information as auxiliary color matching information.
Further, after identifying the target pattern and the color information in the target image, the method further includes:
and constructing a color matching rendering option based on the color information so as to select color matching rendering display of each target component.
Further, performing color rendering display of the main design component based on the main color information includes:
and when the main design component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the main design component based on the main color matching information.
Further, after performing color rendering display of the top layer, the bottom layer, or the designated layer of the main design component based on the main color information, the method further includes:
and performing color matching rendering display on the rest layers of the main design component based on the color matching rendering options.
Further, performing color matching rendering display of the slave design part based on the slave color matching information includes:
and randomly selecting one of the slave color matching information from a plurality of slave color matching information to perform color matching rendering display of one slave design part.
Further, performing color matching rendering display of the slave design part based on the slave color matching information includes:
and if the slave design component comprises a plurality of different layers or different areas, performing color matching rendering display of the different layers or different areas of the slave design component based on the plurality of slave color matching information.
In a second aspect, embodiments of the present application provide a shoe body-specific customization device based on image recognition, including:
the identification module is used for acquiring a target image, identifying a target graph and color information in the target image, and determining main color matching information and auxiliary color matching information of the color information;
the positioning module is used for importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a master design component and a slave design component from each target component;
and the design module is used for performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory to store one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of image recognition-based shoe body-specific customization as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the method for image recognition-based shoe body-specific customization as described in the first aspect when executed by a computer processor.
The method comprises the steps of identifying a target graph and color information in a target image by obtaining the target image, and determining main color matching information and auxiliary color matching information of the color information; introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component; and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component. By adopting the technical means, the efficiency of setting the figures and the color matching of the shoe body can be improved, the design effects of the figures and the color matching are optimized, and the flexibility of customizing the shoe body is improved.
Drawings
FIG. 1 is a flow chart of a method for customizing shoe body exclusive based on image recognition according to an embodiment of the present application;
FIG. 2 is a flowchart of a shoe rendering display in accordance with a first embodiment of the present application;
FIG. 3 is a schematic structural diagram of a shoe body exclusive customization device based on image recognition according to the 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 shoe body customization method based on image recognition according to an embodiment of the present invention, and the shoe body customization method based on image recognition according to the embodiment may be performed by a shoe body customization device based on image recognition, which may be implemented by software and/or hardware, and may be formed by two or more physical entities or one physical entity. Generally, the customized device specific to the shoe body based on image recognition can be a computer, a mobile phone, a tablet and other processing devices.
The following description will be given taking the image recognition-based shoe body exclusive customization apparatus as an example of a main body for executing the image recognition-based shoe body exclusive customization method. Referring to fig. 1, the image recognition-based shoe body exclusive customization method specifically includes:
s110, obtaining a target image, identifying a target graph and color information in the target image, and determining main color matching information and auxiliary color matching information of the color information.
When the exclusive customization of the shoe body is carried out, an image is input, the image is defined as a target image, the target image is obtained by utilizing the image information provided in the target image, and the color information provided in the target image is identified. The method is used for displaying and setting the rendering of each part for preparing color or graphic rendering in the currently customized shoe body three-dimensional model, so that the setting efficiency of the exclusive customization of the shoe body is improved, the exclusive customization effect of the shoe body is optimized, the exclusive customization experience of the shoe body is optimized, and meanwhile, the flexibility of color matching and graphic setting of the shoe body is also improved.
Illustratively, when a designer customizes the shoe body exclusively on the shoe body design application platform, the designer inputs a target image, and obtains color information contained in the target image by using the relevant image and color information provided by the target image, so as to customize the current shoe body color exclusively. Before this, when users see things or images which are happy, the users can be used as target images to provide target graphics and color information by shooting the target images or downloading the corresponding target images. When the exclusive customization of the shoe body is carried out, the target image is input into the exclusive customization equipment of the shoe body, the target image is detected and identified through the target image, and then the color matching and the graphic rendering display of the shoe body which is being designed are carried out according to the detected and identified target image and color information.
Subsequently, when the color matching and the graphic setting of the specially customized shoe are carried out, the color matching and the graphic rendering display of the shoe body which is being designed at present can be carried out based on the collected color matching information of the target graphic by leading in the three-dimensional shoe body model. For example, a user may want to convert the cartoon graphics and associated color information provided on a cartoon image to a currently customized model of the shoe body. And then the cartoon image is input into the special customization equipment of the shoe body to acquire the cartoon image and the color information in the image, and then the special customization equipment of the shoe body positions each part needing to be subjected to image and color matching configuration in the three-dimensional model of the shoe body according to the identified target image and color matching information. Defining the parts as target parts, and rendering the target graphics and the color matching information to the corresponding target parts.
Optionally, when the color matching and the pattern setting of the shoe body are performed, a target image is input, and the target image needs to contain a corresponding pattern and a corresponding color, so that the target pattern is detected and identified through the target detection model, and color information is obtained according to image characteristics. Generally speaking, for the target image inputted into the customized device specific to the shoe body, first, it is determined whether the current target image meets the standard (i.e. whether the current target image includes figures and colors), if yes, the detection of the figure and color information of the target is further performed, and if not, the prompt that the image does not meet the standard is outputted, so as to inform the user of inputting the correct target image.
Before that, an object detection model needs to be constructed in advance to detect and identify the object pattern. In order to train the target detection model of the target graph, image information including various target graphs needs to be collected as a training data set, and then rectangular frames of the target graph are manually marked from the image information one by one to serve as marking data. And further designing a neural network structure and a loss function of the target detection model of the target graph, and training network parameters of the target detection model of the target graph by using the labeling data. After model training is completed, the model structure and parameters are saved for subsequent target detection. The detection of the target graph can 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 exclusive customization equipment of the embodiment of the application. The target image input by the user is input into the target detection model, and the detection frame of the target image in the target image can be output through model calculation and processing, so that the detection of the target image is completed.
Further, edge detection is carried out on the rectangular frame of the target graph to determine outline information of the target graph, and the outline information is used for constructing rendering display information of the target graph. When the edge of the target graph is detected, firstly, the outline points of the target graph are roughly detected, then the originally detected outline points are connected through a link rule, meanwhile, the omitted border points are detected and connected, and the false border is removed, so that the outline information of the target graph based on the outline of the target graph is obtained, and the rendering display information can be correspondingly constructed, so that the subsequent target graph rendering can be conveniently carried out by using the outline information of the target graph. It should be noted that there are many edge detection methods based on an image, and a specific detection algorithm is not fixedly limited in the embodiment of the present application, which is not described herein again.
On the other hand, by recognizing the image feature of the target image, the color information thereof can be determined based on the image feature. For example, the target 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 of different areas of the target image, and the color information of the current target image 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.
Specifically, in the exclusive customization process of the shoe body, part of the parts with larger areas need to be emphatically designed for drawing and color matching, and the rest parts with smaller areas only need to be simply designed for color matching. Optionally, according to the actual needs of the user, the main design component and the secondary design component in the three-dimensional shoe body model can be preset in advance, so that different components can be subsequently divided for graphical or color rendering display.
Based on this, when identifying color information, the embodiment of the application further determines master color matching information and slave color matching information from the plurality of identified color information, so as to facilitate subsequent color matching rendering display of different components.
When the main color matching information and the auxiliary color matching information of the color information are determined, the area ratio of each piece of color information in the target image is determined, the color information with the largest area ratio is selected as the main color matching information, and the rest pieces of color information are used as the auxiliary color matching information. The area proportion of different RGB values (namely different colors) in the target image is determined, the area with the largest area proportion is taken as the main color matching information, and the rest color matching information is correspondingly set as the auxiliary color matching information. It should be noted that, if only one kind of color information exists in the target image, both the master and slave color matching information are set with the color information.
S120, importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a secondary design component from each target component.
Furthermore, based on the determined color matching information and the target graph, the operation of setting the color matching and the graph of the shoe body can be carried out, and the exclusive customization of the color matching and the graph of the shoe body is realized. The shoe body three-dimensional model to be provided with the color matching and the figures is introduced and is formed by combining a plurality of components. When color matching and graphic arrangement of the three-dimensional shoe body model are carried out, various components in the three-dimensional shoe body model, such as a vamp, a shoelace, a tongue, a midsole and an outsole, are firstly determined and defined as target components. By positioning the positions of the target components, when the shoe body is subjected to color matching and exclusive customization of the figures, one target component is selected, and then the color information or the target figure is used for rendering and displaying each target component according to the identified color information or the target figure. By analogy, the corresponding color information and the target graph are respectively used for rendering and displaying each target component, and exclusive customization of the graph and the color information of the whole shoe body three-dimensional model can be completed.
The method mainly comprises the step of rendering and displaying a main design component and a secondary design component in a three-dimensional model of a shoe body, so that the main design component and the secondary design component are required to be selected from the positioned target components when the target components are positioned. Generally, the customized apparatus specific to the shoe body pre-designates the main design components. If the upper is designated as the master design element, the remaining target elements are the slave design elements. Because the vamp occupies a large design area of the shoe body, the rendering display is carried out, so that the vamp can visually display the main image information (including colors and figures) of the target image, the target image is completely converted to the shoe body to be displayed, and a good rendering display effect is realized. According to actual design requirements, corresponding master-slave design components can be pre-designated. In the embodiment of the present application, no fixed limitation is imposed on the master-slave design component, and details are not repeated herein.
For example, referring to fig. 2, when color matching and graphic setting are performed, by performing color matching and graphic detection and recognition on a target image input by a user, shoe body rendering display is performed by using the recognized color information and the target image. For the three-dimensional shoe body model of the importing device, by positioning each target part of the three-dimensional shoe body model, including parts such as a vamp, a shoelace, a tongue, a midsole and an outsole, a main design part and a secondary design part are determined, and then corresponding color information or target graphics are used for rendering and displaying.
S130, performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component.
Specifically, according to the positioned main design component and the slave design component, the determined color information or the target image is used for rendering and displaying. And for the main design component, performing color matching rendering display by using the predetermined main color matching information, and rendering and displaying the target graph to the main design component after the color matching rendering. It can be understood that, in order to avoid the outline of the target graphic being blocked by the main color matching information, the rendering of the main color matching information is performed first, and then the rendering and display of the target graphic are performed. Therefore, the graphic and color matching rendering display effect of the main design part can be guaranteed, the condition that the graphic display is influenced by color matching shielding is avoided, and the rendering display effect is optimized.
On the other hand, for the slave design parts, color rendering display of each slave design part is correspondingly performed by extracting each color information. When each slave design component is subjected to rendering display, one slave color matching information is randomly selected from a plurality of slave color matching information to perform color matching rendering display of one slave design component. It will be appreciated that, since the number of the slave color matching information may be multiple, when performing the color matching rendering of the design component, a random selection may be used to select one slave color matching information from the multiple slave color matching information for performing the current color matching rendering of the design component. And by parity of reasoning, completing color matching rendering of all the slave design components.
Illustratively, the upper is the master design element and the remaining target elements are the slave design elements. When a user wants to convert the image characteristics of a favorite target image to the designed shoe body, the target image is input into the shoe body exclusive customization equipment. After the target image is input into the exclusive shoe body customizing device, the exclusive shoe body customizing device firstly determines the target image, the corresponding master color matching information and the slave color matching information. And then when carrying out the exclusive customization of shoes body, the vamp of location shoes body three-dimensional model and other target parts (like parts such as shoelace, tongue, insole and outsole) with main information of matching colors and target figure render to vamp position department, will follow the information of matching colors and render to shoelace, tongue, insole and outsole etc. from the design part to this accomplishes the exclusive customization of shoes body of this application embodiment.
Optionally, the shoe body exclusive customization equipment can also construct a color matching rendering option based on the color information for selection of color matching rendering display of each target component. When the user sets the color matching of the shoe body, the user can also set the color matching by selecting the corresponding color matching rendering option. By taking the vamp color matching setting as an example, when the vamp color matching setting is carried out, the exclusive shoe body customization equipment provides a user with rendering display options to select through the display selection list, the user interacts with the exclusive shoe body customization equipment, the rendering display options containing corresponding color information in the selection list are selected in a checking mode, the color information of the rendering display options selected by the user is further determined, and the color information is used for the vamp color matching setting of the current shoe body three-dimensional model.
Similarly, corresponding rendering display options can be constructed for the target graph so as to be selected by the user, and a more personalized exclusive shoe customization effect is realized. For example, when the user needs to render and display the target graphics on the tongue, by checking the rendering and displaying options corresponding to the target graphics, the target graphics in the rendering and displaying options are extracted by positioning the tongue target component of the three-dimensional shoe body model, and the target graphics are used for performing graphics rendering and displaying on the tongue of the target component of the current three-dimensional shoe body model.
By analogy, different rendering display options are selected, a corresponding target component is found based on the rendering display options, color information or a target graph in the rendering display options is further extracted, and the color information or the target graph is used for rendering and displaying the target component of the current shoe body three-dimensional model. Corresponding to different target parts of the three-dimensional model of the shoe body, a user can quickly and accurately convert some favorite figures or color matching to the specially customized shoe body by checking different rendering display options, so that the color matching and the figure setting of the shoe body are greatly facilitated, and the special customization experience of the user is optimized.
In an embodiment, if the user selects the target graphic and the rendering display option corresponding to the color information, the corresponding color information is rendered and displayed to the bottom layer of the target component, and the target graphic is rendered and displayed to the top layer of the target component. It can be understood that when the target graphic and the color information are displayed on the same target component, if the target graphic is rendered on the bottom layer and the color information is rendered on the top layer, the target graphic is covered by the color information, and the display of the target graphic is affected. Based on the method, the color information is specified to be rendered and displayed to the bottom layer of the target component, and the target graph is rendered and displayed to the top layer of the target component, so that the rendering and displaying stability of the target graph is achieved, and the graph is guaranteed to be successfully rendered and displayed.
In another embodiment, if the user has selected the rendering display options of the color information, the corresponding color information is rendered and displayed to different layers or different areas of the target component. It is to be understood that, when the rendering display option includes a plurality of color information, the rendering display of the target component is performed using the plurality of color information. For example, when a plurality of color information rendering displays are performed on the target image shoe upper, a plurality of color schemes are rendered and displayed to different layers or different areas of the target component when shoe upper color schemes of the three-dimensional shoe body model are performed. 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 upper color matching setting is performed on the shoe body three-dimensional model, the main color matching contained in the target image 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.
Optionally, when the main design component includes a plurality of layers, performing color rendering display of a top layer, a bottom layer, or a designated layer of the main design component based on the main color information. For example, taking the upper of a shoe as the primary design element, the upper may include multiple layers, with different layers being overlapped together. When the vamp is subjected to color matching rendering, the main color matching information only contains one piece of color information, and if the color matching rendering display of the whole vamp is carried out based on the color information, 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 shoe body specific customization facility also performs a color rendering display of the remaining layers of the main design component based on the color rendering options. And performing color matching rendering display on the rest layers of the main design component by randomly selecting the rendering display options of each piece of color information. It is understood that for a multi-layer target component, only one layer is rendered and displayed by using the color information, and for the rest layers, color matching rendering can be performed according to the pre-constructed color matching rendering options, so that the color matching setting of the target component meets the actual requirement of the user.
In another embodiment, in a scene in which a graphic rendering display of a target component is performed based on a rendering display option of a target graphic selected by a user, when the target component includes multiple layers, a rendering display of a designated area or a designated layer of the target component is performed based on the corresponding target graphic. It will be appreciated that if a target component includes multiple layers, placing the target graphic on some layers (e.g., the bottom layer) may result in the graphic element being obscured by other layers above. Based on the method, the partial area or one layer of the target component is specified in advance to be used for performing target graphic rendering display, so that the stability of the target graphic rendering display is guaranteed, and the graphic rendering display is ensured to be successful.
Optionally, for the rendering display option selected by each target component, in the embodiment of the application, a mapping relationship between the target component and the corresponding target graph or the corresponding color information is constructed, where the mapping relationship is used for a user to select a graph or color matching setting operation. It will be appreciated that for each target component and its rendering display options used, color matching and one-key configuration of target graphics may be performed based on the mapping relationships subsequently upon exclusive customization of other three-dimensional models of the shoe body. The user only needs to query the mapping relation according to the target component which needs to be customized according to the current three-dimensional model of the shoe body, and determines the mapping relation containing the information of the corresponding component, so that the rendering display options in the mapping relation can be extracted for configuring the current target component. The exclusive customization of the shoe body is faster and more efficient, and the shoe body customization experience of a user is further optimized.
In one embodiment, if the slave design part comprises a plurality of different layers or different areas, color matching rendering display of the different layers or different areas of the slave design part is performed based on a plurality of slave color matching information. And configuring slave color matching information one by positioning different layers or components according to the color matching rendering display modes of different layers or different components of the main design component so as to complete the color matching setting of the slave design component.
The target image is obtained, the target graph and the color information in the target image are identified, and the master color matching information and the slave color matching information of the color information are determined; introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component; and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component. By adopting the technical means, the efficiency of setting the figures and the color matching of the shoe body can be improved, the design effects of the figures and the color matching are optimized, and the flexibility of customizing the shoe body is improved.
The second embodiment:
on the basis of the above embodiments, fig. 3 is a schematic structural diagram of a shoe body exclusive customization device based on image recognition according to the second embodiment of the present application. Referring to fig. 3, the image recognition-based shoe body specific customization device provided in this embodiment specifically includes: an identification module 21, a positioning module 22 and a design module 23.
The identification module 21 is configured to obtain a target image, identify a target pattern and color information in the target image, and determine master color matching information and slave color matching information of the color information;
the positioning module 22 is used for importing a shoe three-dimensional model, positioning each target component in the shoe three-dimensional model, and selecting a master design component and a slave design component from each target component;
the design module 23 is configured to perform color matching rendering display of the main design component based on the main color matching information, perform color matching rendering display of the slave design component based on the slave color matching information, and render the target graphics to the main design component.
Specifically, the identification module 21 is specifically configured to determine an area ratio of each piece of color information in the target image, select the color information with the largest area ratio as the master color matching information, and use the remaining pieces of color information as the slave color matching information.
The design module 23 is further configured to construct a color rendering option based on the color information for selection of a color rendering display of each of the target components.
The design module 23 is specifically configured to, when the main design component includes multiple layers, perform color rendering display on a top layer, a bottom layer, or a designated layer of the main design component based on the main color information; and performing color matching rendering display on the rest layers of the main design component based on the color matching rendering options.
The design module 23 is specifically configured to select one of the slave color matching information from the multiple slave color matching information at random to perform color matching rendering display of one of the slave design components; and if the slave design component comprises a plurality of different layers or different areas, performing color matching rendering display of the different layers or different areas of the slave design component based on the plurality of slave color matching information.
The target image is obtained, the target graph and the color information in the target image are identified, and the master color matching information and the slave color matching information of the color information are determined; introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component; and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component. By adopting the technical means, the efficiency of setting the figures and the color matching of the shoe body can be improved, the design effects of the figures and the color matching are optimized, and the flexibility of customizing the shoe body is improved.
The image recognition-based shoe body exclusive customization device provided by the second embodiment of the application can be used for executing the image recognition-based shoe body exclusive customization method 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 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the image recognition-based shoe body customization method according to any of the embodiments of the present application (e.g., identification module, positioning module, and design module in the image recognition-based shoe body customization device). 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, namely, the above-mentioned shoe body exclusive customization method based on image recognition is realized.
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 can be used for executing the image recognition-based shoe body exclusive customization method provided by the embodiment, and has corresponding functions and benefits.
Example four:
embodiments of the present application also provide a storage medium containing computer-executable instructions that, when executed by a computer processor, are configured to perform a method for image recognition-based shoe-specific customization, the method comprising: acquiring a target image, identifying a target graph and color information in the target image, and determining master color matching information and slave color matching information of the color information; introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component; and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component.
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 shoe body specific customization method based on image recognition as described above, but can also perform related operations in the shoe body specific customization method based on image recognition as provided in any embodiments of the present application.
The image recognition-based shoe body exclusive customization method provided in any of the embodiments of the present application can be performed by the image recognition-based shoe body exclusive customization device, the storage medium and the electronic device provided in the embodiments of the present application, and the technical details not described in detail in the embodiments of the present application can be referred to the image recognition-based shoe body exclusive customization method provided in any of the 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 shoe body exclusive customization method based on image recognition is characterized by comprising the following steps:
acquiring a target image, identifying a target graph and color information in the target image, and determining master color matching information and slave color matching information of the color information;
introducing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a main design component and a slave design component from each target component;
and performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component.
2. The image recognition-based shoe body specific customization method according to claim 1, wherein determining master and slave color matching information of the color information comprises:
and determining the area ratio of each piece of color information in the target image, selecting the color information with the largest area ratio as main color matching information, and using the rest color information as auxiliary color matching information.
3. The image recognition-based shoe body-specific customization method according to claim 1, further comprising, after recognizing the target figure and color information in the target image:
and constructing a color matching rendering option based on the color information so as to select color matching rendering display of each target component.
4. The image recognition-based shoe body exclusive customization method according to claim 3, wherein performing color-matching rendering display of the main design component based on the main color-matching information comprises:
and when the main design component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the main design component based on the main color matching information.
5. The image recognition-based shoe body-specific customization method according to claim 4, further comprising, after performing the color-rendering display of the top layer, the bottom layer, or the designated layer of the main design component based on the main color information:
and performing color matching rendering display on the rest layers of the main design component based on the color matching rendering options.
6. The image recognition-based shoe body-specific customization method according to claim 1, wherein performing the color-matching rendering display of the slave design component based on the slave color-matching information comprises:
and randomly selecting one of the slave color matching information from a plurality of slave color matching information to perform color matching rendering display of one of the slave design parts.
7. The image recognition-based shoe body-specific customization method according to claim 1, wherein performing the color-matching rendering display of the slave design component based on the slave color-matching information comprises:
and if the slave design component comprises a plurality of different layers or different areas, performing color matching rendering display of the different layers or different areas of the slave design component based on the plurality of slave color matching information.
8. A shoe body exclusive customization device based on image recognition is characterized by comprising:
the identification module is used for acquiring a target image, identifying a target graph and color information in the target image, and determining main color matching information and auxiliary color matching information of the color information;
the positioning module is used for importing a shoe body three-dimensional model, positioning each target component in the shoe body three-dimensional model, and selecting a master design component and a slave design component from each target component;
and the design module is used for performing color matching rendering display of the main design component based on the main color matching information, performing color matching rendering display of the slave design component based on the slave color matching information, and rendering the target graph to the main design component.
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 image recognition-based shoe body-specific customization method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of image recognition-based shoe body-specific customization according to any one of claims 1-7 when executed by a computer processor.
CN202210130317.1A 2022-02-11 2022-02-11 Image recognition-based shoe body exclusive customization method and device Pending CN114612608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210130317.1A CN114612608A (en) 2022-02-11 2022-02-11 Image recognition-based shoe body exclusive customization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210130317.1A CN114612608A (en) 2022-02-11 2022-02-11 Image recognition-based shoe body exclusive customization method and device

Publications (1)

Publication Number Publication Date
CN114612608A true CN114612608A (en) 2022-06-10

Family

ID=81858873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210130317.1A Pending CN114612608A (en) 2022-02-11 2022-02-11 Image recognition-based shoe body exclusive customization method and device

Country Status (1)

Country Link
CN (1) CN114612608A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114861247A (en) * 2022-07-06 2022-08-05 广东时谛智能科技有限公司 Method, device, equipment and storage medium for generating shoe body model based on simple design

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177525A (en) * 2008-07-29 2011-09-07 彩滋网站公司 Product customization system and method
CN105608614A (en) * 2015-12-24 2016-05-25 曹晶晶 Shoe online customization method and system as well as terminal device
US20170272728A1 (en) * 2016-03-16 2017-09-21 Aquifi, Inc. System and method of three-dimensional scanning for customizing footwear
CN110796721A (en) * 2019-10-31 2020-02-14 北京字节跳动网络技术有限公司 Color rendering method and device of virtual image, terminal and storage medium
CN111047511A (en) * 2019-12-31 2020-04-21 维沃移动通信有限公司 Image processing method and electronic equipment
CN111095258A (en) * 2017-06-29 2020-05-01 最佳应用有限责任公司 Computer-assisted system and method for creating customized products

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177525A (en) * 2008-07-29 2011-09-07 彩滋网站公司 Product customization system and method
CN105608614A (en) * 2015-12-24 2016-05-25 曹晶晶 Shoe online customization method and system as well as terminal device
US20170272728A1 (en) * 2016-03-16 2017-09-21 Aquifi, Inc. System and method of three-dimensional scanning for customizing footwear
CN111095258A (en) * 2017-06-29 2020-05-01 最佳应用有限责任公司 Computer-assisted system and method for creating customized products
CN110796721A (en) * 2019-10-31 2020-02-14 北京字节跳动网络技术有限公司 Color rendering method and device of virtual image, terminal and storage medium
CN111047511A (en) * 2019-12-31 2020-04-21 维沃移动通信有限公司 Image processing method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田保传,陶国富,黄晞建: "《中国大学生百科知识》", 31 May 1996 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114861247A (en) * 2022-07-06 2022-08-05 广东时谛智能科技有限公司 Method, device, equipment and storage medium for generating shoe body model based on simple design

Similar Documents

Publication Publication Date Title
CN114155328A (en) Shoe body exclusive customization method and device based on graphic elements and color matching data
CN114445554B (en) Special customization method and device for shoe body, electronic equipment and storage medium
CN114399615A (en) Efficient shoe color matching setting method and device based on three-dimensional model
CN109670558B (en) Digital image completion using deep learning
US9396560B2 (en) Image-based color palette generation
US9245350B1 (en) Image-based color palette generation
US9135719B1 (en) Color name generation from images and color palettes
US20150366293A1 (en) Footwear Designing Tool
CN114612607A (en) Shoe body design method and device based on three-dimensional model
CN107943924B (en) Method for automatically generating webpage theme, storage medium and electronic equipment
CN108108215B (en) Skin generation method, device, terminal and computer readable storage medium
CN111932664A (en) Image rendering method and device, electronic equipment and storage medium
CN114882167B (en) Shoe logo design method and device based on association elements
CN112163577B (en) Character recognition method and device in game picture, electronic equipment and storage medium
CN115081043B (en) Method, device, equipment and storage medium for determining characteristic data in shoe body design
CN115024559B (en) Custom shoe model design method and device based on user custom information
CN114612608A (en) Image recognition-based shoe body exclusive customization method and device
CN114627247A (en) Color matching design method and device for football shoe logo
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
CN114648441A (en) Method and apparatus for shoe body design based on dynamic foot pressure distribution
US11501409B2 (en) Electronic device for image synthesis and operating method thereof
CN104104931A (en) Color extraction-based image processing method and digital image apparatus
CN112036492A (en) Sample set processing method, device, equipment and storage medium
CN114611177A (en) Shoe body accessory customization method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220610