[go: up one dir, main page]

CN114519704A - Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances - Google Patents

Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances Download PDF

Info

Publication number
CN114519704A
CN114519704A CN202210129987.1A CN202210129987A CN114519704A CN 114519704 A CN114519704 A CN 114519704A CN 202210129987 A CN202210129987 A CN 202210129987A CN 114519704 A CN114519704 A CN 114519704A
Authority
CN
China
Prior art keywords
image
scratch
scanning
scratches
inspected
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.)
Pending
Application number
CN202210129987.1A
Other languages
Chinese (zh)
Inventor
史长安
徐金松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Hanze Precision Machinery Co ltd
Original Assignee
Suzhou Hanze Precision Machinery Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Hanze Precision Machinery Co ltd filed Critical Suzhou Hanze Precision Machinery Co ltd
Priority to CN202210129987.1A priority Critical patent/CN114519704A/en
Publication of CN114519704A publication Critical patent/CN114519704A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B08CLEANING
    • B08BCLEANING IN GENERAL; PREVENTION OF FOULING IN GENERAL
    • B08B5/00Cleaning by methods involving the use of air flow or gas flow
    • B08B5/02Cleaning by the force of jets, e.g. blowing-out cavities
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明公开了一种通讯电器金属零部件表面划痕缺陷检测方法,包括以下具体步骤:S1:扫描样本构建:找一待检测部件的样本,并对其进行扫描,以建立该规格的待检测部件包括检测位置、待检测部件特征的各项检测需求;S2:检测部件摆放:将待检测部件按要求稳定摆放在检测工位上待检测;S3:表面清扫:使用风机对待检测部件外表进行非接触性清扫,保证其表面在检测时不会存在浮灰对检测结果产生影响;S4:扫描图像处理:对待检测部件进行扫描成图,并对扫描出的图像进行处理,便于更好的提取图像信息;S5:划痕缺陷分析;S6:结果显示。本发明公开的通讯电器金属零部件表面划痕缺陷检测方法具有进一步保证检测结果准确性的技术效果。The invention discloses a method for detecting scratches and defects on the surface of metal parts of communication electrical appliances, comprising the following specific steps: S1: Scanning sample construction: finding a sample of a component to be detected, and scanning it to establish a sample of the specification to be detected The parts include the inspection position and the inspection requirements of the characteristics of the parts to be inspected; S2: Placement of inspection parts: Place the parts to be inspected on the inspection station stably as required to be inspected; S3: Surface cleaning: Use a fan to treat the appearance of the inspected parts Perform non-contact cleaning to ensure that there will be no floating dust on the surface that will affect the detection results during detection; S4: Scanning image processing: Scan the parts to be detected into a map, and process the scanned images to facilitate better Extract image information; S5: scratch defect analysis; S6: result display. The method for detecting surface scratches and defects of metal parts of communication electrical appliances disclosed by the invention has the technical effect of further ensuring the accuracy of the detection results.

Description

一种通讯电器金属零部件表面划痕缺陷检测方法A method for detecting scratches and defects on the surface of metal parts of communication electrical appliances

技术领域technical field

本发明涉及金属配件生产检测技术领域,尤其涉及一种通讯电器金属零部件表面划痕缺陷检测方法。The invention relates to the technical field of production and detection of metal fittings, in particular to a method for detecting scratches and defects on the surface of metal parts of communication electrical appliances.

背景技术Background technique

通讯电器在生产制造过程中,涉及大量金属零部件的装配与处理,这些零部件经过周转、安装,导致在制造装配中,零部件表面可能会产生划痕缺陷,这些缺陷需及时检测并处理,避免影响通讯电器的性能。During the manufacturing process of communication appliances, a large number of metal parts are involved in the assembly and processing. These parts have been turned over and installed, resulting in scratches on the surface of the parts during the manufacturing and assembly process. These defects need to be detected and dealt with in time. Avoid affecting the performance of communication appliances.

机器视觉在国民经济、科学研究及国防建设等领域都有着广泛的应用。它的最大优点是无接触测量,与其他方法相比在安全性、可靠性、检测精度、检测速度、检测成本上都有着很大的优势。现今在使用机器视觉对金属零配件进行检测时,通常会把检测范围控制在一个大致区域,但此区域内可能会存在部分其他因素干扰,从而导致检测结果不准确,为了改善这一问题,我们提出了以下方案。Machine vision has a wide range of applications in the fields of national economy, scientific research and national defense construction. Its biggest advantage is non-contact measurement. Compared with other methods, it has great advantages in safety, reliability, detection accuracy, detection speed, and detection cost. Nowadays, when using machine vision to detect metal parts, the detection range is usually controlled within a general area, but there may be some interference from other factors in this area, resulting in inaccurate detection results. In order to improve this problem, we The following schemes are proposed.

发明内容SUMMARY OF THE INVENTION

本发明公开一种通讯电器金属零部件表面划痕缺陷检测方法,旨在解决受到其他因素干扰导致检测结果不准确的技术问题。The invention discloses a method for detecting scratches and defects on the surface of metal parts of communication electrical appliances, aiming at solving the technical problem of inaccurate detection results caused by interference from other factors.

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

一种通讯电器金属零部件表面划痕缺陷检测方法,包括以下具体步骤:A method for detecting scratches and defects on the surface of metal parts of communication electrical appliances, comprising the following specific steps:

S1:扫描样本构建:找一待检测部件的样本,并对其进行扫描,以建立该规格的待检测部件包括检测位置、待检测部件特征的各项检测需求;S1: Scanning sample construction: find a sample of the part to be inspected, and scan it to establish the inspection requirements of the part to be inspected including the inspection position and the characteristics of the part to be inspected;

S2:检测部件摆放:将待检测部件按要求稳定摆放在检测工位上待检测;S2: Placement of inspection parts: place the parts to be inspected on the inspection station stably as required to be inspected;

S3:表面清扫:使用风机对待检测部件外表进行非接触性清扫,保证其表面在检测时不会存在浮灰对检测结果产生影响;S3: Surface cleaning: use a fan to clean the surface of the component to be tested non-contact, to ensure that there is no floating ash on the surface that will affect the test results during testing;

S4:扫描图像处理:对待检测部件进行扫描成图,并对扫描出的图像进行处理,便于更好的提取图像信息;S4: Scanning image processing: scan the component to be detected into a map, and process the scanned image to facilitate better extraction of image information;

S5:划痕缺陷分析:根据扫描图像处理后的图像识别并分析表面是否存在划痕缺陷,若存在,则进一步分析扫描出的划痕缺陷;S5: Scratch defect analysis: Identify and analyze whether there are scratch defects on the surface according to the processed image of the scanned image, and if so, further analyze the scanned scratch defects;

S6:结果显示:在显示屏上显示出扫描出的该部件表面的划痕缺陷以及划痕缺陷的各方面数据,并根据数据给出相应的处理方案。S6: Result display: display the scratch defects on the surface of the part scanned and various aspects of scratch defects data on the display screen, and give a corresponding treatment plan according to the data.

通过设置有表面清扫利用非接触性清扫将待检测部件上可能存在的浮尘吹去,保证部件表面的清洁度,再通过扫描样本构建构建样本的轮廓特征并形成建模,并在扫描图像处理中将待检测部件与建模匹配,从而精准把控检测面的周边轮廓,在检测时仅针对检测面进行检测,由此可避免在检测过程中,受到传动带或是固定面板等因素影响到检测结果,保证了检测结果的准确性。By setting the surface cleaning, non-contact cleaning is used to blow off the dust that may exist on the parts to be inspected to ensure the cleanliness of the surface of the parts, and then the contour features of the samples are constructed and modeled by scanning the samples, and in the scanning image processing Match the parts to be inspected with the modeling, so as to accurately control the peripheral contour of the inspection surface, and only detect the inspection surface during inspection, thus avoiding the influence of the transmission belt or the fixed panel and other factors on the inspection results during the inspection process. , to ensure the accuracy of the detection results.

在一个优选的方案中,所述S1中,扫描样本构建具体包括以下步骤:In a preferred solution, in the S1, the construction of the scanning sample specifically includes the following steps:

S11:样本扫描:找一待检测部件的样本,对其多个方位进行三维扫描,以获取其各个方位的图像进行分析;S11: Sample scanning: find a sample of the component to be inspected, and perform 3D scanning in multiple orientations to obtain images of various orientations for analysis;

S12:图像特征提取:根据样本扫描中扫描出的图像利用图像分割技术将图像中有意义的特征提取出来,并根据特征进行建模;S12: Image feature extraction: extract meaningful features from the image using image segmentation technology according to the image scanned in the sample scan, and model according to the features;

S13:检测面选择:对样本扫描出的三维图进行人工选择,选择出对一个或多个特定表面进行扫描分析,并保存所选择的特定表面作为后续检测部件大货时的依据;S13: Detection surface selection: manually select the three-dimensional image scanned by the sample, select one or more specific surfaces to scan and analyze, and save the selected specific surface as the basis for subsequent inspection of large parts;

S14:图像阵列分割:依据样本扫描和检测面选择所形成的特定面图像与图像特征提取中所提取的数据作为结合,按照等份将待检测表面的图像进行分割,并保存分割位置作为后续检测部件大货时的依据;S14: Image array segmentation: The specific surface image formed by sample scanning and detection surface selection is combined with the data extracted in the image feature extraction, and the image of the surface to be detected is divided into equal parts, and the segmentation position is saved for subsequent detection. Basis for bulk shipment of parts;

所述S12中,图像特征提取中有意义的特征包括图像的外部轮廓和不同的扫描表面边缘,为后续检测定位做准备;In the S12, the meaningful features in the image feature extraction include the outer contour of the image and different scanning surface edges, so as to prepare for subsequent detection and positioning;

所述S4中,扫描图像处理具体包括以下步骤:In the S4, the scanned image processing specifically includes the following steps:

S41:部件表面扫描:对待检测部件进行扫描,形成扫描图像;S41: Part surface scanning: scan the part to be inspected to form a scanned image;

S42:图像特征比对:根据图像特征提取和检测面选择的步骤将样本的建模与待检测部件做比对;S42: image feature comparison: according to the steps of image feature extraction and detection surface selection, the modeling of the sample is compared with the component to be detected;

S43:二次图像阵列分割:根据图像阵列分割中所保存的分割位置对待检测部件的表面图像进行分割,将整体表面处理分割为不同的阵列小区域处理;S43: Secondary image array segmentation: segment the surface image of the component to be detected according to the segmentation positions stored in the image array segmentation, and divide the overall surface treatment into different array small area treatments;

S44:图像增强:将经过二次图像阵列分割处理后的图像进行增强,强化图形的高频分量,提高图像的清晰度,强调图像中凸出的细节;S44: Image enhancement: the image after the secondary image array segmentation processing is enhanced, the high-frequency components of the image are strengthened, the clarity of the image is improved, and the protruding details in the image are emphasized;

所述S42中,图像特征比对中具体比对方式为依据图像特征提取中的建模与待检测部件的边缘轮廓进行重合,若存在些许差异,则在系统中校正样本建模的位置,使建模能与待检测部件重合,再依据检测面选择中选择的特定检测面进行检测面定位。In the S42, the specific comparison method in the image feature comparison is to overlap the edge contour of the component to be detected according to the modeling in the image feature extraction. If there is a little difference, the position of the sample modeling is corrected in the system, so that The modeling can be coincident with the part to be inspected, and then the inspection surface is positioned according to the specific inspection surface selected in the inspection surface selection.

通过设置有图像阵列分割、二次图像阵列分割和图像特征比对,首先对样本进行建模,再按照等份将待检测表面的图像进行分割,并保存分割位置作为后续检测的依据,再通过二次图像阵列分割对比图像阵列分割的分割位置将整体表面处理分割为不同的阵列小区域进行分析处理,可大大减小计算量,加快检测速度,同时也可获得更有效的检测效果,加强检测质量。By setting up image array segmentation, secondary image array segmentation and image feature comparison, the sample is first modeled, and then the image of the surface to be detected is divided into equal parts, and the segmentation position is saved as the basis for subsequent detection, and then through The secondary image array segmentation compares the segmentation positions of the image array segmentation. The overall surface treatment is divided into different array small areas for analysis and processing, which can greatly reduce the amount of calculation and speed up the detection speed. quality.

在一个优选的方案中,所述S6中,结果显示具体包括以下步骤:In a preferred solution, in the S6, the result display specifically includes the following steps:

S61:数据测量:划痕识别和三维深度扫描对划痕的多种数据进行测量;S61: Data measurement: scratch recognition and 3D depth scanning measure various data of scratches;

S62:构图:根据扫描图像处理和划痕缺陷分析对扫描表面进行构图,图中仅以线条构成扫描表面轮廓与划痕形状与位置;S62: Composition: compose the scanned surface according to the scanning image processing and scratch defect analysis, and only use lines to form the outline of the scanned surface and the shape and position of the scratches in the figure;

S63:标注:通过数据测量步骤将测量出的多种数据详细标注在构图中;S63: Annotation: through the data measurement step, the measured various data are marked in the composition in detail;

S64:报警:以响声进行报警提醒,提示工作人员此部件表面存在划痕缺陷的问题;S64: Alarm: alarm with a sound to remind the staff that there is a scratch defect on the surface of this part;

S65:处理方案分析:根据测量出的划痕数据分析出不同的处理方案,包括打磨、填充或回炉重造;S65: Analysis of treatment plans: According to the measured scratch data, different treatment plans are analyzed, including grinding, filling or refurbishment;

所述S61中,数据测量中所测量的多种数据包括划痕的长度、深度、数量和所处位置。In the S61, the various data measured in the data measurement include the length, depth, quantity and location of the scratches.

通过设置有数据测量、构图、标注和处理方案分析,通过构图以线条构成扫描表面轮廓与划痕形状与位置,再通过在构图上标注数据测量出的各类数据,使工作人员能更直观的观看到划痕的多项数据,并辅助处理方案分析给出的处理方案,能使工作人员更为及时的对有问题的部件进行针对不同处理方案的分类存放,利于对有问题的部件进行统一处理,加强工作效率。By setting up data measurement, composition, labeling and processing plan analysis, the outline of the scanned surface and the shape and position of the scratches are formed by lines through the composition, and then various data measured by the data are marked on the composition, so that the staff can be more intuitive. Viewing a number of scratch data, and assisting the processing plan analysis of the given treatment plan, can enable the staff to classify and store the problematic parts according to different treatment plans in a more timely manner, which is conducive to the unification of the problematic parts. processing to enhance work efficiency.

由上可知,一种通讯电器金属零部件表面划痕缺陷检测方法,包括以下具体步骤:It can be seen from the above that a method for detecting scratches and defects on the surface of metal parts of communication electrical appliances includes the following specific steps:

S1:扫描样本构建:找一待检测部件的样本,并对其进行扫描,以建立该规格的待检测部件包括检测位置、待检测部件特征的各项检测需求;S1: Scanning sample construction: find a sample of the part to be inspected, and scan it to establish the inspection requirements of the part to be inspected including the inspection position and the characteristics of the part to be inspected;

S2:检测部件摆放:将待检测部件按要求稳定摆放在检测工位上待检测;S2: Placement of inspection parts: place the parts to be inspected on the inspection station stably as required to be inspected;

S3:表面清扫:使用风机对待检测部件外表进行非接触性清扫,保证其表面在检测时不会存在浮灰对检测结果产生影响;S3: Surface cleaning: use a fan to clean the surface of the component to be tested non-contact, to ensure that there is no floating ash on the surface that will affect the test results during testing;

S4:扫描图像处理:对待检测部件进行扫描成图,并对扫描出的图像进行处理,便于更好的提取图像信息;S4: Scanning image processing: scan the component to be detected into a map, and process the scanned image to facilitate better extraction of image information;

S5:划痕缺陷分析:根据扫描图像处理后的图像识别并分析表面是否存在划痕缺陷,若存在,则进一步分析扫描出的划痕缺陷;S5: Scratch defect analysis: Identify and analyze whether there are scratch defects on the surface according to the processed image of the scanned image, and if so, further analyze the scanned scratch defects;

S6:结果显示:在显示屏上显示出扫描出的该部件表面的划痕缺陷以及划痕缺陷的各方面数据,并根据数据给出相应的处理方案。本发明提供的一种通讯电器金属零部件表面划痕缺陷检测方法具有进一步保证检测结果准确性的技术效果。S6: Result display: display the scratch defects on the surface of the part scanned and various aspects of scratch defects data on the display screen, and give a corresponding treatment plan according to the data. The method for detecting scratches on the surface of metal parts of communication electrical appliances provided by the present invention has the technical effect of further ensuring the accuracy of the detection results.

附图说明Description of drawings

图1为本发明提出的一种通讯电器金属零部件表面划痕缺陷检测方法的整体流程图。FIG. 1 is an overall flow chart of a method for detecting scratches and defects on the surface of a metal part of a communication electrical appliance proposed by the present invention.

图2为本发明提出的一种通讯电器金属零部件表面划痕缺陷检测方法的扫描样本构建流程图。FIG. 2 is a flow chart of scanning sample construction of a method for detecting scratch defects on the surface of metal parts of communication electrical appliances proposed by the present invention.

图3为本发明提出的一种通讯电器金属零部件表面划痕缺陷检测方法的扫描图像处理流程图。FIG. 3 is a flow chart of scanning image processing of a method for detecting scratch defects on the surface of a metal part of a communication electrical appliance proposed by the present invention.

图4为本发明提出的一种通讯电器金属零部件表面划痕缺陷检测方法的划痕缺陷分析流程图。FIG. 4 is a flow chart of scratch defect analysis of a method for detecting scratch defects on the surface of metal parts of communication electrical appliances proposed by the present invention.

图5为本发明提出的一种通讯电器金属零部件表面划痕缺陷检测方法的结果显示流程图。FIG. 5 is a flow chart showing the results of a method for detecting scratches and defects on the surface of a metal part of a communication electrical appliance proposed by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments.

本发明公开的一种通讯电器金属零部件表面划痕缺陷检测方法主要应用于通讯电器配件检测的场景。The method for detecting surface scratches and defects of metal parts of communication electrical appliances disclosed by the invention is mainly applied to the scene of detecting the parts of communication electrical appliances.

参照图1,一种通讯电器金属零部件表面划痕缺陷检测方法,包括以下具体步骤:Referring to Fig. 1, a method for detecting scratches and defects on the surface of metal parts of communication electrical appliances includes the following specific steps:

S1:扫描样本构建:找一待检测部件的样本,并对其进行扫描,以建立该规格的待检测部件包括检测位置、待检测部件特征的各项检测需求;S1: Scanning sample construction: find a sample of the part to be inspected, and scan it to establish the inspection requirements of the part to be inspected including the inspection position and the characteristics of the part to be inspected;

S2:检测部件摆放:将待检测部件按要求稳定摆放在检测工位上待检测;S2: Placement of inspection parts: place the parts to be inspected on the inspection station stably as required to be inspected;

S3:表面清扫:使用风机对待检测部件外表进行非接触性清扫,保证其表面在检测时不会存在浮灰对检测结果产生影响;S3: Surface cleaning: use a fan to clean the surface of the component to be tested non-contact, to ensure that there is no floating ash on the surface that will affect the test results during testing;

S4:扫描图像处理:对待检测部件进行扫描成图,并对扫描出的图像进行处理,便于更好的提取图像信息;S4: Scanning image processing: scan the component to be detected into a map, and process the scanned image to facilitate better extraction of image information;

S5:划痕缺陷分析:根据扫描图像处理后的图像识别并分析表面是否存在划痕缺陷,若存在,则进一步分析扫描出的划痕缺陷;S5: Scratch defect analysis: Identify and analyze whether there are scratch defects on the surface according to the processed image of the scanned image, and if so, further analyze the scanned scratch defects;

S6:结果显示:在显示屏上显示出扫描出的该部件表面的划痕缺陷以及划痕缺陷的各方面数据,并根据数据给出相应的处理方案。S6: Result display: display the scratch defects on the surface of the part scanned and various aspects of scratch defects data on the display screen, and give a corresponding treatment plan according to the data.

参照图2和图3,在一个优选的实施方式中,S1中,扫描样本构建具体包括以下步骤:2 and 3, in a preferred embodiment, in S1, the scanning sample construction specifically includes the following steps:

S11:样本扫描:找一待检测部件的样本,对其多个方位进行三维扫描,以获取其各个方位的图像进行分析;S11: Sample scanning: find a sample of the component to be inspected, and perform 3D scanning in multiple orientations to obtain images of various orientations for analysis;

S12:图像特征提取:根据样本扫描中扫描出的图像利用图像分割技术将图像中有意义的特征提取出来,并根据特征进行建模;S12: Image feature extraction: extract meaningful features from the image using image segmentation technology according to the image scanned in the sample scan, and model according to the features;

S13:检测面选择:对样本扫描出的三维图进行人工选择,选择出对一个或多个特定表面进行扫描分析,并保存所选择的特定表面作为后续检测部件大货时的依据;S13: Detection surface selection: manually select the three-dimensional image scanned by the sample, select one or more specific surfaces to scan and analyze, and save the selected specific surface as the basis for subsequent inspection of large parts;

S14:图像阵列分割:依据样本扫描和检测面选择所形成的特定面图像与图像特征提取中所提取的数据作为结合,按照等份将待检测表面的图像进行分割,并保存分割位置作为后续检测部件大货时的依据;S14: Image array segmentation: The specific surface image formed by sample scanning and detection surface selection is combined with the data extracted in the image feature extraction, and the image of the surface to be detected is divided into equal parts, and the segmentation position is saved for subsequent detection. Basis for bulk shipment of parts;

S12中,图像特征提取中有意义的特征包括图像的外部轮廓和不同的扫描表面边缘,为后续检测定位做准备;In S12, the meaningful features in the image feature extraction include the outer contour of the image and the edges of different scanning surfaces to prepare for subsequent detection and positioning;

S4中,扫描图像处理具体包括以下步骤:In S4, the scanned image processing specifically includes the following steps:

S41:部件表面扫描:对待检测部件进行扫描,形成扫描图像;S41: Part surface scanning: scan the part to be inspected to form a scanned image;

S42:图像特征比对:根据图像特征提取和检测面选择的步骤将样本的建模与待检测部件做比对;S42: image feature comparison: according to the steps of image feature extraction and detection surface selection, the modeling of the sample is compared with the component to be detected;

S43:二次图像阵列分割:根据图像阵列分割中所保存的分割位置对待检测部件的表面图像进行分割,将整体表面处理分割为不同的阵列小区域处理;S43: Secondary image array segmentation: segment the surface image of the component to be detected according to the segmentation positions stored in the image array segmentation, and divide the overall surface treatment into different array small area treatments;

S44:图像增强:将经过二次图像阵列分割处理后的图像进行增强,强化图形的高频分量,提高图像的清晰度,强调图像中凸出的细节;S44: Image enhancement: the image after the secondary image array segmentation processing is enhanced, the high-frequency components of the image are strengthened, the clarity of the image is improved, and the protruding details in the image are emphasized;

S42中,图像特征比对中具体比对方式为依据图像特征提取中的建模与待检测部件的边缘轮廓进行重合,若存在些许差异,则在系统中校正样本建模的位置,使建模能与待检测部件重合,再依据检测面选择中选择的特定检测面进行检测面定位。In S42, the specific comparison method in the image feature comparison is to overlap the edge contour of the component to be detected according to the modeling in the image feature extraction. If there is a slight difference, correct the position of the sample modeling in the system to make the modeling It can be overlapped with the part to be inspected, and then the inspection surface is positioned according to the specific inspection surface selected in the inspection surface selection.

参照图4,在一个优选的实施方式中,S5中,划痕缺陷分析具体包括以下步骤:4, in a preferred embodiment, in S5, the scratch defect analysis specifically includes the following steps:

S51:划痕识别:对二次图像阵列分割和图像增强后的图像进行识别,分辨出表面是否存在划痕缺陷;S51: Scratch identification: identify the image after the secondary image array segmentation and image enhancement, and distinguish whether there is scratch defect on the surface;

S52:放行:若划痕识别中并未分辨出划痕缺陷则表示该部件表面并未存在划痕缺陷,并立即将其放行收集;S52: Release: If no scratch defect is identified in the scratch identification, it means that there is no scratch defect on the surface of the part, and it will be released and collected immediately;

S53:阵列组合分析:若在部件表面识别出了划痕,且划痕跨于两个或多个分割后的阵列小区域内,则自动将不同阵列小区域内的划痕进行拼凑,使其组成一个完整的划痕缺陷;S53: Array combination analysis: If scratches are identified on the surface of the part, and the scratches span two or more divided array small areas, the scratches in different array small areas are automatically pieced together to form one Complete scratch defects;

S54:划痕定位:根据所识别出的划痕定位在部件扫描表面;S54: Scratch positioning: according to the identified scratches, it is positioned on the scanning surface of the part;

S55:三维深度扫描;直接对划痕定位中定位的划痕进行激光扫描,探测划痕的具体深度。S55: 3D depth scanning; directly perform laser scanning on the scratches located in the scratch positioning to detect the specific depth of the scratches.

参照图5,在一个优选的实施方式中,S6中,结果显示具体包括以下步骤:5, in a preferred embodiment, in S6, the result display specifically includes the following steps:

S61:数据测量:划痕识别和三维深度扫描对划痕的多种数据进行测量;S61: Data measurement: scratch recognition and 3D depth scanning measure various data of scratches;

S62:构图:根据扫描图像处理和划痕缺陷分析对扫描表面进行构图,图中仅以线条构成扫描表面轮廓与划痕形状与位置;S62: Composition: compose the scanned surface according to the scanning image processing and scratch defect analysis, and only use lines to form the outline of the scanned surface and the shape and position of the scratches in the figure;

S63:标注:通过数据测量步骤将测量出的多种数据详细标注在构图中;S63: Annotation: through the data measurement step, the measured various data are marked in the composition in detail;

S64:报警:以响声进行报警提醒,提示工作人员此部件表面存在划痕缺陷的问题;S64: Alarm: alarm with a sound to remind the staff that there is a scratch defect on the surface of this part;

S65:处理方案分析:根据测量出的划痕数据分析出不同的处理方案,包括打磨、填充或回炉重造;S65: Analysis of treatment plans: According to the measured scratch data, different treatment plans are analyzed, including grinding, filling or refurbishment;

S61中,数据测量中所测量的多种数据包括划痕的长度、深度、数量和所处位置。In S61, the various data measured in the data measurement include the length, depth, number and location of the scratches.

工作原理:使用时,通过表面清扫步骤利用非接触性清扫将待检测部件上可能存在的浮尘吹去,保证部件表面的清洁度,再通过扫描样本构建构建样本的轮廓特征并形成建模,并在扫描图像处理中将待检测部件与建模匹配的边缘轮廓进行重合,若存在些许差异,则在系统中校正样本建模的位置,使建模能与待检测部件重合,从而精准把控检测面的周边轮廓,再依据检测面选择中选择的特定检测面进行检测面定位,在检测时仅针对检测面进行检测,由此可避免在检测过程中受到其他因素干扰导致检测结果不准确,保证了检测结果的准确性。Working principle: During use, the surface cleaning step uses non-contact cleaning to blow off the dust that may exist on the part to be tested to ensure the cleanliness of the surface of the part, and then scan the sample to construct the contour feature of the sample and form a modeling, and In the scanning image processing, the parts to be inspected and the edge contours matched by the modeling are overlapped. If there is a slight difference, the position of the sample modeling is corrected in the system, so that the modeling can overlap the parts to be inspected, so as to accurately control the inspection. The peripheral contour of the surface is detected, and then the detection surface is positioned according to the specific detection surface selected in the detection surface selection. During the detection, only the detection surface is detected, which can avoid the interference of other factors during the detection process and cause inaccurate detection results. the accuracy of the detection results.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited to this. The equivalent replacement or change of the inventive concept thereof shall be included within the protection scope of the present invention.

Claims (8)

1.一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,包括以下具体步骤:1. A method for detecting scratches and defects on the surface of metal parts of communication electrical appliances, characterized in that, comprising the following concrete steps: S1:扫描样本构建:找一待检测部件的样本,并对其进行扫描,以建立该规格的待检测部件包括检测位置、待检测部件特征的各项检测需求;S1: Scanning sample construction: find a sample of the part to be inspected, and scan it to establish the inspection requirements of the part to be inspected including the inspection position and the characteristics of the part to be inspected; S2:检测部件摆放:将待检测部件按要求稳定摆放在检测工位上待检测;S2: Placement of inspection parts: place the parts to be inspected on the inspection station stably as required to be inspected; S3:表面清扫:使用风机对待检测部件外表进行非接触性清扫,保证其表面在检测时不会存在浮灰对检测结果产生影响;S3: Surface cleaning: use a fan to clean the surface of the component to be tested non-contact, to ensure that there is no floating ash on the surface that will affect the test results during testing; S4:扫描图像处理:对待检测部件进行扫描成图,并对扫描出的图像进行处理,便于更好的提取图像信息;S4: Scanning image processing: scan the component to be detected into a map, and process the scanned image to facilitate better extraction of image information; S5:划痕缺陷分析:根据扫描图像处理后的图像识别并分析表面是否存在划痕缺陷,若存在,则进一步分析扫描出的划痕缺陷;S5: Scratch defect analysis: Identify and analyze whether there are scratch defects on the surface according to the processed image of the scanned image, and if so, further analyze the scanned scratch defects; S6:结果显示:在显示屏上显示出扫描出的该部件表面的划痕缺陷以及划痕缺陷的各方面数据,并根据数据给出相应的处理方案。S6: Result display: display the scratch defects on the surface of the part scanned and various aspects of scratch defects data on the display screen, and give a corresponding treatment plan according to the data. 2.根据权利要求1所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S1中,扫描样本构建具体包括以下步骤:2. The method for detecting scratches on the surface of metal parts of a communication electrical appliance according to claim 1, wherein in the S1, the construction of the scanned sample specifically comprises the following steps: S11:样本扫描:找一待检测部件的样本,对其多个方位进行三维扫描,以获取其各个方位的图像进行分析;S11: Sample scanning: find a sample of the component to be inspected, and perform 3D scanning in multiple orientations to obtain images of various orientations for analysis; S12:图像特征提取:根据样本扫描中扫描出的图像利用图像分割技术将图像中有意义的特征提取出来,并根据特征进行建模;S12: Image feature extraction: extract meaningful features from the image using image segmentation technology according to the image scanned in the sample scan, and model according to the features; S13:检测面选择:对样本扫描出的三维图进行人工选择,选择出对一个或多个特定表面进行扫描分析,并保存所选择的特定表面作为后续检测部件大货时的依据;S13: Detection surface selection: manually select the three-dimensional image scanned by the sample, select one or more specific surfaces to scan and analyze, and save the selected specific surface as the basis for subsequent inspection of large parts; S14:图像阵列分割:依据样本扫描和检测面选择所形成的特定面图像与图像特征提取中所提取的数据作为结合,按照等份将待检测表面的图像进行分割,并保存分割位置作为后续检测部件大货时的依据。S14: Image array segmentation: The specific surface image formed by the sample scanning and detection surface selection is combined with the data extracted in the image feature extraction, and the image of the surface to be detected is divided into equal parts, and the segmentation position is saved for subsequent detection. Basis when parts are in bulk. 3.根据权利要求2所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S12中,图像特征提取中有意义的特征包括图像的外部轮廓和不同的扫描表面边缘,为后续检测定位做准备。3. The method for detecting scratches on the surface of metal parts of a communication electrical appliance according to claim 2, wherein in the S12, meaningful features in the image feature extraction include the outer contour of the image and different scanning surfaces edge, to prepare for subsequent detection and positioning. 4.根据权利要求3所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S4中,扫描图像处理具体包括以下步骤:4. The method for detecting scratches on the surface of metal parts of a communication electrical appliance according to claim 3, wherein in the S4, the scanning image processing specifically comprises the following steps: S41:部件表面扫描:对待检测部件进行扫描,形成扫描图像;S41: Part surface scanning: scan the part to be inspected to form a scanned image; S42:图像特征比对:根据图像特征提取和检测面选择的步骤将样本的建模与待检测部件做比对;S42: image feature comparison: according to the steps of image feature extraction and detection surface selection, the modeling of the sample is compared with the component to be detected; S43:二次图像阵列分割:根据图像阵列分割中所保存的分割位置对待检测部件的表面图像进行分割,将整体表面处理分割为不同的阵列小区域处理;S43: Secondary image array segmentation: segment the surface image of the component to be detected according to the segmentation positions stored in the image array segmentation, and divide the overall surface treatment into different array small area treatments; S44:图像增强:将经过二次图像阵列分割处理后的图像进行增强,强化图形的高频分量,提高图像的清晰度,强调图像中凸出的细节。S44: Image enhancement: the image after the secondary image array segmentation processing is enhanced to enhance the high-frequency components of the image, improve the clarity of the image, and emphasize the protruding details in the image. 5.根据权利要求4所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S42中,图像特征比对中具体比对方式为依据图像特征提取中的建模与待检测部件的边缘轮廓进行重合,若存在些许差异,则在系统中校正样本建模的位置,使建模能与待检测部件重合,再依据检测面选择中选择的特定检测面进行检测面定位。5. The method for detecting scratches on the surface of metal parts of communication electrical appliances according to claim 4, wherein in the S42, the specific comparison method in the image feature comparison is based on the modeling in the image feature extraction Coincidence with the edge contour of the part to be inspected, if there is a slight difference, correct the position of the sample modeling in the system, so that the modeling can coincide with the part to be inspected, and then inspect the surface according to the specific inspection surface selected in the inspection surface selection. position. 6.根据权利要求5所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S5中,划痕缺陷分析具体包括以下步骤:6. The method for detecting scratch defects on the surface of metal parts of a communication electrical appliance according to claim 5, wherein in the S5, the scratch defect analysis specifically comprises the following steps: S51:划痕识别:对二次图像阵列分割和图像增强后的图像进行识别,分辨出表面是否存在划痕缺陷;S51: Scratch identification: identify the image after the secondary image array segmentation and image enhancement, and distinguish whether there is scratch defect on the surface; S52:放行:若划痕识别中并未分辨出划痕缺陷则表示该部件表面并未存在划痕缺陷,并立即将其放行收集;S52: Release: If no scratch defect is identified in the scratch identification, it means that there is no scratch defect on the surface of the part, and it will be released and collected immediately; S53:阵列组合分析:若在部件表面识别出了划痕,且划痕跨于两个或多个分割后的阵列小区域内,则自动将不同阵列小区域内的划痕进行拼凑,使其组成一个完整的划痕缺陷;S53: Array combination analysis: If scratches are identified on the surface of the part, and the scratches span two or more divided array small areas, the scratches in different array small areas are automatically pieced together to form one Complete scratch defects; S54:划痕定位:根据所识别出的划痕定位在部件扫描表面;S54: Scratch positioning: according to the identified scratches, it is positioned on the scanning surface of the part; S55:三维深度扫描;直接对划痕定位中定位的划痕进行激光扫描,探测划痕的具体深度。S55: 3D depth scanning; directly perform laser scanning on the scratches located in the scratch positioning to detect the specific depth of the scratches. 7.根据权利要求6所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S6中,结果显示具体包括以下步骤:7. The method for detecting scratches on the surface of metal parts of a communication electrical appliance according to claim 6, wherein in the S6, the result display specifically comprises the following steps: S61:数据测量:划痕识别和三维深度扫描对划痕的多种数据进行测量;S61: Data measurement: scratch recognition and 3D depth scanning measure various data of scratches; S62:构图:根据扫描图像处理和划痕缺陷分析对扫描表面进行构图,图中仅以线条构成扫描表面轮廓与划痕形状与位置;S62: Composition: compose the scanned surface according to the scanning image processing and scratch defect analysis, and only use lines to form the outline of the scanned surface and the shape and position of the scratches in the figure; S63:标注:通过数据测量步骤将测量出的多种数据详细标注在构图中;S63: Annotation: through the data measurement step, the measured various data are marked in the composition in detail; S64:报警:以响声进行报警提醒,提示工作人员此部件表面存在划痕缺陷的问题;S64: Alarm: alarm with a sound to remind the staff that there is a scratch defect on the surface of this part; S65:处理方案分析:根据测量出的划痕数据分析出不同的处理方案,包括打磨、填充或回炉重造。S65: Analysis of treatment plan: According to the measured scratch data, different treatment plans are analyzed, including grinding, filling or reprocessing. 8.根据权利要求7所述的一种通讯电器金属零部件表面划痕缺陷检测方法,其特征在于,所述S61中,数据测量中所测量的多种数据包括划痕的长度、深度、数量和所处位置。8 . The method for detecting scratch defects on the surface of metal parts of a communication electrical appliance according to claim 7 , wherein in the S61 , the various data measured in the data measurement include the length, depth, number of scratches. 9 . and location.
CN202210129987.1A 2022-02-11 2022-02-11 Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances Pending CN114519704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210129987.1A CN114519704A (en) 2022-02-11 2022-02-11 Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210129987.1A CN114519704A (en) 2022-02-11 2022-02-11 Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances

Publications (1)

Publication Number Publication Date
CN114519704A true CN114519704A (en) 2022-05-20

Family

ID=81596305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210129987.1A Pending CN114519704A (en) 2022-02-11 2022-02-11 Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances

Country Status (1)

Country Link
CN (1) CN114519704A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116952958A (en) * 2023-09-18 2023-10-27 杭州百子尖科技股份有限公司 Defect detection method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2575803C1 (en) * 2014-10-27 2016-02-20 Федеральное государственное бюджетное учреждение "Всероссийский научно-исследовательский институт по проблемам гражданской обороны и чрезвычайных ситуаций МЧС России" (федеральный центр науки и высоких технологий) Method of laser 3d scanning for prompt determination of level of deformity of panel structure
US9633433B1 (en) * 2013-08-08 2017-04-25 Intellimed Systems, Llc Scanning system and display for aligning 3D images with each other and/or for detecting and quantifying similarities or differences between scanned images
KR101782542B1 (en) * 2016-06-10 2017-10-30 주식회사 에이티엠 System and method for inspecting painted surface of automobile
WO2018171877A1 (en) * 2017-03-21 2018-09-27 Hp Indigo B.V. Scratch identification utilizing integrated defect maps
CN110108712A (en) * 2019-04-20 2019-08-09 东莞中科蓝海智能视觉科技有限公司 Multifunctional visual defect detection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9633433B1 (en) * 2013-08-08 2017-04-25 Intellimed Systems, Llc Scanning system and display for aligning 3D images with each other and/or for detecting and quantifying similarities or differences between scanned images
RU2575803C1 (en) * 2014-10-27 2016-02-20 Федеральное государственное бюджетное учреждение "Всероссийский научно-исследовательский институт по проблемам гражданской обороны и чрезвычайных ситуаций МЧС России" (федеральный центр науки и высоких технологий) Method of laser 3d scanning for prompt determination of level of deformity of panel structure
KR101782542B1 (en) * 2016-06-10 2017-10-30 주식회사 에이티엠 System and method for inspecting painted surface of automobile
WO2018171877A1 (en) * 2017-03-21 2018-09-27 Hp Indigo B.V. Scratch identification utilizing integrated defect maps
CN110108712A (en) * 2019-04-20 2019-08-09 东莞中科蓝海智能视觉科技有限公司 Multifunctional visual defect detection system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116952958A (en) * 2023-09-18 2023-10-27 杭州百子尖科技股份有限公司 Defect detection method, device, electronic equipment and storage medium
CN116952958B (en) * 2023-09-18 2023-12-29 杭州百子尖科技股份有限公司 Defect detection method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2024002187A1 (en) Defect detection method, defect detection device, and storage medium
CN105069790B (en) A kind of gear open defect fast image detection method
US9171364B2 (en) Wafer inspection using free-form care areas
CN103245671B (en) Stamping parts surface defect detection apparatus and method
CN108844961A (en) A kind of temperature controller case vision detection system and method
WO2021046726A1 (en) Method and device for detecting mechanical equipment parts
CN108955901B (en) Infrared temperature measurement method and system and terminal equipment
CN101532926A (en) On-line vision detecting system for automatic impact specimen processing device and image processing method thereof
CN101995223A (en) Chip appearance detection method and system
CN113705564B (en) Pointer type instrument identification reading method
CN118429270B (en) Electronic component damage test method and system based on image recognition
Fu et al. Medicine glass bottle defect detection based on machine vision
CN109900719A (en) A kind of visual detection method of blade surface knife pattern
CN115035092A (en) Image-based bottle detection method, device, equipment and storage medium
CN111307819A (en) Wafer edge defect detection system and method
CN101995412A (en) Robust glass scratch defect detection method and device thereof
CN107388991A (en) A kind of more fillet axial workpiece radius of corner measuring methods in end face
CN118837379A (en) High-precision defect detection method and system for intelligent glasses
CN103245667A (en) Method and system for automatically detecting mechanical scratches
CN110426395B (en) A kind of solar EL battery silicon wafer surface detection method and device
CN106815830A (en) The defect inspection method of image
CN114519704A (en) Method for detecting scratch defects on surfaces of metal parts of communication electrical appliances
CN119574582B (en) SMT surface defect visual inspection device based on AI image recognition
CN110322395A (en) Part outline shape detection method and device based on image processing and affine transformation
CN118816749A (en) A method and device for evaluating workpiece contour based on machine vision

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220520