CN105675626B - A kind of character defect inspection method of tire-mold - Google Patents
A kind of character defect inspection method of tire-mold Download PDFInfo
- Publication number
- CN105675626B CN105675626B CN201610107512.7A CN201610107512A CN105675626B CN 105675626 B CN105675626 B CN 105675626B CN 201610107512 A CN201610107512 A CN 201610107512A CN 105675626 B CN105675626 B CN 105675626B
- Authority
- CN
- China
- Prior art keywords
- image
- character
- roi
- cad
- roi image
- 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
- 230000007547 defect Effects 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000007689 inspection Methods 0.000 title claims description 13
- 238000001514 detection method Methods 0.000 claims abstract description 43
- 230000008569 process Effects 0.000 claims abstract description 19
- 230000011218 segmentation Effects 0.000 claims description 46
- 230000000877 morphologic effect Effects 0.000 claims description 39
- 238000003672 processing method Methods 0.000 claims description 28
- 238000013461 design Methods 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 21
- 238000012216 screening Methods 0.000 claims description 20
- 238000001914 filtration Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 4
- 210000002219 extraembryonic membrane Anatomy 0.000 claims 5
- 238000012360 testing method Methods 0.000 claims 2
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000003628 erosive effect Effects 0.000 claims 1
- 239000012528 membrane Substances 0.000 abstract description 24
- 230000009466 transformation Effects 0.000 description 14
- 238000012795 verification Methods 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000003491 array Methods 0.000 description 4
- 230000007797 corrosion Effects 0.000 description 3
- 238000005260 corrosion Methods 0.000 description 3
- 230000008713 feedback mechanism Effects 0.000 description 2
- 238000011179 visual inspection Methods 0.000 description 2
- 241000282412 Homo Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Classifications
-
- 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/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/956—Inspecting patterns on the surface of objects
-
- 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/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
- G01N2021/8887—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 based on image processing techniques
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种轮胎模具的字符缺陷检测方法,包括:S1、对待检测轮胎胎膜进行扫描并采集获得一组图像,并获得轮胎外侧圆弧形轮廓;S2、拟合轮胎外侧圆弧形轮廓的圆心和半径后,定位轮胎胎膜图像区域作为待测的ROI图像;S3、将ROI图像进行分类;S4、根据ROI图像的分类,选择不同的方法进行处理,并获得与每个ROI图像相匹配的CAD图像块;S5、进行字符识别,进而根据字符识别结果进行缺陷判断;S6、响应于判断存在字符缺陷的情况,返回执行步骤S4和S5从而再次进行缺陷判断后,选择字符缺陷较少的判断结果作为最终结果。本发明检测稳定性高、检测成本低、检测准确度高、误报率低且适用范围广,可广泛应用于轮胎胎膜检测领域中。
The invention discloses a character defect detection method of a tire mold, comprising: S1, scanning and collecting a set of images of the membrane of the tire to be detected, and obtaining the outer circular arc profile of the tire; S2, fitting the outer circular arc of the tire After the center of circle and the radius of the shaped contour, locate the tire film image area as the ROI image to be tested; S3, classify the ROI image; S4, select different methods to process according to the classification of the ROI image, and obtain the image corresponding to each ROI The CAD image block that matches the image; S5, perform character recognition, and then perform defect judgment according to the character recognition result; S6, respond to the situation of judging that there is a character defect, return to execute steps S4 and S5 to perform defect judgment again, and select the character defect Less judgmental results as final results. The invention has high detection stability, low detection cost, high detection accuracy, low false alarm rate and wide application range, and can be widely used in the field of tire membrane detection.
Description
技术领域technical field
本发明涉及图像处理领域,特别是涉及一种轮胎模具的字符缺陷检测方法。The invention relates to the field of image processing, in particular to a character defect detection method of a tire mold.
背景技术Background technique
名词解释:Glossary:
ROI:Region Of Interest,感兴趣区域;ROI: Region Of Interest, area of interest;
NCC:Normalized Cross Correlation归一化互相关。NCC: Normalized Cross Correlation normalized cross-correlation.
在轮胎模具生产中,质量检测尤为重要,其中,字符的缺陷检测是质量检测的重要工作。目前,行业内对于轮胎模具字符的缺陷检测主要依靠人眼,然而,嘈杂的工厂环境,大量的检测工作以及对质量检测的高要求,这些都使得单纯依靠人眼的检测方式难以满足需求。机器视觉就是用机器代人眼来完成观测和判断,常用于大批量生产过程中的产品质量检测,或者应用于不适合人的危险环境或者人眼视觉难以满足的场合等,相比人工视觉检查,可以大大提高检测精度和速度,从而提高生产效率,还可以避免人眼视觉检测所带来的偏差和误差。机器视觉在工业生产的各个领域得到了广泛应用。机器视觉在工业产品中的字符缺陷检测中得到大范围的应用,字符缺陷包括字符的笔画缺陷,字符的漏印和错印。字符缺陷检测系统,就是要求检测出不符合要求的字符,就是要检测出有笔画缺陷,漏印或错印的字符。传统的基于机器视觉的字符缺陷检测方法主要以标准字符图像做模板,通过提取字符的一些特征,如形状特征,建立模板,将待测图像与标准模板匹配,如果匹配结果低于阈值,则认为是是有缺陷的。这种方法,易于实现,检测效果较好。然而,对于轮胎模具来说,由于生产量小,从生产效率的角度,不可能拍摄标准模具图像作为模板。申请号为201510437595.1,名称为基于机器视觉的轮胎胎膜表面字符缺陷检测方法的中国专利申请,提出了一种通过在模板匹配前对待测图像和CAD设计图图进行极坐标变换,以待检测平直型图像作为模板,平直型CAD图像作为目标进行检测的方法,具体在平直型CAD图获取与待测ROI图像相匹配的图像块过程中,是通过对每个待测ROI图像进行阈值分割,进而通过形态学运算将待测ROI图像进行分类后,根据分类将待测ROI图像进行预处理后转换成二值图像。然后获取待检测轮胎模具的CAD设计图对应的平直型图像,根据该平直型图像与待测ROI图像高度比将待测ROI图像进行缩放,进而依次截取与ROI图像块等宽的图像块,计算相关系数,相关系数最大的图像块作为与待测ROI图像相匹配的图像块后,进行字符识别,从而根据字符识别结果进行缺陷判断。这种方法检测成本低且适用范围较广,可以快速地进行检测。但是,这种方法主要利用图片上半部分的大字符的信息来进行匹配定位,当图像上半部分没有字符或是只有小字符时,匹配定位的结果会出错,无法保证所有待测ROI图像都能准确获取匹配的CAD图像块,可能会带来较大的检测误差。而且在字符分割时,对于一些分布密集,尺寸比较小的字符,分割时个别字符可能会断开或与其他字符粘连,造成误报,带来检测误差。In the production of tire molds, quality inspection is particularly important, and character defect detection is an important work of quality inspection. At present, the defect detection of tire mold characters in the industry mainly relies on human eyes. However, the noisy factory environment, a large amount of inspection work and high requirements for quality inspection make it difficult to meet the demand solely by human eye detection. Machine vision is to use machines instead of human eyes to complete observation and judgment. It is often used in product quality inspection in the mass production process, or in dangerous environments that are not suitable for humans or in occasions where human vision is difficult to satisfy. Compared with manual visual inspection , can greatly improve the detection accuracy and speed, thereby improving production efficiency, and can also avoid deviations and errors caused by human visual inspection. Machine vision has been widely used in various fields of industrial production. Machine vision is widely used in the detection of character defects in industrial products. Character defects include character stroke defects, missing and misprinted characters. The character defect detection system is required to detect characters that do not meet the requirements, that is, to detect characters with stroke defects, missing or misprinted characters. Traditional machine vision-based character defect detection methods mainly use standard character images as templates, and establish templates by extracting some features of characters, such as shape features, and match the image to be tested with the standard template. If the matching result is lower than the threshold, it is considered Yes is flawed. This method is easy to implement and has a better detection effect. However, for tire molds, due to the small production volume, it is impossible to take a standard mold image as a template from the perspective of production efficiency. The application number is 201510437595.1, and the name is a Chinese patent application for the detection method of tire membrane surface character defects based on machine vision. The straight image is used as a template, and the flat CAD image is used as a target detection method. Specifically, in the process of obtaining an image block that matches the ROI image to be tested from a straight CAD image, thresholding is performed on each ROI image to be tested. Segmentation, and then classify the ROI image to be tested by morphological operations, and convert the ROI image to be a binary image after preprocessing according to the classification. Then obtain the flat image corresponding to the CAD design drawing of the tire mold to be tested, scale the ROI image to be tested according to the height ratio of the flat image and the ROI image to be tested, and then sequentially intercept image blocks with the same width as the ROI image block , calculate the correlation coefficient, the image block with the largest correlation coefficient is used as the image block matching with the ROI image to be tested, and character recognition is performed, so as to perform defect judgment according to the character recognition result. This method has low detection cost and a wide range of applications, and can be quickly detected. However, this method mainly uses the information of large characters in the upper part of the image for matching and positioning. When there are no characters or only small characters in the upper part of the image, the result of matching and positioning will be wrong, and it is impossible to guarantee that all ROI images to be tested are correct. Accurate acquisition of matching CAD image blocks may result in large detection errors. Moreover, during character segmentation, for some densely distributed and relatively small characters, individual characters may be disconnected or glued to other characters during segmentation, causing false positives and detection errors.
发明内容Contents of the invention
为了解决上述的技术问题,本发明的目的是提供一种轮胎模具的字符缺陷检测方法。In order to solve the above technical problems, the object of the present invention is to provide a method for detecting character defects of tire molds.
本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:
一种轮胎模具的字符缺陷检测方法,包括步骤:A character defect detection method of a tire mold, comprising steps:
S1、依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行处理后获得轮胎外侧圆弧形轮廓;S1. Sequentially scan and collect a set of images from the membrane of the tire to be detected, and process each of the collected images to obtain the outer circular arc profile of the tire;
S2、拟合轮胎外侧圆弧形轮廓的圆心和半径后,通过极坐标变换将待测的轮胎外侧圆弧形图像转换为平直型待测图像,并对平直型待测图像进行阈值分割后,定位轮胎胎膜图像区域作为待测的ROI图像;S2. After fitting the center and radius of the outer circular arc profile of the tire, convert the outer circular arc image of the tire to be tested into a straight image to be tested by polar coordinate transformation, and perform threshold segmentation on the straight image to be tested. After that, locate the tire membrane image area as the ROI image to be tested;
S3、分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类,同时获取待检测轮胎胎膜的CAD设计图对应的CAD平直型图像;S3. Perform threshold segmentation on each ROI image respectively, and then classify the ROI images after the threshold segmentation through morphological operations, and simultaneously obtain a CAD flat image corresponding to the CAD design drawing of the tire membrane to be detected;
S4、根据ROI图像的分类,选择不同的方法对CAD平直型图像和ROI图像进行处理,并在处理后的平直型图像上截取获得与处理后的每个ROI图像相匹配的CAD图像块;S4, according to the classification of the ROI image, select different methods to process the CAD flat image and the ROI image, and intercept and obtain CAD image blocks that match each ROI image after processing on the processed flat image ;
S5、对每个ROI图像以及与其匹配的CAD图像块进行字符识别,进而根据字符识别结果进行缺陷判断;S5. Perform character recognition on each ROI image and its matched CAD image block, and then perform defect judgment according to the character recognition result;
S6、响应于判断存在字符缺陷的情况,返回执行步骤S4和S5从而再次进行缺陷判断后,选择字符缺陷较少的判断结果作为最终结果。S6. In response to judging that there are character defects, return to steps S4 and S5 to perform defect judgment again, and select a judgment result with fewer character defects as the final result.
进一步,所述步骤S3中所述分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类的步骤,具体包括:Further, the step of thresholding each ROI image as described in step S3, and then classifying the thresholded ROI images through morphological operations, specifically includes:
S31、分别计算每个ROI图像的初始面积和初始高度;S31. Calculate the initial area and initial height of each ROI image respectively;
S32、对ROI图像进行阈值分割,划分前景区域;S32. Perform threshold segmentation on the ROI image to divide the foreground area;
S33、获取预设形态学结构元,对前景区域进行腐蚀并进行连通性标记,并根据预设筛选条件对连通域进行筛选后,根据筛选出的连通域数量将ROI图像分为A类和B类。S33. Obtain preset morphological structural elements, corrode the foreground area and perform connectivity marking, and filter the connected domains according to the preset screening conditions, and classify the ROI images into categories A and B according to the number of connected domains selected. kind.
进一步,所述步骤S33中所述根据预设筛选条件对连通域进行筛选后,根据筛选出的连通域数量将ROI图像分为A类和B类的步骤,其具体为:Further, after the connected domains are screened according to the preset screening conditions in the step S33, the step of dividing the ROI image into category A and category B according to the number of connected domains screened out is specifically as follows:
对连通域进行筛选,筛选出面积大于1/2初始面积且高度大于1/2初始高度的连通域数量,若筛选出的连通域数量等于0,则将ROI图像分为A类,若筛选出的连通域数量大于0,则将ROI图像分为B类。Screen the connected domains, and select the number of connected domains whose area is greater than 1/2 of the initial area and whose height is greater than 1/2 of the initial height. The number of connected domains of is greater than 0, and the ROI image is classified into class B.
进一步,所述步骤S4,包括:Further, the step S4 includes:
S41、根据ROI图像的分类,按照处理次数的迭代,针对ROI图像为A类的情况,依次选择处理方法一和处理方法二对CAD平直型图像和ROI图像进行处理,针对ROI图像为B类的情况,依次选择处理方法二和处理方法三对CAD平直型图像和ROI图像进行处理;S41. According to the classification of the ROI image, according to the iterations of the processing times, for the case where the ROI image is Class A, sequentially select the processing method 1 and the processing method 2 to process the CAD flat image and the ROI image, and the ROI image is Class B. case, select processing method 2 and processing method 3 in turn to process the CAD flat image and ROI image;
S42、根据处理后的CAD平直型图像与ROI图像的高度比将ROI图像进行缩放;S42. Scale the ROI image according to the height ratio between the processed CAD flat image and the ROI image;
S43、在处理后的CAD平直型图像上依次截取与缩放后的ROI图像同宽的图像块,计算每个图像块与缩放后的ROI图像的相关系数,进而将相关系数最大的图像块作为与该ROI图像相匹配的CAD图像块;S43. On the processed CAD flat image, sequentially intercept image blocks with the same width as the zoomed ROI image, calculate the correlation coefficient between each image block and the zoomed ROI image, and then use the image block with the largest correlation coefficient as A CAD image block matching the ROI image;
所述处理方法一具体为:对ROI图像进行阈值分割后进行形态学处理,并根据形态学处理后的区域面积与初始面积的比值,定位获得包含字符的字符区域,进而将ROI图像转换为二值化图像,同时将CAD平直型图像进行阈值分割后转换为二值图像;Said processing method 1 is specifically: performing morphological processing on the ROI image after threshold segmentation, and according to the ratio of the area area after the morphological processing to the initial area, locate and obtain the character area containing the character, and then convert the ROI image into two value image, and at the same time convert the CAD flat image into a binary image after thresholding;
所述处理方法二具体为:对ROI图像和CAD平直型图像进行标准差滤波,并截取标准差滤波后的ROI图像的下半部分;The second processing method is specifically: performing standard deviation filtering on the ROI image and the CAD flat image, and intercepting the lower half of the standard deviation filtered ROI image;
所述处理方法三具体为:采用canny算子获取ROI图像的边缘图像并转换为二值图像,同时将CAD平直型图像进行阈值分割后转换为二值图像。The third processing method specifically includes: using the canny operator to obtain the edge image of the ROI image and converting it into a binary image, and at the same time performing threshold segmentation on the CAD flat image and converting it into a binary image.
进一步,所述步骤S1,其具体为:Further, the step S1 is specifically:
依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行图像去噪和阈值分割处理后,得到轮胎胎膜轮廓,进而根据轮廓曲率断开轮廓,从而根据每段轮廓的方向、长度以及曲率,获得轮胎外侧圆弧形轮廓。The tire membrane to be detected is scanned and collected in turn to obtain a set of images, and after image denoising and threshold segmentation are performed on each of the collected images, the contour of the tire membrane is obtained, and then the contour is broken according to the curvature of the contour, so that According to the direction, length and curvature of each segment of the profile, the outer circular arc profile of the tire is obtained.
进一步,所述步骤S5,包括:Further, the step S5 includes:
S51、对CAD图像块进行阈值分割后进行形态学运算,根据预设的连通域阈值进行连通域筛选,将CAD图像块划分为小字符区域和大字符区域;S51. Carry out morphological operation after performing threshold segmentation on the CAD image block, perform connected domain screening according to a preset connected domain threshold, and divide the CAD image block into a small character area and a large character area;
S52、根据ROI图像的分类,对ROI图像进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域;S52. Perform a morphological operation on the ROI image according to the classification of the ROI image, and then perform connected domain screening according to a preset connected domain threshold, and divide the ROI image into a small character area and a large character area;
S53、根据ROI图像的分类,对ROI图像和CAD图像块的大字符区域进行特征提取和特征匹配后,根据匹配结果进行缺陷判断;S53. According to the classification of the ROI image, after feature extraction and feature matching are performed on the ROI image and the large character area of the CAD image block, defect judgment is performed according to the matching result;
S54、针对ROI图像和CAD图像块的小字符区域,进行字符识别后,将识别获得的字符数组分成多个字符串,进而将ROI图像和CAD图像块识别获得的字符串进行匹配后,根据匹配结果进行缺陷判断。S54. After character recognition is performed on the small character area of the ROI image and the CAD image block, the character array obtained by the recognition is divided into multiple character strings, and then the character strings obtained by the ROI image and the CAD image block recognition are matched, and according to the matching As a result, a defect judgment is performed.
进一步,所述步骤S52,其具体为:Further, the step S52 is specifically:
针对ROI图像为A类的情况,对ROI图像进行局部阈值分割与区域生长后,进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域;For the case that the ROI image is class A, after performing local threshold segmentation and region growth on the ROI image, morphological operations are performed, and then connected domain screening is performed according to the preset connected domain threshold, and the ROI image is also divided into small character areas and large character areas. character area;
针对ROI图像为B类的情况,对ROI图像依次进行均值滤波、区域生长分割以及二值化结果取反后进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域。For the case that the ROI image is of type B, the ROI image is sequentially subjected to mean filtering, region growing segmentation, and binarization result inversion, followed by morphological operations, and then the connected domain screening is performed according to the preset connected domain threshold, and the ROI image is also Divided into a small character area and a large character area.
进一步,所述步骤S53,其具体为:Further, the step S53 is specifically:
针对ROI图像为A类的情况,以ROI图像的大字符区域作为模板,在CAD图像块的大字符区域上进行NCC匹配,如果匹配度大于预设匹配阈值,则对ROI图像和CAD图像块的大字符区域依次进行形态学相减、差异运算和形态学腐蚀后,判断获得的区域的面积是否小于预设阈值,若是,则判定该字符存在印刷缺陷,否则,判定该字符印刷正确;For the case where the ROI image is type A, use the large character area of the ROI image as a template to perform NCC matching on the large character area of the CAD image block. If the matching degree is greater than the preset matching threshold, the ROI image and the CAD image block After performing morphological subtraction, difference operation, and morphological corrosion on the large character area in sequence, it is judged whether the area of the obtained area is smaller than the preset threshold, if so, it is judged that the character has a printing defect, otherwise, it is judged that the character is printed correctly;
针对ROI图像为B类的情况,采用canny算子获取ROI图像的大字符区域的边缘后作为模板,在CAD图像块的大字符区域的二值化图像上进行搜索匹配,若匹配度小于预设匹配阈值,则判定该字符存在印刷缺陷,并记录错误字符所在区域的中心坐标。For the case where the ROI image is type B, use the canny operator to obtain the edge of the large character area of the ROI image as a template, and search and match on the binary image of the large character area of the CAD image block. If the matching degree is less than the preset If it matches the threshold, it is determined that the character has a printing defect, and the center coordinates of the area where the wrong character is located are recorded.
进一步,所述步骤S54,包括:Further, the step S54 includes:
S541、针对ROI图像和CAD图像块的小字符区域,进行字符识别后,分别获得两个字符数组,进而将每个字符数组分成多个字符串;S541. After character recognition is performed on the small character area of the ROI image and the CAD image block, two character arrays are respectively obtained, and each character array is divided into multiple character strings;
S542、对ROI图像的每个字符串,在CAD图像块的字符数组中进行匹配搜索,若匹配不成功,则执行步骤S543,反之判断该字符串印刷正确;S542. For each character string of the ROI image, perform a matching search in the character array of the CAD image block. If the match is unsuccessful, perform step S543. Otherwise, it is judged that the character string is printed correctly;
S543、调整参数后重新进行字符区域划分,进而对该字符串对应的小字符区域的ROI图像重新提取字符后,识别获得一个新的字符串;S543. Re-divide the character area after adjusting the parameters, and then re-extract characters from the ROI image of the small character area corresponding to the character string, and then recognize and obtain a new character string;
S544、在CAD图像块的字符数组中匹配搜索该新的字符串,若匹配不成功,则返回步骤S543重复字符串识别、匹配操作,并判断是否在规定的搜索次数内匹配成功,若是,则判断该字符串印刷正确,并录入到正确字符数组中,反之,判定该字符串存在印刷缺陷,并记录错误字符串所在区域的中心坐标;S544, match and search this new character string in the character array of CAD image block, if match is unsuccessful, then return to step S543 to repeat character string identification, match operation, and judge whether to match successfully in the specified number of searches, if so, then Judging that the string is printed correctly, and entering it into the correct character array, otherwise, judging that the string has a printing defect, and recording the center coordinates of the area where the wrong string is located;
S545、对CAD图像块的每个字符串,在正确字符数组中进行匹配搜索,若匹配不成功,则执行步骤S546,反之判断该字符串印刷正确;S545. For each character string of the CAD image block, perform a matching search in the correct character array, if the match is unsuccessful, then perform step S546, otherwise it is judged that the character string is printed correctly;
S546、在该字符串对应区域的ROI图像上提取字符后,识别获得一个校验字符数组,进而在校验字符数组中对该字符串进行匹配搜索,若匹配不成功,则判定该字符串存在漏印缺陷,反之判断该字符串印刷正确。S546. After extracting characters on the ROI image of the region corresponding to the character string, identify and obtain a verification character array, and then perform a matching search on the character string in the verification character array. If the match is unsuccessful, it is determined that the character string exists Missing printing defects, otherwise it is judged that the string is printed correctly.
进一步,所述步骤S3中所述CAD设计图对应的平直型图像是通过以下方式获得的:Further, the flat image corresponding to the CAD design drawing in the step S3 is obtained in the following manner:
获取CAD设计图并将其进行阈值分割后转换为二值图,将CAD设计图中的刻印图像作为前景图像,进而拟合该前景图像的最小外接圆,并获取该最小外接圆的圆心与半径后,根据获得的圆心与半径进行极坐标变换,获得CAD设计图的平直型图像。Get the CAD design drawing and convert it into a binary image after threshold segmentation, use the engraved image in the CAD design drawing as the foreground image, and then fit the minimum circumscribed circle of the foreground image, and obtain the center and radius of the minimum circumscribed circle Finally, the polar coordinate transformation is carried out according to the obtained circle center and radius, and the flat image of the CAD design drawing is obtained.
本发明的有益效果是:本发明的一种轮胎模具的字符缺陷检测方法,包括:S1、依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行处理后获得轮胎外侧圆弧形轮廓;S2、拟合轮胎外侧圆弧形轮廓的圆心和半径后,通过极坐标变换将待测的轮胎外侧圆弧形图像转换为平直型待测图像,并对平直型待测图像进行阈值分割后,定位轮胎胎膜图像区域作为待测的ROI图像;S3、分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类,同时获取待检测轮胎胎膜的CAD设计图对应的CAD平直型图像;S4、根据ROI图像的分类,选择不同的方法对CAD平直型图像和ROI图像进行处理,并在处理后的平直型图像上截取获得与处理后的每个ROI图像相匹配的CAD图像块;S5、对每个ROI图像以及与其匹配的CAD图像块进行字符识别,进而根据字符识别结果进行缺陷判断;S6、响应于判断存在字符缺陷的情况,返回执行步骤S4和S5从而再次进行缺陷判断后,选择字符缺陷较少的判断结果作为最终结果。本方法可以自动检测出待检测轮胎胎膜的字符缺陷,检测稳定性高、检测成本低、检测准确度高、误报率低且适用范围广,可以快速有效地对轮胎胎膜字符缺陷进行检测。The beneficial effects of the present invention are: a character defect detection method of a tire mold according to the present invention, comprising: S1, sequentially scan and collect a group of images of the tire film to be detected, and perform a separate image processing on each collected image After processing, obtain the outer circular arc profile of the tire; S2, after fitting the center and radius of the outer circular arc profile of the tire, convert the circular arc image outside the tire to be measured into a straight image to be measured by polar coordinate transformation, and After performing threshold segmentation on the straight image to be tested, locate the tire membrane image area as the ROI image to be tested; S3, perform threshold segmentation on each ROI image respectively, and then perform threshold segmentation on the ROI image after threshold segmentation through morphological operations. Classify, obtain the CAD straight image corresponding to the CAD design drawing of tire film to be detected simultaneously; S4, according to the classification of ROI image, select different methods to process CAD straight image and ROI image, and after processing Intercepting on the flat image to obtain a CAD image block that matches each ROI image after processing; S5, performing character recognition on each ROI image and its matching CAD image block, and then performing defect judgment according to the character recognition result; S6 1. In response to judging that there are character defects, return to steps S4 and S5 to perform defect judgment again, and select a judgment result with fewer character defects as the final result. The method can automatically detect the character defects of the tire membrane to be detected, has high detection stability, low detection cost, high detection accuracy, low false alarm rate and wide application range, and can quickly and effectively detect the character defects of the tire membrane .
附图说明Description of drawings
下面结合附图和实施例对本发明作进一步说明。The present invention will be further described below in conjunction with drawings and embodiments.
图1是本发明的一种轮胎模具的字符缺陷检测方法的流程图。Fig. 1 is a flowchart of a character defect detection method of a tire mold according to the present invention.
具体实施方式Detailed ways
参照图1,本发明提供了一种轮胎模具的字符缺陷检测方法,包括步骤:With reference to Fig. 1, the present invention provides a kind of character defect detection method of tire mold, comprises steps:
S1、依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行处理后获得轮胎外侧圆弧形轮廓;S1. Sequentially scan and collect a set of images from the membrane of the tire to be detected, and process each of the collected images to obtain the outer circular arc profile of the tire;
S2、拟合轮胎外侧圆弧形轮廓的圆心和半径后,通过极坐标变换将待测的轮胎外侧圆弧形图像转换为平直型待测图像,并对平直型待测图像进行阈值分割后,定位轮胎胎膜图像区域作为待测的ROI图像;S2. After fitting the center and radius of the outer circular arc profile of the tire, convert the outer circular arc image of the tire to be tested into a straight image to be tested by polar coordinate transformation, and perform threshold segmentation on the straight image to be tested. After that, locate the tire membrane image area as the ROI image to be tested;
S3、分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类,同时获取待检测轮胎胎膜的CAD设计图对应的CAD平直型图像;S3. Perform threshold segmentation on each ROI image respectively, and then classify the ROI images after the threshold segmentation through morphological operations, and simultaneously obtain a CAD flat image corresponding to the CAD design drawing of the tire membrane to be detected;
S4、根据ROI图像的分类,选择不同的方法对CAD平直型图像和ROI图像进行处理,并在处理后的平直型图像上截取获得与处理后的每个ROI图像相匹配的CAD图像块;S4, according to the classification of the ROI image, select different methods to process the CAD flat image and the ROI image, and intercept and obtain CAD image blocks that match each ROI image after processing on the processed flat image ;
S5、对每个ROI图像以及与其匹配的CAD图像块进行字符识别,进而根据字符识别结果进行缺陷判断;S5. Perform character recognition on each ROI image and its matched CAD image block, and then perform defect judgment according to the character recognition result;
S6、响应于判断存在字符缺陷的情况,返回执行步骤S4和S5从而再次进行缺陷判断后,选择字符缺陷较少的判断结果作为最终结果。S6. In response to judging that there are character defects, return to steps S4 and S5 to perform defect judgment again, and select a judgment result with fewer character defects as the final result.
进一步作为优选的实施方式,所述步骤S3中所述分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类的步骤,具体包括:Further as a preferred embodiment, the step of performing threshold segmentation on each ROI image in step S3, and then classifying the thresholded ROI images through morphological operations, specifically includes:
S31、分别计算每个ROI图像的初始面积和初始高度;S31. Calculate the initial area and initial height of each ROI image respectively;
S32、对ROI图像进行阈值分割,划分前景区域;S32. Perform threshold segmentation on the ROI image to divide the foreground area;
S33、获取预设形态学结构元,对前景区域进行腐蚀并进行连通性标记,并根据预设筛选条件对连通域进行筛选后,根据筛选出的连通域数量将ROI图像分为A类和B类。S33. Obtain preset morphological structural elements, corrode the foreground area and perform connectivity marking, and filter the connected domains according to the preset screening conditions, and classify the ROI images into categories A and B according to the number of connected domains selected. kind.
进一步作为优选的实施方式,所述步骤S33中所述根据预设筛选条件对连通域进行筛选后,根据筛选出的连通域数量将ROI图像分为A类和B类的步骤,其具体为:Further as a preferred embodiment, after the connected domains are screened according to the preset screening conditions in the step S33, the step of dividing the ROI image into the A category and the B category according to the number of the filtered connected domains is specifically as follows:
对连通域进行筛选,筛选出面积大于1/2初始面积且高度大于1/2初始高度的连通域数量,若筛选出的连通域数量等于0,则将ROI图像分为A类,若筛选出的连通域数量大于0,则将ROI图像分为B类。Screen the connected domains, and select the number of connected domains whose area is greater than 1/2 of the initial area and whose height is greater than 1/2 of the initial height. The number of connected domains of is greater than 0, and the ROI image is classified into class B.
进一步作为优选的实施方式,所述步骤S4,包括:Further as a preferred embodiment, the step S4 includes:
S41、根据ROI图像的分类,按照处理次数的迭代,针对ROI图像为A类的情况,依次选择处理方法一和处理方法二对CAD平直型图像和ROI图像进行处理,针对ROI图像为B类的情况,依次选择处理方法二和处理方法三对CAD平直型图像和ROI图像进行处理;S41. According to the classification of the ROI image, according to the iterations of the processing times, for the case where the ROI image is Class A, sequentially select the processing method 1 and the processing method 2 to process the CAD flat image and the ROI image, and the ROI image is Class B. case, select processing method 2 and processing method 3 in turn to process the CAD flat image and ROI image;
S42、根据处理后的CAD平直型图像与ROI图像的高度比将ROI图像进行缩放;S42. Scale the ROI image according to the height ratio between the processed CAD flat image and the ROI image;
S43、在处理后的CAD平直型图像上依次截取与缩放后的ROI图像同宽的图像块,计算每个图像块与缩放后的ROI图像的相关系数,进而将相关系数最大的图像块作为与该ROI图像相匹配的CAD图像块;S43. On the processed CAD flat image, sequentially intercept image blocks with the same width as the zoomed ROI image, calculate the correlation coefficient between each image block and the zoomed ROI image, and then use the image block with the largest correlation coefficient as A CAD image block matching the ROI image;
所述处理方法一具体为:对ROI图像进行阈值分割后进行形态学处理,并根据形态学处理后的区域面积与初始面积的比值,定位获得包含字符的字符区域,进而将ROI图像转换为二值化图像,同时将CAD平直型图像进行阈值分割后转换为二值图像;Said processing method 1 is specifically: performing morphological processing on the ROI image after threshold segmentation, and according to the ratio of the area area after the morphological processing to the initial area, locate and obtain the character area containing the character, and then convert the ROI image into two value image, and at the same time convert the CAD flat image into a binary image after thresholding;
所述处理方法二具体为:对ROI图像和CAD平直型图像进行标准差滤波,并截取标准差滤波后的ROI图像的下半部分;The second processing method is specifically: performing standard deviation filtering on the ROI image and the CAD flat image, and intercepting the lower half of the standard deviation filtered ROI image;
所述处理方法三具体为:采用canny算子获取ROI图像的边缘图像并转换为二值图像,同时将CAD平直型图像进行阈值分割后转换为二值图像。The third processing method specifically includes: using the canny operator to obtain the edge image of the ROI image and converting it into a binary image, and at the same time performing threshold segmentation on the CAD flat image and converting it into a binary image.
进一步作为优选的实施方式,所述步骤S1,其具体为:Further as a preferred embodiment, the step S1 is specifically:
依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行图像去噪和阈值分割处理后,得到轮胎胎膜轮廓,进而根据轮廓曲率断开轮廓,从而根据每段轮廓的方向、长度以及曲率,获得轮胎外侧圆弧形轮廓。The tire membrane to be detected is scanned and collected in turn to obtain a set of images, and after image denoising and threshold segmentation are performed on each of the collected images, the contour of the tire membrane is obtained, and then the contour is broken according to the curvature of the contour, so that According to the direction, length and curvature of each segment of the profile, the outer circular arc profile of the tire is obtained.
进一步作为优选的实施方式,所述步骤S5,包括:Further as a preferred embodiment, the step S5 includes:
S51、对CAD图像块进行阈值分割后进行形态学运算,根据预设的连通域阈值进行连通域筛选,将CAD图像块划分为小字符区域和大字符区域;S51. Carry out morphological operation after performing threshold segmentation on the CAD image block, perform connected domain screening according to a preset connected domain threshold, and divide the CAD image block into a small character area and a large character area;
S52、根据ROI图像的分类,对ROI图像进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域;S52. Perform a morphological operation on the ROI image according to the classification of the ROI image, and then perform connected domain screening according to a preset connected domain threshold, and divide the ROI image into a small character area and a large character area;
S53、根据ROI图像的分类,对ROI图像和CAD图像块的大字符区域进行特征提取和特征匹配后,根据匹配结果进行缺陷判断;S53. According to the classification of the ROI image, after feature extraction and feature matching are performed on the ROI image and the large character area of the CAD image block, defect judgment is performed according to the matching result;
S54、针对ROI图像和CAD图像块的小字符区域,进行字符识别后,将识别获得的字符数组分成多个字符串,进而将ROI图像和CAD图像块识别获得的字符串进行匹配后,根据匹配结果进行缺陷判断。S54. After character recognition is performed on the small character area of the ROI image and the CAD image block, the character array obtained by the recognition is divided into multiple character strings, and then the character strings obtained by the ROI image and the CAD image block recognition are matched, and according to the matching As a result, a defect judgment is performed.
进一步作为优选的实施方式,所述步骤S52,其具体为:Further as a preferred implementation manner, the step S52 is specifically:
针对ROI图像为A类的情况,对ROI图像进行局部阈值分割与区域生长后,进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域;For the case that the ROI image is class A, after performing local threshold segmentation and region growth on the ROI image, morphological operations are performed, and then connected domain screening is performed according to the preset connected domain threshold, and the ROI image is also divided into small character areas and large character areas. character area;
针对ROI图像为B类的情况,对ROI图像依次进行均值滤波、区域生长分割以及二值化结果取反后进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域。For the case that the ROI image is of type B, the ROI image is sequentially subjected to mean filtering, region growing segmentation, and binarization result inversion, followed by morphological operations, and then the connected domain screening is performed according to the preset connected domain threshold, and the ROI image is also Divided into a small character area and a large character area.
进一步作为优选的实施方式,所述步骤S53,其具体为:Further as a preferred implementation manner, the step S53 is specifically:
针对ROI图像为A类的情况,以ROI图像的大字符区域作为模板,在CAD图像块的大字符区域上进行NCC匹配,如果匹配度大于预设匹配阈值,则对ROI图像和CAD图像块的大字符区域依次进行形态学相减、差异运算和形态学腐蚀后,判断获得的区域的面积是否小于预设阈值,若是,则判定该字符存在印刷缺陷,否则,判定该字符印刷正确;For the case where the ROI image is type A, use the large character area of the ROI image as a template to perform NCC matching on the large character area of the CAD image block. If the matching degree is greater than the preset matching threshold, the ROI image and the CAD image block After performing morphological subtraction, difference operation, and morphological corrosion on the large character area in sequence, it is judged whether the area of the obtained area is smaller than the preset threshold, if so, it is judged that the character has a printing defect, otherwise, it is judged that the character is printed correctly;
针对ROI图像为B类的情况,采用canny算子获取ROI图像的大字符区域的边缘后作为模板,在CAD图像块的大字符区域的二值化图像上进行搜索匹配,若匹配度小于预设匹配阈值,则判定该字符存在印刷缺陷,并记录错误字符所在区域的中心坐标。For the case where the ROI image is type B, use the canny operator to obtain the edge of the large character area of the ROI image as a template, and search and match on the binary image of the large character area of the CAD image block. If the matching degree is less than the preset If it matches the threshold, it is determined that the character has a printing defect, and the center coordinates of the area where the wrong character is located are recorded.
进一步作为优选的实施方式,所述步骤S54,包括:Further as a preferred implementation manner, the step S54 includes:
S541、针对ROI图像和CAD图像块的小字符区域,进行字符识别后,分别获得两个字符数组,进而将每个字符数组分成多个字符串;S541. After character recognition is performed on the small character area of the ROI image and the CAD image block, two character arrays are respectively obtained, and each character array is divided into multiple character strings;
S542、对ROI图像的每个字符串,在CAD图像块的字符数组中进行匹配搜索,若匹配不成功,则执行步骤S543,反之判断该字符串印刷正确;S542. For each character string of the ROI image, perform a matching search in the character array of the CAD image block. If the match is unsuccessful, perform step S543. Otherwise, it is judged that the character string is printed correctly;
S543、调整参数后重新进行字符区域划分,进而对该字符串对应的小字符区域的ROI图像重新提取字符后,识别获得一个新的字符串;S543. Re-divide the character area after adjusting the parameters, and then re-extract characters from the ROI image of the small character area corresponding to the character string, and then recognize and obtain a new character string;
S544、在CAD图像块的字符数组中匹配搜索该新的字符串,若匹配不成功,则返回步骤S543重复字符串识别、匹配操作,并判断是否在规定的搜索次数内匹配成功,若是,则判断该字符串印刷正确,并录入到正确字符数组中,反之,判定该字符串存在印刷缺陷,并记录错误字符串所在区域的中心坐标;S544, match and search this new character string in the character array of CAD image block, if match is unsuccessful, then return to step S543 to repeat character string identification, match operation, and judge whether to match successfully in the specified number of searches, if so, then Judging that the string is printed correctly, and entering it into the correct character array, otherwise, judging that the string has a printing defect, and recording the center coordinates of the area where the wrong string is located;
S545、对CAD图像块的每个字符串,在正确字符数组中进行匹配搜索,若匹配不成功,则执行步骤S546,反之判断该字符串印刷正确;S545. For each character string of the CAD image block, perform a matching search in the correct character array, if the match is unsuccessful, then perform step S546, otherwise it is judged that the character string is printed correctly;
S546、在该字符串对应区域的ROI图像上提取字符后,识别获得一个校验字符数组,进而在校验字符数组中对该字符串进行匹配搜索,若匹配不成功,则判定该字符串存在漏印缺陷,反之判断该字符串印刷正确。S546. After extracting characters on the ROI image of the region corresponding to the character string, identify and obtain a verification character array, and then perform a matching search on the character string in the verification character array. If the match is unsuccessful, it is determined that the character string exists Missing printing defects, otherwise it is judged that the string is printed correctly.
进一步作为优选的实施方式,所述步骤S2中所述对轮胎外侧圆弧形轮廓进行拟合并转换为平直型待测图像后进行分割的步骤,其具体为:拟合轮胎外侧圆弧形轮廓的圆心和半径后,通过极坐标变换将待测的轮胎外侧圆弧形图像转换为平直型待测图像,并对平直型待测图像进行分割。Further as a preferred embodiment, in the step S2, the step of fitting the outer circular arc profile of the tire and converting it into a straight image to be tested and then segmenting it is specifically: fitting the outer circular arc of the tire After the center and radius of the contour, the circular arc image on the outside of the tire to be tested is converted into a straight image to be tested by polar coordinate transformation, and the straight image to be tested is segmented.
进一步作为优选的实施方式,所述步骤S3中所述CAD设计图对应的平直型图像是通过以下方式获得的:Further as a preferred embodiment, the straight image corresponding to the CAD design drawing in the step S3 is obtained in the following manner:
获取CAD设计图并将其进行阈值分割后转换为二值图,将CAD设计图中的刻印图像作为前景图像,进而拟合该前景图像的最小外接圆,并获取该最小外接圆的圆心与半径后,根据获得的圆心与半径进行极坐标变换,获得CAD设计图的平直型图像。Get the CAD design drawing and convert it into a binary image after threshold segmentation, use the engraved image in the CAD design drawing as the foreground image, and then fit the minimum circumscribed circle of the foreground image, and obtain the center and radius of the minimum circumscribed circle Finally, the polar coordinate transformation is carried out according to the obtained circle center and radius, and the flat image of the CAD design drawing is obtained.
以下结合具体实施例对本发明做详细说明。The present invention will be described in detail below in conjunction with specific embodiments.
参照图1,一种轮胎模具的字符缺陷检测方法,包括步骤:With reference to Fig. 1, a kind of character defect detection method of tire mould, comprises steps:
S1、依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行处理后获得轮胎外侧圆弧形轮廓,其具体为:依次对待检测轮胎胎膜进行扫描并采集获得一组图像,并分别对所采集的每张图像进行图像去噪和阈值分割处理后,得到轮胎胎膜轮廓,进而根据轮廓曲率断开轮廓,从而根据每段轮廓的方向、长度以及曲率,获得轮胎外侧圆弧形轮廓。S1. Sequentially scan the membrane of the tire to be detected and acquire a set of images, and process each of the collected images separately to obtain the outer circular arc profile of the tire, specifically: scan the membrane of the tire to be detected in sequence And collect a set of images, and perform image denoising and threshold segmentation on each of the collected images to obtain the contour of the tire membrane, and then break the contour according to the curvature of the contour, so that according to the direction and length of each contour and the curvature to obtain the outer circular arc profile of the tire.
根据轮廓曲率断开轮廓的具体步骤如下:根据轮廓区域判断轮廓上的点是否在一条直线或者一个弧线上,若某一点的曲率与附近点的曲率一致,则表示两点在同一条弧线或同一条直线上,否则,表示两点不在同一弧线或直线上,将两点断开。通过本方式可以获得每段轮廓的方向、长度以及曲率,根据圆弧形轮廓的特征,从而获得轮胎外侧圆弧形轮廓。The specific steps of breaking the contour according to the contour curvature are as follows: judge whether the point on the contour is on a straight line or an arc according to the contour area, if the curvature of a certain point is consistent with the curvature of a nearby point, it means that the two points are on the same arc or on the same straight line, otherwise, it means that the two points are not on the same arc or straight line, and the two points are disconnected. Through this method, the direction, length and curvature of each segment of the profile can be obtained, and according to the features of the circular arc profile, the outer circular arc profile of the tire can be obtained.
S2、拟合轮胎外侧圆弧形轮廓的圆心和半径后,通过极坐标变换将待测的轮胎外侧圆弧形图像转换为平直型待测图像,并对平直型待测图像进行阈值分割后,定位轮胎胎膜图像区域作为待测的ROI图像;S2. After fitting the center and radius of the outer circular arc profile of the tire, convert the outer circular arc image of the tire to be tested into a straight image to be tested by polar coordinate transformation, and perform threshold segmentation on the straight image to be tested. After that, locate the tire membrane image area as the ROI image to be tested;
S3、分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类,同时获取待检测轮胎胎膜的CAD设计图对应的CAD平直型图像;S3. Perform threshold segmentation on each ROI image respectively, and then classify the ROI images after the threshold segmentation through morphological operations, and simultaneously obtain a CAD flat image corresponding to the CAD design drawing of the tire membrane to be detected;
其中,分别对每个ROI图像进行阈值分割,进而通过形态学运算将阈值分割后的ROI图像进行分类的步骤,具体包括步骤S31~S33:Wherein, the step of performing threshold segmentation on each ROI image respectively, and then classifying the ROI images after threshold segmentation through morphological operations, specifically includes steps S31-S33:
S31、分别计算每个ROI图像的初始面积S_area和初始高度S_Height;S31. Calculate the initial area S_area and initial height S_Height of each ROI image respectively;
S32、对ROI图像进行阈值分割,划分前景区域,例如选取的阈值为120,将高于120的划分为前景区域;S32. Perform threshold segmentation on the ROI image to divide the foreground area, for example, the selected threshold is 120, and the area higher than 120 is divided into the foreground area;
S33、获取预设形态学结构元,对前景区域进行腐蚀并进行连通性标记,并根据预设筛选条件对连通域进行筛选后,根据筛选出的连通域数量将ROI图像分为A类和B类,具体为:获取预设形态学结构元,对前景区域进行腐蚀并进行连通性标记,并对连通域进行筛选,筛选出面积大于1/2初始面积S_area且高度大于1/2初始高度S_Height的连通域数量,若筛选出的连通域数量等于0,则将ROI图像分为A类,若筛选出的连通域数量大于0,则将ROI图像分为B类。S33. Obtain preset morphological structural elements, corrode the foreground area and perform connectivity marking, and filter the connected domains according to the preset screening conditions, and classify the ROI images into categories A and B according to the number of connected domains selected. Class, specifically: obtain the preset morphological structure elements, corrode the foreground area and mark the connectivity, and filter the connected domain, and filter out the area greater than 1/2 of the initial area S_area and the height greater than 1/2 of the initial height S_Height The number of connected domains, if the number of connected domains selected is equal to 0, the ROI image will be classified into class A, if the number of connected domains selected is greater than 0, the ROI image will be classified into class B.
CAD设计图对应的平直型图像是通过以下方式获得的:获取CAD设计图并将其进行阈值分割后转换为二值图,将CAD设计图中的刻印图像作为前景图像,进而拟合该前景图像的最小外接圆,并获取该最小外接圆的圆心与半径后,根据获得的圆心与半径进行极坐标变换,获得CAD设计图的平直型图像。The flat image corresponding to the CAD design drawing is obtained by the following methods: obtain the CAD design drawing and convert it into a binary image after thresholding, and use the engraved image in the CAD design drawing as the foreground image, and then fit the foreground The minimum circumscribed circle of the image, and after obtaining the center and radius of the minimum circumscribed circle, perform polar coordinate transformation according to the obtained center and radius to obtain a flat image of the CAD design drawing.
更具体的,拟合该前景图像的最小外接圆,并获取该最小外接圆的圆心与半径的步骤,其具体为:More specifically, the steps of fitting the minimum circumscribed circle of the foreground image and obtaining the center and radius of the minimum circumscribed circle are as follows:
通过非线性最优迭代方法拟合获得的:拟合该前景图像的外接圆,根据下式将边缘上的所有点到拟合外接圆的平方距离进行累加求和,进而将总和最小的外接圆作为该前景图像的最小外接圆,并获取该最小外接圆的圆心与半径:Obtained by nonlinear optimal iterative method fitting: fitting the circumscribed circle of the foreground image, accumulating and summing the square distances from all points on the edge to the fitted circumcircle according to the following formula, and then calculating the circumscribed circle with the smallest sum As the minimum circumscribed circle of the foreground image, and obtain the center and radius of the minimum circumscribed circle:
上式中,ε2表示边缘上的所有点到拟合外接圆的平方距离的累加求和,(α,β)表示圆心的坐标,ρ表示圆的半径,(ri,ci)表示边缘上的点的坐标。In the above formula, ε 2 represents the cumulative sum of the square distances from all points on the edge to the fitted circumcircle, (α, β) represents the coordinates of the center of the circle, ρ represents the radius of the circle, and (r i , c i ) represents the edge The coordinates of the point on .
优选的,所述根据获得的圆心与半径进行极坐标变换的步骤,其具体为:Preferably, the step of performing polar coordinate transformation according to the obtained circle center and radius is specifically:
结合下式,根据获得的圆心与半径对CAD设计图进行极坐标变换:Combining with the following formula, according to the obtained circle center and radius, the CAD design drawing is transformed into polar coordinates:
上式中,(α,β)表示变换中心的坐标,表示CAD设计图上的点进行极坐标变换后的坐标,di为相对于变换中心的距离,为向量角度,(ri,ci)为极坐标变换前的坐标。In the above formula, (α, β) represents the coordinates of the transformation center, Indicates the coordinates of the point on the CAD design drawing after polar coordinate transformation, d i is the distance relative to the transformation center, is the vector angle, (r i , c i ) is the coordinates before polar coordinate transformation.
S4、根据ROI图像的分类,选择不同的方法对CAD平直型图像和ROI图像进行处理,并在处理后的平直型图像上截取获得与处理后的每个ROI图像相匹配的CAD图像块,具体包括步骤S41~S43:S4, according to the classification of the ROI image, select different methods to process the CAD flat image and the ROI image, and intercept and obtain CAD image blocks that match each ROI image after processing on the processed flat image , specifically including steps S41-S43:
S41、根据ROI图像的分类,按照处理次数的迭代,针对ROI图像为A类的情况,依次选择处理方法一和处理方法二对CAD平直型图像和ROI图像进行处理,针对ROI图像为B类的情况,依次选择处理方法二和处理方法三对CAD平直型图像和ROI图像进行处理;按照处理次数的迭代,依序选择不同的方法对CAD平直型图像和ROI图像进行处理,例如ROI图像为A类,第一次选择方法一进行处理,如果检测结果出错,进行第二次处理时,则选择方法二;S41. According to the classification of the ROI image, according to the iterations of the processing times, for the case where the ROI image is Class A, sequentially select the processing method 1 and the processing method 2 to process the CAD flat image and the ROI image, and the ROI image is Class B. For the situation, select processing method 2 and processing method 3 in turn to process CAD flat image and ROI image; according to the number of iterations of processing, select different methods to process CAD flat image and ROI image in sequence, such as ROI If the image is type A, choose method 1 for processing for the first time, if the detection result is wrong, choose method 2 for the second processing;
S42、根据处理后的CAD平直型图像与ROI图像的高度比将ROI图像进行缩放;S42. Scale the ROI image according to the height ratio between the processed CAD flat image and the ROI image;
S43、在处理后的CAD平直型图像上依次截取与缩放后的ROI图像同宽的图像块,计算每个图像块与缩放后的ROI图像的相关系数,进而将相关系数最大的图像块作为与该ROI图像相匹配的CAD图像块;相关系数是指图像块与缩放后的ROI图像的矩阵的相关系数。S43. On the processed CAD flat image, sequentially intercept image blocks with the same width as the zoomed ROI image, calculate the correlation coefficient between each image block and the zoomed ROI image, and then use the image block with the largest correlation coefficient as The CAD image block matching the ROI image; the correlation coefficient refers to the correlation coefficient between the image block and the matrix of the zoomed ROI image.
所述处理方法一具体为:对ROI图像进行阈值分割后进行形态学处理,并根据形态学处理后的区域面积与初始面积S_area的比值,定位获得包含字符的字符区域,进而将ROI图像转换为二值化图像,同时将CAD平直型图像进行阈值分割后转换为二值图像;The first processing method is as follows: performing threshold segmentation on the ROI image and performing morphological processing, and according to the ratio of the area area after the morphological processing to the initial area S_area, locating and obtaining the character area containing the character, and then converting the ROI image into Binarize the image, and at the same time convert the CAD flat image into a binary image after thresholding;
所述处理方法二具体为:对ROI图像和CAD平直型图像进行标准差滤波,并截取标准差滤波后的ROI图像的下半部分;The second processing method is specifically: performing standard deviation filtering on the ROI image and the CAD flat image, and intercepting the lower half of the standard deviation filtered ROI image;
所述处理方法三具体为:采用canny算子获取ROI图像的边缘图像并转换为二值图像,同时将CAD平直型图像进行阈值分割后转换为二值图像。The third processing method specifically includes: using the canny operator to obtain the edge image of the ROI image and converting it into a binary image, and at the same time performing threshold segmentation on the CAD flat image and converting it into a binary image.
S5、对每个ROI图像以及与其匹配的CAD图像块进行字符识别,进而根据字符识别结果进行缺陷判断,具体包括S51~S54:S5. Perform character recognition on each ROI image and its matching CAD image block, and then perform defect judgment according to the character recognition result, specifically including S51-S54:
S51、对CAD图像块进行阈值分割后进行形态学运算,根据预设的连通域阈值进行连通域筛选,将CAD图像块划分为小字符区域和大字符区域;S51. Carry out morphological operation after performing threshold segmentation on the CAD image block, perform connected domain screening according to a preset connected domain threshold, and divide the CAD image block into a small character area and a large character area;
S52、根据ROI图像的分类,对ROI图像进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域,具体为:针对ROI图像为A类的情况,对ROI图像进行局部阈值分割与区域生长后,进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域;S52. According to the classification of the ROI image, perform a morphological operation on the ROI image, and then perform connected domain screening according to the preset connected domain threshold, and divide the ROI image into a small character area and a large character area, specifically: for the ROI image: In the case of category A, after local threshold segmentation and region growth are performed on the ROI image, morphological operations are performed, and then connected domain screening is performed according to the preset connected domain threshold, and the ROI image is also divided into small character areas and large character areas;
针对ROI图像为B类的情况,对ROI图像依次进行均值滤波、区域生长分割以及二值化结果取反后进行形态学运算,然后根据预设的连通域阈值进行连通域筛选,将ROI图像也划分为小字符区域和大字符区域。For the case that the ROI image is of type B, the ROI image is sequentially subjected to mean filtering, region growing segmentation, and binarization result inversion, followed by morphological operations, and then the connected domain screening is performed according to the preset connected domain threshold, and the ROI image is also Divided into a small character area and a large character area.
S53、根据ROI图像的分类,对ROI图像和CAD图像块的大字符区域进行特征提取和特征匹配后,根据匹配结果进行缺陷判断,具体为:S53. According to the classification of the ROI image, after feature extraction and feature matching are performed on the ROI image and the large character area of the CAD image block, defect judgment is performed according to the matching result, specifically:
针对ROI图像为A类的情况,以ROI图像的大字符区域作为模板,在CAD图像块的大字符区域上进行NCC匹配,如果匹配度大于预设匹配阈值,则对ROI图像和CAD图像块的大字符区域依次进行形态学相减、差异运算和形态学腐蚀后,判断获得的区域的面积是否小于预设阈值,若是,则判定该字符存在印刷缺陷,否则,判定该字符印刷正确;For the case where the ROI image is type A, use the large character area of the ROI image as a template to perform NCC matching on the large character area of the CAD image block. If the matching degree is greater than the preset matching threshold, the ROI image and the CAD image block After performing morphological subtraction, difference operation, and morphological corrosion on the large character area in sequence, it is judged whether the area of the obtained area is smaller than the preset threshold, if so, it is judged that the character has a printing defect, otherwise, it is judged that the character is printed correctly;
针对ROI图像为B类的情况,采用canny算子获取ROI图像的大字符区域的亚像素精度边缘后作为模板,在CAD图像块的大字符区域的二值化图像上进行搜索匹配,若匹配度小于预设匹配阈值,则判定该字符存在印刷缺陷,并记录错误字符所在区域的中心坐标。For the case where the ROI image is type B, use the canny operator to obtain the sub-pixel precision edge of the large character area of the ROI image as a template, and search and match on the binary image of the large character area of the CAD image block, if the matching degree If it is less than the preset matching threshold, it is determined that the character has a printing defect, and the center coordinates of the area where the wrong character is located are recorded.
S54、针对ROI图像和CAD图像块的小字符区域,进行字符识别后,将识别获得的字符数组分成多个字符串,进而将ROI图像和CAD图像块识别获得的字符串进行匹配后,根据匹配结果进行缺陷判断,具体包括步骤S541~S546:S54. After character recognition is performed on the small character area of the ROI image and the CAD image block, the character array obtained by the recognition is divided into multiple character strings, and then the character strings obtained by the ROI image and the CAD image block recognition are matched, and according to the matching As a result, the defect judgment is carried out, which specifically includes steps S541-S546:
S541、针对ROI图像和CAD图像块的小字符区域,进行字符识别后,分别获得两个字符数组,进而将每个字符数组分成多个字符串;ROI图像和CAD图像块对应的字符数组分别为Array_ROI和Array_CAD,字符串分别为String_ROI[j]和String_CAD[i],其中,i=1,2,3...N,N为CAD图像块对应的字符串个数,j=1,2,3...M,M为ROI图像对应的字符串个数;S541. After character recognition is performed on the small character areas of the ROI image and the CAD image block, two character arrays are respectively obtained, and then each character array is divided into multiple character strings; the character arrays corresponding to the ROI image and the CAD image block are respectively Array_ROI and Array_CAD, the strings are String_ROI[j] and String_CAD[i] respectively, where i=1,2,3...N, N is the number of strings corresponding to the CAD image block, j=1,2, 3...M, M is the number of character strings corresponding to the ROI image;
S542、对ROI图像的每个字符串String_ROI[j],在CAD图像块的字符数组Array_CAD中进行匹配搜索,若匹配不成功,则执行步骤S543,反之判断该字符串印刷正确;S542, for each string String_ROI[j] of the ROI image, perform a matching search in the character array Array_CAD of the CAD image block, if the matching is unsuccessful, then perform step S543, otherwise it is judged that the string is printed correctly;
S543、调整参数后重新进行字符区域划分,进而对该字符串对应的小字符区域的ROI图像重新提取字符后,识别获得一个新的字符串;S543. Re-divide the character area after adjusting the parameters, and then re-extract characters from the ROI image of the small character area corresponding to the character string, and then recognize and obtain a new character string;
S544、在CAD图像块的字符数组Array_CAD中匹配搜索该新的字符串,若匹配不成功,则返回步骤S543重复字符串识别、匹配操作,并判断是否在规定的搜索次数内匹配成功,若是,则判断该字符串印刷正确,并录入到正确字符数组String_Re中,反之,判定该字符串存在印刷缺陷,并记录错误字符串所在区域的中心坐标;S544, match and search this new character string in the character array Array_CAD of the CAD image block, if the match is unsuccessful, then return to step S543 to repeat the character string identification and matching operations, and judge whether the match is successful within the specified search times, if so, Then it is judged that the string is printed correctly, and entered into the correct character array String_Re, otherwise, it is judged that the string has a printing defect, and the center coordinate of the area where the wrong string is located is recorded;
S545、对CAD图像块的每个字符串String_CAD[i],在正确字符数组String_Re中进行匹配搜索,若匹配不成功,则执行步骤S546,反之判断该字符串印刷正确;S545. For each string String_CAD[i] of the CAD image block, perform a matching search in the correct character array String_Re, if the matching is unsuccessful, then perform step S546, otherwise judge that the string is printed correctly;
S546、在该字符串对应区域的ROI图像上提取字符后,识别获得一个校验字符数组String_Recheck,进而在校验字符数组String_Recheck中对该字符串进行匹配搜索,若匹配不成功,则判定该字符串存在漏印缺陷,反之判断该字符串印刷正确。S546. After extracting characters on the ROI image of the region corresponding to the character string, identify and obtain a verification character array String_Recheck, and then perform a matching search on the character string in the verification character array String_Recheck, and if the match is unsuccessful, determine the character If there is a missing printing defect in the string, otherwise it is judged that the string is printed correctly.
S6、响应于判断存在字符缺陷的情况,返回执行步骤S4和S5从而再次进行缺陷判断后,选择字符缺陷较少的判断结果作为最终结果。S6. In response to judging that there are character defects, return to steps S4 and S5 to perform defect judgment again, and select a judgment result with fewer character defects as the final result.
本方法在检测过程中,融入反馈机制,在第一次字符缺陷检测后,如果检测不合格,则再次进行字符缺陷检测,通过两次缺陷检测后,将错误较少的结果作为最终结果,提高了检测的稳定性,降低了错误误报率,避免了单一的检测过程带来的匹配错误,增强了检测的准确度。而且针对不同的字符分类,采用不同的检测方法进行判断,对于容易发生错误误报的字符段,融入反馈机制,在第一次字符区域划分后,对截取的CAD图像块与ROI图像进行检测判断,如果判断不合格,把错误结果反馈回上一步,改变方法,进行第二次字符区域划分,然后重新进行检测判断,提高了检测的准确度。In the detection process of this method, a feedback mechanism is integrated. After the first character defect detection, if the detection fails, the character defect detection is performed again. After two defect detections, the result with fewer errors is taken as the final result to improve The stability of the detection is improved, the false alarm rate is reduced, the matching error caused by a single detection process is avoided, and the detection accuracy is enhanced. Moreover, for different character classifications, different detection methods are used for judgment. For character segments that are prone to errors and false positives, a feedback mechanism is incorporated. After the first character area division, the intercepted CAD image block and ROI image are detected and judged. , if the judgment is unqualified, feed back the wrong result to the previous step, change the method, perform the second character area division, and then perform the detection and judgment again, which improves the detection accuracy.
优选的,还包括以下步骤:Preferably, the following steps are also included:
S7、按照采集顺序依次将所采集图像的ROI图像进行拼接,获得待检测轮胎胎膜的平直型的拼接图像;S7, sequentially splicing the ROI images of the collected images according to the collection sequence to obtain a straight spliced image of the tire membrane to be detected;
S8、对平直型的拼接图像进行逆极坐标变换,获得圆弧形拼接图像;S8. Performing an inverse polar coordinate transformation on the flat spliced image to obtain an arc-shaped spliced image;
S9、对判断有缺陷的字符,在圆弧形拼接图像的对应位置上突出显示,例如,针对存在漏印缺陷的字符,在圆弧形拼接图像的对应位置上用蓝色圆圈标记,针对存在印刷缺陷的字符,在圆弧形拼接图像的对应位置上用红色圆圈标记。S9. For the characters that are judged to be defective, highlight them on the corresponding positions of the arc-shaped mosaic image. Characters with printing defects are marked with red circles on the corresponding positions of the arc-shaped mosaic image.
本方法可以自动检测出待检测轮胎胎膜的字符缺陷,检测稳定性高、检测成本低且适用范围广,可以快速有效地对轮胎胎膜字符缺陷进行检测。The method can automatically detect the character defect of the tire membrane to be detected, has high detection stability, low detection cost and wide application range, and can quickly and effectively detect the character defect of the tire membrane.
以上是对本发明的较佳实施进行了具体说明,但本发明创造并不限于所述实施例,熟悉本领域的技术人员在不违背本发明精神的前提下还可做出种种的等同变形或替换,这些等同的变型或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the described embodiments, those skilled in the art can also make various equivalent deformations or replacements without violating the spirit of the present invention , these equivalent modifications or replacements are all included within the scope defined by the claims of the present application.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610107512.7A CN105675626B (en) | 2016-02-26 | 2016-02-26 | A kind of character defect inspection method of tire-mold |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610107512.7A CN105675626B (en) | 2016-02-26 | 2016-02-26 | A kind of character defect inspection method of tire-mold |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105675626A CN105675626A (en) | 2016-06-15 |
CN105675626B true CN105675626B (en) | 2018-08-07 |
Family
ID=56305136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610107512.7A Active CN105675626B (en) | 2016-02-26 | 2016-02-26 | A kind of character defect inspection method of tire-mold |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105675626B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106355572B (en) * | 2016-08-19 | 2019-05-21 | 广东工业大学 | The automatic positioning method of tire-mold image |
CN106897990B (en) * | 2016-08-31 | 2019-10-25 | 广东工业大学 | Character defect detection method of tire mold |
JP6804292B2 (en) * | 2016-12-28 | 2020-12-23 | オムロンヘルスケア株式会社 | Terminal equipment |
CN107328793B (en) * | 2017-06-30 | 2019-12-03 | 航天新长征大道科技有限公司 | A kind of jewelry surface word print flaw detection method and device based on machine vision |
CN107948464B (en) * | 2017-09-15 | 2019-07-23 | 兰州交通大学 | A kind of geometric correction method and system of the laterally offset of printed matter detection image |
TWI671686B (en) * | 2018-01-24 | 2019-09-11 | 緯創資通股份有限公司 | Image data retrieving method and image data retrieving device |
CN108711148B (en) * | 2018-05-11 | 2022-05-27 | 沈阳理工大学 | An intelligent detection method for tire defects based on deep learning |
CN109142383B (en) * | 2018-08-10 | 2021-07-09 | 惠州太初科技有限公司 | Character defect detection method based on morphology |
CN109685070B (en) * | 2019-01-11 | 2023-01-24 | 上海大学(浙江·嘉兴)新兴产业研究院 | Image preprocessing method |
CN109712162B (en) * | 2019-01-18 | 2023-03-21 | 珠海博明视觉科技有限公司 | Cable character defect detection method and device based on projection histogram difference |
CN111060527B (en) | 2019-12-30 | 2021-10-29 | 歌尔股份有限公司 | Character defect detection method and device |
CN112966746A (en) * | 2020-11-20 | 2021-06-15 | 扬州大学 | Stable variable gray template generation method suitable for tire defect detection |
CN114120310B (en) * | 2022-01-27 | 2022-06-21 | 廊坊易砚领创科技有限公司 | Detection method of tire mold side plate |
CN114693603A (en) * | 2022-03-03 | 2022-07-01 | 杭州安脉盛智能技术有限公司 | Lithium battery Mylar film defect detection method |
CN115497099B (en) * | 2022-09-23 | 2023-04-18 | 神州数码系统集成服务有限公司 | Single character image matching and identifying method based on circular scanning |
CN116758045B (en) * | 2023-07-05 | 2024-01-23 | 日照鲁光电子科技有限公司 | Surface defect detection method and system for semiconductor light-emitting diode |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9110032B2 (en) * | 2013-03-14 | 2015-08-18 | Integro Technologies Corp. | System and methods for inspecting tire wheel assemblies |
CN105067638A (en) * | 2015-07-22 | 2015-11-18 | 广东工业大学 | Tire fetal-membrane surface character defect detection method based on machine vision |
CN204842266U (en) * | 2015-07-30 | 2015-12-09 | 昆山德玛驰自动化设备科技有限公司 | CCD character detects machine |
CN105283750A (en) * | 2013-06-13 | 2016-01-27 | 米其林企业总公司 | Method for processing a digital image of the surface of a tire in order to detect an anomaly |
CN105352974A (en) * | 2015-11-13 | 2016-02-24 | 广东工业大学 | A device for recognizing and detecting surface words of a tyre sidewall of a tyre mold |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6317892B2 (en) * | 2013-06-06 | 2018-04-25 | 株式会社ブリヂストン | Appearance inspection apparatus and appearance inspection method |
-
2016
- 2016-02-26 CN CN201610107512.7A patent/CN105675626B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9110032B2 (en) * | 2013-03-14 | 2015-08-18 | Integro Technologies Corp. | System and methods for inspecting tire wheel assemblies |
CN105283750A (en) * | 2013-06-13 | 2016-01-27 | 米其林企业总公司 | Method for processing a digital image of the surface of a tire in order to detect an anomaly |
CN105067638A (en) * | 2015-07-22 | 2015-11-18 | 广东工业大学 | Tire fetal-membrane surface character defect detection method based on machine vision |
CN204842266U (en) * | 2015-07-30 | 2015-12-09 | 昆山德玛驰自动化设备科技有限公司 | CCD character detects machine |
CN105352974A (en) * | 2015-11-13 | 2016-02-24 | 广东工业大学 | A device for recognizing and detecting surface words of a tyre sidewall of a tyre mold |
Also Published As
Publication number | Publication date |
---|---|
CN105675626A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105675626B (en) | A kind of character defect inspection method of tire-mold | |
CN105067638B (en) | Tire fetal membrane face character defect inspection method based on machine vision | |
CN111179225B (en) | Test paper surface texture defect detection method based on gray gradient clustering | |
CN107543828B (en) | Workpiece surface defect detection method and system | |
CN110163853B (en) | Edge defect detection method | |
JP6598162B2 (en) | Visual identification method of multi-type BGA chip based on linear clustering | |
Dong et al. | A random forest-based automatic inspection system for aerospace welds in X-ray images | |
CN108918526B (en) | A kind of notch defect detection method of flexible IC package substrate circuit | |
CN113034399A (en) | Binocular vision based autonomous underwater robot recovery and guide pseudo light source removing method | |
CN113393426B (en) | Steel rolling plate surface defect detection method | |
CN106600600A (en) | Wafer defect detection method based on characteristic matching | |
CN108090494B (en) | Textile defect recognition method based on Gabor filter and support vector machine | |
CN105825169B (en) | A Pavement Crack Recognition Method Based on Road Image | |
CN105389586A (en) | Method for automatically detecting integrity of shrimp body based on computer vision | |
CN115184380B (en) | Abnormal detection method of solder joints on printed circuit boards based on machine vision | |
CN105066892A (en) | BGA element detecting and positioning method based on linear clustering analysis | |
CN118037730A (en) | Crack length detection system based on computer image processing | |
Garz et al. | A binarization-free clustering approach to segment curved text lines in historical manuscripts | |
CN108629762B (en) | An image preprocessing method and system for reducing interference features of a bone age evaluation model | |
TWI543117B (en) | Method for recognizing and locating object | |
CN103854278A (en) | Printed circuit board image registration method based on shape context of mass center of communicated region | |
Abdellah et al. | Defect detection and identification in textile fabric by SVM method | |
CN103699876A (en) | Method and device for identifying vehicle number based on linear array CCD (Charge Coupled Device) images | |
CN116664540A (en) | Surface defect detection method of rubber sealing ring based on Gaussian line detection | |
CN106770372B (en) | Detection method of white glass surface defects based on microscopic vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |