[go: up one dir, main page]

CN117413988A - Unconventional large lapel garment platemaking collar matching method - Google Patents

Unconventional large lapel garment platemaking collar matching method Download PDF

Info

Publication number
CN117413988A
CN117413988A CN202311413009.0A CN202311413009A CN117413988A CN 117413988 A CN117413988 A CN 117413988A CN 202311413009 A CN202311413009 A CN 202311413009A CN 117413988 A CN117413988 A CN 117413988A
Authority
CN
China
Prior art keywords
data
clothing
lapel
sewing
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202311413009.0A
Other languages
Chinese (zh)
Inventor
曹桢
徐湘丽
施勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Vocational and Technical College
Original Assignee
Hangzhou Vocational and Technical College
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Vocational and Technical College filed Critical Hangzhou Vocational and Technical College
Priority to CN202311413009.0A priority Critical patent/CN117413988A/en
Publication of CN117413988A publication Critical patent/CN117413988A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A41WEARING APPAREL
    • A41HAPPLIANCES OR METHODS FOR MAKING CLOTHES, e.g. FOR DRESS-MAKING OR FOR TAILORING, NOT OTHERWISE PROVIDED FOR
    • A41H3/00Patterns for cutting-out; Methods of drafting or marking-out such patterns, e.g. on the cloth
    • A41H3/007Methods of drafting or marking-out patterns using computers

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Sewing Machines And Sewing (AREA)

Abstract

本发明公开了一种非常规的大翻领服装制版配领方法,属于服装设计制作技术领域,该配领方法具体步骤如下:(1)依据服装知识图谱确定大翻领服装制版图;(2)收集面料信息并依据制版图进行裁剪;(3)对裁剪后的面料进行智能化缝制大翻领服装;(4)收集缝纫数据并上传至设计平台;(5)分布式存储制作数据并实时监控调整平台性能;本发明能够实现自动化缝制过程,提高缝制效率,加快生产速度,减少人工干预的需要,降低人为错误的风险,提高制版质量,优化布料的使用,避免不必要的浪费,能够使设计师和从业者更容易地访问和了解服装设计相关知识,提供准确的信息和指导,有助于提高设计的创新性,提高了服装设计和制版的质量。

The invention discloses an unconventional pattern-making and matching method for large-lapel clothing, which belongs to the technical field of clothing design and production. The specific steps of the collar-fitting method are as follows: (1) Determine the large-lapel clothing pattern-making drawing based on the clothing knowledge map; (2) Collect Fabric information and cutting according to the pattern making drawing; (3) Intelligent sewing of large lapel garments on the cut fabric; (4) Collect sewing data and upload to the design platform; (5) Distributed storage of production data and real-time monitoring and adjustment Platform performance; the present invention can realize the automated sewing process, improve sewing efficiency, speed up production, reduce the need for manual intervention, reduce the risk of human error, improve the quality of plate making, optimize the use of fabrics, avoid unnecessary waste, and enable Designers and practitioners can more easily access and understand knowledge related to clothing design, provide accurate information and guidance, help improve the innovation of design, and improve the quality of clothing design and pattern making.

Description

一种非常规的大翻领服装制版配领方法An unconventional method of pattern making and collar matching for large lapel garments

技术领域Technical field

本发明涉及服装设计制作技术领域,尤其涉及一种非常规的大翻领服装制版配领方法。The present invention relates to the technical field of clothing design and production, and in particular to an unconventional pattern making and collar matching method for large lapel clothing.

背景技术Background technique

时尚设计是一个富有创意和不断演进的领域,反映了社会、文化和个人的变化。在这个充满活力的领域中,服装设计被认为是一门艺术,同时也是一个复杂的工程。服装的设计和制版是创造时尚品牌和满足消费者需求的关键步骤之一。然而,传统的服装制版方法往往繁琐、耗时,容易出现误差,并且可能限制了设计师的创造性。大翻领服装一直以其奢华和别致的外观而备受推崇,但其制版和配领要求更高的技术和技巧。传统的制版过程通常需要大量手工工艺和复杂的测量,这不仅增加了制版成本,还可能导致不完美的服装。因此,寻求一种非常规的大翻领服装制版配领方法,以提高效率、减少错误,并鼓励更多的创新,已成为时尚行业的关注焦点;因此,发明出一种非常规的大翻领服装制版配领方法变得尤为重要。Fashion design is a creative and evolving field that reflects social, cultural and personal changes. In this dynamic field, fashion design is considered an art as well as a complex project. The design and pattern making of clothing is one of the key steps in creating a fashion brand and meeting consumer needs. However, traditional garment pattern making methods are often cumbersome, time-consuming, error-prone, and may limit designers' creativity. Large lapel clothing has always been highly praised for its luxurious and chic appearance, but its pattern making and collar matching require higher technology and skills. The traditional pattern-making process usually requires a lot of manual craftsmanship and complex measurements, which not only increases the cost of pattern-making, but may also result in imperfect garments. Therefore, seeking an unconventional pattern-making and matching method for large-lapel garments to improve efficiency, reduce errors, and encourage more innovation has become the focus of the fashion industry; therefore, an unconventional large-lapel garment was invented. The plate making and matching method has become particularly important.

经检索,中国专利号CN110558659A公开了一种非常规的大翻领服装制版配领方法,该发明虽然推动服装院校教材升级,进而提高教学质量和就业率,以促进服装业转型升级繁荣发展,但是无法进行自动化缝制过程,生产速度较慢,且需要大量人工干预的需要,增加人为错误的风险;此外,现有的大翻领服装制版配领方法不利于提高设计的创新性,降低服装设计和制版的质量,无法提供准确的信息和指导;为此,我们提出一种非常规的大翻领服装制版配领方法。After searching, Chinese patent number CN110558659A discloses an unconventional pattern-making and matching method for large lapel clothing. Although this invention promotes the upgrading of teaching materials in clothing colleges, thereby improving the teaching quality and employment rate, and promoting the transformation, upgrading and prosperity of the clothing industry, it The automatic sewing process cannot be carried out, the production speed is slow, and a large amount of manual intervention is required, which increases the risk of human error; in addition, the existing pattern making and matching method of large lapel clothing is not conducive to improving the innovation of design, reducing the cost of clothing design and The quality of pattern making cannot provide accurate information and guidance; therefore, we propose an unconventional pattern making and matching method for large lapel clothing.

发明内容Contents of the invention

本发明的目的是为了解决现有技术中存在的缺陷,而提出的一种非常规的大翻领服装制版配领方法。The purpose of the present invention is to propose an unconventional pattern making and matching method for large lapel clothing in order to solve the defects existing in the prior art.

为了实现上述目的,本发明采用了如下技术方案:In order to achieve the above objects, the present invention adopts the following technical solutions:

一种非常规的大翻领服装制版配领方法,该配领方法具体步骤如下:An unconventional pattern-making and matching method for large lapel clothing. The specific steps of this collar matching method are as follows:

(1)依据服装知识图谱确定大翻领服装制版图;(1) Determine the layout of large lapel clothing based on the clothing knowledge map;

(2)收集面料信息并依据制版图进行裁剪;(2) Collect fabric information and cut according to the pattern making drawing;

(3)对裁剪后的面料进行智能化缝制大翻领服装;(3) Intelligent sewing of large lapel garments from the cut fabrics;

(4)收集缝纫数据并上传至设计平台;(4) Collect sewing data and upload it to the design platform;

(5)分布式存储制作数据并实时监控调整平台性能。(5) Distributed storage of production data and real-time monitoring and adjustment of platform performance.

作为本发明的进一步方案,步骤(1)中所述大翻领服装制版图确定具体步骤如下:As a further solution of the present invention, the specific steps for determining the pattern making of the large lapel garment described in step (1) are as follows:

步骤一:从不同数据来源收集有关时装设计、大翻领、面料、时尚历史数据,之后对收集的数据进行预处理,再使用自然语言处理技术来识别文本中的实体、关系和属性,通过RDF或OWL收集的数据进行标准化处理,并为每组实体和属性分配唯一的标识符;Step 1: Collect data on fashion design, lapels, fabrics, and fashion history from different data sources, then preprocess the collected data, and then use natural language processing technology to identify entities, relationships, and attributes in the text, and use RDF or The data collected by OWL is standardized and each set of entities and attributes is assigned a unique identifier;

步骤二:提取各组知识信息中每组实体的对应属性,并建立实体之间的关系,形成服装知识图谱的连接,采用三元组的形式将实体、属性和关系处理成对应图状结构以生成服装知识图谱,并对服装知识图谱进行不断地更新和维护;Step 2: Extract the corresponding attributes of each group of entities in each group of knowledge information, and establish the relationship between the entities to form a connection with the clothing knowledge graph. Use the form of triples to process the entities, attributes, and relationships into corresponding graph structures. Generate a clothing knowledge graph, and continuously update and maintain the clothing knowledge graph;

步骤三:设计师通过服装知识图谱查询不同时装元素、历史时尚趋势、面料特性、大翻领形状、材质和历史设计的详细知识,之后设计师根据反馈的知识信息确定服装的概念以及风格,再提取服装的概念以及风格中的实体信息,并将其与服装知识图谱进行匹配以提供关于不同面料和剪裁方式的信息,并帮助设计师生成相关服装制版图。Step 3: The designer queries the detailed knowledge of different fashion elements, historical fashion trends, fabric characteristics, large lapel shapes, materials and historical designs through the clothing knowledge graph. Then the designer determines the concept and style of the clothing based on the feedback knowledge information, and then extracts The concept of clothing and the entity information in the style are matched with the clothing knowledge graph to provide information about different fabrics and tailoring methods, and help designers generate relevant clothing pattern drawings.

作为本发明的进一步方案,步骤(2)中所述面料裁剪具体步骤如下:As a further solution of the present invention, the specific steps for cutting the fabric described in step (2) are as follows:

步骤1:通过监控摄像头实时采集面料信息,并每秒从视频数据中提取一定数量的图像帧,以覆盖整个视频,获取各组图像帧中各组像素值,之后对于每组像素,用该像素周围像素的平均值替代中心像素的值,重复上述过程以处理整个图像以去除存在的噪音、水印或失真,并调整图像大小和分辨率使各组图像具有相同尺寸;Step 1: Collect fabric information in real time through surveillance cameras, and extract a certain number of image frames from the video data every second to cover the entire video, obtain each group of pixel values in each group of image frames, and then use the pixel value for each group of pixels. The average value of the surrounding pixels replaces the value of the central pixel, and the above process is repeated to process the entire image to remove any existing noise, watermarks, or distortions, and adjust the image size and resolution so that each set of images has the same size;

步骤2:统计图像中不同颜色通道的像素分布,之后使用规定像素的窗口在各组图像信息中移动,每移动一次计算此时窗口下的灰度共生矩阵,从灰度共生矩阵中计算相关图像信息中的纹理特征,通过图像金字塔对优化后的图像信息进行尺度归一化处理,并提取各组图像信息的特征,之后通过双向特征金字塔进行特征融合以获取目标检测框;Step 2: Count the pixel distribution of different color channels in the image, and then use a window with specified pixels to move among each set of image information. Calculate the gray-level co-occurrence matrix under the window at each move, and calculate the relevant image information from the gray-level co-occurrence matrix. For the texture features in the image pyramid, the optimized image information is scaled and normalized, and the features of each group of image information are extracted, and then feature fusion is performed through the bidirectional feature pyramid to obtain the target detection frame;

步骤3:依据目标检测框对各图像信息进行扩大化剪裁以获取目标图像,之后将获取的纹理特征按数组的形式储存到相应的像素位置,当纹理特征满足预设条件时,则判断当前像素区域为褶皱区域,若不满足,则判断当前像素区域为正常区域,并依据判断结果将褶皱区域整理平整;Step 3: Expand and crop each image information according to the target detection frame to obtain the target image, and then store the obtained texture features in the form of an array to the corresponding pixel position. When the texture features meet the preset conditions, the current pixel is judged The area is a wrinkled area. If it is not satisfied, the current pixel area is judged to be a normal area, and the wrinkled area is smoothed based on the judgment result;

步骤4:通过Harris角点检测方法对图像中的面料角点进行识别,之后通过SIFT算法识别图像中的关键点,并提取特征描述符,再依据Hough变换检测图像中的直线或曲线以查找裁剪线的位置;Step 4: Use the Harris corner detection method to identify the fabric corners in the image, then use the SIFT algorithm to identify key points in the image and extract feature descriptors, and then use the Hough transform to detect straight lines or curves in the image to find clipping line position;

步骤5:依据提取的特征信息以及裁剪线位置检测各组剪裁点候选,将检测到的候选点进行聚类以确定剪裁线,之后依据确定的裁剪线确定各组裁剪点位置,并在图像中进行标记。Step 5: Detect each group of clipping point candidates based on the extracted feature information and the position of the clipping line, cluster the detected candidate points to determine the clipping line, and then determine the positions of each group of clipping points based on the determined clipping lines, and add them in the image Make a mark.

作为本发明的进一步方案,步骤4中所述Harris角点检测方法具体计算公式如下:As a further solution of the present invention, the specific calculation formula of the Harris corner point detection method described in step 4 is as follows:

R=det(M)-k*(trace(M))2 R=det(M)-k*(trace(M)) 2

(1)(1)

式中,M代表包括图像梯度信息的矩阵;det(M)代表行列式;trace(M)代表迹;k代表一个常数;In the formula, M represents the matrix including image gradient information; det(M) represents the determinant; trace(M) represents the trace; k represents a constant;

步骤4中所述Hough变换具体计算公式如下:The specific calculation formula of Hough transform mentioned in step 4 is as follows:

ρ=x*cos(θ)+y*sin(θ)ρ=x*cos(θ)+y*sin(θ)

(2)(2)

式中,(ρ,θ)代表极坐标空间中的直线参数;(x,y)代表图像中的点坐标。In the formula, (ρ, θ) represents the straight line parameters in polar coordinate space; (x, y) represents the point coordinates in the image.

作为本发明的进一步方案,步骤(4)中所述大翻领服装智能化缝制具体步骤如下:As a further solution of the present invention, the specific steps for intelligent sewing of large lapel clothing described in step (4) are as follows:

步骤①:收集缝纫机的设置参数、不同类型的面料、缝纫线的特性以及缝制不同部分的详细信息,并对收集的各组数据进行标注,再对各组数据进行归一化处理、去除噪声以及处理缺失值后将其划分为训练集以及测试集;Step 1: Collect the setting parameters of the sewing machine, different types of fabrics, sewing thread characteristics, and detailed information about different sewing parts, label each set of data collected, and then normalize each set of data to remove noise. And after processing missing values, divide them into training sets and test sets;

步骤②:创建智能缝制模型并定义该模型损失函数,之后选择随机梯度下降算法来调整模型参数以最小化损失函数,将训练集划分为小批量,并使用每组批量来更新模型的权重,重复执行前向传播计算模型的输出,然后执行反向传播来计算梯度并更新模型的参数,直到所有的训练集都使用完毕后停止;Step ②: Create an intelligent sewing model and define the model loss function, then select the stochastic gradient descent algorithm to adjust the model parameters to minimize the loss function, divide the training set into small batches, and use each batch to update the weight of the model, Repeatedly perform forward propagation to calculate the output of the model, and then perform backpropagation to calculate the gradient and update the parameters of the model, until all training sets have been used;

步骤③:使用独立的测试集来评估训练好的模型的性能,并根据模型评估结果,统计模型的损失值,再将测试集更换为另一子集,再取剩余子集作为训练集,再次计算损失值,直至对所有数据都进行一次预测,通过选取损失值最小时对应的组合参数作为数据区间内最优的参数并替换智能缝制模型原有参数;Step ③: Use an independent test set to evaluate the performance of the trained model, and calculate the loss value of the model based on the model evaluation results, then replace the test set with another subset, and then take the remaining subset as the training set, and again Calculate the loss value until all data are predicted once, and select the combination parameter corresponding to the minimum loss value as the optimal parameter in the data interval and replace the original parameters of the intelligent sewing model;

步骤④:实时采集面料缝制信息并输入智能缝制模型中,各隐藏层分别对输入数据进行处理后,将其通过各层之间的权重和激活函数进行逐层传递,之后输出层解码器对处理后的数据进行解码以获取面料缝制预测数据,并依据预测数据进行实时缝制控制。Step ④: Collect fabric sewing information in real time and input it into the intelligent sewing model. After each hidden layer processes the input data separately, it passes it layer by layer through the weights and activation functions between each layer, and then outputs the layer decoder. The processed data is decoded to obtain fabric sewing prediction data, and real-time sewing control is performed based on the prediction data.

作为本发明的进一步方案,步骤(5)中所述制作数据分布式存储具体步骤如下:As a further solution of the present invention, the specific steps for creating distributed data storage as described in step (5) are as follows:

步骤Ⅰ:按照预设的时间区间对各组缝纫数据进行分割,以获形成多组数据块,之后通过哈希算法生成各组数据块的标识,收集各组节点信息;Step Ⅰ: Divide each group of sewing data according to the preset time interval to form multiple groups of data blocks, and then use a hash algorithm to generate the identification of each group of data blocks and collect the node information of each group;

步骤Ⅱ:获取数据块划分规则以及节点负载情况,并通过负载均衡算法选择合适的节点来存储每组数据块,数据块存储完成后,根据系统的要求和可用资源进行配置复制规定数量的数据块到多组节点上;Step II: Obtain the data block division rules and node load conditions, and select appropriate nodes to store each group of data blocks through the load balancing algorithm. After the data block storage is completed, configure and copy the specified number of data blocks according to the system requirements and available resources. to multiple groups of nodes;

步骤Ⅲ:当节点存储的数据发生变化时,通过数据同步算法将数据更新从一个节点传播到其他节点,之后自动检测节点运行情况,并对故障节点进行数据迁移或修复。Step III: When the data stored in the node changes, the data update is propagated from one node to other nodes through the data synchronization algorithm, and then the node operation status is automatically detected, and the faulty node is migrated or repaired.

作为本发明的进一步方案,步骤(5)中所述平台性能调整具体步骤如下:As a further solution of the present invention, the specific steps for platform performance adjustment described in step (5) are as follows:

第一步:依据管理员预设信息确定系统中被访问的数据以及计算开销较大的数据以及对应指针结构,并依据数据对象以及指针结构确定链表节点结构,创建一个空链表,同时根据系统内存资源和性能需求设置链表的最大容量;Step 1: Determine the accessed data in the system and the data with large computational overhead and the corresponding pointer structure based on the administrator's preset information, determine the linked list node structure based on the data object and pointer structure, create an empty linked list, and at the same time, according to the system memory Resource and performance requirements set the maximum capacity of the linked list;

第二步:当需要访问数据时,在缓存链表中查找该数据,如果数据存在于链表中,将其移动到链表头部,表示最近使用过,如果数据不在链表中,则从区块链或其他数据源获取数据,并将其添加到链表头部,定期监控链表的长度、缓存命中率以及性能指标;Step 2: When you need to access data, look up the data in the cache linked list. If the data exists in the linked list, move it to the head of the linked list, indicating that it has been used recently. If the data is not in the linked list, retrieve it from the blockchain or Other data sources obtain data and add it to the head of the linked list, and regularly monitor the length of the linked list, cache hit rate and performance indicators;

第三步:当缓存容量达到上限时,基于最近访问的时间来判断链表中最久未被访问的数据,并将对应数据节点从链表尾部移除并释放资源,同时将链表的头部指针更新到新的头部节点,记录缓存命中率和淘汰操作的次数,并定期监控平台性能。Step 3: When the cache capacity reaches the upper limit, determine the data that has not been accessed for the longest time in the linked list based on the most recent access time, remove the corresponding data node from the tail of the linked list and release the resources, and at the same time update the head pointer of the linked list to The new head node records the cache hit rate and the number of eviction operations, and regularly monitors platform performance.

相比于现有技术,本发明的有益效果在于:Compared with the existing technology, the beneficial effects of the present invention are:

1、该非常规的大翻领服装制版配领方法通过图像识别技术获取面料裁剪点位置,同时对面料褶皱处进行处理,之后收集缝纫机的设置参数、不同类型的面料、缝纫线的特性以及缝制不同部分的详细信息,并对收集的各组数据进行标注,再对各组数据进行预处理后将其划分为训练集以及测试集,创建智能缝制模型并同训练集对其进行训练,再使用独立的测试集来评估训练好的模型的性能,实时采集面料缝制信息并输入智能缝制模型中,各隐藏层分别对输入数据进行处理后,将其通过各层之间的权重和激活函数进行逐层传递,之后输出层解码器对处理后的数据进行解码以获取面料缝制预测数据,并依据预测数据进行实时缝制控制,能够实现自动化缝制过程,提高缝制效率,加快生产速度,减少人工干预的需要,降低人为错误的风险,提高制版质量,优化布料的使用,避免不必要的浪费。1. This unconventional large lapel garment pattern making and collar method uses image recognition technology to obtain the position of the fabric cutting point, and at the same time processes the fabric folds, and then collects the setting parameters of the sewing machine, different types of fabrics, sewing thread characteristics and sewing Detailed information of different parts, and label each set of data collected, and then preprocess each set of data and divide it into a training set and a test set, create an intelligent sewing model and train it with the training set, and then Use an independent test set to evaluate the performance of the trained model, collect fabric sewing information in real time and input it into the intelligent sewing model. After each hidden layer processes the input data separately, it passes it through the weights and activations between each layer. The function is passed layer by layer, and then the output layer decoder decodes the processed data to obtain fabric sewing prediction data, and performs real-time sewing control based on the prediction data, which can realize the automated sewing process, improve sewing efficiency, and speed up production. Speed, reducing the need for manual intervention, reducing the risk of human error, improving pattern making quality, optimizing fabric use and avoiding unnecessary waste.

2、该非常规的大翻领服装制版配领方法通过从不同数据来源收集有关时装设计、大翻领、面料、时尚历史数据,之后对收集的数据进行预处理,再使用自然语言处理技术来识别文本中的实体、关系和属性,通过RDF或OWL收集的数据进行标准化处理,并为每组实体和属性分配唯一的标识符,提取各组知识信息中每组实体的对应属性,并建立实体之间的关系,形成服装知识图谱的连接,采用三元组的形式将实体、属性和关系处理成对应图状结构以生成服装知识图谱,并对服装知识图谱进行不断地更新和维护,设计师通过服装知识图谱查询不同时装元素、历史时尚趋势、面料特性、大翻领形状、材质和历史设计的详细知识,之后设计师根据反馈的知识信息确定服装的概念以及风格,再提取服装的概念以及风格中的实体信息,并将其与服装知识图谱进行匹配以提供关于不同面料和剪裁方式的信息,并帮助设计师生成相关服装制版图,能够使设计师和从业者更容易地访问和了解服装设计相关知识,提供准确的信息和指导,有助于提高设计的创新性,提高了服装设计和制版的质量。2. This unconventional large lapel clothing pattern making and matching method collects data on fashion design, large lapels, fabrics, and fashion history from different data sources, and then preprocesses the collected data, and then uses natural language processing technology to identify text The entities, relationships and attributes in the data are standardized through RDF or OWL, and a unique identifier is assigned to each group of entities and attributes. The corresponding attributes of each group of entities in each group of knowledge information are extracted, and the relationships between entities are established. The relationship forms the connection of the clothing knowledge graph. Entities, attributes and relationships are processed into corresponding graph structures in the form of triples to generate the clothing knowledge graph, and the clothing knowledge graph is continuously updated and maintained. Designers use clothing The knowledge graph queries the detailed knowledge of different fashion elements, historical fashion trends, fabric characteristics, lapel shapes, materials and historical designs. Then the designer determines the concept and style of the clothing based on the feedback knowledge information, and then extracts the concept and style of the clothing. Entity information and matching it with the clothing knowledge graph to provide information about different fabrics and cutting methods, and help designers generate relevant clothing layouts, making it easier for designers and practitioners to access and understand clothing design-related Knowledge, providing accurate information and guidance, helps to improve the innovation of design and improves the quality of clothing design and pattern making.

附图说明Description of the drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

图1为本发明提出的一种非常规的大翻领服装制版配领方法的流程框图。Figure 1 is a flow chart of an unconventional large lapel garment pattern making and collar matching method proposed by the present invention.

具体实施方式Detailed ways

实施例1Example 1

参照图1,一种非常规的大翻领服装制版配领方法,该配领方法具体步骤如下:Referring to Figure 1, an unconventional pattern-making and collar-fitting method for large lapel clothing is shown. The specific steps of this collar-fitting method are as follows:

依据服装知识图谱确定大翻领服装制版图。Determine the layout of large lapel clothing based on the clothing knowledge map.

具体的,从不同数据来源收集有关时装设计、大翻领、面料、时尚历史数据,之后对收集的数据进行预处理,再使用自然语言处理技术来识别文本中的实体、关系和属性,通过RDF或OWL收集的数据进行标准化处理,并为每组实体和属性分配唯一的标识符,提取各组知识信息中每组实体的对应属性,并建立实体之间的关系,形成服装知识图谱的连接,采用三元组的形式将实体、属性和关系处理成对应图状结构以生成服装知识图谱,并对服装知识图谱进行不断地更新和维护,设计师通过服装知识图谱查询不同时装元素、历史时尚趋势、面料特性、大翻领形状、材质和历史设计的详细知识,之后设计师根据反馈的知识信息确定服装的概念以及风格,再提取服装的概念以及风格中的实体信息,并将其与服装知识图谱进行匹配以提供关于不同面料和剪裁方式的信息,并帮助设计师生成相关服装制版图。Specifically, data about fashion design, lapels, fabrics, and fashion history are collected from different data sources, and then the collected data are preprocessed, and then natural language processing technology is used to identify entities, relationships, and attributes in the text, through RDF or The data collected by OWL is standardized, and a unique identifier is assigned to each group of entities and attributes. The corresponding attributes of each group of entities in each group of knowledge information are extracted, and the relationship between entities is established to form a connection to the clothing knowledge graph. Using In the form of triples, entities, attributes and relationships are processed into corresponding graph structures to generate clothing knowledge graphs, and the clothing knowledge graphs are continuously updated and maintained. Designers can query different fashion elements, historical fashion trends, etc. through the clothing knowledge graphs. Detailed knowledge of fabric characteristics, large lapel shape, material and historical design. Then the designer determines the concept and style of the clothing based on the feedback knowledge information, and then extracts the entity information in the clothing concept and style, and compares it with the clothing knowledge map Match to provide information about different fabrics and cuts, and help designers generate relevant garment patterns.

收集面料信息并依据制版图进行裁剪。Collect fabric information and cut according to pattern drawing.

具体的,通过监控摄像头实时采集面料信息,并每秒从视频数据中提取一定数量的图像帧,以覆盖整个视频,获取各组图像帧中各组像素值,之后对于每组像素,用该像素周围像素的平均值替代中心像素的值,重复上述过程以处理整个图像以去除存在的噪音、水印或失真,并调整图像大小和分辨率使各组图像具有相同尺寸,统计图像中不同颜色通道的像素分布,之后使用规定像素的窗口在各组图像信息中移动,每移动一次计算此时窗口下的灰度共生矩阵,从灰度共生矩阵中计算相关图像信息中的纹理特征,通过图像金字塔对优化后的图像信息进行尺度归一化处理,并提取各组图像信息的特征,之后通过双向特征金字塔进行特征融合以获取目标检测框,依据目标检测框对各图像信息进行扩大化剪裁以获取目标图像,之后将获取的纹理特征按数组的形式储存到相应的像素位置,当纹理特征满足预设条件时,则判断当前像素区域为褶皱区域,若不满足,则判断当前像素区域为正常区域,并依据判断结果将褶皱区域整理平整,通过Harris角点检测方法对图像中的面料角点进行识别,之后通过SIFT算法识别图像中的关键点,并提取特征描述符,再依据Hough变换检测图像中的直线或曲线以查找裁剪线的位置,依据提取的特征信息以及裁剪线位置检测各组剪裁点候选,将检测到的候选点进行聚类以确定剪裁线,之后依据确定的裁剪线确定各组裁剪点位置,并在图像中进行标记。Specifically, the fabric information is collected in real time through the surveillance camera, and a certain number of image frames are extracted from the video data every second to cover the entire video, and each group of pixel values in each group of image frames is obtained. Then for each group of pixels, the pixels are used. The average value of the surrounding pixels replaces the value of the central pixel. Repeat the above process to process the entire image to remove existing noise, watermarks or distortions, and adjust the image size and resolution so that each group of images has the same size. Statistics of different color channels in the image Pixel distribution, and then use the specified pixel window to move in each group of image information. Each time it moves, the gray level co-occurrence matrix under the window is calculated. The texture features in the relevant image information are calculated from the gray level co-occurrence matrix, and the image pyramid is optimized. The resulting image information is scaled and normalized, and the features of each group of image information are extracted. Then feature fusion is performed through a two-way feature pyramid to obtain the target detection frame. Each image information is enlarged and cropped based on the target detection frame to obtain the target image. , and then store the obtained texture features in the form of an array to the corresponding pixel location. When the texture features meet the preset conditions, the current pixel area is judged to be a wrinkle area. If not, the current pixel area is judged to be a normal area, and According to the judgment results, the wrinkle area is smoothed, and the fabric corners in the image are identified through the Harris corner detection method. Then the SIFT algorithm is used to identify the key points in the image, and the feature descriptors are extracted, and then the Hough transform is used to detect the fabric corners in the image. Use straight lines or curves to find the position of the cropping line, detect each group of cropping point candidates based on the extracted feature information and the position of the cropping line, cluster the detected candidate points to determine the cropping line, and then determine each group of cropping based on the determined cropping line. Click the location and mark it in the image.

本实施例中,Harris角点检测方法具体计算公式如下:In this embodiment, the specific calculation formula of the Harris corner point detection method is as follows:

R=det(M)-k*(trace(M))2 R=det(M)-k*(trace(M)) 2

(1)(1)

式中,M代表包括图像梯度信息的矩阵;det(M)代表行列式;trace(M)代表迹;k代表一个常数;In the formula, M represents the matrix including image gradient information; det(M) represents the determinant; trace(M) represents the trace; k represents a constant;

Hough变换具体计算公式如下:The specific calculation formula of Hough transform is as follows:

ρ=x*cos(θ)+y*sin(θ)ρ=x*cos(θ)+y*sin(θ)

(2)(2)

式中,(ρ,θ)代表极坐标空间中的直线参数;(x,y)代表图像中的点坐标。In the formula, (ρ, θ) represents the straight line parameters in polar coordinate space; (x, y) represents the point coordinates in the image.

实施例2Example 2

参照图1,一种非常规的大翻领服装制版配领方法,该配领方法具体步骤如下:Referring to Figure 1, an unconventional pattern-making and collar-fitting method for large lapel clothing is shown. The specific steps of this collar-fitting method are as follows:

对裁剪后的面料进行智能化缝制大翻领服装。Intelligently sew large lapel garments from the cut fabric.

具体的,收集缝纫机的设置参数、不同类型的面料、缝纫线的特性以及缝制不同部分的详细信息,并对收集的各组数据进行标注,再对各组数据进行归一化处理、去除噪声以及处理缺失值后将其划分为训练集以及测试集,创建智能缝制模型并定义该模型损失函数,之后选择随机梯度下降算法来调整模型参数以最小化损失函数,将训练集划分为小批量,并使用每组批量来更新模型的权重,重复执行前向传播计算模型的输出,然后执行反向传播来计算梯度并更新模型的参数,直到所有的训练集都使用完毕后停止,使用独立的测试集来评估训练好的模型的性能,并根据模型评估结果,统计模型的损失值,再将测试集更换为另一子集,再取剩余子集作为训练集,再次计算损失值,直至对所有数据都进行一次预测,通过选取损失值最小时对应的组合参数作为数据区间内最优的参数并替换智能缝制模型原有参数,实时采集面料缝制信息并输入智能缝制模型中,各隐藏层分别对输入数据进行处理后,将其通过各层之间的权重和激活函数进行逐层传递,之后输出层解码器对处理后的数据进行解码以获取面料缝制预测数据,并依据预测数据进行实时缝制控制。Specifically, the setting parameters of the sewing machine, different types of fabrics, the characteristics of the sewing thread, and the detailed information of different parts of the sewing are collected, and each set of data collected is marked, and then each set of data is normalized and noise is removed. And after processing the missing values, divide them into training sets and test sets, create an intelligent sewing model and define the loss function of the model, then select the stochastic gradient descent algorithm to adjust the model parameters to minimize the loss function, and divide the training set into small batches , and use each batch to update the weights of the model, repeatedly perform forward propagation to calculate the output of the model, and then perform back propagation to calculate the gradient and update the parameters of the model, until all training sets have been used, stop using independent The test set is used to evaluate the performance of the trained model, and based on the model evaluation results, the loss value of the model is statistically calculated, and then the test set is replaced with another subset, and then the remaining subset is taken as the training set, and the loss value is calculated again until the All data are predicted once. By selecting the combination parameters corresponding to the minimum loss value as the optimal parameters in the data interval and replacing the original parameters of the intelligent sewing model, the fabric sewing information is collected in real time and input into the intelligent sewing model. After the hidden layer processes the input data respectively, it is passed layer by layer through the weights and activation functions between each layer. Then the output layer decoder decodes the processed data to obtain fabric sewing prediction data, and based on the prediction Data for real-time sewing control.

收集缝纫数据并上传至设计平台。Collect sewing data and upload it to the design platform.

分布式存储制作数据并实时监控调整平台性能。Distributed storage of production data and real-time monitoring and adjustment of platform performance.

具体的,按照预设的时间区间对各组缝纫数据进行分割,以获形成多组数据块,之后通过哈希算法生成各组数据块的标识,收集各组节点信息,获取数据块划分规则以及节点负载情况,并通过负载均衡算法选择合适的节点来存储每组数据块,数据块存储完成后,根据系统的要求和可用资源进行配置复制规定数量的数据块到多组节点上,当节点存储的数据发生变化时,通过数据同步算法将数据更新从一个节点传播到其他节点,之后自动检测节点运行情况,并对故障节点进行数据迁移或修复。Specifically, each group of sewing data is divided according to the preset time interval to form multiple groups of data blocks, and then the identification of each group of data blocks is generated through a hash algorithm, each group of node information is collected, and the data block division rules are obtained. Node load conditions, and select appropriate nodes to store each group of data blocks through the load balancing algorithm. After the data block storage is completed, the specified number of data blocks are copied to multiple groups of nodes according to the system requirements and available resources. When the node stores When the data changes, the data update is propagated from one node to other nodes through the data synchronization algorithm, and then the node running status is automatically detected, and the faulty node is migrated or repaired.

具体的,依据管理员预设信息确定系统中被访问的数据以及计算开销较大的数据以及对应指针结构,并依据数据对象以及指针结构确定链表节点结构,创建一个空链表,同时根据系统内存资源和性能需求设置链表的最大容量,当需要访问数据时,在缓存链表中查找该数据,如果数据存在于链表中,将其移动到链表头部,表示最近使用过,如果数据不在链表中,则从区块链或其他数据源获取数据,并将其添加到链表头部,定期监控链表的长度、缓存命中率以及性能指标,当缓存容量达到上限时,基于最近访问的时间来判断链表中最久未被访问的数据,并将对应数据节点从链表尾部移除并释放资源,同时将链表的头部指针更新到新的头部节点,记录缓存命中率和淘汰操作的次数,并定期监控平台性能。Specifically, the accessed data in the system, data with large computational overhead, and corresponding pointer structures are determined based on the administrator's preset information, and the linked list node structure is determined based on the data objects and pointer structures, and an empty linked list is created. At the same time, based on the system memory resources Set the maximum capacity of the linked list and performance requirements. When data needs to be accessed, the data is searched in the cache linked list. If the data exists in the linked list, it is moved to the head of the linked list, indicating that it has been used recently. If the data is not in the linked list, then Obtain data from the blockchain or other data sources and add it to the head of the linked list. Regularly monitor the length of the linked list, cache hit rate and performance indicators. When the cache capacity reaches the upper limit, determine the most recent access time in the linked list. Data that has not been accessed for a long time, and the corresponding data node is removed from the tail of the linked list and the resources are released. At the same time, the head pointer of the linked list is updated to the new head node, the cache hit rate and the number of elimination operations are recorded, and the platform performance is regularly monitored. .

Claims (7)

1. The unconventional large lapel clothing platemaking collar matching method is characterized by comprising the following specific steps of:
(1) Determining a large lapel garment layout according to the garment knowledge graph;
(2) Collecting fabric information and cutting according to the layout;
(3) Intelligently sewing large lapel clothing on the cut fabric;
(4) Collecting sewing data and uploading the sewing data to a design platform;
(5) And storing the production data in a distributed manner and monitoring and adjusting the performance of the platform in real time.
2. The non-conventional large lapel garment platemaking and collar matching method according to claim 1, wherein the large lapel garment platemaking and collar matching method in step (1) comprises the following specific steps:
step one: collecting related fashion design, lapel, fabric and fashion history data from different data sources, preprocessing the collected data, identifying entities, relationships and attributes in the text by using natural language processing technology, carrying out standardized processing on the data collected by RDF or OWL, and distributing a unique identifier for each group of entities and attributes;
step two: extracting corresponding attributes of each group of entities in each group of knowledge information, establishing a relation among the entities to form connection of clothing knowledge graphs, processing the entities, the attributes and the relation into corresponding graph structures in a form of triples to generate the clothing knowledge graphs, and continuously updating and maintaining the clothing knowledge graphs;
step three: the designer inquires detailed knowledge of different simultaneous elements, historic fashion trends, fabric characteristics, lapel shapes, materials and historic designs through the clothing knowledge graph, then the designer determines the concept and style of the clothing according to the feedback knowledge information, extracts entity information in the concept and style of the clothing, matches the entity information with the clothing knowledge graph to provide information about different fabrics and cutting modes, and helps the designer generate relevant clothing making patterns.
3. The non-conventional large lapel garment platemaking collar matching method according to claim 2, wherein the specific fabric tailoring step in step (2) is as follows:
step 1: acquiring fabric information in real time through a monitoring camera, extracting a certain number of image frames from video data every second to cover the whole video, acquiring each group of pixel values in each group of image frames, replacing the value of a central pixel with the average value of pixels around each group of pixels, repeating the process to process the whole image to remove noise, watermark or distortion, and adjusting the size and resolution of the image to enable each group of images to have the same size;
step 2: counting pixel distribution of different color channels in an image, then moving in each group of image information by using a window for defining pixels, calculating a gray level co-occurrence matrix under the window every time when the window is moved, calculating texture features in related image information from the gray level co-occurrence matrix, performing scale normalization processing on the optimized image information through an image pyramid, extracting features of each group of image information, and performing feature fusion through a bidirectional feature pyramid to obtain a target detection frame;
step 3: enlarging and cutting each image information according to a target detection frame to obtain a target image, storing the obtained texture features in corresponding pixel positions in an array mode, judging the current pixel area as a wrinkle area when the texture features meet preset conditions, judging the current pixel area as a normal area if the texture features do not meet the preset conditions, and finishing the wrinkle area to be smooth according to a judgment result;
step 4: identifying fabric corner points in the image by a Harris corner point detection method, identifying key points in the image by a SIFT algorithm, extracting feature descriptors, and detecting straight lines or curves in the image according to Hough transformation to find the positions of cutting lines;
step 5: and detecting each group of clipping point candidates according to the extracted characteristic information and clipping line positions, clustering the detected candidate points to determine clipping lines, determining each group of clipping point positions according to the determined clipping lines, and marking in the image.
4. The method for producing and matching irregular large lapel clothing according to claim 3, wherein the specific calculation formula of the Harris corner detection method in step 4 is as follows:
R=det(M)-k*(trace(M)) 2
(1)
wherein M represents a matrix including image gradient information; det (M) represents a determinant; trace (M) represents trace; k represents a constant;
the specific calculation formula of Hough transformation in the step 4 is as follows:
ρ=x*cos(θ)+y*sin(θ)
(2)
wherein (ρ, θ) represents a straight line parameter in the polar coordinate space; (x, y) represents the coordinates of points in the image.
5. A non-conventional large lapel garment platemaking collar matching method according to claim 3, wherein the large lapel garment intelligent sewing specific steps in the step (4) are as follows:
step (1): collecting the setting parameters of a sewing machine, different types of fabrics, characteristics of sewing threads and detailed information of sewing different parts, marking each group of collected data, carrying out normalization processing, noise removal and missing value processing on each group of data, and dividing the data into a training set and a testing set;
step (2): creating an intelligent sewing model, defining a model loss function, then selecting a random gradient descent algorithm to adjust model parameters to minimize the loss function, dividing a training set into small batches, updating the weight of the model by using each group of batches, repeatedly executing the output of a forward propagation calculation model, then executing the backward propagation to calculate the gradient and update the parameters of the model until all the training sets are stopped after being used;
step (3): evaluating the performance of the trained model by using an independent test set, counting the loss value of the model according to the model evaluation result, replacing the test set with another subset, taking the rest subset as the training set, calculating the loss value again until all data are predicted once, and selecting the corresponding combined parameter with the minimum loss value as the optimal parameter in the data interval and replacing the original parameter of the intelligent sewing model;
step (4): the fabric sewing information is collected in real time and is input into an intelligent sewing model, after the input data are processed by each hidden layer, the input data are transmitted layer by layer through weights and activation functions among the layers, and then the processed data are decoded by an output layer decoder to obtain fabric sewing prediction data, and real-time sewing control is carried out according to the prediction data.
6. The method for making and matching a non-conventional large lapel garment according to claim 5, wherein the step (5) of storing the production data in a distributed manner comprises the following steps:
step I: dividing each group of sewing data according to a preset time interval to obtain a plurality of groups of data blocks, generating the identification of each group of data blocks through a hash algorithm, and collecting each group of node information;
step II: acquiring a data block dividing rule and a node load condition, selecting a proper node to store each group of data blocks through a load balancing algorithm, and after the data blocks are stored, configuring and copying a specified number of data blocks to a plurality of groups of nodes according to the requirements of a system and available resources;
step III: when the data stored by the nodes changes, the data update is transmitted from one node to other nodes through a data synchronization algorithm, then the node operation condition is automatically detected, and the data migration or repair is carried out on the fault node.
7. The non-conventional large lapel garment platemaking collar matching method as claimed in claim 1, wherein said platform performance adjustment in step (5) is specifically as follows:
the first step: determining accessed data, data with high calculation cost and corresponding pointer structures in a system according to preset information of an administrator, determining a linked list node structure according to data objects and the pointer structures, creating an empty linked list, and setting the maximum capacity of the linked list according to the memory resources and performance requirements of the system;
and a second step of: when the data is required to be accessed, searching the data in a cache chain table, if the data exists in the chain table, moving the data to the head of the chain table to indicate that the data is used recently, and if the data is not in the chain table, acquiring the data from a blockchain or other data sources, adding the data to the head of the chain table, and periodically monitoring the length, the cache hit rate and the performance index of the chain table;
and a third step of: when the cache capacity reaches the upper limit, the data which is not accessed for the longest time in the linked list is judged based on the latest access time, the corresponding data node is removed from the tail of the linked list, resources are released, meanwhile, the head pointer of the linked list is updated to a new head node, the cache hit rate and the times of elimination operation are recorded, and the performance of the platform is monitored periodically.
CN202311413009.0A 2023-10-27 2023-10-27 Unconventional large lapel garment platemaking collar matching method Withdrawn CN117413988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311413009.0A CN117413988A (en) 2023-10-27 2023-10-27 Unconventional large lapel garment platemaking collar matching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311413009.0A CN117413988A (en) 2023-10-27 2023-10-27 Unconventional large lapel garment platemaking collar matching method

Publications (1)

Publication Number Publication Date
CN117413988A true CN117413988A (en) 2024-01-19

Family

ID=89530945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311413009.0A Withdrawn CN117413988A (en) 2023-10-27 2023-10-27 Unconventional large lapel garment platemaking collar matching method

Country Status (1)

Country Link
CN (1) CN117413988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117892827A (en) * 2024-03-14 2024-04-16 中国标准化研究院 Data-driven reasoning engine and decision support platform based on standard knowledge graph

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117892827A (en) * 2024-03-14 2024-04-16 中国标准化研究院 Data-driven reasoning engine and decision support platform based on standard knowledge graph

Similar Documents

Publication Publication Date Title
CN114638784B (en) A copper tube surface defect detection method and device based on FE-YOLO
Zhang et al. Zju-leaper: A benchmark dataset for fabric defect detection and a comparative study
CN110598017B (en) Self-learning-based commodity detail page generation method
CN109613002A (en) A kind of glass defect detection method, apparatus and storage medium
CN108242054A (en) A kind of steel plate defect detection method, device, equipment and server
CN109191455A (en) A kind of field crop pest and disease disasters detection method based on SSD convolutional network
CN110647906A (en) Clothing target detection method based on fast R-CNN method
CN109766822A (en) Gesture recognition method and system based on neural network
CN117413988A (en) Unconventional large lapel garment platemaking collar matching method
CN117152158B (en) Textile defect detection method and system based on artificial intelligence
CN117372332A (en) Fabric flaw detection method based on improved YOLOv7 model
CN113962954A (en) Surface defect detection method based on SE-R-YOLOV4 automobile steel part
CN115393351B (en) Method and device for judging cornea immune state based on Langerhans cells
CN117351473A (en) Deep learning-based fabric identification method, system, equipment and medium
CN115187127B (en) Space analysis-based intelligent detection method for detailed planning hierarchical management
CN110287114B (en) A method and device for testing database script performance
CN109117437A (en) A kind of image feature extraction method towards image of clothing retrieval
WO2024255919A1 (en) Defect detection method and related device
CN118466417A (en) Spraying process adaptive adjustment method and system based on temperature measurement
CN117611620A (en) Image segmentation method based on super pixel region combination
CN116740016A (en) Detection method of knot defects in knitted cotton fabrics based on improved third-order recursive gated convolution
CN116883379A (en) A causal machine learning method for visual detection of printed fabric defects
CN118503493B (en) Information retrieval method, device and storage medium based on query expansion
CN114187283B (en) A cognitive ability intelligent classification method and system based on YOLO algorithm
CN119721861A (en) Quality detection system is used in lining cloth production

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20240119

WW01 Invention patent application withdrawn after publication