[go: up one dir, main page]

CN111815552A - A workpiece detection method, device, readable storage medium and terminal device - Google Patents

A workpiece detection method, device, readable storage medium and terminal device Download PDF

Info

Publication number
CN111815552A
CN111815552A CN201910279594.7A CN201910279594A CN111815552A CN 111815552 A CN111815552 A CN 111815552A CN 201910279594 A CN201910279594 A CN 201910279594A CN 111815552 A CN111815552 A CN 111815552A
Authority
CN
China
Prior art keywords
workpiece
data
detected
data matrix
matrix
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
CN201910279594.7A
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.)
TCL Corp
TCL Research America Inc
Original Assignee
TCL Research America Inc
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 TCL Research America Inc filed Critical TCL Research America Inc
Priority to CN201910279594.7A priority Critical patent/CN111815552A/en
Publication of CN111815552A publication Critical patent/CN111815552A/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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/55Depth or shape recovery from multiple images
    • 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/10004Still image; Photographic image
    • 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
    • G06T2207/30164Workpiece; Machine component

Landscapes

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

Abstract

本发明涉及自动检测技术领域,尤其涉及一种工件检测方法、装置、存储介质及终端设备。本发明提供的工件检测方法包括:获取待检测工件的第一深度图像;提取第一深度图像中的第一深度数据,并根据第一深度数据构建待检测工件对应的第一数据矩阵;确定待检测工件对应的标准工件,并获取标准工件对应的第二数据矩阵;根据第一数据矩阵和第二数据矩阵,确定待检测工件是否存在缺陷。本发明实施例对待检测工件进行深度图像的获取和深度数据的提取时,不仅获取和提取速度快,而且还可避免环境光的影响,提高工件检测的检测精度。另外,在对检测到的深度数据进行分析中,则可采用矩阵对比方式分析,分析方式简单、方便、快捷,可提高工件检测的检测速度。

Figure 201910279594

The invention relates to the technical field of automatic detection, and in particular, to a workpiece detection method, device, storage medium and terminal equipment. The workpiece detection method provided by the present invention includes: acquiring a first depth image of a workpiece to be detected; extracting first depth data in the first depth image, and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data; A standard workpiece corresponding to the workpiece is detected, and a second data matrix corresponding to the standard workpiece is obtained; according to the first data matrix and the second data matrix, it is determined whether the workpiece to be detected has defects. In the embodiment of the present invention, when acquiring a depth image and extracting depth data of a workpiece to be detected, not only the acquisition and extraction speed is fast, but also the influence of ambient light can be avoided, and the detection accuracy of workpiece detection can be improved. In addition, in the analysis of the detected depth data, the matrix comparison method can be used for analysis, and the analysis method is simple, convenient and fast, which can improve the detection speed of workpiece detection.

Figure 201910279594

Description

一种工件检测方法、装置、可读存储介质及终端设备A workpiece detection method, device, readable storage medium and terminal device

技术领域technical field

本发明涉及自动检测技术领域,尤其涉及一种工件检测方法、装置、计算机可读存储介质及终端设备。The present invention relates to the technical field of automatic detection, and in particular, to a workpiece detection method, a device, a computer-readable storage medium and a terminal device.

背景技术Background technique

在工件生产中,为保证工件生产的品质往往需要对其进行检测,现有的检测方式主要是以人工抽检为主,而在自动化较高的生产线中则会采用视讯检测技术来进行工件的检测。In the production of workpieces, in order to ensure the quality of workpiece production, it is often necessary to detect them. The existing detection methods are mainly based on manual sampling, while in the production line with high automation, video detection technology is used to detect workpieces. .

现有的视讯检测技术主要包括两种,一种是激光扫描,另一种是结构光扫描,其中,激光扫描的扫描方式是点扫描,扫描速度比较慢,极大地降低了工件的检测速度和效率。而结构光扫描虽然是速度较快的面扫描,但其比较依赖于激光,而容易受环境光的影响,造成检测精度较低。The existing video detection technologies mainly include two types, one is laser scanning and the other is structured light scanning. Among them, the scanning method of laser scanning is point scanning, and the scanning speed is relatively slow, which greatly reduces the detection speed of the workpiece. efficiency. Although structured light scanning is a faster surface scanning, it is more dependent on lasers and is easily affected by ambient light, resulting in low detection accuracy.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种工件检测方法、装置、计算机可读存储介质及终端设备,以解决现有工件检测中速度慢和精度低的问题。In view of this, embodiments of the present invention provide a workpiece detection method, device, computer-readable storage medium, and terminal device to solve the problems of slow speed and low accuracy in existing workpiece detection.

本发明实施例的第一方面,提供了一种工件检测方法,包括:A first aspect of the embodiments of the present invention provides a workpiece detection method, including:

获取待检测工件的第一深度图像;obtaining a first depth image of the workpiece to be detected;

提取所述第一深度图像中的第一深度数据,并根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵;extracting the first depth data in the first depth image, and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data;

确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵;determining a standard workpiece corresponding to the workpiece to be detected, and acquiring a second data matrix corresponding to the standard workpiece;

根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。According to the first data matrix and the second data matrix, it is determined whether the workpiece to be inspected has defects.

进一步地,所述获取待检测工件的第一深度图像,包括:Further, obtaining the first depth image of the workpiece to be detected includes:

通过TOF相机获取所述待检测工件的第一深度图像。A first depth image of the workpiece to be inspected is acquired by a TOF camera.

优选地,在获取所述标准工件对应的第二数据矩阵之前,包括:Preferably, before acquiring the second data matrix corresponding to the standard workpiece, the method includes:

通过所述TOF相机获取所述标准工件的第二深度图像;Acquiring a second depth image of the standard workpiece through the TOF camera;

提取所述第二深度图像中的第二深度数据,并根据所述第二深度数据构建所述标准工件对应的第二数据矩阵;extracting second depth data in the second depth image, and constructing a second data matrix corresponding to the standard workpiece according to the second depth data;

将所述第二数据矩阵与所述标准工件关联保存于第一预设数据库。The second data matrix is associated with the standard workpiece and stored in a first preset database.

可选地,所述根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷,包括:Optionally, determining whether the workpiece to be inspected has defects according to the first data matrix and the second data matrix includes:

获取所述标准工件对应的误差矩阵;obtaining the error matrix corresponding to the standard workpiece;

根据所述误差矩阵和所述第二数据矩阵,确定所述待检测工件对应的各合格数据区间;According to the error matrix and the second data matrix, determine each qualified data interval corresponding to the workpiece to be detected;

根据所述第一数据矩阵的各第一数据是否均位于所对应的合格数据区间,确定所述待检测工件是否存在缺陷。According to whether each first data of the first data matrix is located in the corresponding qualified data interval, it is determined whether the workpiece to be inspected has defects.

进一步地,所述根据所述误差矩阵和所述第二数据矩阵,确定所述待检测工件对应的各合格数据区间,包括:Further, determining each qualified data interval corresponding to the workpiece to be detected according to the error matrix and the second data matrix, including:

分别计算所述第二数据矩阵中的各第二数据与所述误差矩阵中对应位置处的误差数据的和值与差值;respectively calculating the sum and difference of each second data in the second data matrix and the error data at the corresponding position in the error matrix;

将各所述和值确定为所对应的合格数据区间的上限,并将各所述和值所对应的差值确定为所对应的合格数据区间的下限。Each of the sum values is determined as the upper limit of the corresponding qualified data interval, and the difference value corresponding to each of the sum values is determined as the corresponding lower limit of the qualified data interval.

优选地,所述根据所述第一数据矩阵的各第一数据是否均位于所对应的合格数据区间,确定所述待检测工件是否存在缺陷,包括:Preferably, according to whether each first data of the first data matrix is located in the corresponding qualified data interval, determining whether the workpiece to be inspected has defects, including:

若所述第一数据矩阵中的各第一数据均在所对应的合格数据区间,则确定所述待检测工件合格;If each first data in the first data matrix is in the corresponding qualified data interval, it is determined that the workpiece to be detected is qualified;

若所述第一数据矩阵中存在任一第一数据不在所对应的合格数据区间,则确定所述待检测工件存在缺陷。If there is any first data in the first data matrix that is not in the corresponding qualified data interval, it is determined that the workpiece to be inspected is defective.

可选地,在确定所述待检测工件存在缺陷之后,包括:Optionally, after determining that the workpiece to be detected has defects, the method includes:

获取所述第一数据矩阵中不在所对应的合格数据区间内的目标数据,并根据预设对应关系确定所述目标数据对应的标记颜色;Acquiring target data in the first data matrix that is not within the corresponding qualified data interval, and determining the marking color corresponding to the target data according to a preset correspondence;

采用所述标记颜色标记所述目标数据,并将进行颜色标记后的所述第一数据矩阵与所述待检测工件关联保存至第二预设数据库。The target data is marked with the marking color, and the color-marked first data matrix is associated with the workpiece to be detected and stored in a second preset database.

进一步地,所述获取待检测工件的第一深度图像,包括:Further, obtaining the first depth image of the workpiece to be detected includes:

检测所述待检测工件的当前位置;detecting the current position of the workpiece to be detected;

当所述当前位置为预设的指定检测位置时,获取所述待检测工件的第一深度图像。When the current position is a preset designated detection position, a first depth image of the workpiece to be detected is acquired.

本发明实施例的第二方面,提供了一种工件检测装置,包括:In a second aspect of the embodiments of the present invention, a workpiece detection device is provided, including:

第一深度图像获取模块,用于获取待检测工件的第一深度图像;a first depth image acquisition module for acquiring a first depth image of the workpiece to be detected;

第一数据矩阵构建模块,用于提取所述第一深度图像中的第一深度数据,并根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵;a first data matrix construction module, used for extracting the first depth data in the first depth image, and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data;

第二数据矩阵获取模块,用于确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵;A second data matrix acquisition module, configured to determine a standard workpiece corresponding to the workpiece to be detected, and acquire a second data matrix corresponding to the standard workpiece;

缺陷检测模块,用于根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。A defect detection module, configured to determine whether the workpiece to be inspected has defects according to the first data matrix and the second data matrix.

本发明实施例的第三方面,提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如前述第一方面所述工件检测方法的步骤。In a third aspect of the embodiments of the present invention, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program At the same time, the steps of the workpiece detection method described in the foregoing first aspect are implemented.

本发明实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如前述第一方面所述工件检测方法的步骤。In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the workpiece detection according to the foregoing first aspect is implemented steps of the method.

从以上技术方案可以看出,本发明实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages:

本发明实施例中,首先获取待检测工件的第一深度图像,并提取所述第一深度图像中的第一深度数据,以根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵,然后确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵,从而根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。本发明实施例中,对待检测工件进行深度图像的获取和对深度图像进行深度数据的提取时,不仅获取和提取速度快,而且还可避免环境光的影响,从而提高工件检测的检测精度。另外,在对检测到的深度数据进行分析中,则可采用矩阵对比方式分析,分析方式简单、方便、快捷,可提高工件检测的检测速度。In this embodiment of the present invention, a first depth image of the workpiece to be detected is first acquired, and first depth data in the first depth image is extracted, so as to construct a first depth image corresponding to the workpiece to be detected according to the first depth data data matrix, then determine the standard workpiece corresponding to the workpiece to be detected, and obtain the second data matrix corresponding to the standard workpiece, so as to determine the workpiece to be detected according to the first data matrix and the second data matrix whether there are defects. In the embodiment of the present invention, when acquiring the depth image of the workpiece to be detected and extracting the depth data from the depth image, not only the acquisition and extraction speed is fast, but also the influence of ambient light can be avoided, thereby improving the detection accuracy of workpiece detection. In addition, in the analysis of the detected depth data, the matrix comparison method can be used for analysis, and the analysis method is simple, convenient and fast, which can improve the detection speed of workpiece detection.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例提供的一种检测系统的结构示意图;1 is a schematic structural diagram of a detection system according to an embodiment of the present invention;

图2为本发明实施例中一种工件检测方法的一个实施例流程图;2 is a flowchart of an embodiment of a workpiece detection method in an embodiment of the present invention;

图3为本发明实施例中一种工件检测方法在一个应用场景下构建第二数据矩阵的流程示意图;3 is a schematic flowchart of constructing a second data matrix in an application scenario by a workpiece detection method according to an embodiment of the present invention;

图4为本发明实施例中一种工件检测方法在一个应用场景下确定是否存在缺陷的流程示意图4 is a schematic flowchart of determining whether a defect exists in an application scenario of a workpiece detection method according to an embodiment of the present invention

图5为本发明实施例中一种工件检测装置的一个实施例结构图;5 is a structural diagram of an embodiment of a workpiece detection device in an embodiment of the present invention;

图6为本发明一实施例提供的一种终端设备的示意图。FIG. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种工件检测方法、装置、计算机可读存储介质及终端设备,用于解决现有工件检测中速度慢和精度低的问题。Embodiments of the present invention provide a workpiece detection method, a device, a computer-readable storage medium, and a terminal device, which are used to solve the problems of slow speed and low precision in the existing workpiece detection.

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, 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 following The described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

此外,本发明实施例中所描述的“第一”和“第二”等是用于区别不同对象,而非用于描述特定顺序。In addition, "first" and "second" and the like described in the embodiments of the present invention are used to distinguish different objects, but are not used to describe a specific order.

请参阅图1,本发明实施例提供的一种工件检测方法应用于如图1所示的检测系统中,所述检测系统可以包括TOF相机10、图像采集装置11、终端设备12、控制机构13和制动部件14,其中,TOF相机10用于拍摄待检测工件15的深度图像,并将所拍摄的深度图像传送至图像采集装置11,图象采集装置11与终端设备12连接,终端设备12则可读取图像采集装置11中存储的深度图像,并可根据所读取的深度图像分析待检测工件15是否符合生产要求,即确定待检测工件15是否存在缺陷,当待检测工件15符合该生产要求时,如待检测工件15不存在缺陷时,终端设备12则可发送将待检测工件15移动至合格区16的控制指令给控制机构13,控制机构13则可通过控制制动部件14运动,以将待检测工件15移动至合格区16;当待检测工件15不符合该生产要求时,如待检测工件15存在缺陷时,终端设备12则可发送将待检测工件15移动至不合格区17的控制指令给控制机构13,控制机构13则可以通过控制制动部件14运动,以将待检测工件15移动至不合格区17。Referring to FIG. 1 , a workpiece detection method provided by an embodiment of the present invention is applied to the detection system shown in FIG. 1 . The detection system may include a TOF camera 10 , an image acquisition device 11 , a terminal device 12 , and a control mechanism 13 And the braking part 14, wherein, the TOF camera 10 is used to capture the depth image of the workpiece 15 to be detected, and transmit the captured depth image to the image acquisition device 11, the image acquisition device 11 is connected with the terminal device 12, and the terminal device 12 Then, the depth image stored in the image acquisition device 11 can be read, and whether the workpiece 15 to be inspected meets the production requirements can be analyzed according to the read depth image, that is, it is determined whether the workpiece 15 to be inspected has defects, and when the workpiece 15 to be inspected meets the requirements. At the time of production requirements, if the workpiece 15 to be inspected has no defects, the terminal device 12 can send a control command to move the workpiece 15 to be inspected to the qualified area 16 to the control mechanism 13 , and the control mechanism 13 can control the movement of the braking component 14 . , to move the workpiece 15 to be inspected to the qualified area 16; when the workpiece to be inspected 15 does not meet the production requirements, if the workpiece to be inspected 15 is defective, the terminal device 12 can send the workpiece to be inspected 15 Move to the unqualified area The control instruction of 17 is given to the control mechanism 13 , and the control mechanism 13 can move the workpiece 15 to be inspected to the unqualified area 17 by controlling the movement of the braking component 14 .

可以理解的是,TOF相机是指以飞行时间(Time of Flight)技术为基础的相机,TOF相机主要通过自带光源反射,来计算来回时间以测定各点的距离,即通过传感器发出经调制的近红外光,遇物体后反射,传感器通过计算光线发射和反射时间差或相位差,来换算被拍摄景物的距离,以产生深度信息。TOF相机主要是靠传感器物理特性计算光源反射时间来确定距离,而且是用特定波长的光源作为测量光源,受环境光的影响小、测量速度快、测量精度高以及硬件成本低,可极大地提高工件检测的检测精度、检测速度和检测效率。It can be understood that TOF camera refers to a camera based on Time of Flight technology. TOF camera mainly calculates the round-trip time to measure the distance of each point through the reflection of its own light source, that is, the sensor emits a modulated signal. Near-infrared light is reflected after encountering an object, and the sensor converts the distance of the captured scene by calculating the time difference or phase difference between light emission and reflection to generate depth information. The TOF camera mainly relies on the physical characteristics of the sensor to calculate the reflection time of the light source to determine the distance, and uses a light source with a specific wavelength as the measurement light source, which is less affected by ambient light, has fast measurement speed, high measurement accuracy and low hardware cost, which can greatly improve Detection accuracy, detection speed and detection efficiency of workpiece detection.

下面将基于上述的检测系统来结合具体实施例对工件检测方法进行详细描述,其中,本实施例中工件检测方法的执行主体为终端设备12。The workpiece detection method will be described in detail below with reference to specific embodiments based on the above-mentioned detection system, wherein the execution subject of the workpiece detection method in this embodiment is the terminal device 12 .

如图2所示,本发明实施例提供了一种工件检测方法,所述工件检测方法包括:As shown in FIG. 2, an embodiment of the present invention provides a workpiece detection method, and the workpiece detection method includes:

步骤S201、获取待检测工件的第一深度图像;Step S201, obtaining a first depth image of the workpiece to be detected;

具体地,本发明实施例中,所述获取待检测工件的第一深度图像,可以包括:通过TOF相机获取所述待检测工件的第一深度图像。Specifically, in the embodiment of the present invention, the acquiring the first depth image of the workpiece to be inspected may include: acquiring the first depth image of the workpiece to be inspected through a TOF camera.

本发明实施例中,可预先在检测系统中设置一指定检测位置,TOF相机10则可设置于所述指定检测位置的周围,用于采集位于所述指定检测位置的待检测工件的深度图像,其中,TOF相机10的数量可根据待检测工件的检测要求进行确定。如当待检测工件的全部外观均需要检测时,可在所述指定检测位置的上方设置一TOF相机10,用于采集待检测工件的俯瞰测试图,以获取待检测工件顶部的深度图像,同时可在所述指定检测位置的侧面等间隔设置3个TOF相机10,例如在侧面以120度为间隔设置3个TOF相机10,用于采集待检测工件侧面的深度图像,另外还可将所述指定检测位置的底部设置成空心状态,并可在所述指定检测位置的底部设置一TOF相机10,用于采集待检测工件底部的深度图像。In the embodiment of the present invention, a designated inspection position may be set in the inspection system in advance, and the TOF camera 10 may be disposed around the designated inspection position to collect the depth image of the workpiece to be inspected located at the designated inspection position, Wherein, the number of TOF cameras 10 can be determined according to the detection requirements of the workpiece to be detected. For example, when all the appearances of the workpiece to be inspected need to be inspected, a TOF camera 10 can be set above the designated inspection position to collect a bird's-eye view test map of the workpiece to be inspected, so as to obtain a depth image of the top of the workpiece to be inspected, and at the same time Three TOF cameras 10 can be set at equal intervals on the side of the designated detection position, for example, three TOF cameras 10 can be set at 120-degree intervals on the side to collect the depth image of the side of the workpiece to be detected. The bottom of the designated detection position is set in a hollow state, and a TOF camera 10 may be set at the bottom of the designated detection position to collect a depth image of the bottom of the workpiece to be inspected.

可以理解的是,在TOF相机10采集到待检测工件的各深度图像后,TOF相机10即可将所采集的深度图像传送至图像采集装置11,图像采集装置11则可对所接收到的深度图像进行保存,终端设备12则可通过对图像采集装置11中保存的数据进行读取来获取到待检测工件的第一深度图像。在此,图像采集装置11优选为图像采集卡,终端设备12可以为工业计算机等。It can be understood that after the TOF camera 10 collects each depth image of the workpiece to be detected, the TOF camera 10 can transmit the collected depth image to the image acquisition device 11, and the image acquisition device 11 can detect the received depth images. The image is saved, and the terminal device 12 can acquire the first depth image of the workpiece to be detected by reading the data saved in the image acquisition device 11 . Here, the image capture device 11 is preferably an image capture card, and the terminal device 12 may be an industrial computer or the like.

进一步地,TOF相机10在检测系统中往往设定于特定位置,因此,为确保TOF相机中深度图像采集的准确性,以提高工件检测的检测效率和检测精度等,在采集待检测工件的深度图像时,需待检测工件位于检测系统中的指定检测位置,即本发明实施例中,所述获取待检测工件的第一深度图像,可以包括:Further, the TOF camera 10 is often set at a specific position in the detection system. Therefore, in order to ensure the accuracy of the depth image acquisition in the TOF camera, and to improve the detection efficiency and detection accuracy of workpiece detection, the depth of the workpiece to be detected is collected. When the image is to be detected, the workpiece to be detected is located at a designated detection position in the detection system, that is, in the embodiment of the present invention, the acquisition of the first depth image of the workpiece to be detected may include:

步骤a、检测所述待检测工件的当前位置;Step a, detect the current position of the workpiece to be detected;

步骤b、当所述当前位置为预设的指定检测位置时,获取所述待检测工件的第一深度图像。Step b. When the current position is a preset designated detection position, acquire a first depth image of the workpiece to be detected.

在此,在待检测工件进入检测系统中进行检测时,可实时检测该待检测工件的当前位置,并判断所述当前位置是否为预先确定的指定检测位置,若所述当前位置不是所述指定检测位置的话,则可调整该待检测工件的当前位置,以使得该待检测工件到达所述指定检测位置,并在该待检测工件达到所述指定检测位置时,获取该待检测工件的第一深度图像,如可通过控制TOF相机10启动,来获取该待检测工件的第一深度图像。Here, when the workpiece to be detected enters the detection system for detection, the current position of the workpiece to be detected can be detected in real time, and it can be judged whether the current position is a predetermined designated detection position, if the current position is not the designated detection position If the detection position is detected, the current position of the workpiece to be detected can be adjusted so that the workpiece to be detected reaches the designated detection position, and when the workpiece to be detected reaches the designated detection position, the first The depth image, for example, can be started by controlling the TOF camera 10 to obtain the first depth image of the workpiece to be inspected.

步骤S202、提取所述第一深度图像中的第一深度数据,并根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵;Step S202, extracting the first depth data in the first depth image, and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data;

可以理解的是,终端设备12在获取到待检测工件的第一深度图像后,则可提取所述第一深度图像中的第一深度数据,并可根据所述第一深度数据构建该待检测工件对应的第一数据矩阵,如可根据所述第一深度数据在所述第一深度图像中的排布位置,构建该待检测工件对应的第一数据矩阵,也就是说,每一所述第一数据矩阵是由所对应的第一深度图像中的所有第一深度数据所组合构建得到的。It can be understood that after acquiring the first depth image of the workpiece to be detected, the terminal device 12 can extract the first depth data in the first depth image, and can construct the to-be-detected workpiece according to the first depth data. The first data matrix corresponding to the workpiece, for example, the first data matrix corresponding to the workpiece to be detected can be constructed according to the arrangement position of the first depth data in the first depth image, that is, each of the The first data matrix is constructed by combining all the first depth data in the corresponding first depth image.

需要说明的是,本发明实施例中,终端设备12构建的第一数据矩阵的数量与第一深度图像的数量相对应,例如,当图像采集装置11接收到包括一张顶部的第一深度图像、一张底部的第一深度图像以及三张侧面的第一深度图像,共五张第一深度图像时,终端设备12则可以构建五个第一数据矩阵,分别与各第一深度图像相对应。It should be noted that, in this embodiment of the present invention, the number of first data matrices constructed by the terminal device 12 corresponds to the number of first depth images. For example, when the image acquisition device 11 receives a first depth image including a top , one bottom first depth image and three side first depth images, when there are five first depth images in total, the terminal device 12 can construct five first data matrices, corresponding to each first depth image respectively .

步骤S203、确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵;Step S203, determining a standard workpiece corresponding to the workpiece to be detected, and acquiring a second data matrix corresponding to the standard workpiece;

本发明实施例中,终端设备12在构建待检测工件对应的各第一数据矩阵时,可同时确定出该待检测工件所对应的标准工件,如在进行该待检测工件的检测时,可通过扫描该待检测工件的二维码等信息来获取该待检测工件的类别等属性信息,从而可根据类别等属性信息确定出该待检测工件所对应的标准工件,并可从预设数据库中获取该标准工件所对应的第二数据矩阵。In the embodiment of the present invention, when constructing each first data matrix corresponding to the workpiece to be detected, the terminal device 12 can simultaneously determine the standard workpiece corresponding to the workpiece to be detected. Scan the QR code and other information of the workpiece to be inspected to obtain the attribute information such as the category of the workpiece to be inspected, so that the standard workpiece corresponding to the workpiece to be inspected can be determined according to the attribute information such as the category, and can be obtained from the preset database. The second data matrix corresponding to the standard workpiece.

进一步地,如图3所示,本发明实施例中,在获取所述标准工件对应的第二数据矩阵之前,还可以包括:Further, as shown in FIG. 3 , in this embodiment of the present invention, before acquiring the second data matrix corresponding to the standard workpiece, it may further include:

步骤S301、通过所述TOF相机获取所述标准工件的第二深度图像;Step S301, obtaining the second depth image of the standard workpiece through the TOF camera;

在此,可将人工确定的各标准工件放置于检测系统中的指定检测位置,并可通过TOF相机10获取各标准工件的各第二深度图像,其中,第二深度图像的获取过程与上述所述的第一深度图像的获取过程相似,原理相同,为简明起见,在此不再赘述。Here, each manually determined standard workpiece can be placed at a designated detection position in the detection system, and each second depth image of each standard workpiece can be acquired by the TOF camera 10, wherein the acquisition process of the second depth image is the same as the above-mentioned The above-mentioned acquisition process of the first depth image is similar, and the principle is the same. For the sake of brevity, it will not be repeated here.

步骤S302、提取所述第二深度图像中的第二深度数据,并根据所述第二深度数据构建所述标准工件对应的第二数据矩阵;Step S302, extracting the second depth data in the second depth image, and constructing a second data matrix corresponding to the standard workpiece according to the second depth data;

可以理解的是,各标准工件对应的第二数据矩阵的构建方式与上述所述的第一数据矩阵的构建方式相似,原理相同,为简明起见,在此不再赘述。It can be understood that the construction method of the second data matrix corresponding to each standard workpiece is similar to the construction method of the first data matrix described above, and the principle is the same, and for the sake of brevity, it will not be repeated here.

步骤S303、将所述第二数据矩阵与所述标准工件关联保存于第一预设数据库。Step S303 , storing the second data matrix and the standard workpiece in a first preset database in association with each other.

本发明实施例中,在构建出各标准工件对应的各第二数据矩阵后,则可将各第二数据矩阵与各标准工件关联保存于第一预设数据库中,如可将各第二数据矩阵与各标准工件的类别等属性信息进行关联保存。进一步地,在关联保存时,还可关联保存各第二数据矩阵所对应的检测部位,例如,若第二数据矩阵A是根据标准工件顶部的第一深度图像A所构建、第二数据矩阵B是根据标准工件底部的第一深度图像B所构建的话,则在关联保存时,可将第二数据矩阵A与标准工件的类别等属性信息以及顶部相关联保存,并可将第二数据矩阵B与标准工件的类别等属性信息以及底部相关联保存。In the embodiment of the present invention, after each second data matrix corresponding to each standard workpiece is constructed, each second data matrix can be associated with each standard workpiece and stored in the first preset database. For example, each second data matrix can be stored in the first preset database. The matrix is stored in association with attribute information such as the type of each standard workpiece. Further, when associated and saved, the detection parts corresponding to each second data matrix can also be associated and saved. For example, if the second data matrix A is constructed according to the first depth image A on the top of the standard workpiece, and the second data matrix B If it is constructed according to the first depth image B at the bottom of the standard workpiece, when the second data matrix A is associated and saved, the attribute information such as the category of the standard workpiece and the top can be stored in association with the second data matrix A, and the second data matrix B can be saved. It is saved in association with attribute information such as the category of the standard workpiece and the bottom.

步骤S204、根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。Step S204 , according to the first data matrix and the second data matrix, determine whether the workpiece to be inspected has defects.

可以理解的是,在构建出待检测工件对应的各第一数据矩阵以及获取到该待检测工件对应的标准工件的各第二数据矩阵后,则可将各第一数据矩阵与对应的第二数据矩阵进行比对,并可根据各比对结果来确定该待检测工件是否存在缺陷,如可将该待检测工件底部对应的第一数据矩阵与该标准工件底部对应的第一数据矩阵进行比对,并可根据底部的比对结果来确定该待检测工件底部是否存在缺陷,从而可以根据各检测部位的检测结果来确定该待检测工件是合格工件,还是存在缺陷的不合格工件。It can be understood that after constructing each first data matrix corresponding to the workpiece to be detected and acquiring each second data matrix of the standard workpiece corresponding to the workpiece to be detected, each first data matrix can be combined with the corresponding second data matrix. The data matrix is compared, and whether the workpiece to be tested has defects can be determined according to each comparison result. For example, the first data matrix corresponding to the bottom of the workpiece to be tested can be compared with the first data matrix corresponding to the bottom of the standard workpiece. Yes, and it can be determined whether there is a defect in the bottom of the workpiece to be inspected according to the comparison result of the bottom, so that it can be determined whether the workpiece to be inspected is a qualified workpiece or an unqualified workpiece with defects according to the inspection results of each inspection part.

具体地,如图4所示,本发明实施例中,所述根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷,可以包括:Specifically, as shown in FIG. 4 , in this embodiment of the present invention, determining whether the workpiece to be inspected has defects according to the first data matrix and the second data matrix may include:

步骤S401、获取所述标准工件对应的误差矩阵;Step S401, obtaining the error matrix corresponding to the standard workpiece;

步骤S402、根据所述误差矩阵和所述第二数据矩阵,确定所述待检测工件对应的各合格数据区间;Step S402, according to the error matrix and the second data matrix, determine each qualified data interval corresponding to the workpiece to be detected;

步骤S403、根据所述第一数据矩阵的各第一数据是否均位于所对应的合格数据区间,确定所述待检测工件是否存在缺陷。Step S403 , according to whether each first data of the first data matrix is located in the corresponding qualified data interval, determine whether the workpiece to be inspected has defects.

其中,步骤S403、所述根据所述第一数据矩阵的各第一数据是否均位于所对应的合格数据区间,确定所述待检测工件是否存在缺陷,可进一步包括:Wherein, in step S403, determining whether the workpiece to be inspected has defects according to whether each first data of the first data matrix is located in the corresponding qualified data interval may further include:

步骤S4030、若所述第一数据矩阵中的各第一数据均在所对应的合格数据区间,则确定所述待检测工件合格;Step S4030, if each first data in the first data matrix is in the corresponding qualified data interval, determine that the workpiece to be detected is qualified;

步骤S4032、若所述第一数据矩阵中存在任一第一数据不在所对应的合格数据区间,则确定所述待检测工件存在缺陷。Step S4032: If there is any first data in the first data matrix that is not in the corresponding qualified data interval, it is determined that the workpiece to be inspected is defective.

可以理解的是,在工件生产中往往可允许一定的误差存在,因此,本发明实施例中,用户可根据各工件的具体生产要求设置所允许的误差,终端设备12接收到用户所设置的误差后,则可根据误差构建对应的误差矩阵,并可将误差矩阵与对应的标准工件进行关联保存。其中,在将各误差矩阵与对应的标准工件进行关联保存时,还可关联保存各误差矩阵所对应的检测部位,例如,若误差矩阵A对应的检测部位是工件顶部、误差矩阵B对应的检测部位是工件底部的话,则在进行误差矩阵的关联保存时,还可将误差矩阵A与工件的顶部相关联保存,并可将误差矩阵B与工件的底部相关联保存。It can be understood that certain errors are often allowed in the production of workpieces. Therefore, in the embodiment of the present invention, the user can set the allowable error according to the specific production requirements of each workpiece, and the terminal device 12 receives the error set by the user. Then, the corresponding error matrix can be constructed according to the error, and the error matrix can be stored in association with the corresponding standard workpiece. Among them, when each error matrix is stored in association with the corresponding standard workpiece, the detection part corresponding to each error matrix can also be stored in association. For example, if the detection part corresponding to error matrix A is the top of the workpiece and the detection part corresponding to error matrix B If the part is the bottom of the workpiece, when the error matrix is associated and saved, the error matrix A can be associated with the top of the workpiece, and the error matrix B can be associated with the bottom of the workpiece.

在此,为使误差设置更直观化,本发明实施例中,可在终端设备12的交互界面中叠合二维实物图,用户则可在该二维实物图中根据工件不同部位的生产要求设置不同的误差,而在误差设置中,用户还可以使用刷子刷一片的填充方式对误差相同的部位进行统一填充,使得误差设置既便捷又直观。Here, in order to make the error setting more intuitive, in the embodiment of the present invention, a two-dimensional physical map can be superimposed on the interactive interface of the terminal device 12, and the user can use the two-dimensional physical map according to the production requirements of different parts of the workpiece. Set different errors, and in the error setting, the user can also use a brush to fill in one piece to uniformly fill the parts with the same error, which makes the error setting convenient and intuitive.

对于上述步骤S401,在构建待检测工件的第一数据矩阵时,终端设备12可同时确定出该待检测工件所对应的标准工件,并可根据所确定的标准工件获取相对应的误差矩阵。For the above step S401, when constructing the first data matrix of the workpiece to be detected, the terminal device 12 can simultaneously determine the standard workpiece corresponding to the workpiece to be detected, and can obtain the corresponding error matrix according to the determined standard workpiece.

对于上述步骤S402,可以理解的是,在获取到该待检测工件所对应的标准工件的第二数据矩阵和误差矩阵后,则可根据各第二数据矩阵和对应的误差矩阵确定该待检测工件各检测部位所对应的合格数据区间,如可根据标准工件顶部对应的第二数据矩阵和顶部对应的误差矩阵确定该待检测工件中顶部所对应的合格数据区间,其中,该合格数据区间是指该待检测工件对应的第一数据矩阵中各第一数据所允许的数据区间。在此,可将该合格数据区间的各上限设置成第二数据矩阵中各第二数据与误差矩阵中对应位置处的误差数据之间相加的和值,并可将合格数据区间的各下限设置成第二数据矩阵中各第二数据与误差矩阵中对应位置处的误差数据之间的差值。For the above step S402, it can be understood that after acquiring the second data matrix and error matrix of the standard workpiece corresponding to the workpiece to be detected, the workpiece to be detected can be determined according to each second data matrix and the corresponding error matrix For the qualified data interval corresponding to each detection part, the qualified data interval corresponding to the top of the workpiece to be inspected can be determined according to the second data matrix corresponding to the top of the standard workpiece and the error matrix corresponding to the top, wherein the qualified data interval refers to The data interval allowed by each first data in the first data matrix corresponding to the workpiece to be detected. Here, each upper limit of the qualified data interval can be set as the sum of each second data in the second data matrix and the error data at the corresponding position in the error matrix, and each lower limit of the qualified data interval can be set It is set as the difference between each second data in the second data matrix and the error data at the corresponding position in the error matrix.

也就是说,在确定某一合格数据区间时,可首先计算所述第二数据矩阵中与该合格数据区间相对应的第二数据与所述误差矩阵中与该合格数据区间相对应的误差数据的和值与差值,并可将所得到的和值确定为该合格数据区间的上限,同时可将所得到的差值确定为该合格数据区间的下限。That is to say, when a certain qualified data interval is determined, the second data corresponding to the qualified data interval in the second data matrix and the error data corresponding to the qualified data interval in the error matrix may be calculated first. The sum and difference can be determined as the upper limit of the qualified data interval, and the obtained difference can be determined as the lower limit of the qualified data interval.

对于上述步骤S403、步骤S4030和步骤S4032,可以理解的是,在确定各合格数据区间之后,则可以判断各第一数据矩阵中的各第一数据是否均在所对应的合格数据区间内,若各第一数据矩阵中的各第一数据均在所对应的合格数据区间的话,则表明该待检测工件的误差是在所允许的误差范围内,因此,可认为该待检测工件为合格工件,终端设备12即可确定该待检测工件合格,并生成将该待检测工件移动至合格区16的控制指令发送给控制机构13,控制机构13则可以控制制动部件14运动,以将该待检测工件移动至合格区16;若某一第一数据矩阵中存在一个或者多个第一数据不在所对应的合格数据区间内的话,则表明该待检测工件中存在超出误差范围的部位,因此,可以认为该待检测工件存在缺陷,终端设备12则可确定该待检测工件存在缺陷,并生成将该待检测工件移动至不合格区17的控制指令发送给控制机构13,控制机构13则可以控制制动部件14运动,以将该待检测工件移动至不合格区17。For the above step S403, step S4030 and step S4032, it can be understood that after each qualified data interval is determined, it can be determined whether each first data in each first data matrix is within the corresponding qualified data interval, if If each first data in each first data matrix is in the corresponding qualified data interval, it indicates that the error of the workpiece to be detected is within the allowable error range, therefore, it can be considered that the workpiece to be detected is a qualified workpiece, The terminal device 12 can determine that the workpiece to be inspected is qualified, and generates a control instruction for moving the workpiece to be inspected to the qualified area 16 and sends it to the control mechanism 13. The workpiece is moved to the qualified area 16; if there is one or more first data in a certain first data matrix that is not within the corresponding qualified data interval, it means that there is a part beyond the error range in the workpiece to be detected, so it can be Considering that the workpiece to be inspected is defective, the terminal device 12 can determine that the workpiece to be inspected is defective, and generate a control instruction for moving the workpiece to be inspected to the unqualified area 17 and send it to the control mechanism 13, and the control mechanism 13 can control the control mechanism 13. The moving part 14 moves to move the workpiece to be inspected to the unqualified area 17 .

需要说明的是,本发明实施例中,各第一数据矩阵中的所有第一数据均需在所对应的合格数据区间时,才可认为该待检测工件为合格工件仅作示意性解释,不应理解为对本发明实施例的限制,本发明实施例中,当然也可以预先设置所允许的不在对应的合格区数据间的数据占比,以根据该数据占比来最终确定待检测工件中存在不在合格数据区间内的第一数据时,该待检测工件的合格与否。It should be noted that, in the embodiment of the present invention, only when all the first data in each first data matrix must be in the corresponding qualified data interval, the workpiece to be inspected can be considered as a qualified workpiece. It should be understood as a limitation on the embodiment of the present invention. In the embodiment of the present invention, of course, the allowed data ratio that is not between the corresponding qualified area data can also be preset, so as to finally determine the existence of the workpiece to be detected according to the data ratio. When the first data is not in the qualified data interval, whether the workpiece to be detected is qualified or not.

进一步地,本发明实施例中,在确定所述待检测工件存在缺陷之后,还可以包括:Further, in the embodiment of the present invention, after it is determined that the workpiece to be detected has defects, it may further include:

步骤c、获取所述第一数据矩阵中不在所对应的合格数据区间内的目标数据,并根据预设对应关系确定所述目标数据对应的标记颜色;Step c, acquiring the target data in the first data matrix that is not within the corresponding qualified data interval, and determining the marking color corresponding to the target data according to a preset correspondence;

步骤d、采用所述标记颜色标记所述目标数据,并将进行颜色标记后的所述第一数据矩阵与所述待检测工件关联保存至第二预设数据库。In step d, the target data is marked with the marking color, and the color-marked first data matrix is associated with the workpiece to be detected and stored in a second preset database.

对于上述步骤c和步骤d,本发明实施例中,终端设备12在完成该待检测工件的缺陷检测后,还可将缺陷检测的结果及该待检测工件所对应的各第一数据矩阵与该待检测工件关联保存于第二预设数据库中,以方便相关人员了解该待检测工件的各检测数据。进一步地,当确定该待检测工件存在缺陷时,终端设备12则可获取该待检测工件各第一数据矩阵中不在所对应的合格数据区间的目标数据,即可获取该待检测工件中不合格部位所对应的目标数据,并可以根据预设对应关系确定各目标数据所对应的标记颜色,从而可采用所对应的标记颜色来对各不合格的目标数据进行颜色标记,而颜色标记后,则可将缺陷检测的结果及该待检测工件所对应的各第一数据矩阵与该待检测工件关联保存于第二预设数据库中,以通过醒目颜色对不合数据进行标记,从而方便相关人员根据标记数据对该待检测工件进行维修,提高工件的维修效率。For the above steps c and d, in the embodiment of the present invention, after the terminal device 12 completes the defect detection of the workpiece to be detected, the result of the defect detection and each first data matrix corresponding to the workpiece to be detected can also be compared with the The workpiece to be detected is associated and stored in the second preset database, so that the relevant personnel can understand the detection data of the workpiece to be detected. Further, when it is determined that the workpiece to be detected is defective, the terminal device 12 can obtain the target data that is not in the corresponding qualified data interval in each first data matrix of the workpiece to be detected, and can obtain the unqualified workpiece in the workpiece to be detected. The target data corresponding to the part, and the mark color corresponding to each target data can be determined according to the preset correspondence, so that the corresponding mark color can be used to color mark each unqualified target data, and after the color mark, then The result of defect detection and each first data matrix corresponding to the workpiece to be detected can be associated with the workpiece to be detected and stored in the second preset database, so that the inconsistent data can be marked with eye-catching colors, so as to facilitate the relevant personnel according to the marking. The data is used to repair the workpiece to be detected, so as to improve the maintenance efficiency of the workpiece.

可以理解的是,本发明实施例中,可预先根据具体的检测要求设置各检测部位所对应的标记颜色,因此,当该待检测工件存在不合格的目标数据时,可确定该目标数据所在的第一数据矩阵所对应的检测部位,从而可根据所确定的检测部位确定该目标数据所对应的标记颜色。It can be understood that, in the embodiment of the present invention, the marking color corresponding to each detection part can be set in advance according to the specific detection requirements. Therefore, when the workpiece to be detected has unqualified target data, it can be determined where the target data is located. The detection part corresponding to the first data matrix, so that the mark color corresponding to the target data can be determined according to the determined detection part.

本发明实施例中,首先获取待检测工件的第一深度图像,并提取所述第一深度图像中的第一深度数据,以根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵,然后确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵,从而根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。本发明实施例中,对待检测工件进行深度图像的获取和对深度图像进行深度数据的提取时,不仅获取和提取速度快,而且还可避免环境光的影响,从而提高工件检测的检测精度。另外,在对检测到的深度数据进行分析中,则采用矩阵对比方式分析,分析方式简单、方便、快捷,可提高工件检测的检测速度。In this embodiment of the present invention, a first depth image of the workpiece to be detected is first acquired, and first depth data in the first depth image is extracted, so as to construct a first depth image corresponding to the workpiece to be detected according to the first depth data data matrix, then determine the standard workpiece corresponding to the workpiece to be detected, and obtain the second data matrix corresponding to the standard workpiece, so as to determine the workpiece to be detected according to the first data matrix and the second data matrix whether there are defects. In the embodiment of the present invention, when acquiring the depth image of the workpiece to be detected and extracting the depth data from the depth image, not only the acquisition and extraction speed is fast, but also the influence of ambient light can be avoided, thereby improving the detection accuracy of workpiece detection. In addition, in the analysis of the detected depth data, the matrix comparison method is used for analysis, and the analysis method is simple, convenient and fast, which can improve the detection speed of workpiece detection.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

上面主要描述了一种工件检测方法,下面将对一种工件检测装置进行详细描述。A workpiece detection method is mainly described above, and a workpiece detection device will be described in detail below.

如图5所示,本发明实施例提供了一种工件检测装置,所述工件检测装置包括:As shown in FIG. 5 , an embodiment of the present invention provides a workpiece detection device, and the workpiece detection device includes:

第一深度图像获取模块501,用于获取待检测工件的第一深度图像;a first depth image acquisition module 501, configured to acquire a first depth image of the workpiece to be detected;

第一数据矩阵构建模块502,用于提取所述第一深度图像中的第一深度数据,并根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵;a first data matrix construction module 502, configured to extract the first depth data in the first depth image, and construct a first data matrix corresponding to the workpiece to be detected according to the first depth data;

第二数据矩阵获取模块503,用于确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵;A second data matrix acquisition module 503, configured to determine a standard workpiece corresponding to the workpiece to be detected, and acquire a second data matrix corresponding to the standard workpiece;

缺陷检测模块504,用于根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。The defect detection module 504 is configured to determine whether the workpiece to be inspected has defects according to the first data matrix and the second data matrix.

进一步地,所述第一深度图像获取模块501,具体用于通过TOF相机获取所述待检测工件的第一深度图像。Further, the first depth image acquisition module 501 is specifically configured to acquire the first depth image of the workpiece to be detected through a TOF camera.

优选地,所述工件检测装置,还可以包括:Preferably, the workpiece detection device may also include:

第二深度图像获取模块,用于通过所述TOF相机获取所述标准工件的第二深度图像;A second depth image acquisition module, configured to acquire a second depth image of the standard workpiece through the TOF camera;

第二数据矩阵构建模块,用于提取所述第二深度图像中的第二深度数据,并根据所述第二深度数据构建所述标准工件对应的第二数据矩阵;A second data matrix construction module, configured to extract the second depth data in the second depth image, and construct a second data matrix corresponding to the standard workpiece according to the second depth data;

第二数据矩阵保存模块,用于将所述第二数据矩阵与所述标准工件关联保存于第一预设数据库。The second data matrix saving module is used for saving the second data matrix and the standard workpiece in the first preset database in association.

可选地,所述缺陷检测模块504,可以包括:Optionally, the defect detection module 504 may include:

误差矩阵获取单元,用于获取所述标准工件对应的误差矩阵;an error matrix obtaining unit, used for obtaining the error matrix corresponding to the standard workpiece;

合格区间确定单元,用于根据所述误差矩阵和所述第二数据矩阵,确定所述待检测工件对应的各合格数据区间;a qualified interval determination unit, configured to determine each qualified data interval corresponding to the workpiece to be detected according to the error matrix and the second data matrix;

缺陷检测单元,用于根据所述第一数据矩阵的各第一数据是否均位于所对应的合格数据区间,确定所述待检测工件是否存在缺陷。A defect detection unit, configured to determine whether the workpiece to be inspected has defects according to whether each first data of the first data matrix is located in the corresponding qualified data interval.

进一步地,所述合格区间确定单元,可以包括:Further, the qualified interval determination unit may include:

和差值计算子单元,用于分别计算所述第二数据矩阵中的各第二数据与所述误差矩阵中对应位置处的误差数据的和值与差值;and a difference calculation subunit, used for calculating the sum and difference of each second data in the second data matrix and the error data at the corresponding position in the error matrix;

合格区间确定子单元,用于将各所述和值确定为所对应的合格数据区间的上限,并将各所述和值所对应的差值确定为所对应的合格数据区间的下限。The qualified interval determination subunit is used to determine each of the sums as the upper limit of the corresponding qualified data interval, and to determine the difference corresponding to each of the sums as the corresponding lower limit of the qualified data interval.

优选地,所述缺陷检测单元,可以包括:Preferably, the defect detection unit may include:

第一检测子单元,用于若所述第一数据矩阵中的各第一数据均在所对应的合格数据区间,则确定所述待检测工件合格;a first detection subunit, configured to determine that the workpiece to be detected is qualified if each first data in the first data matrix is in the corresponding qualified data interval;

第二检测子单元,用于若所述第一数据矩阵中存在任一第一数据不在所对应的合格数据区间,则确定所述待检测工件存在缺陷。The second detection subunit is configured to determine that the workpiece to be detected is defective if any first data in the first data matrix is not in the corresponding qualified data interval.

可选地,所述工件检测装置,还可以包括:Optionally, the workpiece detection device may also include:

颜色确定模块,用于获取所述第一数据矩阵中不在所对应的合格数据区间内的目标数据,并根据预设对应关系确定所述目标数据对应的标记颜色;A color determination module, configured to acquire target data in the first data matrix that is not within the corresponding qualified data interval, and determine the mark color corresponding to the target data according to a preset correspondence;

颜色标记模块,用于采用所述标记颜色标记所述目标数据,并将进行颜色标记后的所述第一数据矩阵与所述待检测工件关联保存至第二预设数据库。The color marking module is configured to use the marking color to mark the target data, and save the color-marked first data matrix and the workpiece to be detected in a second preset database in association.

优选地,所述第一深度图像获取模块501,可以包括:Preferably, the first depth image acquisition module 501 may include:

当前位置检测单元,用于检测所述待检测工件的当前位置;A current position detection unit for detecting the current position of the workpiece to be detected;

第一深度图像获取单元,用于当所述当前位置为预设的指定检测位置时,获取所述待检测工件的第一深度图像。A first depth image acquisition unit, configured to acquire a first depth image of the workpiece to be detected when the current position is a preset designated detection position.

图6是本发明一实施例提供的终端设备的示意图。如图6所示,该实施例的终端设备6包括:处理器60、存储器61以及存储在所述存储器61中并可在所述处理器60上运行的计算机程序62,例如工件检测程序。所述处理器60执行所述计算机程序62时实现上述各个工件检测方法实施例中的步骤,例如图2所示的步骤S201至步骤S204。或者,所述处理器60执行所述计算机程序62时实现上述各装置实施例中各模块/单元的功能,例如图5所示的模块501至模块504的功能。FIG. 6 is a schematic diagram of a terminal device provided by an embodiment of the present invention. As shown in FIG. 6 , the terminal device 6 of this embodiment includes: a processor 60 , a memory 61 , and a computer program 62 stored in the memory 61 and executable on the processor 60 , such as a workpiece detection program. When the processor 60 executes the computer program 62, the steps in each of the above embodiments of the workpiece detection method are implemented, for example, steps S201 to S204 shown in FIG. 2 . Alternatively, when the processor 60 executes the computer program 62, the functions of the modules/units in each of the foregoing apparatus embodiments, such as the functions of the modules 501 to 504 shown in FIG. 5, are implemented.

示例性的,所述计算机程序62可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器61中,并由所述处理器60执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序62在所述终端设备6中的执行过程。例如,所述计算机程序62可以被分割成第一深度图像获取模块、第一数据矩阵构建模块、第二数据矩阵获取模块、检测结果确定模块,各模块具体功能如下:Exemplarily, the computer program 62 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 60 to complete the this invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the terminal device 6 . For example, the computer program 62 can be divided into a first depth image acquisition module, a first data matrix construction module, a second data matrix acquisition module, and a detection result determination module. The specific functions of each module are as follows:

第一深度图像获取模块,用于获取待检测工件的第一深度图像;a first depth image acquisition module for acquiring a first depth image of the workpiece to be detected;

第一数据矩阵构建模块,用于提取所述第一深度图像中的第一深度数据,并根据所述第一深度数据构建所述待检测工件对应的第一数据矩阵;a first data matrix construction module, used for extracting the first depth data in the first depth image, and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data;

第二数据矩阵获取模块,用于确定所述待检测工件对应的标准工件,并获取所述标准工件对应的第二数据矩阵;A second data matrix acquisition module, configured to determine a standard workpiece corresponding to the workpiece to be detected, and acquire a second data matrix corresponding to the standard workpiece;

缺陷检测模块,用于根据所述第一数据矩阵和所述第二数据矩阵,确定所述待检测工件是否存在缺陷。A defect detection module, configured to determine whether the workpiece to be inspected has defects according to the first data matrix and the second data matrix.

所述终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是终端设备6的示例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, the processor 60 and the memory 61 . Those skilled in the art can understand that FIG. 6 is only an example of the terminal device 6, and does not constitute a limitation on the terminal device 6, and may include more or less components than the one shown, or combine some components, or different components For example, the terminal device may further include an input and output device, a network access device, a bus, and the like.

所述处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 60 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器61可以是所述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。所述存储器61也可以是所述终端设备6的外部存储设备,例如所述终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器61还可以既包括所述终端设备6的内部存储单元也包括外部存储设备。所述存储器61用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6 , such as a hard disk or a memory of the terminal device 6 . The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on the terminal device 6. card, flash card (Flash Card) and so on. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the terminal device. The memory 61 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各实施例的模块、单元和/或方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the modules, units and/or method steps of various embodiments described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method of inspecting a workpiece, comprising:
acquiring a first depth image of a workpiece to be detected;
extracting first depth data in the first depth image, and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data;
determining a standard workpiece corresponding to the workpiece to be detected, and acquiring a second data matrix corresponding to the standard workpiece;
and determining whether the workpiece to be detected has defects according to the first data matrix and the second data matrix.
2. The workpiece inspection method of claim 1, wherein said obtaining a first depth image of the workpiece to be inspected comprises:
and acquiring a first depth image of the workpiece to be detected through a TOF camera.
3. The method of claim 2, wherein prior to obtaining the second data matrix corresponding to the standard workpiece, comprising:
acquiring a second depth image of the standard workpiece by the TOF camera;
extracting second depth data in the second depth image, and constructing a second data matrix corresponding to the standard workpiece according to the second depth data;
and storing the second data matrix and the standard workpiece in a first preset database in an associated manner.
4. The method of claim 1, wherein said determining whether the workpiece to be inspected has a defect based on the first data matrix and the second data matrix comprises:
acquiring an error matrix corresponding to the standard workpiece;
determining qualified data intervals corresponding to the workpieces to be detected according to the error matrix and the second data matrix;
and determining whether the workpiece to be detected has defects according to whether the first data of the first data matrix are all located in the corresponding qualified data interval.
5. The workpiece inspection method of claim 4, wherein determining qualified data intervals corresponding to the workpieces to be inspected based on the error matrix and the second data matrix comprises:
respectively calculating the sum and difference of each second data in the second data matrix and the error data at the corresponding position in the error matrix;
and determining each sum as the upper limit of the corresponding qualified data interval, and determining the difference value corresponding to each sum as the lower limit of the corresponding qualified data interval.
6. The method according to claim 4, wherein determining whether the workpiece to be detected has a defect according to whether each first data of the first data matrix is located in the corresponding qualified data interval comprises:
if all the first data in the first data matrix are in the corresponding qualified data interval, determining that the workpiece to be detected is qualified;
and if any first data in the first data matrix is not in the corresponding qualified data interval, determining that the workpiece to be detected has defects.
7. The workpiece inspection method of claim 6, after determining that the workpiece to be inspected is defective, comprising:
acquiring target data which is not in the corresponding qualified data interval in the first data matrix, and determining a marking color corresponding to the target data according to a preset corresponding relation;
marking the target data by adopting the marking color, and storing the first data matrix subjected to color marking and the workpiece to be detected in a second preset database in an associated manner.
8. The workpiece inspection method of any of claims 1 to 7, wherein the obtaining a first depth image of a workpiece to be inspected comprises:
detecting the current position of the workpiece to be detected;
and when the current position is a preset appointed detection position, acquiring a first depth image of the workpiece to be detected.
9. A workpiece detection apparatus, comprising:
the first depth image acquisition module is used for acquiring a first depth image of a workpiece to be detected;
the first data matrix construction module is used for extracting first depth data in the first depth image and constructing a first data matrix corresponding to the workpiece to be detected according to the first depth data;
the second data matrix acquisition module is used for determining a standard workpiece corresponding to the workpiece to be detected and acquiring a second data matrix corresponding to the standard workpiece;
and the defect detection module is used for determining whether the workpiece to be detected has defects according to the first data matrix and the second data matrix.
10. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the workpiece detection method according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for workpiece inspection according to any one of claims 1 to 8.
CN201910279594.7A 2019-04-09 2019-04-09 A workpiece detection method, device, readable storage medium and terminal device Pending CN111815552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910279594.7A CN111815552A (en) 2019-04-09 2019-04-09 A workpiece detection method, device, readable storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910279594.7A CN111815552A (en) 2019-04-09 2019-04-09 A workpiece detection method, device, readable storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN111815552A true CN111815552A (en) 2020-10-23

Family

ID=72843541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910279594.7A Pending CN111815552A (en) 2019-04-09 2019-04-09 A workpiece detection method, device, readable storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN111815552A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307090A (en) * 2020-11-03 2021-02-02 中铁隆工程集团有限公司 Detection method and system based on tunnel safety data
CN112635042A (en) * 2020-12-02 2021-04-09 广州九顶软件股份有限公司 Monitor calibration method, device, equipment and storage medium
CN116026837A (en) * 2022-12-15 2023-04-28 青岛鹏海软件有限公司 Appearance inspection method, system, and electronic device for white goods
CN116818771A (en) * 2023-06-27 2023-09-29 江苏中烟工业有限责任公司 Steel seal defect detection method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221559A (en) * 2011-03-05 2011-10-19 河海大学常州校区 Online automatic detection method of fabric defects based on machine vision and device thereof
JP2012159491A (en) * 2011-01-14 2012-08-23 Nippon Steel Corp Defect detecting device and defect detecting method
CN105572137A (en) * 2015-12-15 2016-05-11 重庆瑞阳科技股份有限公司 Appearance defect test method
CN107356601A (en) * 2017-07-25 2017-11-17 上海华力微电子有限公司 A kind of automatic defect of defect checking machine platform is presorted method for reporting
US20180211373A1 (en) * 2017-01-20 2018-07-26 Aquifi, Inc. Systems and methods for defect detection
CN108846837A (en) * 2018-06-01 2018-11-20 联想(北京)有限公司 Body surface defect inspection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012159491A (en) * 2011-01-14 2012-08-23 Nippon Steel Corp Defect detecting device and defect detecting method
CN102221559A (en) * 2011-03-05 2011-10-19 河海大学常州校区 Online automatic detection method of fabric defects based on machine vision and device thereof
CN105572137A (en) * 2015-12-15 2016-05-11 重庆瑞阳科技股份有限公司 Appearance defect test method
US20180211373A1 (en) * 2017-01-20 2018-07-26 Aquifi, Inc. Systems and methods for defect detection
CN107356601A (en) * 2017-07-25 2017-11-17 上海华力微电子有限公司 A kind of automatic defect of defect checking machine platform is presorted method for reporting
CN108846837A (en) * 2018-06-01 2018-11-20 联想(北京)有限公司 Body surface defect inspection method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王晏民: "《深度图像化点云数据管理》", 31 December 2013, 北京:测绘出版社, pages: 7 - 10 *
陈奇等: "基于深度信息的钢板表面缺陷检测方法", 《2017中国自动化大会(CAC2017)》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307090A (en) * 2020-11-03 2021-02-02 中铁隆工程集团有限公司 Detection method and system based on tunnel safety data
CN112307090B (en) * 2020-11-03 2024-06-25 中铁隆工程集团有限公司 Detection method and system based on tunnel security data
CN112635042A (en) * 2020-12-02 2021-04-09 广州九顶软件股份有限公司 Monitor calibration method, device, equipment and storage medium
CN116026837A (en) * 2022-12-15 2023-04-28 青岛鹏海软件有限公司 Appearance inspection method, system, and electronic device for white goods
CN116818771A (en) * 2023-06-27 2023-09-29 江苏中烟工业有限责任公司 Steel seal defect detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109886928B (en) Target cell marking method, device, storage medium and terminal equipment
CN111815552A (en) A workpiece detection method, device, readable storage medium and terminal device
CN106651849A (en) PCB bare board defect detection method based on area array camera
CN112258507B (en) Object detection method, device and electronic device for Internet data center
CN115035031A (en) Defect detection method and device for PIN (personal identification number) PIN, electronic equipment and storage medium
WO2021046726A1 (en) Method and device for detecting mechanical equipment parts
CN108955901B (en) Infrared temperature measurement method and system and terminal equipment
KR20230042706A (en) Neural network analysis of LFA test strips
JP2017032548A (en) Using 3d vision for automated industrial inspection
CN107271445B (en) Defect detection method and device
CN114419038A (en) Method and device for identifying surface defects of hub, storage medium and electronic equipment
CN107820568A (en) A kind of visible detection method and system
CN111951210A (en) Data processing method, device and equipment
CN109489560B (en) A method and device for measuring linear dimensions, and an intelligent terminal
CN107884049A (en) A kind of weighing products and three-dimensional dimension measurement apparatus
CN117115651B (en) Multi-channel-based remote sensing image target identification method, device, equipment and medium
CN114200429A (en) SVD multi-mechanical type laser radar external parameter calibration method and system based on same visual field
CN103383240A (en) Machine vision two-dimension detecting platform device
CN103063139A (en) Device and method for dimension measurement
WO2021079727A1 (en) Appearance inspection device, appearance inspection method, and appearance inspection program
CN115861443A (en) Multi-camera internal reference calibration method and device, electronic equipment and storage medium
CN120063195A (en) Rail contact net carrier cable crossing position spacing measuring method based on machine vision
CN116993654B (en) Camera module defect detection method, device, equipment, storage medium and product
CN118501894A (en) Image scale factor estimation method, device, electronic device and storage medium
CN114264243B (en) Method for detecting crimping welding spots and measuring wire arc height between crimping welding spots

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201023