Industrial design image intelligent labeling method, device and equipment and storage medium

By constructing a knowledge graph in the field of industrial design for visual feature matching and constraint verification, the problem of component identification and attribute association in industrial design images is solved, achieving efficient and accurate annotation results, reducing the complexity of manual annotation and improving the standardization of annotation data.

CN123182228APending Publication Date: 2026-11-27YINGENTROPY (SHENZHEN) ARTIFICIAL INTELLIGENCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611428491.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing image annotation methods are unable to perform semantic-level component identification in the field of industrial design, and cannot associate fine-grained attribute information such as material, color and surface treatment process.

Method used

A top-down knowledge graph is constructed, consisting of a three-layer structure including product category, component, and appearance/texture attributes. Through visual feature matching and constraint relationship verification, labeled data containing category, component, material, color, and surface treatment process is generated.

Benefits of technology

It improves the accuracy and logical consistency of industrial design image annotation, automatically eliminates mismatches and semantic conflicts, reduces the complexity and time cost of manual annotation, and outputs annotation data with clear hierarchy, rich attributes and standardization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182228A_ABST
    Figure CN123182228A_ABST
Patent Text Reader

Abstract

The application relates to an intelligent annotation method, device and equipment for an industrial design image and a readable storage medium. The method comprises the following steps: firstly, a three-layer structure knowledge graph is constructed from top to bottom, which comprises product categories, components and appearance texture attributes; after an image to be annotated is obtained, the image is segmented to extract visual feature vectors of each region, the feature vectors are matched with component feature templates of corresponding categories in the graph, and an initial matching result is obtained according to a matching confidence; subsequently, a plurality of logical checks are performed on the initial matching result based on constraint relationships in the knowledge graph, only the result passing the checks is confirmed as a credible component annotation, and finally, the annotation is associated with corresponding appearance texture attributes in the graph to generate complete industrial design annotation data. The method can effectively improve the accuracy and logical consistency of industrial design image annotation, improve the annotation efficiency, and output annotation data with clear levels, rich attribute dimensions and high standardization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to an intelligent annotation method, apparatus, computer device, computer-readable storage medium, and computer program product for industrial design images. Background Technology

[0002] With the development of artificial intelligence technology, general AI-assisted image annotation methods have gradually become important tools for image data processing. This method first performs general segmentation on the image to obtain several regions, then extracts the visual features of each region and matches them with a general label library, assigning each region a low-level visual descriptive label such as "circular object" or "highlight area" to complete the annotation.

[0003] However, current traditional methods, lacking guidance from expertise in industrial design, are unable to perform semantic-level recognition of components in images, nor can they associate fine-grained attribute information such as material, color, and surface treatment processes of each component. Summary of the Invention

[0004] Based on this, it is necessary to provide an intelligent annotation method, device, computer equipment, computer-readable storage medium, and computer program product for industrial design images that can semantically recognize components in industrial design images and automatically associate them with fine-grained attribute information such as material, color, and surface treatment process.

[0005] Firstly, this application provides an intelligent annotation method for industrial design images, including:

[0006] A knowledge graph for the field of industrial design is constructed. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes.

[0007] Obtain the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0008] The visual feature vector is matched with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, the initial matching result between the industrial design image and the component is obtained.

[0009] The initial matching results are validated multiple times based on the constraint relationships in the knowledge graph. The initial matching results that pass multiple validations are used as the trusted component annotation results.

[0010] The results of the annotation of trusted components are associated with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0011] In one embodiment, the constraint relationship includes at least one of the following:

[0012] Mutual exclusion constraints are used to determine whether mutually exclusive components appear simultaneously in the same industrial design image;

[0013] Necessary constraints are used to determine whether any necessary components are missing from the same industrial design image.

[0014] Prior position constraints are used to determine whether the position of the segmented region corresponding to the component conforms to the preset position distribution;

[0015] Quantity constraints are used to determine whether the number of times the same component appears in an industrial design image exceeds a preset limit.

[0016] In one embodiment, the industrial design image is segmented to obtain at least one segmented region, including:

[0017] Perform global mask segmentation on industrial design images to generate initial segmentation regions;

[0018] The initial segmented region is subjected to noise filtering, overlapping region merging, and boundary smoothing to obtain at least one segmented region.

[0019] In one embodiment, the method further includes:

[0020] The industrial design annotation data is cleaned and format-converted. According to the preset prompt word template, the industrial design annotation data is converted into positive and negative prompt words for training the text-to-image model. The training dataset is differentiated according to the training objective to obtain a differentiated training set. The differentiated training set includes a rendering model training set focusing on design paradigm standardization, a creative model training set focusing on form diversity, and a hybrid model training set that integrates the two types of data.

[0021] The text-to-image model is trained based on a differentiated training set, positive prompts, and negative prompts to obtain the trained text-to-image model. The trained text-to-image model includes a rendering model, a creative model, and a hybrid model.

[0022] In one embodiment, the method further includes:

[0023] Acquire historical industrial design images generated during the use of the trained text image model, the interactive behaviors generated when using the trained text image model, and the feedback data after generating historical industrial design images.

[0024] Based on interactive behavior and feedback data, historical industrial design images are filtered, and the filtered historical industrial design images are used as industrial design images to be labeled. The process of segmenting the industrial design images to obtain at least one segmented region is then repeated to continue training the text image model.

[0025] In one embodiment, the interactive behavior includes at least one of rating, favorite and download, secondary editing and re-editing, and page dwell time.

[0026] Secondly, this application also provides an intelligent annotation device for industrial design images, comprising:

[0027] The building module is used to construct a knowledge graph in the field of industrial design. The knowledge graph has a three-layer structure from top to bottom: product category, component, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes.

[0028] The segmentation module is used to acquire the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0029] The matching module is used to match the visual feature vector with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, the initial matching results between the industrial design image and the component are obtained.

[0030] The verification module is used to perform multiple verifications on the initial matching results based on the constraint relationships in the knowledge graph, obtain the initial matching results that pass the multiple verifications, and use them as the trusted component annotation results.

[0031] The annotation module is used to associate the annotation results of trusted components with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0032] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0033] A knowledge graph for the field of industrial design is constructed. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes.

[0034] Obtain the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0035] The visual feature vector is matched with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, the initial matching result between the industrial design image and the component is obtained.

[0036] The initial matching results are validated multiple times based on the constraint relationships in the knowledge graph. The initial matching results that pass multiple validations are used as the trusted component annotation results.

[0037] The results of the annotation of trusted components are associated with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0038] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0039] A knowledge graph for the field of industrial design is constructed. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes.

[0040] Obtain the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0041] The visual feature vector is matched with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, the initial matching result between the industrial design image and the component is obtained.

[0042] The initial matching results are validated multiple times based on the constraint relationships in the knowledge graph. The initial matching results that pass multiple validations are used as the trusted component annotation results.

[0043] The results of the annotation of trusted components are associated with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0044] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0045] A knowledge graph for the field of industrial design is constructed. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes.

[0046] Obtain the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0047] The visual feature vector is matched with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, the initial matching result between the industrial design image and the component is obtained.

[0048] The initial matching results are validated multiple times based on the constraint relationships in the knowledge graph. The initial matching results that pass multiple validations are used as the trusted component annotation results.

[0049] The results of the annotation of trusted components are associated with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0050] The aforementioned intelligent annotation method, device, computer equipment, computer-readable storage medium, and computer program product for industrial design images first construct a top-down three-layer knowledge graph containing product categories, components, and appearance / texture attributes (color, material, surface treatment process). Multiple pre-defined constraints exist between product category nodes, component nodes, appearance / texture attribute nodes, and attribute value nodes within this graph. After acquiring the image to be annotated, it is segmented to extract visual feature vectors for each region. These feature vectors are then matched with component feature templates corresponding to the product category in the graph, and an initial matching result is obtained based on the matching confidence level. Subsequently, multiple logical checks are performed on this initial matching result based on the constraints in the knowledge graph. Only results that pass the checks are confirmed as reliable component annotations. Finally, the annotation is associated with the corresponding appearance / texture attribute in the graph, thereby generating complete industrial design annotation data containing category, component, material, color, and surface treatment process. By introducing a structured knowledge graph and constraint verification mechanism, the accuracy and logical consistency of industrial design image annotation are effectively improved, and mismatches and semantic conflicts caused by visual similarity can be automatically eliminated. At the same time, by using automated segmentation, matching and verification processes, the complexity and time cost of traditional manual annotation are greatly reduced, and annotation efficiency is improved. The final output annotation data has clear hierarchy, rich attribute dimensions and high degree of standardization. Attached Figure Description

[0051] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0052] Figure 1 This is an application environment diagram of the intelligent annotation method for industrial design images in one embodiment;

[0053] Figure 2 This is a flowchart illustrating an intelligent annotation method for industrial design images in one embodiment;

[0054] Figure 3 This is a flowchart illustrating the steps of an intelligent annotation method for industrial design images in one embodiment.

[0055] Figure 4 This is a schematic diagram of the knowledge graph structure in another embodiment;

[0056] Figure 5 This is a structural block diagram of an intelligent annotation method device for industrial design images in one embodiment;

[0057] Figure 6 This is an architecture diagram of an intelligent annotation system for industrial design images in one embodiment;

[0058] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0061] The intelligent annotation method for industrial design images provided in this application can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated on server 104 or placed in the cloud or on other network servers. First, a top-down three-layer knowledge graph containing product categories, components, and appearance / texture attributes (color, material, surface treatment process) is constructed. Multiple constraints are preset between product category nodes, component nodes, appearance / texture attribute nodes, and attribute value nodes in this graph. After acquiring the image to be labeled, it is segmented to extract visual feature vectors for each region. These feature vectors are then matched with the corresponding component feature templates in the graph, and an initial matching result is obtained based on the matching confidence level. Subsequently, multiple logical checks are performed on the initial matching result based on the constraints in the knowledge graph. Only results that pass the checks are confirmed as reliable component annotations. Finally, the annotation is associated with the corresponding appearance / texture attribute in the graph, thereby generating complete industrial design annotation data containing category, component, material, color, and surface treatment process.

[0062] The terminal 102 can be, but is not limited to, various personal computers, laptops, and tablets. The server 104 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.

[0063] In one exemplary embodiment, such as Figure 2 As shown, an intelligent annotation method for industrial design images is provided, which can be applied to... Figure 1 Taking server 104 as an example, the explanation includes the following steps 202 to 210. Wherein:

[0064] Step 202: Construct a knowledge graph in the field of industrial design. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraint relationships between the nodes.

[0065] Here, "product category" refers to the product category to which the industrial design object belongs; "component" refers to the functional or structural unit that constitutes the product category; and "appearance and texture attributes" refers to multi-dimensional parameters describing the visual and tactile characteristics of the component's surface, including at least color, material, and surface treatment process. "Attribute value node" refers to the specific value corresponding to each appearance and texture attribute, such as the color value of red, the material name of stainless steel, and the name of the brushed surface treatment process. "Constraint relationship" refers to the semantic and logical rules limiting different nodes, including compositional constraints between product categories and components, optional or mandatory constraints between components and appearance and texture attributes, and compatibility and mutual exclusion constraints between different attribute values.

[0066] For example, firstly, at least one product category covered by the target industrial design field is identified, and each product category is decomposed into its component set in a top-down manner. Then, each component is associated with a corresponding set of appearance and texture attributes, thus forming a three-layer skeleton structure of category-component-attribute. Secondly, corresponding nodes are created for each entity in each layer, and association edges are established between nodes in different layers to represent their belonging relationships, composition relationships, and attribute relationships. Finally, based on industrial design specifications, material compatibility rules, and process feasibility criteria, constraint relationships are set between relevant nodes, and the specific attribute values ​​corresponding to each attribute node are entered.

[0067] Step 204: Obtain the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0068] Among them, industrial design images refer to digital images that contain the appearance of industrial products; segmentation processing refers to dividing an image into several non-overlapping pixel regions according to visual semantic boundaries, with each segmented region corresponding to an independent part or component of a part in the image; and visual feature vectors refer to numerical descriptions used to characterize the visual attributes of the segmented regions, which include at least color histogram features, texture features, and shape features.

[0069] For example, after acquiring the industrial design image to be labeled, the image is preprocessed, including size normalization, illumination correction, and noise filtering. An image segmentation algorithm is used to divide the preprocessed image into multiple segmented regions according to the component boundaries. This image segmentation algorithm can be a deep learning-based instance segmentation model or semantic segmentation model, or a traditional image segmentation algorithm based on edge detection and region growing. For each segmented region, its visual feature vector is extracted. This visual feature vector contains at least color feature components, texture feature components, and geometric shape feature components.

[0070] Optionally, each segmented region can be aligned and normalized before extraction to eliminate feature bias caused by different shooting angles and scales.

[0071] Step 206: Match the visual feature vector with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, obtain the initial matching result between the industrial design image and the component.

[0072] Among them, the feature template refers to the standard visual feature description pre-defined for each component node in the knowledge graph. This standard visual feature description is used to characterize the typical visual performance of the component under standard pose and standard lighting conditions. The matching confidence refers to the similarity measure between the visual feature vector and the feature template. The initial matching result is the set of correspondences between each segmented region in the image and the candidate component.

[0073] For example, based on product category information, all components and their feature templates under that category are retrieved from the knowledge graph. The visual feature vectors of each segmented region are then compared with the feature templates of each component one by one, using metrics such as cosine similarity or Euclidean distance, or a neural network model for matching scoring. This yields the matching confidence score between each segmented region and each component template. Then, for each segmented region, one or more components with the highest confidence scores are selected as initial matching candidates, forming the initial matching result. Optionally, category constraints from the knowledge graph can be introduced during the matching process, allowing matching only of components actually included in that category to exclude interference from irrelevant components.

[0074] Step 208: Perform multiple checks on the initial matching results based on the constraint relationships in the knowledge graph, obtain the initial matching results that pass the multiple checks, and use them as the trusted component annotation results;

[0075] Among them, multiple verification refers to the process of verifying the rationality and consistency of the initial matching results from multiple dimensions, and the trusted component labeling result refers to the component identification result that has passed all or a specified number of verification items and is considered to have high reliability.

[0076] For example, the candidate components of each segmented region in the initial matching result are compared item by item with the constraints in the knowledge graph. The verification includes whether the candidate component belongs to the component set of the product category, whether there are mutual exclusions or coexistence conflicts between multiple components in the same image, and whether the component matching is consistent with its inherent attribute values. For the initial matching results that pass all or a preset number of verification items, they are marked as trustworthy component annotation results and retained; those that fail are removed or marked for manual review. Optionally, for results that fail the verification, the candidate list can be pruned according to the type of constraint violated, and compliant components can be reselected to automatically improve the matching pass rate.

[0077] Step 210: Associate the trusted component annotation results with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0078] For example, using the annotation result of each trusted component as an index, the appearance and texture attribute nodes associated with the component node and the corresponding attribute value nodes are retrieved from the knowledge graph, and the stored color values, material names, and surface treatment process names are read. The retrieved multi-dimensional attribute information is bound to the component annotation result, and combined with the product category information corresponding to the image, a complete industrial design annotation data is generated according to a preset format. Optionally, for mandatory attribute dimensions whose attribute values ​​are not retrieved from the knowledge graph, missing attributes are marked or inferred from relevant component attributes through rule reasoning. The generated annotation data can be output in a structured format such as JSON or XML.

[0079] The aforementioned intelligent annotation method for industrial design images first constructs a top-down three-layer knowledge graph containing product categories, components, and appearance / texture attributes (color, material, surface treatment process). Multiple constraint relationships are pre-defined between product category nodes, component nodes, appearance / texture attribute nodes, and attribute value nodes in this graph. After acquiring the image to be annotated, it is segmented to extract visual feature vectors for each region. These feature vectors are then matched with the corresponding component feature templates in the graph, and an initial matching result is obtained based on the matching confidence level. Subsequently, multiple logical checks are performed on the initial matching result based on the constraint relationships in the knowledge graph. Only results that pass the checks are confirmed as reliable component annotations. Finally, the annotation is associated with the corresponding appearance / texture attributes in the graph, thereby generating complete industrial design annotation data containing category, component, material, color, and surface treatment process. By introducing a structured knowledge graph and constraint verification mechanism, the accuracy and logical consistency of industrial design image annotation are effectively improved, and mismatches and semantic conflicts caused by visual similarity can be automatically eliminated. At the same time, by using automated segmentation, matching and verification processes, the complexity and time cost of traditional manual annotation are greatly reduced, and annotation efficiency is improved. The final output annotation data has clear hierarchy, rich attribute dimensions and high degree of standardization.

[0080] In one embodiment, the constraint relationship includes at least one of the following:

[0081] Mutual exclusion constraints are used to determine whether mutually exclusive components appear simultaneously in the same industrial design image;

[0082] Necessary constraints are used to determine whether any necessary components are missing from the same industrial design image.

[0083] Prior position constraints are used to determine whether the position of the segmented region corresponding to the component conforms to the preset position distribution;

[0084] Quantity constraints are used to determine whether the number of times the same component appears in an industrial design image exceeds a preset limit.

[0085] Specifically, the constraints in the knowledge graph include at least one of the following: mutual exclusion constraints, necessary constraints, location prior constraints, and quantity constraints. Among them, mutual exclusion constraints are used to determine whether there are mutually exclusive components appearing simultaneously in the same industrial design image; necessary constraints are used to determine whether there are missing necessary components in the same industrial design image; location prior constraints are used to determine whether the position of the segmented region corresponding to the component conforms to the preset position distribution; and quantity constraints are used to determine whether the number of times the same component appears in the industrial design image exceeds a preset upper limit. When performing multiple verifications on the initial matching results based on the constraints, the initial matching results are screened one by one using one or more of the above constraints. Matching results that do not meet any constraint conditions are eliminated or marked. The initial matching results that pass all or the preset quantity constraint verifications are output as the trusted component annotation results.

[0086] In the above embodiments, by introducing various types of constraints to verify the initial matching results, a variety of typical annotation errors such as component mismatch, component omission, abnormal component position, and excessive component quantity can be systematically identified and eliminated, significantly improving the accuracy and semantic consistency of component annotation. At the same time, the location prior constraint can effectively utilize the inherent spatial layout rules of industrial products to reduce regional mismatch caused by visual similarity, while the quantity constraint and necessary constraint can ensure that the annotation results fully cover the components that the product should have, thereby greatly improving the reliability and practicality of the annotation results.

[0087] In one embodiment, the industrial design image is segmented to obtain at least one segmented region, including:

[0088] Perform global mask segmentation on industrial design images to generate initial segmentation regions;

[0089] The initial segmented region is subjected to noise filtering, overlapping region merging, and boundary smoothing to obtain at least one segmented region.

[0090] Specifically, the first step is to input the original industrial design image into the SAM model. The default is fully automatic mode, meaning no manual prompts are provided; SAM automatically generates segmentation masks for all possible objects in the image. The second step involves the SAM model analyzing the image and outputting several independent segmentation masks. Each mask corresponds to a visually coherent region, which could be a complete industrial design component (such as a cover or control panel), a part of a component, or a background element. The third step involves post-processing and filtering the output segmentation masks. This includes: removing masks with excessively small areas (e.g., areas smaller than 0.5% of the total image area), which are typically noise or extremely small decorative details; merging masks with excessive overlap (IoU greater than 0.8), retaining the larger one; and smoothing the mask boundaries to eliminate jagged edges.

[0091] In the above embodiments, by using a general image segmentation model for fully automatic segmentation, no special model training or fine-tuning for the industrial design field is required, and preliminary segmentation results can be obtained quickly, which has strong versatility and adaptability. At the same time, by using a post-processing filtering mechanism to denoise, merge and smooth the initial mask, noise and fragmented regions caused by over-segmentation of the segmentation model can be effectively eliminated, solving the problem of the same part being split into multiple masks, making the final segmented region more complete, coherent and with regular boundaries, thereby improving the segmentation quality.

[0092] In one embodiment, the method further includes:

[0093] The industrial design annotation data is cleaned and format-converted. According to the preset prompt word template, the industrial design annotation data is converted into positive and negative prompt words for training the text-to-image model. The training dataset is differentiated according to the training objective to obtain a differentiated training set. The differentiated training set includes a rendering model training set focusing on design paradigm standardization, a creative model training set focusing on form diversity, and a hybrid model training set that integrates the two types of data.

[0094] The text-to-image model is trained based on a differentiated training set, positive prompts, and negative prompts to obtain the trained text-to-image model. The trained text-to-image model includes a rendering model, a creative model, and a hybrid model.

[0095] Specifically, the reviewed annotation data is exported from the annotation results. Each annotation data entry includes the original image file, the product category corresponding to the image, component labels for each segmented region, and appearance and texture attributes. The annotation data is cleaned and validated, removing data records with incomplete formats or attributes that do not conform to the standard terminology of knowledge graphs. The cleaned annotation data is then converted into positive and negative prompts according to a preset prompt template. The core of the conversion is to transform the structured component labels and appearance and texture attributes into natural language prompts. The template format for positive prompts is: "[Product Category] [Component Name], using [Material] material, [Process] surface treatment, color is [Color Standard], industrial design style, high..." "Clear rendering" refers to negative prompts including at least one of blurry, distorted, low resolution, watermark, text, warped, deformed, low quality, and poor rendering. Based on the training objective, the converted training data is differentiated and split into corresponding training datasets to obtain differentiated training sets. These differentiated training sets include a rendering model training set focusing on standardized design paradigms, a creative model training set focusing on diverse forms, and a hybrid model training set integrating rendering model training data and creative model training data. Based on the differentiated training sets, positive prompts, and negative prompts, the text-to-image model is trained to obtain the trained text-to-image model. The trained text-to-image model includes a rendering model, a creative model, and a hybrid model.

[0096] In the above embodiments, by cleaning and format conversion of industrial design annotation data, structured annotation information is transformed into prompt words suitable for training text-to-image models, realizing automated conversion from image annotation data to model training data, effectively expanding the application value of annotation data. At the same time, by constructing training sets differently according to different training objectives and training rendering models, creative models, and hybrid models respectively, the diverse generation needs in the field of industrial design can be met. The rendering model can be used to generate standard design schemes that conform to production specifications, the creative model can be used to explore novel forms, and the hybrid model takes into account both standardization and innovation, providing flexible and targeted model tool support for industrial design scheme generation, iterative optimization, and inspiration exploration.

[0097] In one embodiment, the method further includes:

[0098] Acquire historical industrial design images generated during the use of the trained text image model, the interactive behaviors generated when using the trained text image model, and the feedback data after generating historical industrial design images.

[0099] Based on interactive behavior and feedback data, historical industrial design images are filtered, and the filtered historical industrial design images are used as industrial design images to be labeled. The process of segmenting the industrial design images to obtain at least one segmented region is then repeated to continue training the text image model.

[0100] Specifically, the process involves acquiring user behavior data and generated result data from the AI ​​design platform; filtering suitable data for model training from the user data, with selection criteria including at least one of the following: images rated by designers with a preset star rating or higher, images frequently collected, downloaded, or shared, images that designers have edited or partially redrawn, and images where designers spend more than a preset threshold of time; organizing and managing the filtered data, including classifying images by product category, initially labeling images by design style, deduplicating, and removing images with low resolution or obvious anomalies; creating annotation tasks based on the collected data; automatically annotating the collected images using the aforementioned knowledge graph-driven annotation algorithm; automatically selecting difficult samples or new style samples with confidence levels below a preset threshold and prioritizing their submission to human annotators for review and correction; recording and feeding back frequently modified cases to the knowledge graph for updating component visual feature templates or mapping rules; fine-tuning the text-to-image model using the annotated data; and deploying the trained model to the AI ​​design platform to drive the next iteration.

[0101] In the above embodiments, by collecting historical generated images, interactive behaviors, and feedback data of the text-based image model during actual use, an effective closed loop of model-generated data—image annotation—retraining is formed. This enables the model to continuously select high-quality samples from its own generated results for automated annotation and incremental learning, expanding the scale of training data without additional manual collection and annotation costs. At the same time, filtering based on interactive behaviors and feedback data can accurately capture user-approved design schemes and preferences, making subsequent training more targeted and directional. This drives the text-based image model to continuously evolve and optimize in practical applications, improving the quality, diversity, and compatibility of generated images with user aesthetic preferences.

[0102] In one embodiment, the interactive behavior includes at least one of rating, favorite and download, secondary editing and re-editing, and page dwell time.

[0103] Specifically, interactive behaviors include at least one of the following: rating, saving and downloading, secondary editing and remaking, and page dwell time; among which, rating refers to the score given by the user to the generated industrial design image, saving and downloading refers to the user saving the generated image to their personal favorites or downloading it to their local device, secondary editing and remaking refers to the user modifying and adjusting the generated image or regenerating it based on the same prompts, and page dwell time refers to the length of time the user stays on the generated results page.

[0104] In the above embodiments, by defining various specific interaction behavior types, user preferences and satisfaction with generated images are captured from different dimensions. Among them, rating directly reflects the user's explicit evaluation, collection and download reflect the user's recognition of the image and willingness to save it, secondary editing and remaking reflect the user's interest in exploring the generated results and their tendency to modify them, and page dwell time indirectly reflects the user's attention to the generated content. The comprehensive collection of multi-dimensional interaction behaviors can more comprehensively and objectively select high-quality historical generated images as the data source for subsequent incremental training, avoiding the selection bias that may be caused by a single indicator, thereby effectively improving the sample quality of iterative training and the final model performance.

[0105] In one embodiment, such as Figure 3 The image shown illustrates a smart annotation method for industrial design images in a specific embodiment, comprising:

[0106] S1: Constructing a knowledge graph for the industrial design field. This knowledge graph adopts a three-layer semantic mapping structure, from top to bottom: Category, Component, and CMF Attributes. The three layers are linked through predefined mapping relationships to form a complete semantic network. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, with constraints existing between the nodes, such as... Figure 4 As shown.

[0107] Figure 4 In this knowledge graph, node types include: Category nodes, Component nodes, Appearance / Texture Attribute nodes (such as material, process, color), and Appearance / Texture Attribute Value nodes (such as "metal", "anodized", "Pantone 877C"). Edge types include: Belonging to (Category → Component), Containing (Component → Sub-component), Having CMF (Component → Attribute), Mutually Exclusive (between components), and Necessary (Component must exist). This graph structure supports complex semantic reasoning.

[0108] The category layer defines all supported product categories and their basic attributes. Based on the industrial design needs of the home appliance industry, core categories are pre-defined, including rice cookers, air fryers, health pots, ovens, frying pans, woks, car refrigerators (wheeled), and car refrigerators (metal). Each category has a unique number (e.g., C001 represents a rice cooker), a Chinese name, an English name, and a typical range of the number of components it contains (e.g., a rice cooker contains 5 to 7 components). The category layer also stores an overall visual feature description of each category, such as common shape outlines, size proportions, and typical placement postures. This information will be used as prior knowledge in subsequent image segmentation and component matching processes.

[0109] The component layer defines the standard components and their attributes for each product category. Taking a rice cooker as an example, its standard components include: lid, body, base, handle, control panel, steam valve, power cord interface, etc. Each component has a clear semantic name and functional description, and also stores the component's typical visual features, such as shape (circle, rectangle, bar), relative position (top, middle, bottom, side), common size proportions, etc. These visual features provide the basis for the intelligent annotation algorithm to match vision with semantics. For different product categories, the component layer can be configured independently. For example, the components of an air fryer include the frying basket, heating element, fan cover, control knob, etc., which are completely different from the component set of a rice cooker.

[0110] The Color, Material, and Finish (CMF) attribute layer is the core of the industrial design knowledge graph. It defines a standardized terminology system for three sub-dimensions: Color, Material, and Finish. The Color attribute adopts internationally recognized industrial color standards, primarily including Pantone color codes (e.g., Pantone 877C represents metallic silver) and RAL color codes (e.g., RAL 9006 represents white aluminum). Each color code corresponds to a unique color value, ensuring consistency across different personnel in the annotation results. The Material attribute defines common material types used in industrial design, such as metals (aluminum alloys, stainless steel, galvanized steel), plastics (ABS, PC, PP), glass (tempered glass, frosted glass), and ceramics. The Finish attribute defines surface treatment processes, such as anodizing, spraying (powder coating, liquid coating), electroplating, wire drawing, in-mold decoration (IMD), and high-gloss polishing. All terms in the CMF attribute layer use unified codes and names, prohibiting vague descriptions such as "silver gray" or "bright silver," thus ensuring the standardization of annotation data.

[0111] The core value of a knowledge graph lies in establishing a mapping network from categories to components, and then from components to CMF (Color, Material, Finish) attributes. Specifically, for each category, the knowledge graph defines its standard component list (i.e., the set of components in the component layer). For each component, the knowledge graph further associates it with the CMF attribute combinations that the component should possess according to industrial design specifications. For example, the standard CMF attributes of the "lid" component of a rice cooker are: metal material (aluminum alloy), anodized process, and Pantone 877C (metallic silver); while the "control panel" component is associated with: plastic material (ABS), spray coating process, and Pantone Cool Gray 6C. Based on this mapping relationship, after identifying a region in an image as the "lid," the system can automatically fill in the required appearance and texture attribute values ​​for that lid component without requiring manual selection. Simultaneously, the mapping relationship supports inheritance and overriding: if all components under a certain category share certain appearance and texture attributes (such as the brand's main color), these can be uniformly defined at the category level, while only differentiated attributes are defined at the component level, reducing redundancy in the knowledge graph.

[0112] In a knowledge graph, there are also constraints defined between nodes, including: mutual exclusion constraints (certain components cannot exist simultaneously under a category), necessity constraints (certain components must exist under a category), location prior constraints (the location distribution of components in the image), and quantity constraints (the upper or lower limit of the number of times a component appears).

[0113] S2: Obtain the industrial design images to be annotated. Import the industrial design images to be annotated through the upload interface of the annotation tool. After the upload is complete, generate a unique image identifier for each image and store the image in the original image library.

[0114] S3: Segment the industrial design image to obtain at least one segmented region. The goal of this stage is to segment the input industrial design image into several independent semantic regions, providing a foundation for subsequent component recognition. SAM (Segment Anything Model) is used as the basic segmentation model. SAM is a general image segmentation model proposed by Meta AI, which has advantages such as strong versatility (no need for fine-tuning for the industrial design domain), support for multiple prompting methods (points, boxes, text), and fast inference speed.

[0115] The segmentation process is as follows: First, the original industrial design image is input into the SAM model. The default is fully automatic mode, meaning no manual prompts are provided; SAM automatically generates segmentation masks for all possible objects in the image. Second, the SAM model analyzes the image and outputs several independent segmentation masks. Each mask corresponds to a visually coherent region, which may be a complete industrial design component (such as a cover or control panel), a part of a component, or a background element. Third, the output segmentation masks undergo post-processing filtering. This includes: removing masks with excessively small areas (e.g., areas smaller than 0.5% of the total image area), which are typically noise or extremely small decorative details; merging masks with excessive overlap (IoU greater than 0.8), retaining the larger one; and smoothing the mask boundaries to eliminate jagged edges.

[0116] The output format of the segmentation stage is as follows: Each segmentation mask includes a mask ID, mask pixel coordinates, a mask bounding box, and a mask area. The mask ID uniquely identifies the region's sequence number; the mask pixel coordinates are a binary matrix or a set of contour points used to identify the pixel positions covered by the region; the mask bounding box is the coordinates of the top-left and bottom-right corners of its circumscribed rectangle; and the mask area is in pixels. These segmentation results will be fed into the next stage for feature extraction.

[0117] S4: Extract visual feature vectors of the segmented regions. The goal of this stage is to extract high-dimensional semantic feature vectors for each segmented mask region, which will be used for subsequent matching with component templates in the knowledge graph.

[0118] Feature extraction model selection: The visual encoder of the pre-trained CLIP model is used as the feature extraction backbone. CLIP (Contrastive Language-Image Pre-Training), developed by OpenAI, can map images to a semantic vector space aligned with text, making it very suitable for cross-modal matching tasks.

[0119] The specific process of feature extraction is as follows: First, for each segmentation mask, the corresponding image region is cropped from the original image. During cropping, the bounding box of the mask is used as a reference, and an additional 10% of pixels is added outwards as a context buffer to avoid losing key edge information during cutting. Second, the cropped image region is scaled to a uniform size (e.g., 224×224 pixels) and standardized (normalized to the [0,1] interval or a standard normal distribution). Third, the scaled image patch is input into the CLIP visual encoder. This encoder is a deep neural network (usually a Vision Transformer or ResNet architecture) that outputs a high-dimensional vector, which can be 512-dimensional. Fourth, this 512-dimensional vector is used as the visual feature vector of the segmented region, denoted as v_region. This vector encodes the region's shape, texture, color, and other visual semantic information.

[0120] Multimodal feature fusion: To further enhance the robustness of feature representation, multiple feature sources can be fused. These include: visual features: the v_region output by the CLIP encoder; geometric features: hand-designed geometric descriptors, such as the region's aspect ratio, roundness, convexity, and area percentage. These features are discriminative for distinguishing components like "control panels" (usually flat rectangles or circles) and "handles" (slender arcs); and positional features: the normalized coordinates (x, y) of the region's center relative to the overall image, and the region's relative height in the image (e.g., discrete encodings of "upper," "middle," and "lower"). These multimodal feature vectors are fused into a single comprehensive feature vector through concatenation or weighted summation, serving as the final region representation. If computational resources are limited, only CLIP visual features can be used, still achieving acceptable matching accuracy.

[0121] S5: Component identification and attribute association are performed on the segmented region based on the knowledge graph. The visual feature vector is matched with the feature templates of each component in the corresponding product category under the knowledge graph to obtain initial matching results. Multiple checks are performed on the initial matching results based on the constraints in the knowledge graph to obtain reliable component annotation results. These reliable component annotation results are then associated with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data. This stage is the core of the algorithm of this invention, and its goal is to use the domain knowledge graph to map visual feature vectors to industrial design component labels and appearance and texture attributes.

[0122] Step 1: Determine the product category. Before matching components, it's necessary to determine the product category corresponding to the current image (e.g., rice cooker, air fryer, etc.). There are two ways to determine the category: explicit specification, where the user selects the product category from a drop-down menu when uploading the image; this method is the most accurate and suitable for batch labeling. Automatic inference, where if the user doesn't specify, an image classification model predicts the category of the entire image. If the highest confidence level is below a preset threshold, it's marked as "Category to be confirmed" and pushed to manual selection.

[0123] Step 2: Component Semantic Inference. After determining the category, candidate components for that category are traversed and matched. The specific algorithm is as follows: A list of all standard components under the current category is obtained from the knowledge graph. For example, the component list for a rice cooker is: {lid, body, base, handle, control panel, steam valve}. For each candidate component, its pre-stored standard feature vector template is obtained from the knowledge graph. This template can be the average value or cluster center of the visual feature vector of a typical image of the component, or it can be the text vector generated by a text encoder from the text description of the component (e.g., "round transparent lid"). The cosine similarity between the visual feature vector v_region of the segmented region and the template vector v_template of each component is calculated. The cosine similarity is... The range of cosine similarity is The closer the value is to 1, the more similar the parts are. The candidate parts with the highest similarity are found and their similarity is recorded as sim_max. If sim_max is greater than a preset threshold, the part is taken as the initial matching result; otherwise, the region is marked as "unknown region" or "background" and no part label is assigned.

[0124] Step 3: Knowledge Graph Constraint Verification. The initial matching results need to be verified a second time using the constraint rules stored in the knowledge graph to eliminate ambiguity. The constraint rules include: Mutually Exclusive Constraints, used to determine if mutually exclusive component labels appear simultaneously in the same industrial design image. For example, a rice cooker with both "control panel" and "knob" is mutually exclusive (their functions overlap). If the current region is matched as "control panel," while another region in the image is already matched as "knob," a conflict is triggered, both are marked as low confidence, and manual review is recommended. Necessary Constraints, used to determine if necessary component labels are missing in the same industrial design image. A rice cooker must contain a "lid" and a "body." If these two components are not found in any segmented regions, a "necessary component missing" message will be displayed. Prior Location Constraints, used to determine if the location of the segmented region corresponding to the component label conforms to a preset location distribution. For example, "base" is usually located at the bottom of the image, and "handle" is usually located on the sides or top. If a region matched as "handle" appears at the bottom center of the image, its confidence is reduced, and manual review is recommended. The quantity constraint is used to determine whether the number of times the same component label appears in the industrial design image exceeds a preset limit. Some components can only appear once (e.g., "top cover"), while others can appear multiple times (e.g., "decorative strip"). If the number of matched components exceeds the limit, a review is triggered. Component labels in areas that pass the constraint verification are confirmed; areas that fail verification are marked for manual correction.

[0125] Step 4: Appearance and Texture Attribute Association. After the component label is confirmed, the system automatically retrieves the associated appearance and texture attributes of the component from the knowledge graph: based on the component label, it queries the attribute nodes in the knowledge graph that are connected to the node with a "CMF" relationship to obtain the standard values ​​of material, process, and color. It should be noted that the appearance and texture attributes associated in this step are based on the standard recommended values ​​of industrial design specifications, rather than a reverse identification of the actual appearance and texture attributes of the component in the input image. The reason for this is that the labeled data will be uniformly standardized under the enterprise's design standard system, and the trained model will learn to generate designs that conform to the specifications, rather than copying non-standard appearance and texture attributes that may exist in the input image.

[0126] The annotation results are output in a structured text format, including image identifiers, product categories, region lists, and pending review tags. Image identifiers record the filename or unique number of the original image; product categories record the name of the identified or user-specified product category and the confidence level of that category determination; each segmented region in the region list includes a region number, component name, confidence level of the annotation, appearance and texture attributes (material, process, color), mask data, and bounding box. The region number uniquely identifies the region's sequence number, the component name is the labeled industrial design component label, each appearance and texture attribute is a standard term from the knowledge graph (e.g., "metal (aluminum alloy)," "anodized," "Pantone 877C"), the mask data describes the region boundary in the form of a coordinate point set or pixel matrix, and the bounding box uses four values ​​to represent the position and size of the circumscribed rectangle; pending review tags list the region numbers that require manual review.

[0127] The manual correction process is as follows: After automatic annotation is completed, the confidence level of all segmented region annotation results is evaluated. Regions with a confidence level higher than 85% are automatically accepted and directly stored in the confirmed annotation library; regions with a confidence level lower than 85% generate a list of regions awaiting review. Annotators can accept recommended component labels and appearance / texture attributes, modify incorrect labels, delete erroneous regions, and manually add missing regions on the annotation tool interface. For cases where component labels are correct but appearance / texture attributes need adjustment, annotators can directly modify the material, process, and color options. The modified appearance / texture attributes are recorded and used as candidate data for subsequent knowledge graph updates. After processing all regions awaiting review, annotators submit the review results, and the reviewed annotation data is stored in the final high-quality annotation dataset. In addition, cases of frequent modifications by annotators can be statistically analyzed and periodically used to update component visual feature templates or adjust mapping rules in the knowledge graph, achieving self-evolution of the knowledge graph.

[0128] Step 5: Confidence Assessment and Thresholding. A comprehensive confidence score is given for the entire annotation result, calculated using the following formula: ,in The degree to which the constraint validation is passed (pass is 1.0, partial violations are penalized proportionally). Regions are divided into three categories based on confidence level: high confidence (…). The annotation results are automatically accepted without manual review; medium confidence level ( The annotation results are provided for manual reference and are recommended for review; low confidence ( The annotation results are unreliable and must be manually re-annotated.

[0129] Specifically, 0.7 is acceptable. A value of 0.3 can be chosen to make the similarity matching result dominate the confidence score. and The sum is 1.

[0130] S6: Data Conversion and Model Iteration Closed Loop from Annotated Data to Model Training. Export the reviewed and approved labeled data from the annotation results. Each labeled data entry includes the original image file, the product category corresponding to the image, the component label for each segmented region, and CMF attributes (material, process, color). Clean and validate the labeled data, removing incomplete or obviously erroneous records. For example, check if each image contains at least one valid component region and if the CMF attributes belong to the standard terms defined in the knowledge graph. Convert the cleaned labeled data into the training data format required by the text graph model. The core of the conversion is to transform the structured labeled information (component + CMF) into natural language prompts. Generate positive prompts according to a fixed template. The template format is: "[Product Category] [Component Name], [Material], [Process] Surface Treatment, [Color Standard], Industrial Design Style, High-Resolution Rendering," where the square brackets are extracted from the labeled data. If an image contains multiple components, concatenate the descriptions of each component according to their spatial relationship (from top to bottom, from left to right), using natural language connectors such as "and," "with," and "equipped with." Fixed negative warning words are automatically added to avoid generating low-quality or invalid content. These negative warning words include: "blurry, distorted, low resolution, watermark, text, warped, deformed, low quality, poor rendering". The converted training data is classified and split according to model type (rendering model, creative model, hybrid model) and stored in the corresponding training dataset.

[0131] For rendering models, creative models, and hybrid models, a differentiated training data organization strategy is adopted: The training data for rendering models primarily consists of company-owned product materials, accounting for no less than 80% of the total training data. These materials originate from images of industrial design products that have been launched or delivered by the company, possessing a unified brand tone, strict design specifications, and realistic CMF applications. Each image in the training set is precisely labeled with component and CMF attributes to ensure the model learns generation capabilities that conform to company standards. The remaining 20% ​​of the training data may include a small amount of high-quality open-source design materials to increase the model's generalization ability. The training data for creative models primarily consists of open-source design materials, accounting for no less than 70% of the total training data. These materials originate from public design communities, design competitions, and showcases of outstanding industrial design works, exhibiting diverse styles and strong innovation, including various non-traditional materials and processes. The training set still follows the same annotation specifications for components and CMF, but allows innovative combinations of CMF attributes beyond the standard values ​​of the knowledge graph (such as unconventional combinations like "transparent plastic + electroplating"). The training goal of the creative model is to provide inspiration for designers, so the requirements for brand consistency in the generated results are lower, while the requirements for innovation are higher. The training data of the hybrid model is composed of a 1:1 mixture of training data from the rendering model and training data from the creative model. The mixed training set includes both design cases based on corporate standards and innovative cases with diverse styles. During training, an additional style tag, such as "[Rendering Style]" or "[Creative Style]", will be added to the prompt words so that the model can switch according to the style mode selected by the user during generation. The hybrid model aims to balance professionalism and creativity, meeting the diverse needs of industrial design work from "brand standards" to "creative exploration".

[0132] The model iteration loop comprises five core stages, forming a complete continuous optimization cycle: Stage 1: Designers create industrial designs on the AIGC platform, generating design drafts and interaction data; Stage 2: Valuable design data and user feedback are automatically collected; Stage 3: The collected data undergoes knowledge graph-driven intelligent annotation and is subject to human review; Stage 4: The annotated data is used to fine-tune the LoRA model and performs quality checks; Stage 5: The trained model is deployed to the production environment for designers to continue using. These five stages are interconnected, forming a closed loop.

[0133] Designers use the AIGC platform, which offers core functions including: text-to-image generation (generating design drafts based on input prompts), image-to-image variant generation (generating multiple variants based on reference images), partial redrawing (modifying specific areas of the design draft), and parameter adjustment (controlling generation intensity, style intensity, sampling steps, etc.). The platform automatically records the following valuable data during the designer's use: positive and negative prompts input by the designer; generated images and their corresponding generation parameters; the designer's rating of the generated results (e.g., star ratings); records of the designer's actions such as saving, downloading, or sharing the generated results; records of the designer's secondary editing or partial modifications to the generated results; and the time the designer spends on the generated results (as a reference for preference).

[0134] Data suitable for model training was selected from the usage data. Selection criteria included: images rated four or five stars by designers; images frequently saved, downloaded, or shared; images that designers had edited or partially redrawn (indicating user appreciation for improvement); images where users spent more than 30 seconds viewing the generated result (indicating user interest); and a randomly selected 5% low-scoring image (used for learning negative examples). The selected data was then organized and managed, including: classifying images by product category (rice cooker, air fryer, etc.); initially labeling images by design style (realistic rendering, conceptual / creative style, etc.); deduplicating images, removing completely duplicated or highly similar images; and removing images with excessively low resolution or obvious anomalies.

[0135] Annotation tasks are created based on the collected data. A new annotation task is automatically generated for each batch of images to be annotated, including task name, creation time, number of images, and priority. The aforementioned knowledge graph-driven annotation algorithm is used to automatically annotate the collected images. The annotation process consists of four stages: image segmentation, visual feature extraction, knowledge matching and semantic inference, and annotation output. Part labels and CMF attribute labels are automatically generated for each image, and the confidence level of each annotation result is calculated. "Difficult samples" or "new style samples" with a confidence level below 70% are automatically selected and prioritized for human annotators to review and correct. Samples with a confidence level above 90% are directly adopted without human intervention. Annotators perform quality control on the pushed low-confidence samples. Annotators can view the AI ​​annotation results for each segmented region in the annotation tool interface and can accept, modify, or delete labels. Cases where annotators frequently make modifications are recorded and fed back to the knowledge graph for updating part visual feature templates or mapping rules.

[0136] Depending on the target model type (rendering model, creative model, or hybrid model), corresponding training data is extracted from the labeled dataset. The training set for rendering models typically consists of 1,000 to 5,000 images, primarily using company-owned assets, with a batch size of 4 or 8, a learning rate of 1 x 10⁻⁵, and 20 to 50 training epochs. For creative models, the training set consists of 5,000 to 20,000 images, primarily using open-source assets, with a batch size of 8, a learning rate of 5 x 10⁻⁶, and 30 to 80 training epochs. For hybrid models, the training set consists of 10,000 to 30,000 images, with half from company-owned assets and half from open-source assets, a batch size of 8 or 16, a learning rate of 1 x 10⁻⁵, and 40 to 100 training epochs. LoRA (Low-Rank Adaptation) is an efficient model fine-tuning technique that achieves efficient parameter fine-tuning by adding a low-rank matrix to the attention layer of the pre-trained model. The specific process is as follows: Load the pre-trained weights of the base text graph model (such as Stable Diffusion 1.5 or SDXL); construct the LoRA adapter module, adding a trainable low-rank matrix next to the query and value projection matrices of each attention layer, with the rank of the matrix typically set to sixteen or thirty-two; train the LoRA module using the labeled training dataset, keeping the parameters of the base model unchanged during training and only updating the parameters of the low-rank matrix in the LoRA module; monitor the convergence of the loss function during training, stopping training when the loss value no longer decreases for five consecutive rounds; save the trained LoRA module weights as a Safetensors format file.

[0137] After training, the model undergoes quality checks, including: using the FID (Fixed Identifier) ​​metric to measure the distribution distance between the generated image and the real image (lower FID indicates higher generation quality); using the CLIP Score to calculate the semantic relevance between the generated image and the input prompt word (higher score indicates better matching); manual evaluation or evaluation using a classification model to assess the implementation of specified CMF (Continuous Meaning Factor) attributes in the generated results; and inviting designers to conduct blind testing and scoring of the model's generated results. Only models that meet all preset thresholds (e.g., FID below 30, CLIP Score above 0.3, and CMF accuracy above 80%) can proceed to the deployment phase.

[0138] The new model, having passed quality verification, is deployed to the AIGC platform. The deployment process includes: uploading model weights to the model repository, updating the model configuration file, starting a new model inference service instance, and performing a health check. To mitigate the risks of launching the new model, a canary release strategy is adopted: initially, the new model is only available to internal test users, accounting for no more than 5%; A / B testing data is collected to compare the performance of the new model and the old model in terms of generation quality, user ratings, response time, etc.; if the new model outperforms or matches the old model in all metrics, the traffic share of the new model is gradually increased, successively to 10%, 25%, 50%, and 100%; throughout the release process, error rates and user feedback are continuously monitored, and any anomalies are immediately rolled back to the old model; once the new model has been running stably for more than a week without any obvious problems, it officially replaces the old model as the default model.

[0139] The system continuously collects the following feedback: positive feedback on the generated results (actions such as saving, downloading, high ratings, generating variations, etc.); negative feedback on the generated results (actions such as low ratings, skipping quickly, deleting, etc.); modification records (specific modifications made by designers to the generated images through partial redrawing or secondary editing); and prompt word adjustments (records of modifications and optimizations made by designers to the original prompt words). Each completed loop accumulates a new batch of high-quality labeled data, including excellent design images and their corresponding prompt words selected from user feedback, component and CMF labels confirmed through intelligent annotation and manual review, and prompt word text manually modified and optimized by designers. The model iterates and updates according to a preset rhythm: when the newly accumulated labeled data exceeds 500 images, a model fine-tuning is automatically triggered; incremental training is performed weekly using the newly accumulated data; and a full retraining is performed monthly using all historical data. Through continuous iteration, the model can continuously learn the latest design trends, corporate brand tone, and designers' personal preferences.

[0140] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0141] Based on the same inventive concept, this application also provides an intelligent annotation device for industrial design images to implement the intelligent annotation method for industrial design images described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more intelligent annotation device embodiments for industrial design images provided below can be found in the limitations of the intelligent annotation method for industrial design images described above, and will not be repeated here.

[0142] In one exemplary embodiment, such as Figure 5 As shown, an intelligent annotation device for industrial design images is provided, comprising: a construction module 502, a segmentation module 504, a matching module 506, a verification module 508, and an annotation module 510, wherein:

[0143] Module 5002 is used to build a knowledge graph in the field of industrial design. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. Appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes.

[0144] The segmentation module 504 is used to acquire the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region.

[0145] The matching module 506 is used to match the visual feature vector with the feature templates of each component of the corresponding product category under the knowledge graph, and obtain the initial matching result between the industrial design image and the component based on the matching confidence between the feature templates of each component and the visual feature vector.

[0146] The verification module 508 is used to perform multiple verifications on the initial matching results based on the constraint relationships in the knowledge graph, obtain the initial matching results that pass the multiple verifications, and use them as the trusted component annotation results.

[0147] The annotation module 510 is used to associate the annotation results of trusted components with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

[0148] In one embodiment, the constraint relationship includes at least one of the following:

[0149] Mutual exclusion constraints are used to determine whether mutually exclusive components appear simultaneously in the same industrial design image;

[0150] Necessary constraints are used to determine whether any necessary components are missing from the same industrial design image.

[0151] Prior position constraints are used to determine whether the position of the segmented region corresponding to the component conforms to the preset position distribution;

[0152] Quantity constraints are used to determine whether the number of times the same component appears in an industrial design image exceeds a preset limit.

[0153] In one embodiment, the segmentation module 504 is used to segment the industrial design image to obtain at least one segmented region, including:

[0154] Perform global mask segmentation on industrial design images to generate initial segmentation regions;

[0155] The initial segmented region is subjected to noise filtering, overlapping region merging, and boundary smoothing to obtain at least one segmented region.

[0156] In one embodiment, the method further includes:

[0157] The industrial design annotation data is cleaned and format-converted. According to the preset prompt word template, the industrial design annotation data is converted into positive and negative prompt words for training the text-to-image model. The training dataset is differentiated according to the training objective to obtain a differentiated training set. The differentiated training set includes a rendering model training set focusing on design paradigm standardization, a creative model training set focusing on form diversity, and a hybrid model training set that integrates the two types of data.

[0158] The text-to-image model is trained based on a differentiated training set, positive prompts, and negative prompts to obtain the trained text-to-image model. The trained text-to-image model includes a rendering model, a creative model, and a hybrid model.

[0159] In one embodiment, the method further includes:

[0160] Acquire historical industrial design images generated during the use of the trained text image model, the interactive behaviors generated when using the trained text image model, and the feedback data after generating historical industrial design images.

[0161] Based on interactive behavior and feedback data, historical industrial design images are filtered, and the filtered historical industrial design images are used as industrial design images to be labeled. The process of segmenting the industrial design images to obtain at least one segmented region is then repeated to continue training the text image model.

[0162] In one embodiment, the interactive behavior includes at least one of rating, favorite and download, secondary editing and re-editing, and page dwell time.

[0163] Each module in the aforementioned intelligent annotation device for industrial design images can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0164] In one embodiment, such as Figure 6 As shown, an intelligent annotation system for industrial design images is provided. The system comprises, from bottom to top, a data layer, a knowledge layer, a core service layer, an application layer, and a user layer.

[0165] The data layer includes a raw image library and a model repository. The raw image library stores industrial design images to be labeled, labeled industrial design images, and labeling result files; the model repository stores the weight files of the trained text-based image models and different versions of model files.

[0166] The knowledge layer includes an industrial design knowledge graph. This graph has a top-down three-layer structure: product categories, components, and appearance / texture attributes. Appearance / texture attributes include color, material, and surface treatment processes. The knowledge graph includes product category nodes, component nodes, appearance / texture attribute nodes, and attribute value nodes, with constraints between these nodes. The knowledge graph stores a mapping network from categories to components and from components to appearance / texture attributes, supporting inheritance and overriding.

[0167] The core service layer includes an intelligent annotation engine and a model training and deployment module. The intelligent annotation engine performs the following operations: segments the industrial design image to be annotated, obtaining at least one segmented region; extracts visual feature vectors from each segmented region; matches the visual feature vectors with feature templates of corresponding components within the product category in the knowledge graph to obtain initial matching results; performs multiple checks on the initial matching results based on constraints in the knowledge graph to obtain credible component annotation results; and associates the credible component annotation results with corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data containing category, component, material, color, and surface treatment process. The intelligent annotation engine includes an image segmentation module, a visual feature extraction module, and a knowledge matching and semantic inference module. The image segmentation module uses the SAM model to automatically segment the input industrial design image, outputting several segmentation masks; the visual feature extraction module uses the CLIP visual encoder to extract features from each segmented region, outputting visual feature vectors for each segmented region; the knowledge matching and semantic inference module performs matching by calculating the similarity between the visual feature vectors and the standard feature vectors of component nodes in the knowledge graph, and uses constraint rules in the knowledge graph for secondary verification to eliminate semantic ambiguity. The model training and deployment module is used to fine-tune the Wensheng graph model using labeled data using LoRA, deploy the trained model to the artificial intelligence design platform, and gradually increase the traffic share of the new model using a canary release strategy, continuously monitor the error rate and user feedback, and immediately roll back to the old model if any anomaly is detected.

[0168] The application layer includes the AIGC design platform and annotation tool interface. The AIGC design platform is used by designers to create industrial designs, providing functions such as text-to-image generation (generating design drawings by inputting prompts), image-to-image variants (generating multiple variants based on reference images), local redrawing (modifying specific areas of the design drawing), and parameter adjustment (controlling generation intensity, style intensity, sampling steps, etc.). The platform automatically records the designer's usage behavior data and generation result data during use, which is used to drive the model iteration closed loop. The annotation tool interface is used by annotators to perform annotation tasks, providing image upload and management, automatic segmentation and annotation, annotation workflow, and annotation list management functions. The image upload and management function supports both single-image and batch upload modes. In the automatic segmentation and annotation function, annotators click the "Automatic Segmentation" button to call the SAM model for fully automatic image segmentation. The system overlays different segmented regions onto the image using semi-transparent masks of different colors. The annotation workflow includes region selection, component annotation, appearance and texture attribute selection, region adjustment, submission, and navigation. In the annotation list management function, the annotation list panel displays all annotated regions in the current image in a tree or list format. Each region entry displays the region number, component name, and confidence level color indicator.

[0169] The user base includes designers and annotators. Designers create industrial designs using the AIGC design platform, while annotators perform image annotation and review / correction tasks through the annotation tool interface.

[0170] Data exchange between different layers is achieved through API interfaces.

[0171] Optionally, the intelligent labeling engine also includes a confidence assessment function, which provides a comprehensive confidence score for the matching results and divides the regions into three categories based on confidence: high confidence (automatically accepted), medium confidence (for human reference and recommendation review), and low confidence (must be manually relabeled).

[0172] Optionally, the model training and deployment module extracts relevant training data from the labeled dataset based on the target model type (rendering model, creative model, or hybrid model), and uses LoRA fine-tuning technology to efficiently fine-tune the parameters of the text image model. After training, the model undergoes quality verification, with verification metrics including FID, CLIP Score, accuracy of appearance and texture attribute control, and subjective human scoring. Only models that meet the preset thresholds for all metrics can proceed to the deployment phase.

[0173] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements an intelligent annotation method for industrial design images. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0174] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0175] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0176] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0177] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0178] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0179] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0180] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0181] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for intelligent annotation of industrial design images, characterized in that, The method includes: A knowledge graph for the field of industrial design is constructed. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. The appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraints between the nodes. Obtain the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region; The visual feature vector is matched with the feature templates of each component of the corresponding product category under the knowledge graph. Based on the matching confidence between the feature templates of each component and the visual feature vector, the initial matching result between the industrial design image and the component is obtained. Based on the constraint relationships in the knowledge graph, the initial matching result is subjected to multiple verifications to obtain the initial matching result that passes the multiple verifications, and is used as the trusted component annotation result. The trusted component annotation results are associated with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

2. The method according to claim 1, characterized in that, The constraint relationship includes at least one of the following: Mutual exclusion constraints are used to determine whether mutually exclusive components appear simultaneously in the same industrial design image. Necessary constraints are used to determine whether any necessary components are missing in the same industrial design image. Prior position constraints are used to determine whether the position of the segmented region corresponding to the component conforms to the preset position distribution; The quantity constraint is used to determine whether the number of times the same component appears in the industrial design image exceeds a preset upper limit.

3. The method according to claim 1, characterized in that, The segmentation process of the industrial design image to obtain at least one segmented region includes: The industrial design image is segmented using a global mask to generate an initial segmentation region; The initial segmented region is subjected to noise filtering, overlapping region merging, and boundary smoothing to obtain at least one segmented region.

4. The method according to claim 1, characterized in that, The method further includes: The industrial design annotation data is cleaned and format-converted. According to the preset prompt word template, the industrial design annotation data is converted into positive and negative prompt words for training the text-to-image model. The training dataset is differentiated according to the training objective to obtain a differentiated training set. The differentiated training set includes a rendering model training set focusing on design paradigm standardization, a creative model training set focusing on morphological diversity, and a hybrid model training set that integrates the two types of data. Based on the differentiated training set, the positive prompts, and the negative prompts, the text-to-image model is trained to obtain the trained text-to-image model; the trained text-to-image model includes a rendering model, a creative model, and a hybrid model.

5. The method according to claim 4, characterized in that, The method further includes: Acquire historical industrial design images generated during the use of the trained text image model, the interactive behaviors generated when using the trained text image model, and the feedback data after generating the historical industrial design images. Based on the interactive behavior and the feedback data, the historical industrial design images are filtered, and the filtered historical industrial design images are used as industrial design images to be labeled. The process of segmenting the industrial design images to obtain at least one segmented region is returned and continued to be executed to continue training the text image model.

6. The method according to claim 1, characterized in that, The interactive behaviors include at least one of the following: rating, favorite and download, secondary editing and remaking, and page dwell time.

7. An intelligent annotation device for industrial design images, characterized in that, The device includes: The construction module is used to build a knowledge graph in the field of industrial design. The knowledge graph is a three-layer structure from top to bottom, consisting of product categories, components, and appearance and texture attributes. The appearance and texture attributes include color, material, and surface treatment process. The knowledge graph includes product category nodes, component nodes, appearance and texture attribute nodes, and attribute value nodes, and there are constraint relationships between the nodes. The segmentation module is used to acquire the industrial design image to be labeled, segment the industrial design image to obtain at least one segmented region, and extract the visual feature vector of the segmented region. The matching module is used to match the visual feature vector with the feature templates of each component of the corresponding product category under the knowledge graph, and obtain the initial matching result between the industrial design image and the component based on the matching confidence between the feature templates of each component and the visual feature vector. The verification module is used to perform multiple verifications on the initial matching result based on the constraint relationship in the knowledge graph, obtain the initial matching result that passes the multiple verifications, and use it as the trusted component annotation result. The annotation module is used to associate the annotation results of the trusted components with the corresponding appearance and texture attributes in the knowledge graph to generate industrial design annotation data that includes category, component, material, color and surface treatment process.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.