CN118583802B - Intelligent cloth inspection detection method, system, equipment and medium - Google Patents
Intelligent cloth inspection detection method, system, equipment and medium Download PDFInfo
- Publication number
- CN118583802B CN118583802B CN202411035771.4A CN202411035771A CN118583802B CN 118583802 B CN118583802 B CN 118583802B CN 202411035771 A CN202411035771 A CN 202411035771A CN 118583802 B CN118583802 B CN 118583802B
- Authority
- CN
- China
- Prior art keywords
- defect
- pixel
- data
- model
- area
- 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.)
- Active
Links
- 239000004744 fabric Substances 0.000 title claims abstract description 161
- 238000001514 detection method Methods 0.000 title claims abstract description 57
- 238000007689 inspection Methods 0.000 title claims abstract description 54
- 230000007547 defect Effects 0.000 claims abstract description 180
- 230000003595 spectral effect Effects 0.000 claims abstract description 79
- 238000000034 method Methods 0.000 claims abstract description 74
- 230000002950 deficient Effects 0.000 claims abstract description 72
- 239000000463 material Substances 0.000 claims abstract description 70
- 238000004458 analytical method Methods 0.000 claims abstract description 59
- 230000008859 change Effects 0.000 claims abstract description 35
- 230000000704 physical effect Effects 0.000 claims abstract description 21
- 230000004044 response Effects 0.000 claims abstract description 16
- 239000000126 substance Substances 0.000 claims description 93
- 238000012360 testing method Methods 0.000 claims description 52
- 230000007613 environmental effect Effects 0.000 claims description 48
- 239000013598 vector Substances 0.000 claims description 46
- 238000012549 training Methods 0.000 claims description 45
- 238000004422 calculation algorithm Methods 0.000 claims description 30
- 238000007781 pre-processing Methods 0.000 claims description 28
- 238000002329 infrared spectrum Methods 0.000 claims description 14
- 238000009792 diffusion process Methods 0.000 claims description 12
- 238000010801 machine learning Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 10
- 238000012731 temporal analysis Methods 0.000 claims description 10
- 238000000700 time series analysis Methods 0.000 claims description 10
- 238000012795 verification Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 7
- 239000000284 extract Substances 0.000 claims description 6
- 238000003860 storage Methods 0.000 claims description 6
- 238000003709 image segmentation Methods 0.000 claims description 5
- 230000004927 fusion Effects 0.000 claims description 4
- 238000010191 image analysis Methods 0.000 claims description 4
- 239000004753 textile Substances 0.000 abstract description 34
- 238000005516 engineering process Methods 0.000 abstract description 18
- 239000000523 sample Substances 0.000 description 60
- 230000008569 process Effects 0.000 description 18
- 238000004519 manufacturing process Methods 0.000 description 16
- 238000003908 quality control method Methods 0.000 description 11
- 238000003066 decision tree Methods 0.000 description 10
- 238000011161 development Methods 0.000 description 9
- 230000018109 developmental process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000011156 evaluation Methods 0.000 description 7
- 230000001737 promoting effect Effects 0.000 description 7
- 238000010521 absorption reaction Methods 0.000 description 6
- 238000004497 NIR spectroscopy Methods 0.000 description 5
- 239000000203 mixture Substances 0.000 description 5
- 238000001228 spectrum Methods 0.000 description 5
- 238000012706 support-vector machine Methods 0.000 description 5
- 230000009466 transformation Effects 0.000 description 5
- 229920000742 Cotton Polymers 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 4
- 230000006378 damage Effects 0.000 description 4
- 230000001066 destructive effect Effects 0.000 description 4
- 238000005457 optimization Methods 0.000 description 4
- 238000007637 random forest analysis Methods 0.000 description 4
- 238000010200 validation analysis Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000000701 chemical imaging Methods 0.000 description 3
- 238000007405 data analysis Methods 0.000 description 3
- 238000004043 dyeing Methods 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 239000004677 Nylon Substances 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 238000007621 cluster analysis Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 239000002657 fibrous material Substances 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000000877 morphologic effect Effects 0.000 description 2
- 229920001778 nylon Polymers 0.000 description 2
- 238000003909 pattern recognition Methods 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 229920000728 polyester Polymers 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 229920002994 synthetic fiber Polymers 0.000 description 2
- 239000012209 synthetic fiber Substances 0.000 description 2
- 238000009941 weaving Methods 0.000 description 2
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 1
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011088 calibration curve Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007797 corrosion Effects 0.000 description 1
- 238000005260 corrosion Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000010339 dilation Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 239000000975 dye Substances 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000007499 fusion processing Methods 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 239000012770 industrial material Substances 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000009659 non-destructive testing Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
- G01N21/31—Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/55—Specular reflectivity
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8806—Specially adapted optical and illumination features
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/94—Investigating contamination, e.g. dust
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N33/00—Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
- G01N33/36—Textiles
- G01N33/365—Filiform textiles, e.g. yarns
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N33/00—Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
- G01N33/36—Textiles
- G01N33/367—Fabric or woven textiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/774—Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N2021/1765—Method using an image detector and processing of image signal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30124—Fabrics; Textile; Paper
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Textile Engineering (AREA)
- Medicinal Chemistry (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Food Science & Technology (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
本申请涉及一种智能验布检测方法、系统、设备及介质,属于纺织物检测技术领域,检测方法包括:获取待检测布料的物理特性数据和光谱响应数据,并确定待检测布料的材料类型;根据材料类型,自适应调节多光谱图像采集参数,对待检测布料进行多光谱照射并采集不同光谱波段下的图像数据,得到多光谱图像数据;对预处理后的多光谱图像数据进行逐像素分析,识别正常区域和瑕疵区域;标记瑕疵区域并对瑕疵区域进行连续拍摄,得到瑕疵区域的时间序列图像;获取瑕疵区域在待检测布料上的移动轨迹和变化趋势,得到瑕疵区域的动态特性并确定对应的瑕疵类型,得到瑕疵检测结果并发送至管理终端。本申请能够提高布料检测的准确性和可靠性。
The present application relates to an intelligent cloth inspection method, system, equipment and medium, belonging to the field of textile inspection technology, and the inspection method includes: obtaining physical property data and spectral response data of the cloth to be inspected, and determining the material type of the cloth to be inspected; adaptively adjusting multispectral image acquisition parameters according to the material type, performing multispectral irradiation on the cloth to be inspected and collecting image data under different spectral bands to obtain multispectral image data; performing pixel-by-pixel analysis on the pre-processed multispectral image data to identify normal areas and defective areas; marking defective areas and continuously photographing the defective areas to obtain time series images of the defective areas; obtaining the moving trajectory and change trend of the defective areas on the cloth to be inspected, obtaining the dynamic characteristics of the defective areas and determining the corresponding defect types, obtaining defect detection results and sending them to the management terminal. The present application can improve the accuracy and reliability of cloth detection.
Description
技术领域Technical Field
本申请涉及纺织物检测技术领域,尤其是涉及一种智能验布检测方法、系统、设备及介质。The present application relates to the technical field of textile inspection, and in particular to an intelligent cloth inspection method, system, device and medium.
背景技术Background Art
在现代纺织行业中,布料检测与质量控制扮演着举足轻重的角色,它们是确保纺织品从原材料到成品各个阶段品质稳定、符合标准的核心环节。布料,作为服装、家纺、医疗用品及工业材料等诸多领域不可或缺的基本元素,其质量直接关乎产品的舒适性、耐用性、安全性乃至市场竞争力。In the modern textile industry, fabric testing and quality control play a vital role. They are the core links to ensure that the quality of textiles is stable and meets standards at all stages from raw materials to finished products. Fabric, as an indispensable basic element in many fields such as clothing, home textiles, medical supplies and industrial materials, its quality is directly related to the comfort, durability, safety and even market competitiveness of the product.
随着消费者对纺织品质量要求的不断提高和生产效率的迫切需求,自动化、智能化的检测技术成为行业升级转型的必然趋势。精准高效的检测手段不仅能及时发现生产过程中的瑕疵,如色差、织造缺陷、污渍、断裂等,还能有效预防不合格产品流入市场,减少经济损失,维护品牌形象。With the continuous improvement of consumers' requirements for textile quality and the urgent need for production efficiency, automated and intelligent testing technology has become an inevitable trend for the industry's upgrading and transformation. Accurate and efficient testing methods can not only timely detect defects in the production process, such as color difference, weaving defects, stains, breaks, etc., but also effectively prevent unqualified products from entering the market, reduce economic losses, and maintain brand image.
目前,布料类型的多样性为纺织品的质量控制带来了巨大挑战,从天然纤维(如棉、麻、丝)到合成纤维(如聚酯、尼龙),不同材质的物理特征和化学特性各异,对检测技术和标准提出了不同的要求。尤其是针对含有复杂图案和精细纹理的高档布料,常见的智能验布检测系统往往缺乏对特定材质特性的自适应能力,导致在区分瑕疵与图案细节方面存在局限,同时,对于一些微小瑕疵,由于无法确定瑕疵的动态特性,经常出现漏检或误报现象,从而影响了检测的准确性和可靠性。At present, the diversity of fabric types has brought great challenges to the quality control of textiles. From natural fibers (such as cotton, linen, silk) to synthetic fibers (such as polyester and nylon), different materials have different physical characteristics and chemical properties, which put forward different requirements for detection technology and standards. Especially for high-end fabrics with complex patterns and fine textures, common intelligent fabric inspection systems often lack the ability to adapt to specific material characteristics, resulting in limitations in distinguishing defects from pattern details. At the same time, for some minor defects, due to the inability to determine the dynamic characteristics of the defects, missed detection or false alarms often occur, thus affecting the accuracy and reliability of detection.
发明内容Summary of the invention
为了提高布料检测的准确性和可靠性,本申请提供了一种智能验布检测方法、系统、设备及介质。In order to improve the accuracy and reliability of cloth detection, the present application provides an intelligent cloth inspection method, system, device and medium.
第一方面,本申请提供一种智能验布检测方法,采用如下的技术方案:In the first aspect, the present application provides an intelligent cloth inspection method, which adopts the following technical solution:
一种智能验布检测方法,所述检测方法包括:An intelligent cloth inspection method, the inspection method comprising:
获取待检测布料的物理特性数据和光谱响应数据;Obtaining physical property data and spectral response data of the fabric to be tested;
根据所述物理特性数据和光谱响应数据,确定所述待检测布料的材料类型;Determining the material type of the fabric to be detected according to the physical property data and the spectral response data;
根据所述材料类型,自适应调节多光谱图像采集参数;Adaptively adjusting multispectral image acquisition parameters according to the material type;
基于所述多光谱图像采集参数,对所述待检测布料进行多光谱照射并采集不同光谱波段下的图像数据,得到多光谱图像数据;Based on the multispectral image acquisition parameters, multispectral irradiation is performed on the fabric to be inspected and image data in different spectral bands are collected to obtain multispectral image data;
对所述多光谱图像数据进行图像预处理;Performing image preprocessing on the multispectral image data;
根据预设逻辑规则和预设特征阈值对预处理后的多光谱图像数据进行逐像素分析,识别所述多光谱图像数据的正常区域和瑕疵区域;Perform pixel-by-pixel analysis on the preprocessed multispectral image data according to preset logic rules and preset feature thresholds to identify normal areas and defective areas of the multispectral image data;
标记所述瑕疵区域并对所述瑕疵区域进行连续拍摄,得到所述瑕疵区域的时间序列图像;Marking the defective area and continuously photographing the defective area to obtain a time series image of the defective area;
基于所述时间序列图像进行分析,获取所述瑕疵区域在所述待检测布料上的移动轨迹和变化趋势,得到所述瑕疵区域的动态特性;Analyze the time series images to obtain the moving trajectory and change trend of the defective area on the fabric to be detected, and obtain the dynamic characteristics of the defective area;
根据所述瑕疵区域的动态特性确定对应的瑕疵类型,得到瑕疵检测结果并发送至管理终端。The corresponding defect type is determined according to the dynamic characteristics of the defect area, and the defect detection result is obtained and sent to the management terminal.
通过采用上述技术方案,综合运用物理特性分析、多光谱成像技术、高精度图像处理算法以及时间序列分析,不仅能够适应多种布料材质的检测需求,还能够精准识别各类瑕疵,同时能够对微小瑕疵进行有效追踪和分类,提升了布料检测的准确性和可靠性,极大地增强了生产过程中的质量控制能力,为纺织行业提供了有力的技术支持,推动了纺织品检验的智能化和可持续发展。By adopting the above-mentioned technical solutions and comprehensively using physical property analysis, multispectral imaging technology, high-precision image processing algorithms and time series analysis, it can not only meet the detection needs of various fabric materials, but also accurately identify various defects. At the same time, it can effectively track and classify minor defects, thereby improving the accuracy and reliability of fabric detection, greatly enhancing the quality control capabilities in the production process, providing strong technical support for the textile industry, and promoting the intelligent and sustainable development of textile inspection.
可选的,根据所述材料类型,自适应调节多光谱图像采集参数的步骤包括:Optionally, the step of adaptively adjusting the multispectral image acquisition parameters according to the material type includes:
实时获取当前环境数据并进行数据预处理;Acquire current environmental data in real time and perform data preprocessing;
提取所述预处理后的当前环境数据对应的环境特征;Extracting environmental features corresponding to the preprocessed current environmental data;
基于所述材料类型对应的类别特征和所述环境特征,构建输入特征集;constructing an input feature set based on the category features corresponding to the material type and the environmental features;
将所述输入特征集输入至预先训练的参数配置模型中,对最佳多光谱图像采集参数进行预测,得到模型预测结果;Inputting the input feature set into a pre-trained parameter configuration model, predicting optimal multispectral image acquisition parameters, and obtaining model prediction results;
根据所述模型预测结果,对多光谱图像采集参数进行自适应调节。According to the prediction results of the model, the multispectral image acquisition parameters are adaptively adjusted.
通过采用上述技术方案,根据不同的材料类型和不断变化的环境条件,动态调整图像采集策略,确保在各种复杂环境下都能获得最佳成像条件,以减少外部环境因素对图像质量的负面影响,使得瑕疵识别更加准确;另外,通过减少了对人工干预配置参数的依赖,使得整个检测过程更加流畅、高效,提高了整体检测效率。By adopting the above technical solutions, the image acquisition strategy is dynamically adjusted according to different material types and changing environmental conditions to ensure that the best imaging conditions can be obtained in various complex environments, so as to reduce the negative impact of external environmental factors on image quality and make defect identification more accurate. In addition, by reducing the reliance on manual intervention configuration parameters, the entire inspection process is made smoother and more efficient, thereby improving the overall inspection efficiency.
可选的,根据预设逻辑规则和预设特征阈值对预处理后的多光谱图像数据进行逐像素分析的步骤包括;Optionally, the step of performing pixel-by-pixel analysis on the preprocessed multispectral image data according to preset logical rules and preset feature thresholds includes:
根据预处理后的多光谱图像数据进行图像分割,得到初步划分的多个同质区域;Perform image segmentation based on the preprocessed multispectral image data to obtain a plurality of homogeneous regions that are initially divided;
在多个同质区域中提取每个像素点在各个光谱波段的光谱特征,得到每个像素点的单像素特征;Extract the spectral features of each pixel in each spectral band in multiple homogeneous areas to obtain the single pixel features of each pixel;
计算每个像素点与相邻像素点在光谱特征上的差异,得到每个像素点的邻域特征;Calculate the difference in spectral characteristics between each pixel and its adjacent pixels to obtain the neighborhood characteristics of each pixel;
根据所述单像素特征和邻域特征,加权融合得到每个像素点的综合特征向量;According to the single pixel features and neighborhood features, a comprehensive feature vector of each pixel is obtained by weighted fusion;
基于预设逻辑规则,分别判断每个像素点的综合特征向量是否超过预设特征阈值;若是,则将所述像素点标记为瑕疵像素点;若否,则将所述像素点标记为正常像素点;Based on the preset logical rules, determine whether the comprehensive feature vector of each pixel exceeds the preset feature threshold; if so, mark the pixel as a defective pixel; if not, mark the pixel as a normal pixel;
根据多个所述瑕疵像素点,得到瑕疵像素集合;Obtaining a defective pixel set according to the plurality of defective pixel points;
基于图像处理算法,根据所述瑕疵像素集合界定瑕疵区域的瑕疵边界;Based on an image processing algorithm, defining a defect boundary of a defect area according to the defect pixel set;
根据所述瑕疵边界,将所述多光谱图像数据划分为正常区域和瑕疵区域。The multispectral image data is divided into a normal area and a defect area according to the defect boundary.
通过采用上述技术方案,不仅提高了布料瑕疵检测的精度和效率,还通过综合分析像素级特征和空间上下文信息,增强了对复杂瑕疵模式的识别能力,显著提升了布料图像数据分析的智能化水平。By adopting the above technical solution, not only the accuracy and efficiency of fabric defect detection are improved, but also the recognition ability of complex defect patterns is enhanced by comprehensive analysis of pixel-level features and spatial context information, which significantly improves the intelligence level of fabric image data analysis.
可选的,基于所述时间序列图像进行分析,获取所述瑕疵区域在所述待检测布料上的移动轨迹和变化趋势,得到所述瑕疵区域的动态特性的步骤包括:Optionally, the step of analyzing the time series images to obtain the movement trajectory and change trend of the defective area on the fabric to be detected and obtaining the dynamic characteristics of the defective area includes:
将所述瑕疵区域的时间序列图像进行图像配准;Performing image registration on the time series images of the defective area;
根据配准后的时间序列图像进行瑕疵特征向量提取,构建瑕疵特征向量的时间序列;Extract defect feature vectors based on the registered time series images and construct a time series of defect feature vectors;
基于动态时间规整算法,根据瑕疵特征向量的时间序列比较相邻帧间瑕疵特征向量的相似度,匹配连续帧中的相同瑕疵;Based on the dynamic time warping algorithm, the similarity of defect feature vectors between adjacent frames is compared according to the time series of defect feature vectors, and the same defects in consecutive frames are matched;
根据连续帧中的相同瑕疵,构建瑕疵特征向量的连续移动轨迹;According to the same defects in consecutive frames, a continuous moving trajectory of the defect feature vector is constructed;
根据所述连续移动轨迹,提取瑕疵变化参数并基于时间序列分析算法识别瑕疵的变化趋势;Extracting defect variation parameters according to the continuous moving trajectory and identifying the variation trend of the defect based on a time series analysis algorithm;
根据所述连续移动轨迹和变化趋势,提取得到所述瑕疵区域的动态特性;其中,动态特性包括扩散速率、颜色变化和移动路径。According to the continuous movement trajectory and the change trend, the dynamic characteristics of the defect area are extracted; wherein the dynamic characteristics include diffusion rate, color change and movement path.
通过采用上述技术方案,捕捉瑕疵区域在时间维度上的动态行为,深化了对瑕疵动态特性的理解,有助于精准确定瑕疵类型,为纺织品质量控制和工艺优化提供了更为全面和深入的信息。By adopting the above technical solutions, the dynamic behavior of the defect area in the time dimension is captured, which deepens the understanding of the dynamic characteristics of defects, helps to accurately determine the defect type, and provides more comprehensive and in-depth information for textile quality control and process optimization.
可选的,所述检测方法还包括参数配置模型的训练步骤,所述训练步骤包括:Optionally, the detection method further includes a training step of a parameter configuration model, and the training step includes:
获取历史样本特征集并进行预处理;所述历史样本特征集包括不同材料在不同环境下的最佳多光谱图像采集参数以及相应的图像质量指标;Acquire and preprocess a historical sample feature set; the historical sample feature set includes optimal multispectral image acquisition parameters for different materials under different environments and corresponding image quality indicators;
对预处理后的历史样本特征集进行特征提取,得到基础特征向量集;Perform feature extraction on the preprocessed historical sample feature set to obtain a basic feature vector set;
将所述基础特征向量集划分为训练样本和验证样本;Dividing the basic feature vector set into training samples and verification samples;
将所述训练样本输入至预先构建的梯度提升树模型中进行初训练,优化模型参数,得到初训练的参数配置模型;Inputting the training samples into a pre-built gradient boosting tree model for initial training, optimizing model parameters, and obtaining an initial training parameter configuration model;
基于所述验证样本对所述参数配置模型进行验证和模型参数校正,直到模型的损失函数满足预设条件或模型迭代次数达到预设次数,得到训练完成的所述参数配置模型。The parameter configuration model is verified and model parameters are corrected based on the verification sample until the loss function of the model meets a preset condition or the number of model iterations reaches a preset number, thereby obtaining the trained parameter configuration model.
通过采用上述技术方案,经过细致的数据预处理、精心设计的特征工程、以及基于梯度提升树的高效模型训练与优化流程,构建了一套能够自适应调节多光谱图像采集参数的参数配置模型;该模型能够根据材料类型和实时环境数据,精确预测出最优的图像采集设置,显著提升了布料检测的自动化水平和检测精度,降低了人力成本,为纺织行业智能化生产提供了强有力的技术支持。By adopting the above technical solutions, after meticulous data preprocessing, well-designed feature engineering, and efficient model training and optimization process based on gradient boosting tree, a parameter configuration model that can adaptively adjust the multispectral image acquisition parameters was constructed; this model can accurately predict the optimal image acquisition settings based on material type and real-time environmental data, significantly improving the automation level and detection accuracy of fabric detection, reducing labor costs, and providing strong technical support for intelligent production in the textile industry.
可选的,在识别所述待检测布料上的正常区域和瑕疵区域的步骤之后还包括:Optionally, after the step of identifying the normal area and the defective area on the fabric to be inspected, the method further includes:
将所述待检测布料上的正常区域确定为样本测试区域,得到所述样本测试区域的样本坐标集;Determine a normal area on the fabric to be tested as a sample test area, and obtain a sample coordinate set of the sample test area;
根据所述样本坐标集进行近红外光反射,获取所述样本测试区域的近红外光谱数据;Perform near-infrared light reflection according to the sample coordinate set to obtain near-infrared spectrum data of the sample test area;
对所述样本测试区域的近红外光谱数据进行预处理;Preprocessing the near infrared spectrum data of the sample test area;
将预处理后的所述近红外光谱数据输入至预先构建的机器学习模型中,得到所述样本测试区域的化学残留分析结果;其中,所述化学残留分析结果包括样本测试区域内每个样本点的化学残留种类和浓度值;Inputting the pre-processed near-infrared spectral data into a pre-built machine learning model to obtain a chemical residue analysis result of the sample test area; wherein the chemical residue analysis result includes the type and concentration value of the chemical residue at each sample point in the sample test area;
基于预设可降解物质数据库,根据所述化学残留分析结果评估得到待检测布料对应的可降解性等级并发送至管理终端。Based on the preset degradable substance database, the degradability level corresponding to the fabric to be tested is evaluated according to the chemical residue analysis result and sent to the management terminal.
通过采用上述技术方案,在完成瑕疵检测后,增加化学残留、可降解性等环保性能的测试环节,通过采用非破坏性的近红外光谱分析检测技术,对待检测布料进行化学残留分析和可降解性测试,快速获取相关指标数据,以衡量布料的环保性能,为纺织品的环保生产和消费提供了科学依据,对促进纺织行业的可持续发展具有重要意义。By adopting the above technical solution, after completing the defect detection, the test links of environmental protection performance such as chemical residue and degradability are added. By adopting non-destructive near-infrared spectroscopy analysis and detection technology, chemical residue analysis and degradability test are carried out on the tested fabrics, and relevant indicator data are quickly obtained to measure the environmental protection performance of the fabrics. This provides a scientific basis for the environmentally friendly production and consumption of textiles, which is of great significance to promoting the sustainable development of the textile industry.
可选的,在识别所述待检测布料上的正常区域和瑕疵区域的步骤之后还包括:Optionally, after the step of identifying the normal area and the defective area on the fabric to be inspected, the method further includes:
将所述待检测布料上的正常区域确定为样本测试区域,得到所述样本测试区域的样本坐标集;Determine a normal area on the fabric to be tested as a sample test area, and obtain a sample coordinate set of the sample test area;
根据所述样本坐标集进行近红外光反射,获取所述样本测试区域的近红外光谱数据;Perform near-infrared light reflection according to the sample coordinate set to obtain near-infrared spectrum data of the sample test area;
对所述样本测试区域的近红外光谱数据进行预处理;Preprocessing the near infrared spectrum data of the sample test area;
将预处理后的光谱数据进行一阶和二阶导数处理,并基于峰值检测算法识别潜在特征峰;The preprocessed spectral data are processed by first-order and second-order derivatives, and potential characteristic peaks are identified based on the peak detection algorithm;
对潜在特征峰中的噪声峰进行过滤,得到化学特征峰;Filter the noise peaks in the potential characteristic peaks to obtain chemical characteristic peaks;
将所述化学特征峰与预设化学残留物质光谱特征库进行匹配,确定每个样本点的化学残留种类;Matching the chemical characteristic peaks with a preset chemical residue spectral characteristic library to determine the type of chemical residue at each sample point;
基于标准曲线法计算每个样本点的化学残留种类对应的浓度值;Calculate the concentration value corresponding to the chemical residue type at each sample point based on the standard curve method;
根据每个样本点的化学残留种类和浓度值,得到化学残留分析结果;According to the chemical residue types and concentration values of each sample point, the chemical residue analysis results are obtained;
基于预设可降解物质数据库,根据所述化学残留分析结果评估得到待检测布料对应的可降解性等级并发送至管理终端。Based on the preset degradable substance database, the degradability level corresponding to the fabric to be tested is evaluated according to the chemical residue analysis result and sent to the management terminal.
通过采用上述技术方案,在识别待检测布料上的正常区域后,利用近红外光谱技术进行非破坏性的化学残留分析,识别并计算每个样本点的化学残留种类和浓度,再基于预设的可降解物质数据库评估布料的可降解性等级。该方案通过明确的逻辑规则和标准化方法进行化学残留分析和可降解性评估,确保了检测结果的准确性和可靠性,同时快速提供了布料的环保性能指标,为纺织品的环保生产和消费提供了科学依据,对促进纺织行业的可持续发展具有重要意义。By adopting the above technical solution, after identifying the normal area on the fabric to be tested, near-infrared spectroscopy technology is used to perform non-destructive chemical residue analysis, identify and calculate the type and concentration of chemical residues at each sample point, and then evaluate the degradability level of the fabric based on the preset degradable substance database. This solution uses clear logical rules and standardized methods to perform chemical residue analysis and degradability evaluation, ensuring the accuracy and reliability of the test results, while quickly providing environmental performance indicators of the fabric, providing a scientific basis for the environmentally friendly production and consumption of textiles, and is of great significance to promoting the sustainable development of the textile industry.
第二方面,本申请提供一种智能验布检测系统,采用如下的技术方案:In the second aspect, the present application provides an intelligent cloth inspection system, which adopts the following technical solutions:
一种智能验布检测系统,所述检测系统包括:An intelligent cloth inspection system, the inspection system comprising:
数据获取模块,用于获取待检测布料的物理特性数据和光谱响应数据;A data acquisition module, used to acquire physical property data and spectral response data of the fabric to be tested;
材料类型识别模块,用于根据所述物理特性数据和光谱响应数据,确定所述待检测布料的材料类型;A material type identification module, used to determine the material type of the fabric to be detected according to the physical property data and the spectral response data;
采集参数调节模块,用于根据所述材料类型,自适应调节多光谱图像采集参数;An acquisition parameter adjustment module, used for adaptively adjusting the multispectral image acquisition parameters according to the material type;
多光谱图像数据采集模块,用于基于所述多光谱图像采集参数,对所述待检测布料进行多光谱照射并采集不同光谱波段下的图像数据,得到多光谱图像数据;A multispectral image data acquisition module, used for performing multispectral irradiation on the fabric to be detected and acquiring image data in different spectral bands based on the multispectral image acquisition parameters to obtain multispectral image data;
图像预处理模块,用于对所述多光谱图像数据进行图像预处理;An image preprocessing module, used for performing image preprocessing on the multispectral image data;
图像分析模块,用于根据预设逻辑规则和预设特征阈值对预处理后的多光谱图像数据进行逐像素分析,识别所述多光谱图像数据的正常区域和瑕疵区域;An image analysis module, used to perform pixel-by-pixel analysis on the preprocessed multispectral image data according to preset logic rules and preset feature thresholds, and identify normal areas and defective areas of the multispectral image data;
标记模块,用于标记所述瑕疵区域;A marking module, used for marking the defective area;
时间序列图像获取模块,用于对所述瑕疵区域进行连续拍摄,得到所述瑕疵区域的时间序列图像;A time series image acquisition module, used for continuously photographing the defect area to obtain a time series image of the defect area;
动态特性生成模块,用于基于所述时间序列图像进行分析,获取所述瑕疵区域在所述待检测布料上的移动轨迹和变化趋势,得到所述瑕疵区域的动态特性;A dynamic characteristic generation module, used for analyzing the time series images to obtain the moving track and change trend of the defective area on the fabric to be detected, and obtaining the dynamic characteristics of the defective area;
瑕疵检测模块,用于根据所述瑕疵区域的动态特性确定对应的瑕疵类型,得到瑕疵检测结果并发送至管理终端。The defect detection module is used to determine the corresponding defect type according to the dynamic characteristics of the defect area, obtain the defect detection result and send it to the management terminal.
第三方面,本申请提供一种计算机设备,采用如下的技术方案:In a third aspect, the present application provides a computer device, which adopts the following technical solution:
一种计算机设备,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器执行所述计算机程序以实现如第一方面所述方法的步骤。A computer device comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method as described in the first aspect.
第四方面,本申请提供一种计算机可读存储介质,采用如下的技术方案:In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
一种计算机可读存储介质,存储有能够被处理器加载并执行如第一方面中任一种方法的计算机程序。A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the methods in the first aspect.
综上所述,本申请包括以下至少一种有益技术效果:综合运用物理特性分析、多光谱成像技术、高精度图像处理算法以及时间序列分析,不仅能够适应多种布料材质的检测需求,还能够精准识别各类瑕疵,同时能够对微小瑕疵进行有效追踪和分类,提升了布料检测的准确性和可靠性,极大地增强了生产过程中的质量控制能力,为纺织行业提供了有力的技术支持,推动了纺织品检验的智能化和可持续发展。To summarize, the present application includes at least one of the following beneficial technical effects: comprehensive use of physical property analysis, multispectral imaging technology, high-precision image processing algorithms and time series analysis, which can not only adapt to the detection needs of various fabric materials, but also accurately identify various defects, and effectively track and classify minor defects, thereby improving the accuracy and reliability of fabric detection, greatly enhancing the quality control capabilities in the production process, providing strong technical support for the textile industry, and promoting the intelligent and sustainable development of textile inspection.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请其中一个实施例的智能验布检测方法的第一流程示意图;FIG1 is a schematic diagram of a first process flow of an intelligent fabric inspection method according to one embodiment of the present application;
图2是本申请其中一个实施例的智能验布检测方法的第二流程示意图;FIG2 is a schematic diagram of a second process of the intelligent fabric inspection method according to one embodiment of the present application;
图3是本申请其中一个实施例的智能验布检测方法的第三流程示意图;FIG3 is a schematic diagram of a third flow chart of the intelligent cloth inspection method according to one embodiment of the present application;
图4是本申请其中一个实施例的基于梯度提升树的参数配置模型的模型结构示意图;FIG4 is a schematic diagram of a model structure of a parameter configuration model based on a gradient boosting tree according to one embodiment of the present application;
图5是本申请其中一个实施例的智能验布检测方法的第四流程示意图;FIG5 is a schematic diagram of a fourth process flow of the intelligent cloth inspection method according to one embodiment of the present application;
图6是本申请其中一个实施例的智能验布检测方法的第五流程示意图;FIG6 is a schematic diagram of a fifth process flow of the intelligent fabric inspection method according to one embodiment of the present application;
图7是本申请其中一个实施例的智能验布检测方法的第六流程示意图;FIG. 7 is a sixth flow chart of the intelligent fabric inspection method according to one embodiment of the present application;
图8是本申请其中一个实施例的智能验布检测方法的第七流程示意图。FIG. 8 is a seventh flow chart of the intelligent fabric inspection method according to one embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图1-8及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clear, the present application is further described in detail below in conjunction with Figures 1-8 and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
目前,布料的质量控制是确保产品最终品质的关键环节之一。传统的布料检测大多依赖人工目视检查,这种方式不仅效率低下,而且受检测人员主观经验影响大,容易出现误判和漏检,尤其是在面对大规模、高速生产线时,这种局限性更加显著。随着科技的进步,市场上虽已出现了一些自动化和半自动化的验布设备,但这些设备往往存在检测精度不高、适应性不强、难以处理复杂图案和细微瑕疵等问题,特别是对于新型纤维材料的检测,传统技术更是难以满足需求。At present, fabric quality control is one of the key links to ensure the final quality of the product. Traditional fabric inspection mostly relies on manual visual inspection, which is not only inefficient, but also greatly affected by the subjective experience of the inspectors, prone to misjudgment and missed inspections, especially when facing large-scale, high-speed production lines. This limitation is more significant. With the advancement of science and technology, although some automated and semi-automated fabric inspection equipment has appeared on the market, these devices often have problems such as low detection accuracy, poor adaptability, and difficulty in handling complex patterns and minor defects. Especially for the detection of new fiber materials, traditional technology is even more difficult to meet the needs.
尤其是针对含有复杂图案和精细纹理的高档布料,现有的自动检测系统往往因为缺乏对特定材质特性的自适应调节能力,导致在区分瑕疵与图案细节方面存在局限。此外,这些系统在检测微小瑕疵时,由于缺乏有效的动态追踪与时间序列分析技术,经常出现漏检或误报现象,影响了检测的可靠性和效率。同时,市场对纺织品环保性能的要求日益增高,但现有技术在化学残留分析和可降解性评估方面的集成应用尚显不足,难以提供全面的环保评估报告,制约了纺织业的可持续发展。Especially for high-end fabrics with complex patterns and fine textures, existing automatic detection systems often lack the ability to adaptively adjust to specific material characteristics, resulting in limitations in distinguishing defects from pattern details. In addition, when detecting tiny defects, these systems often miss detections or report false alarms due to the lack of effective dynamic tracking and time series analysis technology, which affects the reliability and efficiency of detection. At the same time, the market's requirements for the environmental performance of textiles are increasing, but the integrated application of existing technologies in chemical residue analysis and degradability assessment is still insufficient, making it difficult to provide comprehensive environmental assessment reports, which restricts the sustainable development of the textile industry.
因此,本申请正是针对上述技术问题,提出了一种集多光谱图像分析、智能逻辑判断、动态追踪与环保评估于一体的智能验布检测方法,旨在实现对布料质量的高效、精确、全面控制。Therefore, this application aims to solve the above-mentioned technical problems and proposes an intelligent fabric inspection method that integrates multi-spectral image analysis, intelligent logical judgment, dynamic tracking and environmental assessment, aiming to achieve efficient, accurate and comprehensive control of fabric quality.
本申请实施例公开一种智能验布检测方法。The embodiment of the present application discloses an intelligent cloth inspection method.
参照图1,一种智能验布检测方法,检测方法包括:Referring to FIG. 1 , an intelligent cloth inspection method is shown, the inspection method comprising:
步骤S101,获取待检测布料的物理特性数据和光谱响应数据;Step S101, obtaining physical property data and spectral response data of the fabric to be tested;
具体地,待检测布料在进入检测线前,首先可通过微型物理探针触碰布面,采集基本物理特性(如硬度、密度、厚度、弹性等);同时,光谱分析仪对布料发射和反射的光谱进行快速扫描,获取材料的光谱响应曲线,以反映布料在不同波长光线下的吸收与反射特性。Specifically, before the fabric to be tested enters the testing line, it can first be touched with a micro physical probe to collect basic physical properties (such as hardness, density, thickness, elasticity, etc.); at the same time, the spectrometer quickly scans the spectrum emitted and reflected by the fabric to obtain the spectral response curve of the material to reflect the absorption and reflection characteristics of the fabric under different wavelengths of light.
步骤S102,根据物理特性数据和光谱响应数据,确定待检测布料的材料类型;Step S102, determining the material type of the fabric to be tested according to the physical property data and the spectral response data;
作为确定材料类型的一种实施方式,由于不同材料类型的布料具有不同的物理和光谱特性,利用预先建立的材料特征数据库,通过对比各种已知布料类型的物理特性数据和光谱响应数据,即可实现材料类型的快速识别;其中,预先建立的材料特征数据库应至少覆盖天然纤维(如棉、麻、丝)、合成纤维(如聚酯、尼龙)以及其他新型材料。As an implementation method for determining the material type, since fabrics of different material types have different physical and spectral properties, a pre-established material characteristic database can be used to quickly identify the material type by comparing the physical characteristic data and spectral response data of various known fabric types; wherein the pre-established material characteristic database should at least cover natural fibers (such as cotton, linen, silk), synthetic fibers (such as polyester, nylon) and other new materials.
在一些其他实施例中,为了提高识别效率和准确性,还可利用机器学习算法,整合材料特征数据库中的物理特性和光谱数据双重信息源,通过智能化分析和模型训练,建立能够自动学习这些特征与已知材质类型间的复杂关联的材质识别模型,形成对布料材质的深度识别能力,从而实现对未知布料的高精度分类鉴定;相比于依赖静态数据库对比的方式,该方案具有更强的自适应性和识别准确性。In some other embodiments, in order to improve recognition efficiency and accuracy, machine learning algorithms can also be used to integrate the dual information sources of physical properties and spectral data in the material feature database. Through intelligent analysis and model training, a material recognition model is established that can automatically learn the complex associations between these features and known material types, thereby forming a deep recognition capability for fabric materials, thereby achieving high-precision classification and identification of unknown fabrics. Compared with the method that relies on static database comparison, this solution has stronger adaptability and recognition accuracy.
可以理解的是,通过准确识别布料材质,使得接下来的检测参数调整更具针对性,提高检测效率和准确性。It is understandable that by accurately identifying the fabric material, the subsequent detection parameter adjustment can be more targeted, thereby improving the detection efficiency and accuracy.
步骤S103,根据材料类型,自适应调节多光谱图像采集参数;Step S103, adaptively adjusting multispectral image acquisition parameters according to the material type;
其中,多光谱图像采集参数包括光源(紫外线、可见光、红外线)强度和波长组合,以及图像采集设备的具体参数(曝光时间、分辨率等);Among them, multispectral image acquisition parameters include the intensity and wavelength combination of the light source (ultraviolet light, visible light, infrared light), and the specific parameters of the image acquisition device (exposure time, resolution, etc.);
可以理解的是,系统通过自适应调节多光谱图像采集参数,以最大化地突出材料中可能存在的瑕疵特征,确保了在不同材质上都能获得高质量的多光谱图像,为后续的瑕疵识别提供了关键视觉信息。It can be understood that the system adaptively adjusts the multispectral image acquisition parameters to maximize the highlighting of possible defect characteristics in the material, ensuring that high-quality multispectral images can be obtained on different materials, providing key visual information for subsequent defect identification.
步骤S104,基于多光谱图像采集参数,对待检测布料进行多光谱照射并采集不同光谱波段下的图像数据,得到多光谱图像数据;Step S104, based on the multispectral image acquisition parameters, multispectral irradiation is performed on the fabric to be inspected and image data in different spectral bands are collected to obtain multispectral image data;
在一些具体的实施例中,多光谱图像采集系统应用调节后的多光谱图像采集参数,通过集成紫外线、红外线及可见光等多种光源对待检测布料进行多波段照射,并通过高灵敏度的图像采集设备同步捕获图像数据,形成多光谱图像矩阵,以作为采集得到的多光谱图像数据;In some specific embodiments, the multispectral image acquisition system applies the adjusted multispectral image acquisition parameters, integrates multiple light sources such as ultraviolet rays, infrared rays and visible light to perform multi-band irradiation on the fabric to be inspected, and synchronously captures image data through a high-sensitivity image acquisition device to form a multispectral image matrix as the acquired multispectral image data;
可以理解的是,通过覆盖从紫外线到红外线的多个波段,以便于捕捉不同光谱下可能隐藏的瑕疵特征,不仅增加了检测的深度和广度,还能够发现肉眼或单一波段难以察觉的细节。It can be understood that by covering multiple bands from ultraviolet to infrared, it is easy to capture defect characteristics that may be hidden under different spectra, which not only increases the depth and breadth of detection, but also can discover details that are difficult to detect with the naked eye or a single band.
步骤S105,对多光谱图像数据进行图像预处理;Step S105, performing image preprocessing on the multispectral image data;
在一些具体的实施例中,预处理步骤包括从多光谱图像数据中提取关键特征,如纹理对比度、颜色均匀度、亮度差异等,并进行去噪、增强、对比度调整等预处理操作,以提升图像质量,确保特征的有效性和准确性,消除了不必要的干扰因素。In some specific embodiments, the preprocessing step includes extracting key features from the multispectral image data, such as texture contrast, color uniformity, brightness difference, etc., and performing preprocessing operations such as denoising, enhancement, and contrast adjustment to improve image quality, ensure the effectiveness and accuracy of the features, and eliminate unnecessary interference factors.
步骤S106,根据预设逻辑规则和预设特征阈值对预处理后的多光谱图像数据进行逐像素分析,识别多光谱图像数据的正常区域和瑕疵区域;Step S106, performing pixel-by-pixel analysis on the preprocessed multispectral image data according to preset logic rules and preset feature thresholds to identify normal areas and defective areas of the multispectral image data;
其中,将预处理后的图像数据进行像素级的特征分析,基于纺织专家知识库,设定一系列逻辑规则与特征阈值,例如通过对比相邻像素的光谱差异来识别异物或色差,判断是否超过异常颜色变化阈值,进而实现精细化的瑕疵定位,即使是非常微小的瑕疵也能被识别,有效区分了正常纺织构造和瑕疵区域。Among them, the pre-processed image data is subjected to pixel-level feature analysis, and a series of logical rules and feature thresholds are set based on the textile expert knowledge base. For example, foreign matter or color difference is identified by comparing the spectral differences of adjacent pixels, and it is determined whether the abnormal color change threshold is exceeded, thereby achieving refined defect positioning. Even very small defects can be identified, effectively distinguishing between normal textile structures and defective areas.
步骤S107,标记瑕疵区域并对瑕疵区域进行连续拍摄,得到瑕疵区域的时间序列图像;Step S107, marking the defective area and continuously photographing the defective area to obtain a time series image of the defective area;
具体地,在初步分析后,定位并标记识别出的瑕疵区域,可使用高分辨率相机在连续的时间间隔下进行连续拍摄,得到时间序列图像,以获取瑕疵区域在时间序列上的变化,这有助于区分真正的瑕疵和由于拍摄角度、光线变化等造成的假象。Specifically, after preliminary analysis, the identified defective areas are located and marked, and a high-resolution camera can be used to continuously shoot at continuous time intervals to obtain time series images to obtain changes in the defective areas over the time series, which helps to distinguish between real defects and illusions caused by shooting angles, light changes, etc.
可以理解的是,在面对一些微小瑕疵时,可能在单次拍摄中不易被检测发现,但通过连续拍摄和时间序列分析,可以观察到这些瑕疵随时间的累积效应,从而提高检测系统的敏感度,降低了漏检的风险。It is understandable that when faced with some minor defects, they may not be easy to detect in a single shot, but through continuous shooting and time series analysis, the cumulative effect of these defects over time can be observed, thereby improving the sensitivity of the detection system and reducing the risk of missed detection.
步骤S108,基于时间序列图像进行分析,获取瑕疵区域在待检测布料上的移动轨迹和变化趋势,得到瑕疵区域的动态特性;Step S108, analyzing the time series images to obtain the moving trajectory and change trend of the defective area on the fabric to be detected, and obtaining the dynamic characteristics of the defective area;
其中,动态特性包括扩散速率、颜色变化和移动路径;Among them, dynamic characteristics include diffusion rate, color change and movement path;
在一些具体的实施例中,利用连续时间序列,可通过图像配准与动态跟踪算法,精确追踪瑕疵在布料上的移动轨迹,并分析其随时间的变化趋势,以进一步提取瑕疵区域的动态特性,为瑕疵类型判断提供了动态信息,增加了检测深度。In some specific embodiments, by using continuous time series, the movement trajectory of defects on the fabric can be accurately tracked through image registration and dynamic tracking algorithms, and its changing trend over time can be analyzed to further extract the dynamic characteristics of the defect area, provide dynamic information for defect type judgment, and increase the detection depth.
步骤S109,根据瑕疵区域的动态特性确定对应的瑕疵类型,得到瑕疵检测结果并发送至管理终端。Step S109, determining the corresponding defect type according to the dynamic characteristics of the defect area, obtaining the defect detection result and sending it to the management terminal.
其中,在确定瑕疵类型后,即可形成瑕疵检测结果并反馈至管理人员的管理终端,为后续的布料质量管控提供具体指导。Among them, after the defect type is determined, the defect detection results can be formed and fed back to the management terminal of the manager, providing specific guidance for subsequent fabric quality control.
上述实施方式中,综合运用物理特性分析、多光谱成像技术、高精度图像处理算法以及时间序列分析,不仅能够适应多种布料材质的检测需求,还能够精准识别各类瑕疵,同时能够对微小瑕疵进行有效追踪和分类,提升了布料检测的准确性和可靠性,极大地增强了生产过程中的质量控制能力,为纺织行业提供了有力的技术支持,推动了纺织品检验的智能化和可持续发展。In the above implementation, the comprehensive use of physical property analysis, multispectral imaging technology, high-precision image processing algorithms and time series analysis can not only meet the detection needs of various fabric materials, but also accurately identify various defects. At the same time, it can effectively track and classify minor defects, thereby improving the accuracy and reliability of fabric detection, greatly enhancing the quality control capabilities in the production process, providing strong technical support for the textile industry, and promoting the intelligent and sustainable development of textile inspection.
在本申请的其中一些实施例中,瑕疵类型例如扩散型瑕疵、线性移动型瑕疵、颜色变化型瑕疵、针孔型瑕疵、织物损坏型瑕疵、色斑型瑕疵等等;具体地,扩散型瑕疵例如扩散型油污、液体渗透等瑕疵,线性移动型瑕疵例如线头脱落、机械部件造成划痕等瑕疵,颜色变化型瑕疵例如染料不均匀、化学物质发生反应等瑕疵,针孔型瑕疵例如针头刺破布料、织造过程中张力不均等形成针孔造成的瑕疵,织物损坏型瑕疵例如机械部件造成布料损伤、布料被拉扯撕裂等缺陷,色斑型瑕疵例如染色不均、颜料飞溅等形成色斑导致的瑕疵。In some embodiments of the present application, defect types include diffusion defects, linear movement defects, color change defects, pinhole defects, fabric damage defects, color spot defects, etc.; specifically, diffusion defects include diffuse oil stains, liquid penetration and other defects, linear movement defects include thread shedding, scratches caused by mechanical parts and other defects, color change defects include uneven dyeing, chemical reactions and other defects, pinhole defects include defects such as needles piercing the cloth, uneven tension during weaving, etc., fabric damage defects include defects such as mechanical parts causing cloth damage, cloth being pulled and torn, and color spot defects include uneven dyeing, paint splashing, etc., which cause color spots.
作为确定对应的瑕疵类型的一种实施方式,可引入机器学习算法,例如可采用SVM(支持向量机)模型,通过提取扩散速率、颜色变化和移动路径等动态特性,构建丰富的特征向量,将该特征向量输入至支持向量机(SVM)模型中,模型即可利用这些特征向量,通过高维空间中的超平面分类,将输入的动态特性映射到相应的瑕疵类型,输出判定结果,如“扩散型瑕疵”或“颜色变化型瑕疵”。As an implementation method for determining the corresponding defect type, a machine learning algorithm can be introduced. For example, an SVM (support vector machine) model can be used to extract dynamic characteristics such as diffusion rate, color change and movement path, construct a rich feature vector, and input the feature vector into the support vector machine (SVM) model. The model can use these feature vectors to map the input dynamic characteristics to the corresponding defect type through hyperplane classification in high-dimensional space, and output the judgment result, such as "diffusion type defect" or "color change type defect".
具体地,该SVM模型通过收集大量已知瑕疵类型的时间序列图像数据,提取对应的动态特性,构建训练数据集,每个训练样本中均包括一个特征向量和相应的瑕疵类型标签。通过使用这些训练数据调整模型内部参数,寻找能够最优区分不同瑕疵类型的超平面,实现对动态特性与瑕疵类型之间的映射。通过反复的训练和验证,模型优化其分类能力,最终能够在实际检测中准确判定未知样本的瑕疵类型。Specifically, the SVM model collects a large amount of time series image data of known defect types, extracts the corresponding dynamic characteristics, and constructs a training data set. Each training sample includes a feature vector and a corresponding defect type label. By using these training data to adjust the internal parameters of the model, the hyperplane that can best distinguish different defect types is found to achieve the mapping between dynamic characteristics and defect types. Through repeated training and verification, the model optimizes its classification ability and can eventually accurately determine the defect type of unknown samples in actual detection.
作为确定对应的瑕疵类型的另一种实施方式,也可通过设定一系列基于专家知识和经验的逻辑规则对动态特性进行分析,判断其是否符合某些特定的瑕疵模式,以便于确定瑕疵类型。As another implementation method for determining the corresponding defect type, a series of logical rules based on expert knowledge and experience may be set to analyze the dynamic characteristics to determine whether they conform to certain specific defect patterns, so as to determine the defect type.
具体地,例如,如果动态特性显示瑕疵区域面积随时间快速扩散,并伴随颜色变化,则可确定为“扩散型瑕疵(如油污扩散)”;若位置变化呈现规律性移动,则可确定为“线性移动型瑕疵(如线头脱落)”;若光谱特征变化显著,则可确定为“颜色变化型瑕疵(如染料不均匀)”。通过这种方式,系统能够准确地识别并分类不同类型的瑕疵,例如“扩散型油污”、“线性移动的织物缺陷”或“逐渐变色的色斑”等。Specifically, for example, if the dynamic characteristics show that the area of the defect area spreads rapidly over time and is accompanied by color changes, it can be determined as a "diffusion type defect (such as oil diffusion)"; if the position change shows regular movement, it can be determined as a "linear movement type defect (such as thread loss)"; if the spectral characteristics change significantly, it can be determined as a "color change type defect (such as uneven dyeing)". In this way, the system can accurately identify and classify different types of defects, such as "diffusion type oil stains", "linear moving fabric defects" or "gradually changing color spots".
参照图2,作为步骤S103的一种实施方式,根据材料类型,自适应调节多光谱图像采集参数的步骤包括:2 , as an implementation of step S103 , the step of adaptively adjusting the multispectral image acquisition parameters according to the material type includes:
步骤S201,实时获取当前环境数据并进行数据预处理;Step S201, real-time acquisition of current environment data and data preprocessing;
在一些具体的实施例中,可通过传感器网络(如光照传感器、温湿度传感器)实时监测周围环境状态,收集光照强度、温度、湿度等关键参数。数据预处理步骤包括数据清洗和标准化,通过去除异常值,对光照强度、温度等数值型数据进行归一化处理,确保数据质量,便于后续分析。In some specific embodiments, the surrounding environment state can be monitored in real time through a sensor network (such as light sensors, temperature and humidity sensors) to collect key parameters such as light intensity, temperature, and humidity. The data preprocessing step includes data cleaning and standardization. By removing outliers, the numerical data such as light intensity and temperature are normalized to ensure data quality and facilitate subsequent analysis.
步骤S202,提取预处理后的当前环境数据对应的环境特征;Step S202, extracting environmental features corresponding to the preprocessed current environmental data;
具体地,从预处理后的环境数据中,选取与图像采集质量密切相关的特征变量,如归一化后的光照强度(影响曝光时间和光源补偿)、温度(可能影响相机元件性能)等特征,以直接或间接反映当前环境对成像质量的影响;Specifically, from the pre-processed environmental data, feature variables closely related to the image acquisition quality are selected, such as normalized light intensity (affecting exposure time and light source compensation), temperature (which may affect camera component performance), and other features, to directly or indirectly reflect the impact of the current environment on the imaging quality;
可以理解的是,通过聚焦于影响采集参数的关键因素,提高模型预测的针对性和准确性。It can be understood that by focusing on the key factors affecting the acquisition parameters, the pertinence and accuracy of the model prediction can be improved.
步骤S203,基于材料类型对应的类别特征和环境特征,构建输入特征集;Step S203, constructing an input feature set based on the category features and environmental features corresponding to the material type;
其中,结合识别到的材料类型(作为类别特征,反映不同材质对光谱吸收与反射的差异)和提取的环境特征,构建全面的输入特征集,旨在形成能够有效表达采集场景复杂性的特征向量集。Among them, a comprehensive input feature set is constructed by combining the identified material type (as a category feature, reflecting the differences in spectral absorption and reflection of different materials) and the extracted environmental features, aiming to form a feature vector set that can effectively express the complexity of the acquisition scene.
步骤S204,将输入特征集输入至预先训练的参数配置模型中,对最佳多光谱图像采集参数进行预测,得到模型预测结果;Step S204, inputting the input feature set into a pre-trained parameter configuration model, predicting the optimal multispectral image acquisition parameters, and obtaining a model prediction result;
其中,该参数配置模型基于历史数据和机器学习算法学习到了材料特性与环境因素对采集参数(如光源强度、波长组合、曝光时间等)的最优配置映射关系,因此能够快速而准确地预测出针对当前特定条件下的最优采集参数,实现参数配置的智能化和自适应。Among them, the parameter configuration model learns the optimal configuration mapping relationship between material properties and environmental factors to acquisition parameters (such as light source intensity, wavelength combination, exposure time, etc.) based on historical data and machine learning algorithms. Therefore, it can quickly and accurately predict the optimal acquisition parameters under current specific conditions, and realize intelligent and adaptive parameter configuration.
步骤S205,根据模型预测结果,对多光谱图像采集参数进行自适应调节。Step S205: adaptively adjust the multispectral image acquisition parameters according to the model prediction results.
其中,根据模型预测结果,系统自动调整采集设备的参数配置,如调节光源亮度、切换至推荐的光谱波段组合,以及设定相机的曝光参数、分辨率等,以期获得最高质量的图像数据。Among them, according to the model prediction results, the system automatically adjusts the parameter configuration of the acquisition equipment, such as adjusting the brightness of the light source, switching to the recommended spectral band combination, and setting the camera's exposure parameters and resolution, etc., in order to obtain the highest quality image data.
上述实施方式中,根据不同的材料类型和不断变化的环境条件,动态调整图像采集策略,确保在各种复杂环境下都能获得最佳成像条件,以减少外部环境因素对图像质量的负面影响,使得瑕疵识别更加准确;另外,通过减少了对人工干预配置参数的依赖,使得整个检测过程更加流畅、高效,提高了整体检测效率。In the above implementation, the image acquisition strategy is dynamically adjusted according to different material types and changing environmental conditions to ensure that optimal imaging conditions can be obtained in various complex environments, so as to reduce the negative impact of external environmental factors on image quality and make defect identification more accurate; in addition, by reducing the reliance on manual intervention configuration parameters, the entire detection process is made smoother and more efficient, thereby improving the overall detection efficiency.
可以理解的是,自适应调节通常指的是系统根据环境变化或条件变化自动调整其参数或行为,以更好地适应当前的情况或需求;因此,本申请在优化调整多光谱图像采集参数的过程中引入实时环境数据,通过实现采集参数的动态自适应调整,确保在各种条件下都能获得最佳图像质量,提高检测系统的稳定性和检测结果的可靠性。It is understandable that adaptive adjustment generally refers to the system automatically adjusting its parameters or behaviors according to environmental changes or conditions to better adapt to the current situation or needs; therefore, the present application introduces real-time environmental data in the process of optimizing and adjusting multispectral image acquisition parameters, and ensures the best image quality under various conditions by realizing dynamic adaptive adjustment of acquisition parameters, thereby improving the stability of the detection system and the reliability of the detection results.
例如,在高湿度环境下采集某种吸湿性较强的棉质布料的多光谱图像时,若不考虑环境因素,高湿度可能导致布料表面微反光增强,影响图像的对比度和清晰度;而实时环境数据的引入使得系统能够识别当前的高湿度条件,自动调整光源强度和选择更有利于降低表面反光影响的波长组合,同时调整相机的曝光时间,以减少环境湿度带来的图像模糊,确保图像质量,从而准确检测布料瑕疵。For example, when collecting multispectral images of a certain type of cotton fabric with strong hygroscopicity in a high humidity environment, if environmental factors are not taken into account, high humidity may cause the micro-reflection on the surface of the fabric to increase, affecting the contrast and clarity of the image; the introduction of real-time environmental data enables the system to identify the current high humidity conditions, automatically adjust the light source intensity and select a wavelength combination that is more conducive to reducing the impact of surface reflections, while adjusting the camera's exposure time to reduce image blur caused by ambient humidity, ensure image quality, and accurately detect fabric defects.
再例如,当光照强度变化时,系统可通过自动调整相机的曝光时间和增益,以维持图像的适宜亮度和对比度;在温度变化时,可以通过调整光源功率或补偿算法来稳定图像质量和光谱数据的准确性。For example, when the light intensity changes, the system can automatically adjust the camera's exposure time and gain to maintain appropriate brightness and contrast of the image; when the temperature changes, the image quality and accuracy of the spectral data can be stabilized by adjusting the light source power or compensation algorithm.
参照图3,作为智能验布检测方法进一步的实施方式,检测方法还包括参数配置模型的训练步骤,训练步骤包括:3 , as a further implementation of the intelligent fabric inspection method, the inspection method further includes a training step of a parameter configuration model, and the training step includes:
步骤S301,获取历史样本特征集并进行预处理;Step S301, obtaining a historical sample feature set and performing preprocessing;
其中,历史样本特征集包括不同材料在不同环境下的最佳多光谱图像采集参数以及相应的图像质量指标;Among them, the historical sample feature set includes the optimal multispectral image acquisition parameters of different materials in different environments and the corresponding image quality indicators;
具体地,可收集历史上成功采集的多光谱图像的详细参数记录,包括不同材料在特定环境(如不同光照、温度条件)下使用的光源强度、波长组合、曝光时间等最佳采集参数,以及这些参数下获得的图像质量指标(如清晰度、对比度)。Specifically, detailed parameter records of multispectral images that have been successfully collected in the past can be collected, including the optimal acquisition parameters such as light source intensity, wavelength combination, exposure time, etc. used for different materials in specific environments (such as different lighting and temperature conditions), as well as image quality indicators (such as clarity and contrast) obtained under these parameters.
在一些实施例中,预处理步骤包括数据清洗、标准化和规范化,确保数据质量与模型训练的效率;通过构建一个丰富的训练数据集,并经过数据预处理消除了数据中的噪声和不一致性,为模型训练奠定了坚实的基础。In some embodiments, the preprocessing step includes data cleaning, standardization and normalization to ensure data quality and efficiency of model training; by constructing a rich training data set and eliminating noise and inconsistency in the data through data preprocessing, a solid foundation is laid for model training.
步骤S302,对预处理后的历史样本特征集进行特征提取,得到基础特征向量集;Step S302, extracting features from the preprocessed historical sample feature set to obtain a basic feature vector set;
其中,从预处理后的数据中,提取与图像采集质量紧密相关的特征,如材料类型、环境因素(光照强度、温度)及采集参数(光源强度等),这些特征经过组合和转换形成基础特征向量集,为模型提供输入;通过精心设计的特征工程,提高了模型对关键因素的敏感度,有助于模型更好地理解和学习数据中的模式。Among them, features closely related to image acquisition quality are extracted from the preprocessed data, such as material type, environmental factors (light intensity, temperature) and acquisition parameters (light source intensity, etc.). These features are combined and transformed to form a basic feature vector set to provide input for the model; through carefully designed feature engineering, the model's sensitivity to key factors is improved, which helps the model better understand and learn patterns in the data.
步骤S303,将基础特征向量集划分为训练样本和验证样本;Step S303, dividing the basic feature vector set into training samples and verification samples;
其中,将基础特征向量集随机分为两部分,一部分用于模型训练,另一部分作为验证集来评估模型性能,确保模型的泛化能力。Among them, the basic feature vector set is randomly divided into two parts, one part is used for model training, and the other part is used as a validation set to evaluate the model performance and ensure the generalization ability of the model.
步骤S304,将训练样本输入至预先构建的梯度提升树模型中进行初训练,优化模型参数,得到初训练的参数配置模型;Step S304, inputting the training samples into a pre-built gradient boosting tree model for initial training, optimizing the model parameters, and obtaining an initial training parameter configuration model;
在本申请实施例中,可采用梯度提升树(GBM)模型进行初训练,GBM通过迭代地添加弱学习器(通常是决策树),每一棵树都尝试纠正前一棵树的残差,以此逐渐提升预测性能;其中,初训练阶段包括优化模型的超参数,如学习率、树的数量、树的最大深度等,通过GBM的迭代学习,模型能够逐步学习到复杂特征间的非线性关系,逐步提升预测准确性。In an embodiment of the present application, a gradient boosted tree (GBM) model may be used for initial training. GBM gradually improves prediction performance by iteratively adding weak learners (usually decision trees), and each tree attempts to correct the residual of the previous tree. The initial training stage includes optimizing the hyperparameters of the model, such as the learning rate, the number of trees, the maximum depth of the trees, etc. Through the iterative learning of GBM, the model can gradually learn the nonlinear relationship between complex features and gradually improve the prediction accuracy.
步骤S305,基于验证样本对参数配置模型进行验证和模型参数校正,直到模型的损失函数满足预设条件或模型迭代次数达到预设次数,得到训练完成的参数配置模型。Step S305, verifying the parameter configuration model and correcting the model parameters based on the verification sample until the loss function of the model meets the preset conditions or the number of model iterations reaches the preset number, thereby obtaining a trained parameter configuration model.
具体地,利用验证集评估初训练模型的性能,根据评估结果调整模型参数,如减小学习率、增加树的复杂度等,直至模型在验证集上的损失函数达到预设阈值或达到预定的迭代次数,确保模型在保持良好泛化能力的同时,达到最佳预测性能,提高了模型的实用性和稳定性。Specifically, the validation set is used to evaluate the performance of the initial training model, and the model parameters are adjusted according to the evaluation results, such as reducing the learning rate, increasing the complexity of the tree, etc., until the loss function of the model on the validation set reaches a preset threshold or reaches a predetermined number of iterations, ensuring that the model achieves the best prediction performance while maintaining good generalization ability, thereby improving the practicality and stability of the model.
上述实施方式中,经过细致的数据预处理、精心设计的特征工程、以及基于梯度提升树的高效模型训练与优化流程,构建了一套能够自适应调节多光谱图像采集参数的参数配置模型;该模型能够根据材料类型和实时环境数据,精确预测出最优的图像采集设置,显著提升了布料检测的自动化水平和检测精度,降低了人力成本,为纺织行业智能化生产提供了强有力的技术支持。In the above implementation, after meticulous data preprocessing, carefully designed feature engineering, and efficient model training and optimization process based on gradient boosting tree, a parameter configuration model that can adaptively adjust multispectral image acquisition parameters is constructed; the model can accurately predict the optimal image acquisition settings according to material type and real-time environmental data, significantly improving the automation level and detection accuracy of fabric detection, reducing labor costs, and providing strong technical support for intelligent production in the textile industry.
作为构建基于梯度提升树(GBM)的参数配置模型的具体实施方式,GBM模型在训练过程中以迭代方式逐步构建决策树序列,每棵决策树作为弱学习器,具有固定的最大深度(例如5-10层),以避免过拟合;树的每个内部节点代表一个特征测试(如光照强度阈值、材料类型分类),分支代表测试结果,叶节点存储预测的采集参数调整值(如光源强度增量、波长调整范围)或回归值(如曝光时间);并且,在树的生长过程中,采用特征重要性评估(如基尼不纯度或信息增益)来选择最佳分裂特征,确保每一步分裂都能最大程度地减少预测误差。As a specific implementation method for constructing a parameter configuration model based on a gradient boosting tree (GBM), the GBM model gradually constructs a sequence of decision trees in an iterative manner during the training process. Each decision tree acts as a weak learner and has a fixed maximum depth (e.g., 5-10 layers) to avoid overfitting. Each internal node of the tree represents a feature test (e.g., light intensity threshold, material type classification), the branch represents the test result, and the leaf node stores the predicted acquisition parameter adjustment value (e.g., light source intensity increment, wavelength adjustment range) or regression value (e.g., exposure time). In addition, during the growth of the tree, feature importance evaluation (e.g., Gini impurity or information gain) is used to select the best split feature to ensure that each split step can minimize the prediction error.
在具体迭代过程中,GBM模型通过添加新的决策树来逐步减少预测误差,每棵树基于前一棵树的残差进行训练,即试图修正前一棵树的预测错误;每棵树的预测输出会乘以一个小于1的学习率(例如0.1),以控制模型学习的速度,减少过拟合的风险;另外,可采用平方损失或绝对损失函数来度量当前模型预测与真实标签(最佳采集参数)之间的差距,以此指导每一轮迭代中树的生长。In the specific iterative process, the GBM model gradually reduces the prediction error by adding new decision trees. Each tree is trained based on the residual of the previous tree, that is, it tries to correct the prediction error of the previous tree. The prediction output of each tree is multiplied by a learning rate less than 1 (for example, 0.1) to control the speed of model learning and reduce the risk of overfitting. In addition, the square loss or absolute loss function can be used to measure the gap between the current model prediction and the true label (optimal acquisition parameters) to guide the growth of the tree in each round of iteration.
最后,通过限制树的深度、最小样本数分裂节点等方法实现模型的正则化,避免模型复杂度过高;当验证集上的损失函数改善小于预设阈值(如0.001),或者达到预设的最大迭代次数(如100次)时,即可停止添加新的决策树,完成模型训练。Finally, the model is regularized by limiting the depth of the tree, splitting nodes with the minimum number of samples, and other methods to avoid excessive model complexity; when the improvement of the loss function on the validation set is less than the preset threshold (such as 0.001), or reaches the preset maximum number of iterations (such as 100 times), stop adding new decision trees and complete model training.
参照图4所示为本申请其中一实施例基于梯度提升树(GBM)的参数配置模型的模型结构示意图,主要包括以下结构:4 is a schematic diagram of a model structure of a parameter configuration model based on a gradient boosting tree (GBM) in one embodiment of the present application, which mainly includes the following structures:
模型起点:以“GBM模型结构”作为起点,表示模型的初始化阶段,准备接收和处理输入数据。Model starting point: Taking the "GBM model structure" as the starting point, it indicates the initialization stage of the model, ready to receive and process input data.
特征测试节点:模型分为三个主要的特征测试路径,分别对应光照强度、材料类型和环境因素的综合评估;这些特征测试是模型决策过程的基础。Feature Test Node: The model is divided into three main feature test paths, corresponding to the comprehensive evaluation of light intensity, material type and environmental factors; these feature tests are the basis of the model's decision-making process.
光照强度决策树:该路径下,根据实时获取的光照强度数据,模型将进行判断:如果光照强度“低于阈值”,模型将决定“降低光源强度”;如果光照强度“高于阈值”,模型将决定“增加光源强度”;如果光照强度“接近理想值”,模型将维持“光源强度”。Light intensity decision tree: In this path, the model will make a judgment based on the light intensity data obtained in real time: if the light intensity is "lower than the threshold", the model will decide to "reduce the light intensity"; if the light intensity is "higher than the threshold", the model will decide to "increase the light intensity"; if the light intensity is "close to the ideal value", the model will maintain the "light intensity".
材料类型决策树:在材料类型测试中,模型根据不同的材料特性进行分类,并为每种材料类型指定不同的波长调整策略:对于“棉质材料”,模型将“调整波长范围A”;对于“化纤材料”,模型将“调整波长范围B”;对于“混纺材料”,模型将“调整波长范围C”。Material type decision tree: In the material type test, the model classifies materials according to different material properties and specifies different wavelength adjustment strategies for each material type: for "cotton material", the model will "adjust wavelength range A"; for "chemical fiber material", the model will "adjust wavelength range B"; for "blended material", the model will "adjust wavelength range C".
综合评估决策树:环境因素的综合评估将基于前两个决策树的输出以及其他环境参数,进行综合分析以“确定曝光时间”。Comprehensive Assessment Decision Tree: The comprehensive assessment of environmental factors will be based on the output of the first two decision trees and other environmental parameters, and a comprehensive analysis will be conducted to "determine the exposure time."
参数输出:所有决策路径最终汇聚到“输出采集参数”节点,这里模型将输出最终的采集参数,包括光源强度、波长范围和曝光时间等,以实现最优的多光谱图像采集效果。Parameter output: All decision paths eventually converge to the "Output acquisition parameters" node, where the model will output the final acquisition parameters, including light source intensity, wavelength range, and exposure time, to achieve the optimal multispectral image acquisition effect.
通过上述方式训练完成后,该参数配置模型能够接收实时的材料类型和环境数据作为输入,输出优化的采集参数,指导多光谱图像采集设备的自适应调节,确保在不同条件下的图像采集质量,有效支持智能验布检测过程,提升检测效率与准确性,满足纺织行业对高效、精确质量控制的需求。After training is completed in the above manner, the parameter configuration model can receive real-time material type and environmental data as input, output optimized acquisition parameters, guide the adaptive adjustment of multispectral image acquisition equipment, ensure the image acquisition quality under different conditions, effectively support the intelligent fabric inspection process, improve inspection efficiency and accuracy, and meet the textile industry's needs for efficient and precise quality control.
参照图5,作为步骤S106的一种实施方式,根据预设逻辑规则和预设特征阈值对预处理后的多光谱图像数据进行逐像素分析的步骤包括;5 , as an implementation of step S106 , the step of performing pixel-by-pixel analysis on the preprocessed multispectral image data according to preset logic rules and preset feature thresholds includes:
步骤S401,根据预处理后的多光谱图像数据进行图像分割,得到初步划分的多个同质区域;Step S401, performing image segmentation according to the pre-processed multispectral image data to obtain a plurality of homogeneous regions that are initially divided;
其中,可采用图像分割技术,依据光谱特征、颜色、纹理等信息,将多光谱图像数据初步划分为多个不同类型的同质区域,同质区域是指具有相似属性或特征的一片连续区域,例如颜色、纹理、灰度值或光谱反射率接近的像素集合。在一些实施例中,图像分割技术可采用阈值分割、边缘检测或聚类分析等。Among them, image segmentation technology can be used to preliminarily divide the multispectral image data into multiple different types of homogeneous regions based on spectral characteristics, color, texture and other information. A homogeneous region refers to a continuous area with similar attributes or characteristics, such as a set of pixels with similar color, texture, grayscale value or spectral reflectance. In some embodiments, the image segmentation technology can use threshold segmentation, edge detection or cluster analysis.
在本申请实施例中,这些同质区域可能对应于不同的织物材质、颜色块或潜在的瑕疵区域,通过为后续像素级分析提供结构化的分析框架,减少不必要的全局搜索,提高分析效率。In an embodiment of the present application, these homogeneous regions may correspond to different fabric materials, color blocks or potential defective areas, and by providing a structured analysis framework for subsequent pixel-level analysis, unnecessary global searches are reduced and analysis efficiency is improved.
步骤S402,在多个同质区域中提取每个像素点在各个光谱波段的光谱特征,得到每个像素点的单像素特征;Step S402, extracting the spectral features of each pixel in each spectral band in multiple homogeneous regions to obtain a single pixel feature of each pixel;
其中,从每个像素点处提取其在各个光谱波段的辐射强度或反射率,形成该像素点的光谱特征向量,以反映其光谱反射或吸收特性,便于后续对于特定物质或异常的光谱信号的识别。The radiation intensity or reflectivity of each pixel in each spectral band is extracted to form a spectral feature vector of the pixel to reflect its spectral reflection or absorption characteristics, which is convenient for the subsequent identification of specific substances or abnormal spectral signals.
可以理解的是,在初步划分的多个同质区域内,对每个像素点进行详细的光谱特征提取。这意味着,每个像素点的特征提取不仅基于其在各光谱通道的响应,还考虑到它所在区域的先验知识(初步划分的同质区域类型);例如,若某区域被初步判断为潜在瑕疵区,则对该区域内像素的特征分析会侧重于寻找异常的光谱特征。It is understandable that in the multiple homogeneous regions preliminarily divided, detailed spectral feature extraction is performed for each pixel. This means that the feature extraction of each pixel is not only based on its response in each spectral channel, but also takes into account the prior knowledge of the region where it is located (the type of homogeneous region preliminarily divided); for example, if a region is preliminarily judged as a potential defect area, the feature analysis of the pixels in the region will focus on finding abnormal spectral features.
步骤S403,计算每个像素点与相邻像素点在光谱特征上的差异,得到每个像素点的邻域特征;Step S403, calculating the difference in spectral characteristics between each pixel and adjacent pixels to obtain a neighborhood feature of each pixel;
其中,在提取单个像素点特征的同时,考虑该像素点与周围相邻像素点之间的差异,通过计算邻域内像素的统计特征(如均值、标准差、相关性等),生成邻域特征,以反映局部纹理和变化规律,从而丰富了单个像素点的特征描述,使特征提取不仅基于单点信息,也融合了局部上下文信息,能够进一步揭示局部变化趋势,有助于辨识细微瑕疵。Among them, when extracting the features of a single pixel, the difference between the pixel and the surrounding adjacent pixels is considered. By calculating the statistical characteristics of the pixels in the neighborhood (such as mean, standard deviation, correlation, etc.), neighborhood features are generated to reflect the local texture and change patterns, thereby enriching the feature description of a single pixel. The feature extraction is not only based on single-point information, but also integrates local contextual information, which can further reveal local change trends and help identify subtle defects.
步骤S404,根据单像素特征和邻域特征,加权融合得到每个像素点的综合特征向量;Step S404, obtaining a comprehensive feature vector for each pixel by weighted fusion based on single pixel features and neighborhood features;
具体地,结合单像素特征和邻域特征,可通过加权融合为每个像素点构建一个综合特征向量,该向量能更全面地代表像素点及其周围环境的信息,形成全面的像素特征描述。需要说明的是,在加权融合过程中,具体的权重分配规则可依据特征的重要性及与瑕疵识别的相关性。Specifically, by combining single pixel features and neighborhood features, a comprehensive feature vector can be constructed for each pixel through weighted fusion, which can more comprehensively represent the information of the pixel and its surrounding environment, forming a comprehensive pixel feature description. It should be noted that in the weighted fusion process, the specific weight allocation rule can be based on the importance of the feature and its relevance to defect recognition.
步骤S405,基于预设逻辑规则,分别判断每个像素点的综合特征向量是否超过预设特征阈值,若否,则跳转至步骤S406;若是,则跳转至步骤S407;Step S405, based on the preset logic rules, determine whether the comprehensive feature vector of each pixel exceeds the preset feature threshold. If not, jump to step S406; if yes, jump to step S407;
步骤S406,将像素点标记为正常像素点;Step S406, marking the pixel as a normal pixel;
步骤S407,将像素点标记为瑕疵像素点;Step S407, marking the pixel as a defective pixel;
其中,依据纺织品瑕疵识别的特定需求,设定一系列预设逻辑规则和特征阈值,用于区分正常与异常的光谱特征模式。Among them, according to the specific needs of textile defect identification, a series of preset logical rules and feature thresholds are set to distinguish normal and abnormal spectral feature patterns.
具体地,通过对每个像素点的综合特征向量进行评估,判断在预设逻辑规则下,其特征值是否超过预设阈值,以决定该像素点属于瑕疵还是正常类别。Specifically, by evaluating the comprehensive feature vector of each pixel point, it is determined whether its feature value exceeds a preset threshold under a preset logical rule, so as to determine whether the pixel point belongs to the defect or normal category.
在本申请的具体实施例中,作为一些示例性的预设逻辑规则和特征阈值,例如:根据光谱偏移规则,若像素点的光谱特征向量与所在同质区域典型材质的平均光谱特征向量之间的欧氏距离超过特征阈值T1,则确定该像素点为瑕疵像素点;其中,T1是根据正常材料光谱变化范围确定的阈值,即为该光谱偏移规则对应的特征阈值。再例如:根据邻域一致性规则,对于任意像素点,如果其邻域特征(如光谱差异的平均值或标准差)超过了特征阈值T2,则说明该同质区域的纹理或颜色不连续,则确定该像素点为瑕疵像素点;其中,T2是通过分析正常区域中相邻像素光谱特征的自然变化确定的阈值,即为该邻域一致性规则对应的特征阈值。In the specific embodiments of the present application, as some exemplary preset logical rules and characteristic thresholds, for example: according to the spectral shift rule, if the Euclidean distance between the spectral characteristic vector of a pixel point and the average spectral characteristic vector of a typical material in the homogeneous region exceeds the characteristic threshold T1, the pixel point is determined to be a defective pixel point; wherein T1 is a threshold determined according to the spectral variation range of normal materials, that is, the characteristic threshold corresponding to the spectral shift rule. Another example: according to the neighborhood consistency rule, for any pixel point, if its neighborhood feature (such as the average or standard deviation of the spectral difference) exceeds the characteristic threshold T2, it means that the texture or color of the homogeneous region is discontinuous, and the pixel point is determined to be a defective pixel point; wherein T2 is a threshold determined by analyzing the natural variation of the spectral features of adjacent pixels in the normal region, that is, the characteristic threshold corresponding to the neighborhood consistency rule.
步骤S408,根据多个瑕疵像素点,得到瑕疵像素集合;Step S408, obtaining a defective pixel set according to the plurality of defective pixel points;
步骤S409,基于图像处理算法,根据瑕疵像素集合界定瑕疵区域的瑕疵边界;Step S409, based on the image processing algorithm, defining the defect boundary of the defect area according to the defect pixel set;
在一些实施例中,可应用图像处理算法,如形态学操作或聚类分析算法,基于瑕疵像素集合界定瑕疵区域的精确边界,精确地勾勒瑕疵范围,实现精细化定位。In some embodiments, an image processing algorithm, such as a morphological operation or a cluster analysis algorithm, may be applied to define the precise boundary of the defective area based on a set of defective pixels, accurately outline the defect range, and achieve refined positioning.
具体地,通过识别并聚集初步判定的瑕疵像素点,形成瑕疵像素集合后,应用形态学膨胀操作以扩大这些像素点的影响力域,有效连接邻近的瑕疵区域,同时利用腐蚀操作去除细小的干扰噪声,确保边界界定的准确性;在此基础上,实施聚类分析算法,如DBSCAN(基于密度的空间聚类应用与噪声过滤),依据像素点的光谱特征相似度和空间邻近度,进一步细化瑕疵区域的轮廓,精确勾勒出瑕疵边界。Specifically, by identifying and gathering the defective pixels that are initially determined to form a set of defective pixels, the morphological dilation operation is applied to expand the influence domain of these pixels and effectively connect the adjacent defective areas. At the same time, the corrosion operation is used to remove small interference noise to ensure the accuracy of boundary definition. On this basis, clustering analysis algorithms such as DBSCAN (density-based spatial clustering application and noise filtering) are implemented to further refine the outline of the defective area and accurately outline the defective boundary based on the spectral feature similarity and spatial proximity of the pixels.
步骤S410,根据瑕疵边界,将多光谱图像数据划分为正常区域和瑕疵区域。Step S410 , dividing the multispectral image data into a normal area and a defect area according to the defect boundary.
上述实施方式中,不仅提高了布料瑕疵检测的精度和效率,还通过综合分析像素级特征和空间上下文信息,增强了对复杂瑕疵模式的识别能力,显著提升了布料图像数据分析的智能化水平。In the above implementation, not only the accuracy and efficiency of fabric defect detection are improved, but also the recognition capability of complex defect patterns is enhanced by comprehensively analyzing pixel-level features and spatial context information, thereby significantly improving the intelligence level of fabric image data analysis.
参照图6,作为步骤S108的一种实施方式,基于时间序列图像进行分析,获取瑕疵区域在待检测布料上的移动轨迹和变化趋势,得到瑕疵区域的动态特性的步骤包括:6 , as an implementation of step S108, the steps of analyzing the time series images to obtain the moving trajectory and change trend of the defective area on the fabric to be detected and obtaining the dynamic characteristics of the defective area include:
步骤S501,将瑕疵区域的时间序列图像进行图像配准;Step S501, performing image registration on the time series images of the defect area;
其中,时间序列图像由于拍摄时刻的微小变化(如相机震动、布料移动)可能存在帧间位移,因此采用图像配准技术,通过寻找图像间的共性特征点或使用变换模型(如仿射变换、透视变换),对序列中的每一帧图像进行校正,确保所有图像在相同的坐标体系下对齐,从而为后续的特征提取和匹配提供一致的基准,减少因图像位移造成的误匹配。Among them, time series images may have inter-frame displacement due to slight changes in the shooting time (such as camera shake, cloth movement), so image registration technology is used to correct each frame of the sequence by finding common feature points between images or using transformation models (such as affine transformation, perspective transformation) to ensure that all images are aligned in the same coordinate system, thereby providing a consistent benchmark for subsequent feature extraction and matching, and reducing mismatching caused by image displacement.
步骤S502,根据配准后的时间序列图像进行瑕疵特征向量提取,构建瑕疵特征向量的时间序列;Step S502, extracting defect feature vectors according to the registered time series images, and constructing a time series of defect feature vectors;
具体地,在配准后的图像中,针对每帧序列图像中的瑕疵区域提取高维特征向量,包括但不限于颜色直方图、纹理特征、形状描述符等,这些特征向量能够概括每个时间点瑕疵的外观和位置信息,将这些特征向量按照时间顺序排列,即可得到瑕疵特征的时间序列。Specifically, in the registered images, high-dimensional feature vectors are extracted for the defect area in each frame of the sequence image, including but not limited to color histogram, texture features, shape descriptors, etc. These feature vectors can summarize the appearance and position information of the defects at each time point. By arranging these feature vectors in chronological order, a time series of defect features can be obtained.
步骤S503,基于动态时间规整算法,根据瑕疵特征向量的时间序列比较相邻帧间瑕疵特征向量的相似度,匹配连续帧中的相同瑕疵;Step S503, based on the dynamic time warping algorithm, the similarity of the defect feature vectors between adjacent frames is compared according to the time series of the defect feature vectors, and the same defect in consecutive frames is matched;
其中,动态时间规整算法(DTW)是一种时间序列比较方法,能够处理不同长度序列的匹配问题,特别适用于非线性对齐。Among them, the dynamic time warping algorithm (DTW) is a time series comparison method that can handle the matching problem of sequences of different lengths and is particularly suitable for nonlinear alignment.
在本申请实施例中,对于瑕疵特征向量序列,通过计算并最小化累积距离代价矩阵,自动调整时间尺度差异,找到最佳的匹配路径,即使瑕疵移动速度不均匀,也能有效匹配连续帧中的相同瑕疵;该技术方案克服了传统时间序列分析中对时间序列严格同步的限制,提高了匹配的灵活性和准确性,确保了瑕疵轨迹的连续性和完整性。In an embodiment of the present application, for a defect feature vector sequence, by calculating and minimizing the cumulative distance cost matrix, the time scale difference is automatically adjusted to find the best matching path. Even if the defect movement speed is uneven, the same defect in consecutive frames can be effectively matched. This technical solution overcomes the limitations of strict synchronization of time series in traditional time series analysis, improves the flexibility and accuracy of matching, and ensures the continuity and integrity of the defect trajectory.
步骤S504,根据连续帧中的相同瑕疵,构建瑕疵特征向量的连续移动轨迹;Step S504, constructing a continuous moving trajectory of the defect feature vector according to the same defect in the consecutive frames;
其中,基于动态时间规整算法的匹配结果,通过连续帧中相同瑕疵的特征向量,记录每个时间点瑕疵的位置信息,以构建瑕疵在布料上的连续移动轨迹,直观展示了瑕疵的移动路径。Among them, based on the matching results of the dynamic time warping algorithm, the feature vectors of the same defects in continuous frames are used to record the position information of the defects at each time point to construct the continuous movement trajectory of the defects on the fabric, intuitively showing the movement path of the defects.
步骤S505,根据连续移动轨迹,提取瑕疵变化参数并基于时间序列分析算法识别瑕疵的变化趋势;Step S505, extracting defect change parameters according to the continuous moving trajectory and identifying the defect change trend based on a time series analysis algorithm;
其中,通过分析瑕疵移动轨迹,计算瑕疵的移动速度、方向变化等参数,同时,应用时间序列分析算法(如趋势分析、周期性分析)识别瑕疵变化的模式,如加速、减速、稳定状态或周期性变化,为理解瑕疵类型提供依据。Among them, by analyzing the defect movement trajectory, the defect movement speed, direction change and other parameters are calculated. At the same time, time series analysis algorithms (such as trend analysis and periodic analysis) are applied to identify the pattern of defect change, such as acceleration, deceleration, stable state or periodic change, providing a basis for understanding the defect type.
步骤S506,根据连续移动轨迹和变化趋势,提取得到瑕疵区域的动态特性;其中,动态特性包括扩散速率、颜色变化和移动路径。Step S506, extracting dynamic characteristics of the defect area according to the continuous movement trajectory and change trend; wherein the dynamic characteristics include diffusion rate, color change and movement path.
具体地,扩散速率即瑕疵面积随时间的变化速率,颜色变化即瑕疵区域光谱特征随时间的变化,移动路径即瑕疵区域在布料上的移动轨迹。Specifically, the diffusion rate is the rate of change of the defect area over time, the color change is the change of the spectral characteristics of the defect area over time, and the movement path is the movement trajectory of the defect area on the cloth.
上述实施方式中,捕捉瑕疵区域在时间维度上的动态行为,深化了对瑕疵动态特性的理解,有助于精准确定瑕疵类型,为纺织品质量控制和工艺优化提供了更为全面和深入的信息。In the above implementation, the dynamic behavior of the defect area in the time dimension is captured, which deepens the understanding of the dynamic characteristics of the defect, helps to accurately determine the defect type, and provides more comprehensive and in-depth information for textile quality control and process optimization.
目前,在环保意识日益增强的今天,布料检测不仅仅关注产品的物理性能,还包括对环境影响的评估。化学残留、染料的可生物降解性、生产过程的能源消耗等,都是衡量纺织品是否环保的重要指标。因此,现代布料质量控制体系还需融入生态友好性评估,确保从源头到终端的整个生产链都符合绿色生产标准。At present, with the increasing awareness of environmental protection, fabric testing not only focuses on the physical properties of products, but also includes the assessment of environmental impact. Chemical residues, biodegradability of dyes, energy consumption in the production process, etc. are all important indicators to measure whether textiles are environmentally friendly. Therefore, modern fabric quality control systems also need to incorporate eco-friendly assessments to ensure that the entire production chain from source to terminal meets green production standards.
参照图7,作为智能验布检测方法进一步的实施方式,在识别待检测布料上的正常区域和瑕疵区域的步骤之后还包括:7 , as a further implementation of the intelligent cloth inspection method, after the step of identifying the normal area and the defective area on the cloth to be inspected, the method further includes:
步骤S601,将待检测布料上的正常区域确定为样本测试区域,得到样本测试区域的样本坐标集;Step S601, determining a normal area on the fabric to be tested as a sample test area, and obtaining a sample coordinate set of the sample test area;
可以理解的是,正常区域是指没有明显物理损伤、颜色偏差或结构异常的部分,由于这些区域更能代表布料的真实物理特性和化学成分,避免了瑕疵对分析结果的干扰,因此将正常区域确定为样本测试区域。其中,通过坐标系统精确定位这些区域,形成样本坐标集,进而为后续的近红外光谱检测提供准确的目标位置。It is understandable that the normal area refers to the part without obvious physical damage, color deviation or structural abnormality. Since these areas can better represent the real physical properties and chemical composition of the fabric and avoid the interference of defects on the analysis results, the normal area is determined as the sample test area. Among them, these areas are accurately located through the coordinate system to form a sample coordinate set, which provides an accurate target position for subsequent near-infrared spectrum detection.
步骤S602,根据样本坐标集进行近红外光反射,获取样本测试区域的近红外光谱数据;Step S602, performing near-infrared light reflection according to the sample coordinate set to obtain near-infrared spectrum data of the sample test area;
其中,近红外光谱分析是一种无损检测技术,它利用近红外光与布料中化学成分相互作用时发生的吸收、透射或反射现象,来推断物质的组成和含量;在本申请实施例中,可通过集成的近红外光谱仪对样本坐标集中的布料区域发射近红外光,并接收反射或透射的光谱数据,以捕捉不同化学物质特有的吸收峰信息。Among them, near-infrared spectroscopy analysis is a non-destructive testing technology that uses the absorption, transmission or reflection phenomena that occur when near-infrared light interacts with chemical components in fabrics to infer the composition and content of substances; in an embodiment of the present application, an integrated near-infrared spectrometer can be used to emit near-infrared light to the fabric area where the sample coordinates are concentrated, and receive reflected or transmitted spectral data to capture absorption peak information unique to different chemical substances.
需要说明的是,系统可自动调节光谱仪的扫描范围与分辨率,以最佳匹配纺织品中常见化学物质的吸收峰。It should be noted that the system can automatically adjust the scanning range and resolution of the spectrometer to best match the absorption peaks of common chemicals in textiles.
步骤S603,对样本测试区域的近红外光谱数据进行预处理;Step S603, preprocessing the near infrared spectrum data of the sample test area;
其中,原始光谱数据通常含有各种噪声和基线漂移,影响分析精度。Among them, the original spectral data usually contains various noises and baseline drifts, which affect the analysis accuracy.
在一些实施例中,可对光谱数据进行基线校正、平滑处理及噪声消除等预处理步骤,以提高信号质量。例如,可采用SNV(标准正态变量变换)消除光谱间的系统性变异,可采用MSC(多元散射校正)减小光谱间的背景干扰。In some embodiments, the spectral data may be subjected to preprocessing steps such as baseline correction, smoothing, and noise removal to improve signal quality. For example, SNV (standard normal variable transformation) may be used to eliminate systematic variation between spectra, and MSC (multiple scatter correction) may be used to reduce background interference between spectra.
步骤S604,将预处理后的近红外光谱数据输入至预先构建的机器学习模型中,得到样本测试区域的化学残留分析结果;其中,化学残留分析结果包括样本测试区域内每个样本点的化学残留种类和浓度值;Step S604, inputting the pre-processed near infrared spectrum data into a pre-built machine learning model to obtain a chemical residue analysis result of the sample test area; wherein the chemical residue analysis result includes the type and concentration value of the chemical residue at each sample point in the sample test area;
其中,利用预训练的机器学习模型,将预处理后的光谱数据作为输入,模型根据光谱特征与训练过程中学习到的化学残留特征模式进行匹配,输出每个样本点的化学残留种类及其大致浓度,这基于模型在训练阶段从大量已知样本中学习到的复杂关联和模式识别能力。Among them, a pre-trained machine learning model is used to take the preprocessed spectral data as input. The model matches the spectral features with the chemical residue feature patterns learned during the training process, and outputs the type of chemical residue and its approximate concentration at each sample point. This is based on the complex associations and pattern recognition capabilities learned by the model from a large number of known samples during the training phase.
在本申请的其中一个实施例中,该机器学习模型可采用随机森林(RF)模型,具体地,在模型训练过程中,从已标记的光谱数据集中随机抽取大量子集构建多个决策树,每棵树基于特征的随机子集进行生长,以减少过拟合的风险并提升模型的泛化能力。通过Bootstrap抽样技术对训练数据进行重采样,在训练阶段,模型学习到光谱数据中与化学残留种类及浓度相关的复杂模式。随着每棵树的建立与合并,随机森林逐步优化内部节点分裂规则,直至所有树构建完毕。最终形成的集成模型能够高效地处理新的近红外光谱数据,预测出样本中化学残留的种类及相应的浓度值,从而为布料的化学成分分析提供强有力的工具。In one embodiment of the present application, the machine learning model may adopt a random forest (RF) model. Specifically, during the model training process, a large number of subsets are randomly extracted from the labeled spectral data set to construct multiple decision trees, and each tree is grown based on a random subset of features to reduce the risk of overfitting and improve the generalization ability of the model. The training data is resampled by Bootstrap sampling technology. During the training phase, the model learns the complex patterns in the spectral data related to the types and concentrations of chemical residues. As each tree is established and merged, the random forest gradually optimizes the internal node splitting rules until all trees are built. The final integrated model can efficiently process new near-infrared spectral data, predict the types of chemical residues in the sample and the corresponding concentration values, thereby providing a powerful tool for the chemical composition analysis of fabrics.
步骤S605,基于预设可降解物质数据库,根据化学残留分析结果评估得到待检测布料对应的可降解性等级并发送至管理终端。Step S605: Based on the preset degradable substance database, the degradability level corresponding to the fabric to be tested is evaluated according to the chemical residue analysis result and sent to the management terminal.
其中,可降解性等级反映了布料在自然环境或特定条件下分解的可能性,对于评估其环保性和可持续性至关重要;例如可根据评估规则,将布料的可降解性划分为不同等级(如高、中、低)。Among them, the degradability level reflects the possibility of fabric decomposition in the natural environment or under specific conditions, which is crucial for evaluating its environmental friendliness and sustainability. For example, the degradability of fabric can be divided into different levels (such as high, medium, and low) according to the evaluation rules.
具体地,基于已知的可降解物质数据库,将化学残留分析结果与数据库中的物质种类和降解属性进行比对,根据化学残留物的可降解性质,评估布料的整体可降解潜力。例如,若布料上的化学残留物主要为可生物降解物质,则布料的可降解等级越高;反之,则可降解等级较低。Specifically, based on a known database of degradable substances, the chemical residue analysis results are compared with the types of substances and degradation properties in the database, and the overall degradability potential of the fabric is evaluated based on the degradable properties of the chemical residues. For example, if the chemical residues on the fabric are mainly biodegradable substances, the fabric has a higher degradability level; otherwise, the degradability level is lower.
上述实施方式中,在完成瑕疵检测后,增加化学残留、可降解性等环保性能的测试环节,通过采用非破坏性的近红外光谱分析检测技术,对待检测布料进行化学残留分析和可降解性测试,快速获取相关指标数据,以衡量布料的环保性能,为纺织品的环保生产和消费提供了科学依据,对促进纺织行业的可持续发展具有重要意义。In the above implementation, after completing the defect detection, the test links of environmental protection performance such as chemical residue and degradability are added. By adopting non-destructive near-infrared spectroscopy analysis and detection technology, chemical residue analysis and degradability test are performed on the fabric to be tested, and relevant index data are quickly obtained to measure the environmental protection performance of the fabric, which provides a scientific basis for the environmentally friendly production and consumption of textiles, and is of great significance to promoting the sustainable development of the textile industry.
参照图8,作为得到待检测布料对应的可降解性等级的另一种实施方式,在识别待检测布料上的正常区域和瑕疵区域的步骤之后还包括:8 , as another embodiment of obtaining the degradability level corresponding to the fabric to be tested, after the step of identifying the normal area and the defective area on the fabric to be tested, the following step is further included:
步骤S701,将待检测布料上的正常区域确定为样本测试区域,得到样本测试区域的样本坐标集;Step S701, determining a normal area on the fabric to be tested as a sample test area, and obtaining a sample coordinate set of the sample test area;
其中,正常区域即没有瑕疵或污染的部分,这些区域代表了布料的基本状态,适合作为化学成分分析的样本。通过确定正常区域作为样本测试区域,以确保所采集的光谱数据能够反映布料的实际情况。The normal area is the part without defects or pollution. These areas represent the basic state of the fabric and are suitable as samples for chemical composition analysis. By determining the normal area as the sample test area, it is ensured that the collected spectral data can reflect the actual situation of the fabric.
步骤S702,根据样本坐标集进行近红外光反射,获取样本测试区域的近红外光谱数据;Step S702, performing near-infrared light reflection according to the sample coordinate set to obtain near-infrared spectrum data of the sample test area;
其中,可使用近红外光源照射样本测试区域的各个坐标点,近红外光反射后通过光谱仪进行采集,近红外光谱数据反映了样本测试区域在不同波长下的反射特性,这些特性与样本的化学组成有关。Among them, a near-infrared light source can be used to illuminate each coordinate point of the sample test area. The near-infrared light is reflected and collected by a spectrometer. The near-infrared spectral data reflects the reflection characteristics of the sample test area at different wavelengths, and these characteristics are related to the chemical composition of the sample.
步骤S703,对样本测试区域的近红外光谱数据进行预处理;Step S703, preprocessing the near infrared spectrum data of the sample test area;
步骤S704,将预处理后的光谱数据进行一阶和二阶导数处理,并基于峰值检测算法识别潜在特征峰;Step S704, performing first-order and second-order derivative processing on the preprocessed spectral data, and identifying potential characteristic peaks based on a peak detection algorithm;
具体地,通过进行一阶和二阶导数处理,能够增强特征峰的显著性,峰值检测算法例如可采用Savitzky-Golay平滑滤波算法,在光谱曲线上识别出潜在的特征峰。Specifically, by performing first-order and second-order derivative processing, the significance of the characteristic peak can be enhanced, and the peak detection algorithm can adopt, for example, a Savitzky-Golay smoothing filter algorithm to identify potential characteristic peaks on the spectrum curve.
步骤S705,对潜在特征峰中的噪声峰进行过滤,得到化学特征峰;Step S705, filtering the noise peaks in the potential characteristic peaks to obtain chemical characteristic peaks;
其中,可通过设定合适的阈值和最小峰高对识别出的潜在特征峰进行过滤,保留显著的化学特征峰。Among them, the identified potential characteristic peaks can be filtered by setting appropriate thresholds and minimum peak heights to retain significant chemical characteristic peaks.
步骤S706,将化学特征峰与预设化学残留物质光谱特征库进行匹配,确定每个样本点的化学残留种类;Step S706, matching the chemical characteristic peaks with a preset chemical residue spectral characteristic library to determine the type of chemical residue at each sample point;
具体地,预先建立化学残留物质光谱特征库,其中包含各种已知化学物质的光谱特征,将这些显著的化学特征峰与化学残留物质光谱特征库中的光谱特征进行匹配,通过计算相似度来确认是否与已知化学物质的特征峰一致,若一致,即可确定每个样本点的化学残留种类。Specifically, a chemical residue spectral feature library is established in advance, which contains the spectral features of various known chemical substances. These significant chemical characteristic peaks are matched with the spectral features in the chemical residue spectral feature library, and the similarity is calculated to confirm whether they are consistent with the characteristic peaks of known chemical substances. If they are consistent, the type of chemical residue at each sample point can be determined.
步骤S707,基于标准曲线法计算每个样本点的化学残留种类对应的浓度值;Step S707, calculating the concentration value corresponding to the chemical residue type of each sample point based on the standard curve method;
其中,可基于标准曲线法,利用已知浓度的标准样品建立的校准曲线,计算出每个样本点残留物的浓度。Among them, based on the standard curve method, the concentration of the residue at each sample point can be calculated using a calibration curve established using standard samples of known concentrations.
步骤S708,根据每个样本点的化学残留种类和浓度值,得到化学残留分析结果;Step S708, obtaining chemical residue analysis results according to the chemical residue type and concentration value of each sample point;
其中,汇总所有样本点的化学残留种类和浓度值,生成整体的化学残留分析结果,为后续的评估提供数据支持。Among them, the chemical residue types and concentration values of all sample points are summarized to generate the overall chemical residue analysis results, providing data support for subsequent evaluations.
步骤S709,基于预设可降解物质数据库,根据化学残留分析结果评估得到待检测布料对应的可降解性等级并发送至管理终端。Step S709: Based on the preset degradable substance database, the degradability level corresponding to the fabric to be tested is evaluated according to the chemical residue analysis result and sent to the management terminal.
具体地,建立可降解物质数据库,其中记录各种化学物质的可降解性信息;根据化学残留分析结果中的化学残留种类和浓度,评估布料的可降解性,可将布料的可降解性划分为不同等级(如高、中、低),可降解物质比例越高,布料的可降解性评级越高。Specifically, a database of degradable substances is established, which records the degradability information of various chemical substances; the degradability of the fabric is evaluated based on the types and concentrations of chemical residues in the chemical residue analysis results. The degradability of the fabric can be divided into different levels (such as high, medium, and low). The higher the proportion of degradable substances, the higher the degradability rating of the fabric.
上述实施方式中,在识别待检测布料上的正常区域后,利用近红外光谱技术进行非破坏性的化学残留分析,识别并计算每个样本点的化学残留种类和浓度,再基于预设的可降解物质数据库评估布料的可降解性等级。该方案通过明确的逻辑规则和标准化方法(如标准曲线法)进行化学残留分析和可降解性评估,确保了检测结果的准确性和可靠性,同时快速提供了布料的环保性能指标,为纺织品的环保生产和消费提供了科学依据,对促进纺织行业的可持续发展具有重要意义。In the above implementation, after identifying the normal area on the fabric to be tested, near-infrared spectroscopy is used to perform non-destructive chemical residue analysis, identify and calculate the type and concentration of chemical residues at each sample point, and then evaluate the degradability level of the fabric based on a preset database of degradable substances. This solution uses clear logical rules and standardized methods (such as the standard curve method) to perform chemical residue analysis and degradability evaluation, ensuring the accuracy and reliability of the test results, while quickly providing environmental performance indicators of the fabric, providing a scientific basis for the environmentally friendly production and consumption of textiles, and is of great significance to promoting the sustainable development of the textile industry.
对于上述两种具体实施方式,相比之下,前者采用机器学习算法在处理复杂模式识别和大规模数据分析方面具有优势,适合数据充足且计算资源丰富的情况;而后者采用非机器学习算法,则在化学残留分析和可降解性评估中具有高度的可解释性、透明性以及鲁棒性,使其在需要稳定、透明和可靠结果的应用场景中更为适用。For the above two specific implementation methods, in comparison, the former adopts machine learning algorithms, which have advantages in processing complex pattern recognition and large-scale data analysis, and is suitable for situations with sufficient data and abundant computing resources; while the latter adopts non-machine learning algorithms, which are highly interpretable, transparent and robust in chemical residue analysis and degradability assessment, making it more applicable in application scenarios that require stable, transparent and reliable results.
作为本申请实施例进一步的实施方式,在得到待检测布料对应的可降解性等级后,可整合所有检测结果,包括瑕疵检测结果、化学残留分析结果、可降解性等级以及对应的环保指标,生成详细的布料质量与环保评估报告,从而为生产决策提供依据,同时为布料的可持续性评级,以满足纺织行业对环境保护和可持续发展的更高追求。As a further implementation method of the embodiment of the present application, after obtaining the degradability level corresponding to the fabric to be tested, all test results, including defect detection results, chemical residue analysis results, degradability level and corresponding environmental indicators, can be integrated to generate a detailed fabric quality and environmental assessment report, thereby providing a basis for production decisions and rating the sustainability of the fabric to meet the textile industry's higher pursuit of environmental protection and sustainable development.
本申请实施例还公开一种智能验布检测系统。The embodiment of the present application also discloses an intelligent cloth inspection system.
一种智能验布检测系统,检测系统包括:An intelligent cloth inspection system, the inspection system comprising:
数据获取模块,用于获取待检测布料的物理特性数据和光谱响应数据;A data acquisition module, used to acquire physical property data and spectral response data of the fabric to be tested;
材料类型识别模块,用于根据物理特性数据和光谱响应数据,确定待检测布料的材料类型;A material type identification module, used to determine the material type of the fabric to be detected based on the physical property data and the spectral response data;
采集参数调节模块,用于根据材料类型,自适应调节多光谱图像采集参数;An acquisition parameter adjustment module is used to adaptively adjust the multispectral image acquisition parameters according to the material type;
多光谱图像数据采集模块,用于基于多光谱图像采集参数,对待检测布料进行多光谱照射并采集不同光谱波段下的图像数据,得到多光谱图像数据;A multispectral image data acquisition module is used to perform multispectral irradiation on the fabric to be inspected and collect image data in different spectral bands based on multispectral image acquisition parameters to obtain multispectral image data;
图像预处理模块,用于对多光谱图像数据进行图像预处理;An image preprocessing module, used for performing image preprocessing on multispectral image data;
图像分析模块,用于根据预设逻辑规则和预设特征阈值对预处理后的多光谱图像数据进行逐像素分析,识别多光谱图像数据的正常区域和瑕疵区域;An image analysis module, used to analyze the preprocessed multispectral image data pixel by pixel according to preset logic rules and preset feature thresholds, and identify normal areas and defective areas of the multispectral image data;
标记模块,用于标记瑕疵区域;A marking module, used to mark defective areas;
时间序列图像获取模块,用于对瑕疵区域进行连续拍摄,得到瑕疵区域的时间序列图像;A time series image acquisition module is used to continuously shoot the defect area to obtain a time series image of the defect area;
动态特性生成模块,用于基于时间序列图像进行分析,获取瑕疵区域在待检测布料上的移动轨迹和变化趋势,得到瑕疵区域的动态特性;A dynamic characteristics generation module is used to analyze the time series images to obtain the movement trajectory and change trend of the defective area on the fabric to be detected, and obtain the dynamic characteristics of the defective area;
瑕疵检测模块,用于根据瑕疵区域的动态特性确定对应的瑕疵类型,得到瑕疵检测结果并发送至管理终端。The defect detection module is used to determine the corresponding defect type according to the dynamic characteristics of the defect area, obtain the defect detection result and send it to the management terminal.
本申请实施例的智能验布检测系统能够实现上述智能验布检测方法的任一种方法,且智能验布检测系统中各个模块的具体工作过程可参考上述方法实施例中的对应过程。The intelligent fabric inspection system of the embodiment of the present application can implement any of the above-mentioned intelligent fabric inspection methods, and the specific working process of each module in the intelligent fabric inspection system can refer to the corresponding process in the above-mentioned method embodiment.
在本申请所提供的几个实施例中,应该理解到,所提供的方法和系统,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的;例如,某个模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the provided methods and systems can be implemented in other ways. For example, the system embodiments described above are only illustrative; for example, the division of a module is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
本申请实施例还公开一种计算机设备。The embodiment of the present application also discloses a computer device.
计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如上述的智能验布检测方法。The computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the intelligent fabric inspection method as described above is implemented.
本申请实施例还公开一种计算机可读存储介质。The embodiment of the present application also discloses a computer-readable storage medium.
计算机可读存储介质,存储有能够被处理器加载并执行如上述的智能验布检测方法中任一种方法的计算机程序。A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above-mentioned intelligent fabric inspection methods.
其中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用;计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Among them, computer-readable storage media can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus or device; the program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
需要说明的是,在上述实施例中,对各个实施例的描述各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。It should be noted that in the above embodiments, the description of each embodiment has different emphases, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
以上均为本申请的较佳实施例,并非依此限制本申请的保护范围,本说明书(包括摘要和附图)中公开的任一特征,除非特别叙述,均可被其他等效或者具有类似目的的替代特征加以替换。即,除非特别叙述,每个特征只是一系列等效或类似特征中的一个例子而已。The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411035771.4A CN118583802B (en) | 2024-07-31 | 2024-07-31 | Intelligent cloth inspection detection method, system, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411035771.4A CN118583802B (en) | 2024-07-31 | 2024-07-31 | Intelligent cloth inspection detection method, system, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118583802A CN118583802A (en) | 2024-09-03 |
CN118583802B true CN118583802B (en) | 2024-10-11 |
Family
ID=92527998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411035771.4A Active CN118583802B (en) | 2024-07-31 | 2024-07-31 | Intelligent cloth inspection detection method, system, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118583802B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118762331B (en) * | 2024-09-05 | 2024-12-20 | 江苏智慧工场技术研究院有限公司 | Intelligent monitoring system and method for safe storage of chilled food |
CN118758429B (en) * | 2024-09-06 | 2024-11-01 | 四川意龙科纺集团股份有限公司 | An online detection system, method and medium for color difference in printing and dyeing |
CN118982542A (en) * | 2024-10-21 | 2024-11-19 | 南通易阳科技有限公司 | A fabric defect detection system based on visual recognition |
CN119008447B (en) * | 2024-10-21 | 2025-06-13 | 江苏永鼎股份有限公司 | A method and device for treating wafer surface before epitaxy |
CN119005819A (en) * | 2024-10-22 | 2024-11-22 | 启东市凤鸣纺织有限公司 | Quality detection system is used in lining cloth production |
CN119198751A (en) * | 2024-10-31 | 2024-12-27 | 绍兴达伽马纺织有限公司 | A cloth defect detection method and system based on machine vision |
CN119147546B (en) * | 2024-11-13 | 2025-02-18 | 广东赛福智能装备有限公司 | Automatic control method, system and equipment for framing machine and readable storage medium |
CN119206087A (en) * | 2024-11-22 | 2024-12-27 | 诸暨市易景纺织有限公司 | An integrated system for hosiery design and weaving based on three-dimensional digitization |
CN119205776B (en) * | 2024-11-27 | 2025-04-15 | 常熟理工学院 | Defect detection method and device based on panoramic image of drainage pipe inner wall |
CN119223817B (en) * | 2024-11-28 | 2025-03-11 | 福州友星生物科技有限公司 | EVA high-concentration color master batch detection method based on multispectral imaging |
CN119359728A (en) * | 2024-12-26 | 2025-01-24 | 浙江杰辉纺织有限公司 | Intelligent cloth inspection method and system for textile production |
CN119804464A (en) * | 2025-03-12 | 2025-04-11 | 厦门高赢科技有限公司 | A method and system for automatically detecting surface defects of printed matter using machine vision |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117115147A (en) * | 2023-10-19 | 2023-11-24 | 山东华盛创新纺织科技有限公司 | Textile detection method and system based on machine vision |
WO2024099026A1 (en) * | 2022-11-07 | 2024-05-16 | 腾讯科技(深圳)有限公司 | Image processing method and apparatus, device, storage medium and program product |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI122806B (en) * | 2005-07-01 | 2012-07-13 | Abb Oy | The method and the product for detecting deviations |
JP2008175550A (en) * | 2007-01-16 | 2008-07-31 | Olympus Corp | Flaw detector and flaw detection method |
US11125736B2 (en) * | 2016-07-15 | 2021-09-21 | Henkel IP & Holding GmbH | Method for ascertaining treatment parameters of a textile by means of structural information |
CN112213330A (en) * | 2020-10-28 | 2021-01-12 | 巴中职业技术学院 | High-dynamic imaging detection method and system for textile fabric flaws |
US11378523B1 (en) * | 2020-12-31 | 2022-07-05 | Zoox, Inc. | Imaging device blemish detection test enclosure |
CN113062029A (en) * | 2021-03-17 | 2021-07-02 | 四川意龙科纺集团有限公司 | Production process of bidirectional cotton bale brocade fabric |
CN117147559A (en) * | 2023-08-30 | 2023-12-01 | 广东理工学院 | Cloth flaw detection system and method |
-
2024
- 2024-07-31 CN CN202411035771.4A patent/CN118583802B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024099026A1 (en) * | 2022-11-07 | 2024-05-16 | 腾讯科技(深圳)有限公司 | Image processing method and apparatus, device, storage medium and program product |
CN117115147A (en) * | 2023-10-19 | 2023-11-24 | 山东华盛创新纺织科技有限公司 | Textile detection method and system based on machine vision |
Also Published As
Publication number | Publication date |
---|---|
CN118583802A (en) | 2024-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN118583802B (en) | Intelligent cloth inspection detection method, system, equipment and medium | |
CN110619620B (en) | Method, device and system for positioning abnormity causing surface defects and electronic equipment | |
CN110717368A (en) | Qualitative classification method for textiles | |
CN101739570B (en) | Cotton foreign fiber online classifying method and system | |
US20240046617A1 (en) | Machine Learning-Based Generation of Rule-Based Classification Recipes for Inspection System | |
CN111160451A (en) | Flexible material detection method and storage medium thereof | |
CN115684189A (en) | Film inspection device, film inspection method, and recording medium | |
CN113628252A (en) | A detection method of leaking gas cloud based on thermal imaging video | |
CN113887317B (en) | Semi-supervised classification method of fabric fiber composition based on π model | |
CN108460344A (en) | Dynamic area intelligent identifying system in screen and intelligent identification Method | |
CN116258703A (en) | Defect detection method, defect detection device, electronic equipment and computer readable storage medium | |
Margraf et al. | An evolutionary learning approach to self-configuring image pipelines in the context of carbon fiber fault detection | |
Revathy et al. | Fabric defect detection and classification via deep learning-based improved Mask RCNN | |
Wang et al. | The obtainment and recognition of raw silk defects based on machine vision and image analysis | |
US20210272267A1 (en) | System and method for determining quality attributes of raw material of textile | |
CN117542301A (en) | Display screen detection method and system | |
Suleymanova | ANALYSIS AND SELECTION OF TECHNICAL MEANS IN ORDER TO DETECTING DEFECTS IN FABRICS | |
CN113610843B (en) | Real-time defect identification system and method for optical fiber braiding layer | |
Rahiddin et al. | Local texture representation for timber defect recognition based on variation of LBP | |
Zaouali et al. | Objective evaluation of multidirectional fabric wrinkling using image analysis | |
CN114742850B (en) | Implementation method of automatic recognition of electrode shape based on UGNX model analysis | |
Geze et al. | Detection and classification of fabric defects using deep learning algorithms | |
Xie et al. | Warp-knitted vamp fabric quality detection algorithm based on improved MatchNet | |
CN119810574B (en) | Improved convolutional neural network-based cloth defect terahertz detection method and system | |
Shifani et al. | Experimental Evaluation of Textile Cloth Defects based on Color and Texture Analysis by using Moderated Deep Learning Algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250220 Address after: 613199 1 and 2 Yingbin Avenue, research Town, Jingyan County, Leshan, Sichuan Patentee after: Sichuan Yilong Kefang Group Co.,Ltd. Country or region after: China Patentee after: SICHUAN SHENGSHANBAIYULAN INDUSTRY CO.,LTD. Address before: 613100 1 and 2 Yingbin Avenue, research Town, Jingyan County, Leshan, Sichuan Patentee before: Sichuan Yilong Kefang Group Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |