[go: up one dir, main page]

CN114445554B - A shoe body exclusive customization method, device, electronic equipment and storage medium - Google Patents

A shoe body exclusive customization method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114445554B
CN114445554B CN202111598728.5A CN202111598728A CN114445554B CN 114445554 B CN114445554 B CN 114445554B CN 202111598728 A CN202111598728 A CN 202111598728A CN 114445554 B CN114445554 B CN 114445554B
Authority
CN
China
Prior art keywords
color matching
target
option
color
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.)
Expired - Fee Related
Application number
CN202111598728.5A
Other languages
Chinese (zh)
Other versions
CN114445554A (en
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 CN202111598728.5A priority Critical patent/CN114445554B/en
Publication of CN114445554A publication Critical patent/CN114445554A/en
Application granted granted Critical
Publication of CN114445554B publication Critical patent/CN114445554B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本申请实施例公开了一种鞋体专属定制方法、装置、电子设备及存储介质。本申请实施例提供的技术方案,通过输入目标图像,基于目标检测模型识别目标图像中鞋体的各个指定部件;确定各个指定部件的配色数据,根据指定部件与对应的配色数据构建配色选项,基于各个配色选项生成配色选择列表;在进行当前鞋体三维模型的专属定制时,响应于用户对配色选择列表的勾选操作,确定用户勾选的配色选项为目标选项,并基于目标选项中的指定部件定位鞋体三维模型的目标部件,基于目标选项中的配色数据进行目标部件的配色渲染显示。采用上述技术手段,能够提升鞋体配色设置效率,提升鞋体配色设置的灵活性,优化鞋体专属定制体验。

Figure 202111598728

The embodiment of the present application discloses a shoe body exclusive customization method, device, electronic equipment and storage medium. In the technical solution provided by the embodiment of the present application, by inputting the target image, each specified component of the shoe body in the target image is identified based on the target detection model; the color matching data of each specified component is determined, and the color matching option is constructed according to the specified component and the corresponding color matching data, based on Each color matching option generates a color matching selection list; when performing exclusive customization of the current 3D shoe body model, in response to the user's check operation on the color matching selection list, it is determined that the color matching option checked by the user is the target option, and based on the specification in the target option The component locates the target component of the 3D model of the shoe body, and performs color rendering and display of the target component based on the color matching data in the target option. Using the above-mentioned technical means can improve the efficiency of shoe body color matching setting, improve the flexibility of shoe body color matching setting, and optimize the exclusive customization experience of shoe body.

Figure 202111598728

Description

一种鞋体专属定制方法、装置、电子设备及存储介质A shoe body exclusive customization method, device, electronic equipment and storage medium

技术领域technical field

本申请实施例涉及计算机技术领域,尤其涉及一种鞋体专属定制方法、装置、电子设备及存储介质。The embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, electronic equipment, and storage medium for exclusive customization of shoe bodies.

背景技术Background technique

随着制鞋产业的发展创新,鞋体设计技术也在不断地发展进步。目前,通过计算机,可以实现鞋体三维模型的构建、设计乃至鞋体配色和图形的渲染显示。借助这一技术,在鞋业销售平台,为了提升用户体验,通过提供鞋体专属定制功能,以便于用户定制自己想要的鞋体配色。一般而言,在进行鞋体专属定制时,通过提供一个鞋体三维模型,用户点击鞋体三维模型的某个部件,然后选择平台提供的配色选项进行对应部件的配色设置。通过在模型上渲染显示相关配色信息,用户即可直观地看到自己选择定制的鞋体的配色设置效果,为鞋体专属定制提供便利。With the development and innovation of the shoe-making industry, shoe body design technology is also constantly developing and progressing. At present, through the computer, the construction and design of the three-dimensional model of the shoe body, as well as the rendering and display of the color matching and graphics of the shoe body can be realized. With the help of this technology, in order to improve the user experience on the shoe sales platform, the exclusive customization function of the shoe body is provided so that users can customize the color matching of the shoe body they want. Generally speaking, when customizing the shoe body, by providing a 3D shoe body model, the user clicks on a part of the shoe body 3D model, and then selects the color matching option provided by the platform to set the color matching of the corresponding part. By rendering and displaying relevant color matching information on the model, users can intuitively see the color setting effect of the shoe body they choose to customize, which provides convenience for the exclusive customization of the shoe body.

但是,由于鞋体部件相对较多,各个部件需要逐一选择设置配色,整个配色设置过程相对繁杂。并且,用户只能根据平台提供的配色选项进行配色设置,整个配色设置过程缺乏灵活性。However, due to the relatively large number of shoe body parts, each part needs to be selected one by one to set the color matching, and the whole color matching setting process is relatively complicated. Moreover, users can only set color matching according to the color matching options provided by the platform, and the entire color matching setting process lacks flexibility.

发明内容Contents of the invention

本申请实施例提供一种鞋体专属定制方法、装置、电子设备及存储介质,能够提升鞋体配色设置效率,优化鞋体专属定制体验,解决鞋体配色设置流程繁杂不便的技术问题。The embodiment of the present application provides a shoe body exclusive customization method, device, electronic equipment and storage medium, which can improve the efficiency of shoe body color matching setting, optimize the shoe body exclusive customization experience, and solve the technical problem of complicated and inconvenient shoe body color matching setting process.

在第一方面,本申请实施例提供了一种鞋体专属定制方法,包括:In the first aspect, the embodiment of the present application provides a shoe body exclusive customization method, including:

输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件;Input the target image, and identify each specified part of the shoe body in the target image based on the target detection model;

确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表;determining the color matching data of each of the specified components, constructing a color matching option according to the specified component and the corresponding color matching data, and generating a color matching selection list based on each of the color matching options;

在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示。When performing exclusive customization of the current three-dimensional shoe body model, in response to the user's check operation on the color matching selection list, determine the color matching option checked by the user as the target option, and based on the specified in the target option The component locates the target component of the three-dimensional shoe body model, and performs color rendering and display of the target component based on the color matching data in the target option.

进一步地,确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,包括:Further, determining the color matching data of each specified component, constructing a color matching option according to the specified component and the corresponding color matching data, including:

识别所述指定部件的多个配色数据,构建所述指定部件与对应的多个所述配色数据的配色选项;identifying a plurality of color matching data of the specified component, and constructing color matching options for the specified component and the corresponding multiple color matching data;

对应的,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,包括:Correspondingly, performing color rendering and display of the target component based on the color matching data in the target option, including:

基于多个配色数据进行所述目标部件中,不同层面或者不同区域的配色渲染显示。The color rendering and display of different levels or different regions in the target component is performed based on multiple color matching data.

进一步地,在确定各个所述指定部件的配色数据之后,还包括:Further, after determining the color matching data of each specified component, it also includes:

基于所述配色数据构建配色渲染选项,以供选择进行各个所述目标部件的配色渲染显示。Constructing color matching rendering options based on the color matching data, for selection to perform color matching rendering display of each of the target components.

进一步地,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,包括:Further, performing color rendering and display of the target component based on the color matching data in the target option includes:

在所述目标部件包含多个层面时,基于所述配色数据进行所述目标部件的顶部层面、底部层面或者指定层面的配色渲染显示。When the target component includes multiple levels, perform color rendering and display of the top level, bottom level or specified level of the target component based on the color matching data.

进一步地,在基于所述配色数据进行所述目标部件的顶部层面、底部层面或者指定层面的配色渲染显示之后,还包括:Further, after performing color rendering and display of the top level, bottom level or specified level of the target component based on the color matching data, it also includes:

基于所述配色渲染选项进行所述目标部件其余层面的配色渲染显示。Perform color rendering and display of other levels of the target component based on the color color rendering option.

进一步地,基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,还包括:Further, locating the target component of the three-dimensional shoe body model based on the specified component in the target option, performing color rendering and display of the target component based on the color matching data in the target option, further comprising:

若当前所述目标部件没有对应的所述配色数据,则随机选择所述配色渲染选项进行当前所述目标部件的配色渲染显示。If the current target component does not have the corresponding color matching data, randomly select the color matching rendering option to perform color matching rendering and display of the current target component.

进一步地,基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,还包括:Further, locating the target component of the three-dimensional shoe body model based on the specified component in the target option, performing color rendering and display of the target component based on the color matching data in the target option, further comprising:

若当前所述目标部件没有对应的所述配色数据,则从所述配色渲染选项中选择所述目标图像的主配色选项,基于所述主配色选项进行当前所述目标部件的配色渲染显示。If the current target component does not have the corresponding color matching data, select a main color matching option of the target image from the color matching rendering options, and perform color matching rendering and display of the current target component based on the main color matching option.

在第二方面,本申请实施例提供了一种鞋体专属定制装置,包括:In the second aspect, the embodiment of the present application provides a shoe body exclusive customization device, including:

检测模块,用于输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件;A detection module, configured to input a target image, and identify each designated component of the shoe body in the target image based on a target detection model;

构建模块,用于确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表;A construction module, configured to determine the color matching data of each of the specified components, construct a color matching option according to the specified component and the corresponding color matching data, and generate a color matching selection list based on each of the color matching options;

配色模块,用于在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示。The color matching module is used to determine the color matching option checked by the user as the target option in response to the user's ticking operation on the color matching selection list when performing exclusive customization of the current shoe body three-dimensional model, and based on the target option The specified component in the locating the target component of the three-dimensional shoe body model, and performing color rendering and display of the target component based on the color matching data in the target option.

在第三方面,本申请实施例提供了一种电子设备,包括:In a third aspect, an embodiment of the present application provides an electronic device, including:

存储器以及一个或多个处理器;memory and one or more processors;

所述存储器,用于存储一个或多个程序;The memory is used to store one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的鞋体专属定制方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the shoe body-specific customization method as described in the first aspect.

在第四方面,本申请实施例提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的鞋体专属定制方法。In the fourth aspect, the embodiment of the present application provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the shoe body-specific customization method as described in the first aspect when executed by a computer processor .

本申请实施例通过输入目标图像,基于目标检测模型识别目标图像中鞋体的各个指定部件;确定各个指定部件的配色数据,根据指定部件与对应的配色数据构建配色选项,基于各个配色选项生成配色选择列表;在进行当前鞋体三维模型的专属定制时,响应于用户对配色选择列表的勾选操作,确定用户勾选的配色选项为目标选项,并基于目标选项中的指定部件定位鞋体三维模型的目标部件,基于目标选项中的配色数据进行目标部件的配色渲染显示。采用上述技术手段,能够提升鞋体配色设置效率,提升鞋体配色设置的灵活性,优化鞋体专属定制体验,解决鞋体配色设置流程繁杂不便的技术问题。In the embodiment of the present application, by inputting the target image, each specified component of the shoe body in the target image is identified based on the target detection model; the color matching data of each specified component is determined, the color matching option is constructed according to the specified component and the corresponding color matching data, and the color matching is generated based on each color matching option Selection list; when performing exclusive customization of the current 3D model of the shoe body, in response to the user's check operation on the color selection list, determine the color option selected by the user as the target option, and position the 3D shoe body based on the specified components in the target option The target part of the model, based on the color matching data in the target option, the color rendering and display of the target part is performed. The above-mentioned technical means can improve the efficiency of shoe body color setting, improve the flexibility of shoe body color setting, optimize the exclusive customization experience of shoe body, and solve the technical problem of complicated and inconvenient shoe body color setting process.

附图说明Description of drawings

图1是本申请实施例一提供的一种鞋体专属定制方法的流程图;Fig. 1 is a flow chart of a shoe body exclusive customization method provided in Embodiment 1 of the present application;

图2是本申请实施例中的鞋体配色的流程图;Fig. 2 is the flow chart of the shoe body color matching in the embodiment of the present application;

图3是本申请实施例二提供的一种鞋体专属定制装置的结构示意图;Fig. 3 is a schematic structural diagram of a shoe body exclusive customization device provided in Embodiment 2 of the present application;

图4是本申请实施例三提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the purpose, technical solution and advantages of the present application clearer, specific embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only parts relevant to the present application are shown in the drawings but not all content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

实施例一:Embodiment one:

图1给出了本申请实施例一提供的一种鞋体专属定制方法的流程图,本实施例中提供的鞋体专属定制方法可以由鞋体专属定制设备执行,该鞋体专属定制设备可以通过软件和/或硬件的方式实现,该鞋体专属定制设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。一般而言,该鞋体专属定制设备可以是电脑,手机,平板等处理设备。Figure 1 shows a flow chart of a shoe body exclusive customization method provided in Embodiment 1 of the present application. The shoe body exclusive customization method provided in this embodiment can be executed by a shoe body exclusive customization device, and the shoe body exclusive customization device can Realized by means of software and/or hardware, the shoe body-specific customization equipment may be composed of two or more physical entities, or may be composed of one physical entity. Generally speaking, the exclusive customization device for the shoe body can be a processing device such as a computer, a mobile phone, and a tablet.

下述以该鞋体专属定制设备为执行鞋体专属定制方法的主体为例,进行描述。参照图1,该鞋体专属定制方法具体包括:The following description will be made by taking the shoe body exclusive customization equipment as the main body that executes the shoe body exclusive customization method as an example. Referring to Figure 1, the shoe body exclusive customization method specifically includes:

S110、输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件。S110. Input a target image, and identify each specified component of the shoe body in the target image based on a target detection model.

本申请实施例在进行鞋体配色专属定制时,通过输入一张鞋子图像,定义这一图像为目标图像,利用目标图像中提供的鞋体各个部件的配色数据,以进行当前正在设计的鞋体三维模型的各个部件的配色设置,以此来提升鞋体配色的设置效率,优化鞋体专属定制体验,同时还提升了鞋体配色设置的灵活性。In the embodiment of the present application, when customizing the shoe body color matching, by inputting a shoe image, defining this image as the target image, using the color matching data of each component of the shoe body provided in the target image, to carry out the shoe body currently being designed The color setting of each part of the 3D model is used to improve the efficiency of setting the color of the shoe body, optimize the exclusive customization experience of the shoe body, and also improve the flexibility of the color setting of the shoe body.

示例性地,用户在售鞋平台、定制平台等应用平台上进行鞋体专属定制时,通过输入一张鞋子图像,利用该鞋子图像提供的配色数据进行当前鞋体配色专属定制。在此之前,用户在看到自己喜欢的鞋子配色时,通过拍摄该鞋子图像或者下载相应的鞋子图像,即可在进行鞋体专属定制时,将鞋子图像输入本申请实施例的鞋体专属定制设备,通过对鞋子图像进行各个部件的鞋子配色数据的识别,进而构建鞋子指定部件与配色数据的配色选项。后续在进行自身专属定制的鞋子的配色设置时,即可通过导入鞋体三维模型,根据用户勾选的配色选项确定各个目标部件的配色数据。如,用户勾选包含指定部件鞋舌的配色选项,则通过定位鞋体三维模型的鞋舌目标部件,进而提取该配色选项中的配色数据,使用配色数据进行当前鞋体三维模型的目标部件鞋舌的配色渲染显示。以此用户即可将一些喜欢的鞋子配色快速、准确地转换到自身专属定制的鞋体上面,极大地便利了鞋体配色设置,优化了用户的专属定制体验。For example, when a user performs exclusive customization of shoe bodies on application platforms such as a shoe sales platform and a customization platform, he inputs a shoe image and uses the color matching data provided by the shoe image to carry out exclusive customization of the current shoe body color matching. Prior to this, when the user sees the color matching of the shoes he likes, by taking pictures of the shoes or downloading the corresponding shoe images, he can input the shoe images into the exclusive customization of the shoe body in the embodiment of this application when performing the exclusive customization of the shoe body. The device identifies the shoe color matching data of each part of the shoe image, and then constructs the color matching options of the specified parts of the shoe and the color matching data. When setting the color matching of your own customized shoes, you can import the 3D model of the shoe body and determine the color matching data of each target part according to the color matching options selected by the user. For example, if the user checks the color matching option that includes the tongue of the specified part, then by locating the tongue target part of the 3D model of the shoe body, the color matching data in the color matching option is extracted, and the color matching data is used to determine the target part shoe of the current 3D shoe body model. A color rendering of the tongue is shown. In this way, users can quickly and accurately transfer some favorite shoe color matching to their own customized shoe body, which greatly facilitates the shoe body color setting and optimizes the user's exclusive customization experience.

具体地,在构建配色选项进行鞋体配色设置时,通过输入一张目标图像,目标图像需包含鞋体部分,以便于通过目标检测模型检测识别到鞋体各个部件。一般而言,对于输入该鞋体专属定制设备的目标图像,首先会判断当前目标图像中是否包含鞋体部分,若是,则进一步进行鞋体各个部件的检测,若否,则输出图像不符合标准的提示,以便于告知用户输入正确的目标图像。Specifically, when building a color matching option to set the color matching of the shoe body, a target image must be input, and the target image must include the shoe body part, so that the various parts of the shoe body can be detected and identified through the target detection model. Generally speaking, for the target image input to the shoe body exclusive customization equipment, it will first judge whether the current target image contains the shoe body part, if so, then further detect the various parts of the shoe body, if not, the output image does not meet the standard , so that the user is informed to enter the correct target image.

在此之前,需要预先构建一个目标检测模型,以对鞋体以及鞋体各个指定部件进行检测识别。其中,为了训练鞋体以及鞋体各个指定部件的目标检测模型,需要收集鞋体以及各个鞋体部件的图像信息(如鞋舌图像集合、鞋面图像集合、以及各种鞋子图像集合)作为训练数据集,然后从图像信息中逐一人工标注出鞋体以及鞋体各个指定部件的矩形框,作为标注数据。进一步设计鞋体以及鞋体各个指定部件的目标检测模型的神经网络结构和损失函数,使用标注数据训练鞋体以及鞋体各个指定部件的目标检测模型的网络参数。在模型训练完成之后,保存模型结构和参数,以用于后续进行目标检测。指定部件具体可包括鞋面、鞋带、鞋舌、中底和外底等部件,通过预先构建鞋子对应部件的目标检测模型,即可用于进行指定部件的检测。根据实际需要,还可以适应性增加或者细化指定部件的检测。而目标检测模型则可以选用YOLOv5等目标检测模型,本申请实施例对具体的检测模型不做固定限制,在此不多赘述。Prior to this, a target detection model needs to be built in advance to detect and identify the shoe body and each specified part of the shoe body. Among them, in order to train the target detection model of the shoe body and each specified part of the shoe body, image information of the shoe body and each shoe body part (such as a shoe tongue image collection, a shoe upper image collection, and various shoe image collections) needs to be collected as training Data set, and then manually mark the shoe body and the rectangular frame of each specified part of the shoe body one by one from the image information as the annotation data. Further design the neural network structure and loss function of the target detection model of the shoe body and each designated part of the shoe body, and use the labeled data to train the network parameters of the target detection model of the shoe body and each designated part of the shoe body. After the model training is completed, save the model structure and parameters for subsequent target detection. Specified components may specifically include shoe uppers, shoelaces, shoe tongues, midsoles, and outsoles. By pre-constructing target detection models for corresponding components of shoes, they can be used for detection of specified components. According to actual needs, the detection of specified components can also be adaptively increased or refined. For the target detection model, YOLOv5 and other target detection models can be selected. The embodiment of the present application does not impose fixed restrictions on the specific detection models, and details will not be repeated here.

对于训练好的目标检测模型,将其部署在本申请实施例的鞋体专属定制设备上。通过将用户输入的目标图像输入该目标检测模型,经过模型计算和处理,即可输出目标图像中鞋体以及鞋体各个指定部件的的检测框,以此完成各个指定部件的检测。For the trained target detection model, it is deployed on the shoe body-specific customization device of the embodiment of the present application. By inputting the target image input by the user into the target detection model, after model calculation and processing, the detection frame of the shoe body and each designated part of the shoe body in the target image can be output, so as to complete the detection of each designated part.

S120、确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表。S120. Determine the color matching data of each specified component, construct a color matching option according to the specified component and the corresponding color matching data, and generate a color matching selection list based on each of the color matching options.

进一步地,基于识别到的各个指定部件,本申请实施例进一步识别各个指定部件的配色,获取其配色数据。其中,通过识别各个指定部件部分的图像特征,基于图像特征即可确定其颜色信息,即配色数据。例如,对指定部件部分图像进行二值化处理,进而确定二值化图像的RGB数值。由于不同RGB数值表示不同的颜色,则根据RGB数值查询RGB颜色表,即可确定当前指定部件的配色数据。基于图像进行颜色识别的方式有很多,本申请实施例对具体的检测识别方式不做固定限制,在此不多赘述。Further, based on the identified specified components, the embodiment of the present application further identifies the color matching of each specified component, and acquires its color matching data. Wherein, by identifying the image features of each specified part, its color information, that is, color matching data, can be determined based on the image features. For example, binary processing is performed on the partial image of the specified component, and then RGB values of the binary image are determined. Since different RGB values represent different colors, the color matching data of the currently specified component can be determined by querying the RGB color table according to the RGB values. There are many ways to perform color recognition based on an image, and the embodiment of the present application does not impose fixed restrictions on specific detection and recognition ways, so details will not be repeated here.

通过确定各个指定部件的配色数据,进而将各个指定部件与其配色数据一并,构建一个配色选项,配色选项以指定部件作为数据索引,以便于后续根据用户勾选的配色选项,通过配色选项的指定部件查询定位鞋体三维模型中的对应目标部件,进而使用配色选项中的配色数据,进行目标部件的配色数据设置。By determining the color matching data of each specified component, and then combining each specified component with its color matching data, a color matching option is constructed. The color matching option uses the specified component as the data index, so that the subsequent selection of the color matching option according to the user's selected color matching option can be done. Component query locates the corresponding target component in the 3D model of the shoe body, and then uses the color matching data in the color matching option to set the color matching data of the target component.

需要说明的是,根据实际需要,用户可以对自己喜欢的鞋子配色进行拍摄或者下载鞋子图像,以鞋子图像作为目标图像输入目标检测模型,进而进行目标图像的指定部件识别。对应每一张目标图像,其检测识别结果可以使用目标图像作为数据索引进行保存,后续用户根据配色设置需求,从内存中选择相应的目标图像的识别结果进行配色设置,以此可以进一步提升鞋体配色专属定制的灵活性和多样性。It should be noted that, according to actual needs, users can take photos of their favorite shoe colors or download shoe images, and use the shoe images as target images to input into the target detection model, and then identify the specified parts of the target images. Corresponding to each target image, its detection and recognition results can be saved using the target image as a data index. Subsequent users can select the recognition result of the corresponding target image from the memory to set the color matching according to the color matching setting requirements, so as to further improve the shoe body. The flexibility and diversity of exclusive customization of color matching.

S130、在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示。S130. When performing exclusive customization of the current shoe body three-dimensional model, in response to the user's check operation on the color matching selection list, determine the color matching option checked by the user as the target option, and based on all the color matching options in the target option The specified component locates the target component of the three-dimensional shoe body model, and performs color rendering and display of the target component based on the color matching data in the target option.

进一步地,基于预先构建的配色选项,即可进行鞋体配色的设置操作,实现鞋体配色的专属定制。其中,通过导入待设置配色的鞋体三维模型,鞋体三维模型通过多个部件组合而成。则在进行鞋体三维模型的配色设置时,首先确定鞋体三维模型中的各个组成部件,如鞋面、鞋带、鞋舌、中底和外底等部件,定义这些部件为目标部件。通过定位这些目标部件的位置,在进行鞋体配色专属定制时,即可根据用户勾选的配色选项,确定当前用户勾选的配色选项中的指定部件是否与目标部件对应,若是,则提取当前用户勾选的配色选项中的配色数据,使用配色数据进行目标部件的渲染显示。Furthermore, based on the pre-built color matching options, the shoe body color setting operation can be performed to realize the exclusive customization of the shoe body color matching. Among them, by importing the 3D model of the shoe body whose color matching is to be set, the 3D model of the shoe body is formed by combining multiple components. When setting the color matching of the 3D model of the shoe body, firstly determine the various components in the 3D model of the shoe body, such as uppers, shoelaces, tongues, midsoles, and outsoles, and define these components as target components. By locating the positions of these target components, when customizing the color matching of the shoe body, it is possible to determine whether the specified components in the color matching options checked by the current user correspond to the target components according to the color matching options checked by the user, and if so, extract the current The color matching data in the color matching option checked by the user is used to render and display the target component.

示例性的,参照图2,本申请在进行配色设置时,通过对用户输入的目标图像进行配色检测识别,进而构建配色选项。对于导入设备的鞋体三维模型,通过定位鞋体三维模型的各个目标部件,包括鞋面、鞋带、鞋舌、中底和外底等部件。以鞋面配色设置为例,在进行鞋面配色设置时,该鞋体专属定制设备通过显示配色选择列表以供用户进行选择,用户通过与鞋体专属定制设备进行交互,勾选配色选择列表中包含指定部件鞋面的配色选项,进而确定用户所选择的配色选项为目标选项。进一步的,基于该目标选项,首先使用目标选项中的指定部件鞋面定位鞋体三维模型中对应目标配件鞋面的位置,进而获取目标选项的配色数据,将配色数据用于当前鞋体三维模型的鞋面配色设置。以此类推,通过勾选不同配色选项,基于配色选项找到对应目标部件,进而提取该配色选项中的配色数据,使用配色数据进行当前鞋体三维模型的目标部件的配色渲染显示。以此用户即可将一些喜欢的鞋子配色快速、准确地转换到自身设计的鞋体上面,极大地便利了鞋体配色设计,优化了用户的鞋体专属定制体验。Exemplarily, referring to FIG. 2 , when setting the color matching, the present application detects and recognizes the color matching of the target image input by the user, and then builds the color matching options. For the shoe body 3D model imported into the device, each target part of the shoe body 3D model is positioned, including parts such as upper, shoelace, shoe tongue, midsole and outsole. Taking the shoe upper color setting as an example, when setting the shoe upper color matching, the shoe body exclusive customization device displays a color matching selection list for the user to choose, and the user interacts with the shoe body exclusive customization device to check the color matching selection list contains the color matching option of the specified component upper, and then determines the color matching option selected by the user as the target option. Further, based on the target option, first use the specified component upper in the target option to locate the position of the upper of the shoe body corresponding to the target accessory in the 3D model, and then obtain the color matching data of the target option, and use the color matching data for the current shoe body 3D model upper color setting. By analogy, by checking different color matching options, find the corresponding target parts based on the color matching options, and then extract the color matching data in the color matching options, and use the color matching data to render and display the color matching of the target parts of the current 3D shoe body model. In this way, users can quickly and accurately transfer some favorite shoe color matching to their own designed shoe body, which greatly facilitates the color matching design of shoe body and optimizes the user's exclusive customization experience of shoe body.

在一个实施例中,该鞋体专属定制设备还通过识别所述指定部件的多个配色数据,构建所述指定部件与对应的多个所述配色数据的配色选项;对应的,在基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示时,基于多个配色数据进行所述目标部件中,不同层面或者不同区域的配色渲染显示。可以理解的是,指定部件包含多个配色时,则需要对应构建指定部件与多个配色数据的配色选项,并使用多个配色数据进行目标部件的渲染显示。例如,对于目标图像鞋面包含多个配色的情况,通过构建鞋面与多个配色的配色选项。后续在进行鞋体三维模型的鞋面配色设置时,将多个配色渲染显示至目标部件的不同层面或者不同区域。鞋体三维模型预先对鞋面的不同层面或不同区域进行划分,以便于后续进行多个配色设置。可选地,鞋体三维模型在进行鞋面配色设置时,也可以将目标图像鞋面的主配色配置至目标部件中,以此可以尽可能的将目标图像的配色转换至鞋体三维模型,提升配色设置的灵活性。In one embodiment, the shoe body exclusive customization device also constructs color matching options for the specified component and the corresponding multiple color matching data by identifying multiple color matching data of the specified component; correspondingly, based on the When the color matching data in the target option is used for color rendering and display of the target component, color rendering and display of different levels or different regions in the target component are performed based on multiple color matching data. It can be understood that when the specified component contains multiple color matching, it is necessary to construct the color matching options of the specified component and multiple color matching data correspondingly, and use the multiple color matching data to render and display the target component. For example, in the case that the upper of the target image contains multiple color schemes, a color matching option for the upper and multiple color schemes is constructed. When setting the upper color matching of the 3D model of the shoe body, multiple color matching renderings are displayed on different levels or different areas of the target component. The 3D model of the shoe body pre-divides different layers or different areas of the upper to facilitate subsequent multiple color matching settings. Optionally, when the 3D shoe body color setting is performed, the main color matching of the upper of the target image can also be configured into the target component, so that the color matching of the target image can be converted to the 3D shoe body model as much as possible. Improve the flexibility of color matching settings.

可选地,本申请实施例在进行目标部件的配色渲染显示时,还基于所述配色数据构建配色渲染选项,以供选择进行各个所述目标部件的配色渲染显示。可以理解的是,为了提升配色设置的灵活性和多样性,本申请实施例通过各个指定部件识别到的配色数据进行配色渲染选项的构建,以便于后续根据配色渲染选项进行鞋体三维模型的配色设置。例如,用户觉得目标图像中鞋子的鞋面配色比较好,想将这个颜色配置在鞋体三维模型的鞋舌部件上,则通过构建该配色的配色渲染选项。后续在进行鞋体三维模型的鞋舌部件配色设置时,通过选择预设置的配色渲染选项,以将该鞋舌部件进行配色设置,进一步提升鞋体配色设置的灵活性。Optionally, in this embodiment of the present application, when performing the color matching rendering display of the target components, a color matching rendering option is further constructed based on the color matching data for selection to perform color matching rendering display of each of the target components. It can be understood that, in order to improve the flexibility and diversity of color matching settings, the embodiment of the present application constructs color matching rendering options through the color matching data identified by each specified component, so as to facilitate the subsequent color matching of the 3D shoe body model according to the color matching rendering options set up. For example, if the user thinks that the color matching of the upper of the shoe in the target image is better, and wants to configure this color on the tongue part of the 3D model of the shoe body, the color rendering option of the color matching is constructed. When setting the color matching of the tongue part of the 3D model of the shoe body, select the preset color rendering option to set the color matching of the tongue part to further improve the flexibility of the color setting of the shoe body.

可选地,在所述目标部件包含多个层面时,基于所述配色数据进行所述目标部件的顶部层面、底部层面或者指定层面的配色渲染显示。例如,对于鞋子的鞋面,可以包括多个层面,不同层面交叠在一起。对于这种鞋面进行配色渲染时,由于配色选项中可以只包含了一个配色数据,如果基于该配色数据进行整个鞋面的配色渲染显示,其显示效果相对较差。为了体现鞋面不同层面之间的层次感,可以选择其中一个层面进行配色渲染显示。因此,本申请实施例通过选择顶部层面、底部层面或者用户预先指定的层面进行渲染显示,以此来优化配色设置效果。Optionally, when the target component includes multiple levels, color rendering and display of the top level, the bottom level or the specified level of the target component are performed based on the color matching data. For example, for the upper of a shoe, multiple layers may be included, with different layers overlapping each other. When performing color rendering for this kind of shoe upper, since the color matching option may only include one color matching data, if the color rendering and display of the entire shoe upper is performed based on the color matching data, the display effect is relatively poor. In order to reflect the layering between different layers of the upper, one of the layers can be selected for color rendering and display. Therefore, in the embodiment of the present application, the effect of color setting is optimized by selecting the top layer, the bottom layer, or the layer specified by the user for rendering and displaying.

在一个实施例中,该鞋体专属定制设备还基于所述配色渲染选项进行所述目标部件其余层面的配色渲染显示。可以理解的是,对于多层面目标部件,只使用配色数据对其中一个层面进行渲染显示,而对于其余层面,还可以根据预先构建的配色渲染选项进行配色渲染,以使该目标部件的配色设置符合用户的实际需求。In one embodiment, the shoe body exclusive customization device also performs color rendering and display of the remaining layers of the target component based on the color color rendering option. It can be understood that, for a multi-level target part, only one of the levels is rendered and displayed using the color matching data, while for the rest of the levels, color rendering can also be performed according to pre-built color rendering options, so that the color setting of the target part complies with actual needs of users.

可选地,若当前所述目标部件没有对应的所述配色数据,则随机选择所述配色渲染选项进行当前所述目标部件的配色渲染显示。可以理解的是,由于是将目标图像鞋子各个指定部件的配色数据转移到当前鞋体三维模型的目标部件上,如果两个鞋子存在款式、结构等差异,则可能不在两者部件不匹配的情况,即目标部件查询不到对应指定部件的配色选项。则此时设备随机选择预先构建的对应配色渲染选项进行当前目标部件的配色渲染。以此可进一步提升配色渲染灵活性,提升配色设置效率。Optionally, if the current target component has no corresponding color matching data, the color matching rendering option is randomly selected to perform color matching rendering and display of the current target component. It is understandable that since the color matching data of each specified part of the shoe in the target image is transferred to the target part of the current 3D shoe body model, if there are differences in style and structure between the two shoes, it may not be the case that the two parts do not match. , that is, the target component cannot find the color matching option corresponding to the specified component. At this time, the device randomly selects the pre-built corresponding color rendering option to render the color of the current target component. In this way, the flexibility of color matching rendering can be further improved, and the efficiency of color matching setting can be improved.

另一方面,若当前所述目标部件没有对应的所述配色数据,则从所述配色渲染选项中选择所述目标图像的主配色选项,基于所述主配色选项进行当前所述目标部件的配色渲染显示。不同于上述随机选择配色渲染选项的方式,本申请通过从配色渲染选项中选择目标图像的主配色选项,以使对应目标部件的配色设置更贴合目标图像的配色组成。可以理解的是,主配色选项包含的配色数据为目标图像中主要包含的配色,即该配色在目标图像中的占比较大。通过将主配色选项进行当前目标部件的配色渲染显示,则目标部件的颜色与目标图像更贴合,其显示效果相对较佳。进一步方便用户将目标图像的配色转移到鞋体三维模型。On the other hand, if the current target component does not have the corresponding color matching data, then select the main color matching option of the target image from the color matching rendering options, and perform the color matching of the current target component based on the main color matching option Rendered display. Different from the above method of randomly selecting color rendering options, this application selects the main color matching option of the target image from the color rendering options, so that the color setting of the corresponding target component is more suitable for the color composition of the target image. It can be understood that the color matching data included in the main color matching option is the color matching mainly included in the target image, that is, the color matching takes a large proportion in the target image. By applying the main color matching option to the color rendering display of the current target component, the color of the target component is more consistent with the target image, and its display effect is relatively better. It is further convenient for the user to transfer the color matching of the target image to the 3D model of the shoe body.

上述,通过输入目标图像,基于目标检测模型识别目标图像中鞋体的各个指定部件;确定各个指定部件的配色数据,根据指定部件与对应的配色数据构建配色选项,基于各个配色选项生成配色选择列表;在进行当前鞋体三维模型的专属定制时,响应于用户对配色选择列表的勾选操作,确定用户勾选的配色选项为目标选项,并基于目标选项中的指定部件定位鞋体三维模型的目标部件,基于目标选项中的配色数据进行目标部件的配色渲染显示。采用上述技术手段,能够提升鞋体配色设置效率,提升鞋体配色设置的灵活性,优化鞋体专属定制体验,解决鞋体配色设置流程繁杂不便的技术问题。As mentioned above, by inputting the target image, identify each specified component of the shoe body in the target image based on the target detection model; determine the color matching data of each specified component, construct a color matching option according to the specified component and the corresponding color matching data, and generate a color matching selection list based on each color matching option ; When performing exclusive customization of the current 3D shoe body model, in response to the user's check operation on the color matching selection list, determine the color matching option checked by the user as the target option, and locate the 3D shoe body model based on the specified components in the target option Target component, based on the color matching data in the target option, the color rendering and display of the target component is performed. The above-mentioned technical means can improve the efficiency of shoe body color setting, improve the flexibility of shoe body color setting, optimize the exclusive customization experience of shoe body, and solve the technical problem of complicated and inconvenient shoe body color setting process.

实施例二:Embodiment two:

在上述实施例的基础上,图3为本申请实施例二提供的一种鞋体专属定制装置的结构示意图。参考图3,本实施例提供的鞋体专属定制装置具体包括:检测模块21、构建模块22和配色模块23。On the basis of the above embodiments, FIG. 3 is a schematic structural diagram of a shoe body customization device provided in Embodiment 2 of the present application. Referring to FIG. 3 , the shoe body exclusive customization device provided in this embodiment specifically includes: a detection module 21 , a construction module 22 and a color matching module 23 .

其中,检测模块21用于输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件;Wherein, the detection module 21 is used for inputting the target image, and identifying each designated part of the shoe body in the target image based on the target detection model;

构建模块22用于确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表;The construction module 22 is used to determine the color matching data of each of the specified components, construct a color matching option according to the specified component and the corresponding color matching data, and generate a color matching selection list based on each of the color matching options;

配色模块23用于在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示。The color matching module 23 is used to determine the color matching option checked by the user as the target option in response to the user's ticking operation on the color matching selection list when performing exclusive customization of the current shoe body three-dimensional model, and based on the target option The specified component in the locating the target component of the three-dimensional shoe body model, and performing color rendering and display of the target component based on the color matching data in the target option.

具体地,该鞋体专属定制装置还包括:Specifically, the exclusive customization device for the shoe body also includes:

多配色渲染模块,用于识别所述指定部件的多个配色数据,构建所述指定部件与对应的多个所述配色数据的配色选项;基于多个配色数据进行所述目标部件中,不同层面或者不同区域的配色渲染显示。The multi-color color rendering module is used to identify multiple color matching data of the specified component, and construct the color matching options of the specified component and the corresponding multiple color matching data; Or the color rendering display of different areas.

选项构建模块,用于基于所述配色数据构建配色渲染选项,以供选择进行各个所述目标部件的配色渲染显示。An option construction module, configured to construct color rendering options based on the color matching data, for selection to perform color rendering and display of each of the target components.

层面显示模块,用于在所述目标部件包含多个层面时,基于所述配色数据进行所述目标部件的顶部层面、底部层面或者指定层面的配色渲染显示,基于所述配色渲染选项进行所述目标部件其余层面的配色渲染显示。A level display module, configured to perform color rendering and display of the top level, bottom level or specified level of the target component based on the color matching data when the target component includes multiple levels, and perform the color rendering display based on the color matching rendering option The color rendering display of the remaining layers of the target part.

第一选择渲染模块,用于在当前所述目标部件没有对应的所述配色数据时,随机选择所述配色渲染选项进行当前所述目标部件的配色渲染显示。The first selection rendering module is configured to randomly select the color matching rendering option to perform color matching rendering display of the current target component when the current target component has no corresponding color matching data.

第二选择渲染模块,用于在当前所述目标部件没有对应的所述配色数据时,从所述配色渲染选项中选择所述目标图像的主配色选项,基于所述主配色选项进行当前所述目标部件的配色渲染显示。The second selection rendering module is used to select the main color matching option of the target image from the color matching rendering options when the current target component does not have the corresponding color matching data, and perform the current color matching option based on the main color matching option. The color rendering of the target part is displayed.

上述,通过输入目标图像,基于目标检测模型识别目标图像中鞋体的各个指定部件;确定各个指定部件的配色数据,根据指定部件与对应的配色数据构建配色选项,基于各个配色选项生成配色选择列表;在进行当前鞋体三维模型的专属定制时,响应于用户对配色选择列表的勾选操作,确定用户勾选的配色选项为目标选项,并基于目标选项中的指定部件定位鞋体三维模型的目标部件,基于目标选项中的配色数据进行目标部件的配色渲染显示。采用上述技术手段,能够提升鞋体配色设置效率,提升鞋体配色设置的灵活性,优化鞋体专属定制体验,解决鞋体配色设置流程繁杂不便的技术问题。As mentioned above, by inputting the target image, identify each specified component of the shoe body in the target image based on the target detection model; determine the color matching data of each specified component, construct a color matching option according to the specified component and the corresponding color matching data, and generate a color matching selection list based on each color matching option ; When performing exclusive customization of the current 3D shoe body model, in response to the user's check operation on the color matching selection list, determine the color matching option checked by the user as the target option, and locate the 3D shoe body model based on the specified components in the target option Target component, based on the color matching data in the target option, the color rendering and display of the target component is performed. The above-mentioned technical means can improve the efficiency of shoe body color setting, improve the flexibility of shoe body color setting, optimize the exclusive customization experience of shoe body, and solve the technical problem of complicated and inconvenient shoe body color setting process.

本申请实施例二提供的鞋体专属定制装置可以用于执行上述实施例一提供的鞋体专属定制方法,具备相应的功能和有益效果。The shoe body customization device provided in Embodiment 2 of the present application can be used to implement the shoe body customization method provided in Embodiment 1 above, and has corresponding functions and beneficial effects.

实施例三:Embodiment three:

本申请实施例三提供了一种电子设备,参照图4,该电子设备包括:处理器31、存储器32、通信模块33、输入装置34及输出装置35。该电子设备中处理器的数量可以是一个或者多个,该电子设备中的存储器的数量可以是一个或者多个。该电子设备的处理器、存储器、通信模块、输入装置及输出装置可以通过总线或者其他方式连接。Embodiment 3 of the present application provides an electronic device. Referring 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 can be connected through a bus or in other ways.

存储器32作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请任意实施例所述的鞋体专属定制方法对应的程序指令/模块(例如,鞋体专属定制装置中的检测模块、构建模块和配色模块)。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the shoe body-specific customization method described in any embodiment of the present application (for example, shoe body-specific detection modules, building blocks and color matching modules in custom devices). The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the device, and the like. In addition, 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 devices. In some examples, the memory may further include memory located remotely from the processor, which remote memory may be connected to the device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

通信模块33用于进行数据传输。The communication module 33 is used for data transmission.

处理器31通过运行存储在存储器中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的鞋体专属定制方法。The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, realizes the above-mentioned shoe body-specific customization method.

输入装置34可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置35可包括显示屏等显示设备。The input device 34 can be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the device. The output device 35 may include a display device such as a display screen.

上述提供的电子设备可用于执行上述实施例一提供的鞋体专属定制方法,具备相应的功能和有益效果。The electronic device provided above can be used to implement the shoe body exclusive customization method provided in the first embodiment above, and has corresponding functions and beneficial effects.

实施例四:Embodiment four:

本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种鞋体专属定制方法,该鞋体专属定制方法包括:输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件;确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表;在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示。The embodiment of the present application also provides a storage medium containing computer-executable instructions, the computer-executable instructions are used to execute a shoe body-specific customization method when executed by a computer processor, and the shoe-body-specific customization method includes: input The target image, identifying each specified component of the shoe body in the target image based on the target detection model; determining the color matching data of each specified component, constructing a color matching option according to the specified component and the corresponding color matching data, and based on each of the specified components The color matching option generates a color matching selection list; when performing exclusive customization of the current three-dimensional shoe body model, in response to the user's ticking operation on the color matching selection list, it is determined that the color matching option checked by the user is the target option, and based on the The specified component in the target option locates the target component of the three-dimensional shoe body model, and performs color rendering and display of the target component based on the color matching data in the target option.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg 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. Also, 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 that reside in different locations, for example in different computer systems connected by a network. The storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.

当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的鞋体专属定制方法,还可以执行本申请任意实施例所提供的鞋体专属定制方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided in the embodiments of the present application, the computer-executable instructions are not limited to the shoe body-specific customization method as described above, and can also execute the shoe body provided in any embodiment of the application. Relevant operations in proprietary custom methods.

上述实施例中提供的鞋体专属定制装置、存储介质及电子设备可执行本申请任意实施例所提供的鞋体专属定制方法,未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的鞋体专属定制方法。The shoe body exclusive customization device, storage medium and electronic equipment provided in the above embodiments can execute the shoe body exclusive customization method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to any The shoe body exclusive customization method provided by the embodiment.

上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。The above are only preferred embodiments of the present application and the applied technical principles. The present application is not limited to the specific embodiments described here, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope is determined by the scope of the claims.

Claims (6)

1.一种鞋体专属定制方法,其特征在于,包括:1. A method for exclusive customization of a shoe body, characterized in that it comprises: 输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件;Input the target image, and identify each specified part of the shoe body in the target image based on the target detection model; 确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表;determining the color matching data of each of the specified components, constructing a color matching option according to the specified component and the corresponding color matching data, and generating a color matching selection list based on each of the color matching options; 在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示;When performing exclusive customization of the current three-dimensional shoe body model, in response to the user's check operation on the color matching selection list, determine the color matching option checked by the user as the target option, and based on the specified in the target option Locate the target component of the three-dimensional shoe body model, and perform color rendering and display of the target component based on the color matching data in the target option; 确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,包括:Determining the color matching data of each specified component, constructing a color matching option according to the specified component and the corresponding color matching data, including: 识别所述指定部件的多个配色数据,构建所述指定部件与对应的多个所述配色数据的配色选项;identifying a plurality of color matching data of the specified component, and constructing color matching options for the specified component and the corresponding multiple color matching data; 对应的,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,包括:Correspondingly, performing color rendering and display of the target component based on the color matching data in the target option, including: 基于多个配色数据进行所述目标部件中,不同层面或者不同区域的配色渲染显示;performing color rendering and display of different layers or different regions in the target component based on multiple color matching data; 在确定各个所述指定部件的配色数据之后,还包括:After determining the color matching data of each specified part, it also includes: 基于所述配色数据构建配色渲染选项,以供选择进行各个所述目标部件的配色渲染显示;Constructing color matching rendering options based on the color matching data, for selection to perform color matching rendering display of each of the target components; 基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,包括:Performing color rendering and display of the target component based on the color matching data in the target option, including: 在所述目标部件包含多个层面时,基于所述配色数据进行所述目标部件的顶部层面、底部层面或者指定层面的配色渲染显示;When the target component includes multiple levels, perform color rendering and display of the top level, bottom level or specified level of the target component based on the color matching data; 基于所述配色渲染选项进行所述目标部件其余层面的配色渲染显示。Perform color rendering and display of other levels of the target component based on the color color rendering option. 2.根据权利要求1所述的鞋体专属定制方法,其特征在于,基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,还包括:2. The shoe body exclusive customization method according to claim 1, characterized in that locating the target component of the three-dimensional shoe body model based on the specified component in the target option, based on the specified component in the target option The color matching data is used for color rendering and display of the target component, and also includes: 若当前所述目标部件没有对应的所述配色数据,则随机选择所述配色渲染选项进行当前所述目标部件的配色渲染显示。If the current target component does not have the corresponding color matching data, randomly select the color matching rendering option to perform color matching rendering and display of the current target component. 3.根据权利要求1所述的鞋体专属定制方法,其特征在于,基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,还包括:3. The shoe body exclusive customization method according to claim 1, characterized in that locating the target component of the three-dimensional shoe body model based on the specified component in the target option, based on the specified component in the target option The color matching data is used for color rendering and display of the target component, and also includes: 若当前所述目标部件没有对应的所述配色数据,则从所述配色渲染选项中选择所述目标图像的主配色选项,基于所述主配色选项进行当前所述目标部件的配色渲染显示。If the current target component does not have the corresponding color matching data, select a main color matching option of the target image from the color matching rendering options, and perform color matching rendering and display of the current target component based on the main color matching option. 4.一种鞋体专属定制装置,其特征在于,包括:4. An exclusive custom-made device for shoe body, characterized in that it comprises: 检测模块,用于输入目标图像,基于目标检测模型识别所述目标图像中鞋体的各个指定部件;A detection module, configured to input a target image, and identify each designated component of the shoe body in the target image based on a target detection model; 构建模块,用于确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,基于各个所述配色选项生成配色选择列表;A construction module, configured to determine the color matching data of each of the specified components, construct a color matching option according to the specified component and the corresponding color matching data, and generate a color matching selection list based on each of the color matching options; 配色模块,用于在进行当前鞋体三维模型的专属定制时,响应于用户对所述配色选择列表的勾选操作,确定用户勾选的所述配色选项为目标选项,并基于所述目标选项中的所述指定部件定位所述鞋体三维模型的目标部件,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示;The color matching module is used to determine the color matching option checked by the user as the target option in response to the user's ticking operation on the color matching selection list when performing exclusive customization of the current shoe body three-dimensional model, and based on the target option The specified component in the above-mentioned target component locates the target component of the three-dimensional shoe body model, and performs color rendering and display of the target component based on the color matching data in the target option; 确定各个所述指定部件的配色数据,根据所述指定部件与对应的所述配色数据构建配色选项,包括:Determining the color matching data of each specified component, constructing a color matching option according to the specified component and the corresponding color matching data, including: 识别所述指定部件的多个配色数据,构建所述指定部件与对应的多个所述配色数据的配色选项;identifying a plurality of color matching data of the specified component, and constructing color matching options for the specified component and the corresponding multiple color matching data; 对应的,基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,包括:Correspondingly, performing color rendering and display of the target component based on the color matching data in the target option, including: 基于多个配色数据进行所述目标部件中,不同层面或者不同区域的配色渲染显示;performing color rendering and display of different layers or different regions in the target component based on multiple color matching data; 在确定各个所述指定部件的配色数据之后,还包括:After determining the color matching data of each specified part, it also includes: 基于所述配色数据构建配色渲染选项,以供选择进行各个所述目标部件的配色渲染显示;Constructing color matching rendering options based on the color matching data, for selection to perform color matching rendering display of each of the target components; 基于所述目标选项中的所述配色数据进行所述目标部件的配色渲染显示,包括:Performing color rendering and display of the target component based on the color matching data in the target option, including: 在所述目标部件包含多个层面时,基于所述配色数据进行所述目标部件的顶部层面、底部层面或者指定层面的配色渲染显示;When the target component includes multiple levels, perform color rendering and display of the top level, bottom level or specified level of the target component based on the color matching data; 基于所述配色渲染选项进行所述目标部件其余层面的配色渲染显示。Perform color rendering and display of other levels of the target component based on the color color rendering option. 5.一种电子设备,其特征在于,包括:5. An electronic device, characterized in that it comprises: 存储器以及一个或多个处理器;memory and one or more processors; 所述存储器,用于存储一个或多个程序;The memory is used to store one or more programs; 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-3任一所述的鞋体专属定制方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the shoe body-specific customization method according to any one of claims 1-3. 6.一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-3任一所述的鞋体专属定制方法。6. A storage medium containing computer-executable instructions, wherein the computer-executable instructions are used to execute the shoe body-specific customization method according to any one of claims 1-3 when executed by a computer processor.
CN202111598728.5A 2021-12-24 2021-12-24 A shoe body exclusive customization method, device, electronic equipment and storage medium Expired - Fee Related CN114445554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111598728.5A CN114445554B (en) 2021-12-24 2021-12-24 A shoe body exclusive customization method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111598728.5A CN114445554B (en) 2021-12-24 2021-12-24 A shoe body exclusive customization method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114445554A CN114445554A (en) 2022-05-06
CN114445554B true CN114445554B (en) 2023-02-10

Family

ID=81363207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111598728.5A Expired - Fee Related CN114445554B (en) 2021-12-24 2021-12-24 A shoe body exclusive customization method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114445554B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115034848A (en) * 2022-05-30 2022-09-09 广东时谛智能科技有限公司 Shoe body customization information acquisition system, method, device, equipment and storage medium
CN114693415A (en) * 2022-06-02 2022-07-01 广东时谛智能科技有限公司 Shoe body customization data processing method, device and storage medium
CN115033943B (en) * 2022-06-27 2023-07-21 广东时谛智能科技有限公司 Automatic shoelace characteristic determination method and device, electronic equipment and storage medium
CN115081043B (en) * 2022-06-27 2024-03-22 广东时谛智能科技有限公司 Method, device, equipment and storage medium for determining characteristic data in shoe body design
CN115357960A (en) * 2022-07-29 2022-11-18 广东时谛智能科技有限公司 Method, device and equipment for determining structural characteristics of shoe body area and storage medium
CN115018953B (en) * 2022-08-04 2023-02-10 广东时谛智能科技有限公司 Method, device, electronic device and storage medium for determining color and texture of shoe body

Citations (10)

* 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
CN103150656A (en) * 2013-04-02 2013-06-12 乐淘奇品网络技术(北京)有限公司 Method for selecting commodity component by using mask through webpage
CN104050657A (en) * 2013-03-14 2014-09-17 彩滋公司 Segmentation Of A Product Markup Image Based On Color And Color Differences
CN105608614A (en) * 2015-12-24 2016-05-25 曹晶晶 Shoe online customization method and system as well as terminal device
CN105637512A (en) * 2013-08-22 2016-06-01 贝斯普客公司 Method and system for creating custom products
CN107944959A (en) * 2017-11-27 2018-04-20 福建乐行道网络科技有限公司 A kind of on-line customization simulation and mobile terminal
CN109389687A (en) * 2018-09-05 2019-02-26 百度在线网络技术(北京)有限公司 Information processing method, device, equipment and readable storage medium storing program for executing based on AR
CN109726405A (en) * 2017-10-27 2019-05-07 吴定国 Dress ornament personalized designs and the method for reaching rapid batchization manufacture
CN111047511A (en) * 2019-12-31 2020-04-21 维沃移动通信有限公司 Image processing method and electronic equipment
CN111506936A (en) * 2019-11-11 2020-08-07 泉州匹克鞋业有限公司 Artificial intelligence sports equipment design system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106295955A (en) * 2016-07-27 2017-01-04 邓耀华 A kind of client based on augmented reality is to the footwear custom-built system of factory and implementation method
CN111882634B (en) * 2020-07-24 2024-02-06 上海米哈游天命科技有限公司 Image rendering method, device, equipment and storage medium

Patent Citations (10)

* 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
CN104050657A (en) * 2013-03-14 2014-09-17 彩滋公司 Segmentation Of A Product Markup Image Based On Color And Color Differences
CN103150656A (en) * 2013-04-02 2013-06-12 乐淘奇品网络技术(北京)有限公司 Method for selecting commodity component by using mask through webpage
CN105637512A (en) * 2013-08-22 2016-06-01 贝斯普客公司 Method and system for creating custom products
CN105608614A (en) * 2015-12-24 2016-05-25 曹晶晶 Shoe online customization method and system as well as terminal device
CN109726405A (en) * 2017-10-27 2019-05-07 吴定国 Dress ornament personalized designs and the method for reaching rapid batchization manufacture
CN107944959A (en) * 2017-11-27 2018-04-20 福建乐行道网络科技有限公司 A kind of on-line customization simulation and mobile terminal
CN109389687A (en) * 2018-09-05 2019-02-26 百度在线网络技术(北京)有限公司 Information processing method, device, equipment and readable storage medium storing program for executing based on AR
CN111506936A (en) * 2019-11-11 2020-08-07 泉州匹克鞋业有限公司 Artificial intelligence sports equipment design system and method
CN111047511A (en) * 2019-12-31 2020-04-21 维沃移动通信有限公司 Image processing method and electronic equipment

Also Published As

Publication number Publication date
CN114445554A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN114445554B (en) A shoe body exclusive customization method, device, electronic equipment and storage medium
US20240148109A1 (en) Footwear Designing Tool
CN114155328A (en) Shoe body exclusive customization method and device based on graphic elements and color matching data
CN114399615A (en) Efficient shoe color matching setting method and device based on three-dimensional model
US10419585B2 (en) Dynamically surfacing UI controls
KR102410047B1 (en) Method and system for 3d modeling based on irregular-shaped sketch
CN114882167B (en) A shoe body logo design method and device based on associated elements
US20250391028A1 (en) Systems and methods for interacting with a large language model
CN113632147A (en) Product design, configuration and decision system using machine learning
CN114612607A (en) Shoe body design method and device based on three-dimensional model
CN117009020A (en) Wallpaper setting method, device, electronic device and readable storage medium
CN114612608A (en) Image recognition-based shoe body exclusive customization method and device
CN115186318B (en) Method and device for designing shoe body model based on shoe body historical data
CN115120966B (en) Fluid effect rendering method and device
CN105324789A (en) Product design, sharing of designs on the network, manufacturing and sales of products through the design method to provide overall product solutions
CN119565145B (en) Interaction method, device, equipment and storage medium in virtual scene
US20240404146A1 (en) Techniques for model-based image operation in effect creation tools
CN114138250A (en) Method, device and equipment for generating steps of system case and storage medium
CN114998472B (en) Method and device for determining shoe color matching, electronic equipment and storage medium
CN115034848A (en) Shoe body customization information acquisition system, method, device, equipment and storage medium
CN115578548B (en) Method and device for processing three-dimensional shoe model according to input picture
CN107229667A (en) Recommend the transformation from the application using limited function to Full Featured application in Digital Media environment
US20260004084A1 (en) Region of interest prompt processing for large multimodal models
CN113296757A (en) Processing method and system for layout of integrated development environment
CN115024561B (en) Automatic adjustment method and device for associated color matching in shoe body design process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230210