[go: up one dir, main page]

CN117911365B - Workpiece quality detection method and system based on image processing technology - Google Patents

Workpiece quality detection method and system based on image processing technology Download PDF

Info

Publication number
CN117911365B
CN117911365B CN202410069740.4A CN202410069740A CN117911365B CN 117911365 B CN117911365 B CN 117911365B CN 202410069740 A CN202410069740 A CN 202410069740A CN 117911365 B CN117911365 B CN 117911365B
Authority
CN
China
Prior art keywords
workpiece
image
inspected
quality inspection
defects
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410069740.4A
Other languages
Chinese (zh)
Other versions
CN117911365A (en
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.)
Weinan Normal University
Original Assignee
Weinan Normal University
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 Weinan Normal University filed Critical Weinan Normal University
Priority to CN202410069740.4A priority Critical patent/CN117911365B/en
Publication of CN117911365A publication Critical patent/CN117911365A/en
Application granted granted Critical
Publication of CN117911365B publication Critical patent/CN117911365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/761Proximity, similarity or dissimilarity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention is applicable to the technical field of workpiece quality inspection, and provides a workpiece quality detection method and system based on an image processing technology, wherein whether a first workpiece image of a workpiece to be inspected is defective or not is judged based on the image processing technology; when determining that the first workpiece image is defective, acquiring various objective environmental parameter difference values, and generating a plurality of normalization adjustment commands according to the various objective environmental parameter difference values so as to obtain a regularized quality inspection environment; in the environment of regulating and controlling quality inspection. When the image processing and recognition technology is used for quality inspection of the workpiece, the workpiece can be intelligently detected in a proper quality inspection environment, and deviation between the actual appearance and the real appearance of the workpiece to be inspected due to the influence of objective environmental factors when the image processing technology is used for recognizing the image of the workpiece to be inspected is avoided, so that the accuracy of the workpiece quality inspection based on the image processing technology is improved.

Description

一种基于图像处理技术的工件质量检测方法及系统A workpiece quality detection method and system based on image processing technology

技术领域Technical Field

本发明属于工件质检技术领域,尤其涉及一种基于图像处理技术的工件质量检测方法及系统。The present invention belongs to the technical field of workpiece quality inspection, and in particular relates to a workpiece quality inspection method and system based on image processing technology.

背景技术Background Art

在例如机械零件、塑模产品等各类工件的生产加工过程中,在很多工序完成之后,都需要对成品或者半成品的工件进行质检,以确定其符合标准加工要求。In the production and processing of various workpieces such as mechanical parts and plastic mold products, after many processes are completed, it is necessary to conduct quality inspection on the finished or semi-finished workpieces to ensure that they meet the standard processing requirements.

目前,通过图像处理、识别技术来对工件质检的方式已经逐渐取代了人为的利用眼睛观察的质检方式,上述的基于图像处理技术的工件质量检测方式具有高效率、低误差等技术优点,但是在现有技术中,有很多工件在不同的环境因素的影响下,其被拍摄出的图像会与实际外观存在偏差,这就导致在利用图像处理技术分析上述的图像时,对图像中的工件是否存在瑕疵的判断存在一定误差,导致质检的准确性变低。At present, the method of using image processing and recognition technology to inspect the quality of workpieces has gradually replaced the manual inspection method of using the eyes for observation. The above-mentioned workpiece quality inspection method based on image processing technology has technical advantages such as high efficiency and low error. However, in the prior art, there are many workpieces whose images captured will deviate from the actual appearance under the influence of different environmental factors. This leads to certain errors in the judgment of whether there are defects in the workpiece in the image when using image processing technology to analyze the above-mentioned images, resulting in lower accuracy of quality inspection.

发明内容Summary of the invention

本发明的目的在于提供一种基于图像处理技术的工件质量检测方法及系统,旨在解决背景技术中提出的问题。The purpose of the present invention is to provide a workpiece quality detection method and system based on image processing technology, aiming to solve the problems raised in the background technology.

本发明是这样实现的,一种基于图像处理技术的工件质量检测方法,所述方法包括:The present invention is implemented as follows: a workpiece quality detection method based on image processing technology, the method comprising:

基于图像处理技术,判断待检工件的第一工件图像是否存瑕;Based on image processing technology, determining whether the first workpiece image of the workpiece to be inspected has defects;

在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境;When determining whether the first workpiece image has defects, obtaining various objective environmental parameter difference values, and generating a plurality of standardization adjustment commands according to the various objective environmental parameter difference values, so as to obtain a regulated quality inspection environment;

在调控化质检环境下,判断待检工件的第二工件图像是否存瑕;In a controlled quality inspection environment, determining whether a second workpiece image of the workpiece to be inspected has defects;

若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施。If it is determined that the second workpiece image has defects, the workpiece to be inspected is classified as a defective workpiece, and simulated adjustment measures are taken on the regulated quality inspection environment.

作为本发明实施例技术方案进一步的限定,基于图像处理技术,判断待检工件的第一工件图像是否存瑕的步骤包括:As a further limitation of the technical solution of the embodiment of the present invention, based on the image processing technology, the step of determining whether the first workpiece image of the workpiece to be inspected has defects includes:

获取待检工件的标准件图像数据以及第一工件图像;Acquire standard part image data of the workpiece to be inspected and a first workpiece image;

根据待检工件的标准件图像数据,获取待检工件的标准件图像;Acquire a standard part image of the workpiece to be inspected according to the standard part image data of the workpiece to be inspected;

基于图像处理技术,将待检工件的第一工件图像与标准件图像进行相似度对比,以判断待检工件的第一工件图像是否存瑕。Based on the image processing technology, the first workpiece image of the workpiece to be inspected is compared with the standard part image for similarity to determine whether the first workpiece image of the workpiece to be inspected has defects.

作为本发明实施例技术方案进一步的限定,在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到标准质检环境的步骤包括:As a further limitation of the technical solution of the embodiment of the present invention, when determining whether the first workpiece image has defects, obtaining the difference values of various objective environmental parameters, and generating multiple standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a standard quality inspection environment includes:

根据标准件图像数据,获取预设标准质检环境的各类客观环境参数;According to the image data of standard parts, various objective environmental parameters of the preset standard quality inspection environment are obtained;

获取初始质检环境的各类环境参数,并将初始质检环境与预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;Obtain various environmental parameters of the initial quality inspection environment, and compare the initial quality inspection environment with various objective environmental parameters of the preset standard quality inspection environment one by one to obtain the difference values of various objective environmental parameters;

根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。According to the difference values of various objective environmental parameters, multiple standardized adjustment commands are generated to obtain a regulated quality inspection environment.

作为本发明实施例技术方案进一步的限定,根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境的步骤包括:As a further limitation of the technical solution of the embodiment of the present invention, the steps of generating multiple standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment include:

根据各类客观环境参数差异值生成多份趋于标准化调整命令,所述客观环境参数包括温度参数、湿度参数以及光线强度参数;Generate multiple standardization adjustment commands according to the difference values of various objective environmental parameters, wherein the objective environmental parameters include temperature parameters, humidity parameters, and light intensity parameters;

将多份趋于标准化调整命令分别下发给各自对应的调控元件,以获得调控化质检环境。Multiple standardization adjustment commands are respectively issued to their corresponding control elements to obtain a regulated quality inspection environment.

作为本发明实施例技术方案进一步的限定,在调控化质检环境下,判断待检工件的第二工件图像是否存瑕的步骤包括:As a further limitation of the technical solution of the embodiment of the present invention, in the regulated quality inspection environment, the step of determining whether the second workpiece image of the workpiece to be inspected has defects includes:

在调控化质检环境下,获取待检工件的第二工件图像;Acquiring a second workpiece image of the workpiece to be inspected in a controlled quality inspection environment;

基于图像处理技术,将待检工件的第二工件图像与待检工件的标准件图像进行相似度对比;Based on image processing technology, a second workpiece image of the workpiece to be inspected is compared with a standard part image of the workpiece to be inspected for similarity;

判断待检工件在调控化质检环境下的第二工件图像是否存瑕。It is determined whether the second workpiece image of the workpiece to be inspected in the regulated quality inspection environment has defects.

作为本发明实施例技术方案进一步的限定,若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施的步骤包括:As a further limitation of the technical solution of the embodiment of the present invention, if it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and the steps of simulating adjustment measures for the regulated quality inspection environment include:

若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并生成存瑕工件提示信息;If it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and defective workpiece prompt information is generated;

对调控化质检环境的各类客观环境参数进行预设量的调节,且每进行一次客观环境参数的调节,均获取一次第三工件图像;Adjust various objective environmental parameters of the controlled quality inspection environment by a preset amount, and obtain a third workpiece image each time the objective environmental parameters are adjusted;

基于图像处理技术,将第三工件图像与待检工件的标准件图像进行相似度对比,并判断第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度是否升高;Based on image processing technology, the third workpiece image is compared with the standard part image of the workpiece to be inspected for similarity, and it is determined whether the similarity between the third workpiece image and the standard part image of the workpiece to be inspected is higher than the similarity between the second workpiece image and the standard part image of the workpiece to be inspected;

当判定相似度升高时,获取调节的客观环境参数以及调节的预设量之总。When it is determined that the similarity increases, the sum of the adjusted objective environment parameters and the adjusted preset amount is obtained.

一种基于图像处理技术的工件质量检测系统,所述系统包括:第一图像判断模块、趋于标准化调整命令生成模块、第二图像判断模块以及存瑕工件确定模块,其中:A workpiece quality inspection system based on image processing technology, the system comprises: a first image judgment module, a standardization adjustment command generation module, a second image judgment module and a defective workpiece determination module, wherein:

第一图像判断模块,用于基于图像处理技术,判断待检工件的第一工件图像是否存瑕;A first image judgment module, used for judging whether the first workpiece image of the workpiece to be inspected has defects based on image processing technology;

趋于标准化调整命令生成模块,用于在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境;A module for generating a standardization adjustment command, for obtaining the difference values of various objective environmental parameters when determining that the first workpiece image has defects, and generating a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment;

第二图像判断模块,用于在调控化质检环境下,判断待检工件的第二工件图像是否存瑕;A second image judgment module is used to judge whether the second workpiece image of the workpiece to be inspected has defects in a controlled quality inspection environment;

存瑕工件确定模块,用于若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施。The defective workpiece determination module is used to classify the workpiece to be inspected as a defective workpiece if it is determined that the second workpiece image has defects, and to perform simulated adjustment measures on the regulated quality inspection environment.

作为本发明实施例技术方案进一步的限定,所述第一图像判断模块具体包括:As a further limitation of the technical solution of the embodiment of the present invention, the first image determination module specifically includes:

数据获取单元,用于获取待检工件的标准件图像数据以及第一工件图像;A data acquisition unit, used to acquire standard part image data of the workpiece to be inspected and a first workpiece image;

标准件图像获取单元,用于根据待检工件的标准件图像数据,获取待检工件的标准件图像;A standard part image acquisition unit, used for acquiring a standard part image of the workpiece to be inspected according to the standard part image data of the workpiece to be inspected;

第一工件图像判断单元,用于基于图像处理技术,将待检工件的第一工件图像与标准件图像进行相似度对比,以判断待检工件的第一工件图像是否存瑕。The first workpiece image judging unit is used to compare the first workpiece image of the workpiece to be inspected with the standard part image for similarity based on image processing technology to judge whether the first workpiece image of the workpiece to be inspected has defects.

作为本发明实施例技术方案进一步的限定,所述趋于标准化调整命令生成模块具体包括:As a further limitation of the technical solution of the embodiment of the present invention, the standardization adjustment command generation module specifically includes:

相关环境参数获取单元,用于根据标准件图像数据,获取预设标准质检环境的各类客观环境参数;A relevant environmental parameter acquisition unit is used to acquire various objective environmental parameters of a preset standard quality inspection environment according to the standard component image data;

客观环境参数差异值获得单元,用于获取初始质检环境的各类环境参数,并将初始质检环境与预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;The objective environment parameter difference value obtaining unit is used to obtain various environmental parameters of the initial quality inspection environment, and compare the initial quality inspection environment with various objective environment parameters of the preset standard quality inspection environment one by one to obtain various objective environment parameter difference values;

趋于标准化调整命令生成单元,用于根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。The standardization adjustment command generating unit is used to generate a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment.

作为本发明实施例技术方案进一步的限定,所述第二图像判断模块具体包括:As a further limitation of the technical solution of the embodiment of the present invention, the second image determination module specifically includes:

第二工件图像获取单元,用于在调控化质检环境下,获取待检工件的第二工件图像;A second workpiece image acquisition unit, used to acquire a second workpiece image of the workpiece to be inspected in a controlled quality inspection environment;

第二工件图像分析单元,用于基于图像处理技术,将待检工件的第二工件图像与待检工件的标准件图像进行相似度对比;A second workpiece image analysis unit, used for comparing the second workpiece image of the workpiece to be inspected with the standard part image of the workpiece to be inspected for similarity based on image processing technology;

第二工件图像判断单元,用于判断待检工件在调控化质检环境下的第二工件图像是否存瑕。The second workpiece image judging unit is used to judge whether the second workpiece image of the workpiece to be inspected in the regulated quality inspection environment has defects.

与现有技术相比,本发明通过基于图像处理技术,判断待检工件的第一工件图像是否存瑕;在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境;在调控化质检环境下,判断待检工件的第二工件图像是否存瑕;若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施。在利用图像处理、识别技术对工件进行质检时,能够使得工件处于适当的质检环境下被智能检测,避免在利用图像处理技术识别待检工件的图像时,由于受客观环境因素的影响,而导致待检工件的实际表象与真实表象存在偏差,从而提高了本基于图像处理技术的工件质量检测方法对工件质检的准确性。Compared with the prior art, the present invention determines whether the first workpiece image of the workpiece to be inspected has defects based on image processing technology; when it is determined that the first workpiece image has defects, the difference values of various objective environmental parameters are obtained, and multiple standardized adjustment commands are generated according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment; in the regulated quality inspection environment, it is determined whether the second workpiece image of the workpiece to be inspected has defects; if it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and simulated adjustment measures are taken for the regulated quality inspection environment. When the workpiece is inspected by using image processing and recognition technology, the workpiece can be intelligently inspected in an appropriate quality inspection environment, avoiding the deviation between the actual appearance of the workpiece to be inspected and the true appearance due to the influence of objective environmental factors when the image processing technology is used to identify the image of the workpiece to be inspected, thereby improving the accuracy of the workpiece quality inspection method based on image processing technology.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例提供的方法的流程图;FIG1 is a flow chart of a method provided by an embodiment of the present invention;

图2为本发明实施例提供的方法中判断待检工件的第一工件图像是否存瑕的流程图;2 is a flow chart of determining whether a first workpiece image of a workpiece to be inspected has defects in a method provided by an embodiment of the present invention;

图3为本发明实施例提供的方法中生成多份趋于标准化调整命令,并获得标准质检环境的流程图;3 is a flow chart of generating multiple standardization adjustment commands and obtaining a standard quality inspection environment in a method provided by an embodiment of the present invention;

图4为本发明实施例提供的方法中生成趋于标准化调整命令的流程图;FIG4 is a flow chart of generating a standardization adjustment command in a method provided by an embodiment of the present invention;

图5为本发明实施例提供的方法中判断待检工件的第二工件图像是否存瑕的流程图;5 is a flow chart of determining whether a second workpiece image of a workpiece to be inspected has defects in a method provided by an embodiment of the present invention;

图6为本发明实施例提供的方法中将待检工件划定为存瑕工件的流程图;6 is a flow chart of classifying a workpiece to be inspected as a defective workpiece in a method provided by an embodiment of the present invention;

图7为本发明实施例提供的系统的应用架构图;FIG7 is an application architecture diagram of a system provided by an embodiment of the present invention;

图8为本发明实施例提供的系统中第一图像判断模块的结构框图;FIG8 is a structural block diagram of a first image determination module in a system provided by an embodiment of the present invention;

图9为本发明实施例提供的系统中趋于标准化调整命令生成模块的结构框图;9 is a structural block diagram of a standardization adjustment command generation module in a system provided by an embodiment of the present invention;

图10为本发明实施例提供的系统中第二图像判断模块的结构框图。FIG. 10 is a structural block diagram of a second image determination module in the system provided in an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但除非特别说明,这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一xx脚本称为第二xx脚本,且类似地,可将第二xx脚本称为第一xx脚本。It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

图1示出了本发明实施例提供的方法的流程图。FIG1 shows a flow chart of a method provided by an embodiment of the present invention.

具体的,一种基于图像处理技术的工件质量检测方法,所述方法具体包括以下步骤:Specifically, a workpiece quality detection method based on image processing technology comprises the following steps:

步骤S100,基于图像处理技术,判断待检工件的第一工件图像是否存瑕。Step S100: Based on image processing technology, determine whether a first workpiece image of the workpiece to be inspected has defects.

具体的,图2示出了判断待检工件的第一工件图像是否存瑕的流程图。Specifically, FIG2 shows a flow chart of determining whether a first workpiece image of a workpiece to be inspected has defects.

其中,基于图像处理技术,判断待检工件的第一工件图像是否存瑕具体包括以下步骤:Wherein, based on the image processing technology, determining whether the first workpiece image of the workpiece to be inspected has defects specifically includes the following steps:

步骤S101,获取待检工件的标准件图像数据以及第一工件图像;Step S101, acquiring standard part image data of a workpiece to be inspected and a first workpiece image;

步骤S102,根据待检工件的标准件图像数据,获取待检工件的标准件图像;Step S102, obtaining a standard part image of the workpiece to be inspected according to the standard part image data of the workpiece to be inspected;

步骤S103,基于图像处理技术,将待检工件的第一工件图像与标准件图像进行相似度对比,以判断待检工件的第一工件图像是否存瑕。Step S103 : Based on image processing technology, the first workpiece image of the workpiece to be inspected is compared with the standard part image for similarity to determine whether the first workpiece image of the workpiece to be inspected has defects.

在本发明实施例中,在质检车间内独立设置有专门的工件质检区域,且该工件质检区域是用来检查待检工件的外观是否与工件的标准外观相同,并以检查结果来判断待检工件是否存在质量问题;In the embodiment of the present invention, a dedicated workpiece quality inspection area is independently set up in the quality inspection workshop, and the workpiece quality inspection area is used to check whether the appearance of the workpiece to be inspected is the same as the standard appearance of the workpiece, and to judge whether there is a quality problem with the workpiece to be inspected based on the inspection result;

工件质检区域内至少安设有一个高清摄像头,该高清摄像头通过无线网或者数据线与后台处理云端相连,后台处理云端中预设有数据模型,且数据模型中储存有各类工件的标准件图像数据;At least one high-definition camera is installed in the workpiece quality inspection area, and the high-definition camera is connected to the background processing cloud through a wireless network or a data cable. The background processing cloud is preset with a data model, and the data model stores the standard parts image data of various workpieces;

在待检工件送入工件质检区域内后,高清摄像头即开始拍摄作业,进而获取待检工件的第一工件图像,随后后台处理云端对第一工件图像进行分析,并通过图像处理技术确定待检工件的所属类型,然后后台处理云端根据待检工件的所属类型在数据模型中查找与其对应的标准件图像数据,进而获得待检工件的标准件图像数据;After the workpiece to be inspected is sent into the workpiece quality inspection area, the high-definition camera starts shooting, and then obtains the first workpiece image of the workpiece to be inspected. Then the backend processing cloud analyzes the first workpiece image and determines the type of the workpiece to be inspected through image processing technology. Then the backend processing cloud searches for the corresponding standard part image data in the data model according to the type of the workpiece to be inspected, and then obtains the standard part image data of the workpiece to be inspected.

可以理解的是,在后台处理云端得到了待检工件的标准件图像以及第一工件图像后,利用目前现有技术中成熟的图像处理技术来对待检工件的第一工件图像与标准件图像进行相似度对比,并获取相似度数值,当相似度数值低于后台处理云端预设的相似度阈值时,则说明第一工件图像存瑕,当相似度数值不低于后台处理云端预设的相似度阈值时,则说明第一工件图像不存瑕。It can be understood that after the standard part image and the first workpiece image of the workpiece to be inspected are obtained in the background processing cloud, the mature image processing technology in the current prior art is used to compare the first workpiece image of the workpiece to be inspected with the standard part image, and obtain the similarity value. When the similarity value is lower than the similarity threshold preset in the background processing cloud, it means that the first workpiece image has defects. When the similarity value is not lower than the similarity threshold preset in the background processing cloud, it means that the first workpiece image has no defects.

进一步的,所述基于图像处理技术的工件质量检测方法还包括以下步骤:Furthermore, the workpiece quality detection method based on image processing technology also includes the following steps:

步骤S200,在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。Step S200, when determining that the first workpiece image has defects, obtaining various objective environmental parameter difference values, and generating a plurality of standardization adjustment commands according to the various objective environmental parameter difference values, so as to obtain a regulated quality inspection environment.

具体的,图3示出了生成多份趋于标准化调整命令,并获得标准质检环境的流程图。Specifically, FIG3 shows a flow chart of generating multiple standardization adjustment commands and obtaining a standard quality inspection environment.

其中,在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境具体包括以下步骤:Among them, when determining whether the first workpiece image has defects, obtaining the difference values of various objective environmental parameters, and generating multiple standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment specifically includes the following steps:

步骤S201,根据标准件图像数据,获取预设标准质检环境的各类客观环境参数;Step S201, obtaining various objective environmental parameters of a preset standard quality inspection environment according to the standard component image data;

步骤S202,获取初始质检环境的各类环境参数,并将初始质检环境与预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;Step S202, obtaining various environmental parameters of the initial quality inspection environment, and comparing the initial quality inspection environment with various objective environmental parameters of the preset standard quality inspection environment one by one to obtain difference values of various objective environmental parameters;

步骤S203,根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。Step S203, generating a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment.

在本发明实施例中,在后台处理云端确定了进入工件质检区域内的待检工件的第一工件图像存瑕时,并不代表待检工件一定存在瑕疵,因为工件质检区域的初始质检环境可能会对待检工件的实际表象产生改变,导致高清摄像头捕捉下来的第一工件图像并非待检工件的真实外观,举例说明,工件质检区域内的光线强度相较于正常条件下较弱,这就导致处于工件质检区域内的待检工件的实际表象因较弱的光线强度而发生改变;In the embodiment of the present invention, when the backend processing cloud determines that the first workpiece image of the workpiece to be inspected entering the workpiece quality inspection area has defects, it does not mean that the workpiece to be inspected must have defects, because the initial quality inspection environment of the workpiece quality inspection area may change the actual appearance of the workpiece to be inspected, resulting in the first workpiece image captured by the high-definition camera not being the true appearance of the workpiece to be inspected. For example, the light intensity in the workpiece quality inspection area is weaker than that under normal conditions, which causes the actual appearance of the workpiece to be inspected in the workpiece quality inspection area to change due to the weak light intensity;

可以理解的是,为进一步的提高高清摄像头所能捕捉的待检工件的图像的真实性,工件质检区域内预先安装有光线传感元件、温度传感元件以及湿度传感元件,并且还安装有光线强度调节器、温度调节器以及湿度调节器,且光线传感元件、温度传感元件以及湿度传感元件均与后台处理云端无线连接,后台处理云端通过光线传感元件、温度传感元件以及湿度传感元件,能够实时的获取工件质检区域内的光线强度参数、湿度参数以及温度参数,后台处理云端的数据模型中还储存有不同类型的工件的预设标准质检环境的各类客观环境参数;It can be understood that in order to further improve the authenticity of the image of the workpiece to be inspected that can be captured by the high-definition camera, a light sensor element, a temperature sensor element and a humidity sensor element are pre-installed in the workpiece quality inspection area, and a light intensity regulator, a temperature regulator and a humidity regulator are also installed, and the light sensor element, the temperature sensor element and the humidity sensor element are all wirelessly connected to the background processing cloud. The background processing cloud can obtain the light intensity parameters, humidity parameters and temperature parameters in the workpiece quality inspection area in real time through the light sensor element, the temperature sensor element and the humidity sensor element. The data model of the background processing cloud also stores various objective environmental parameters of the preset standard quality inspection environment of different types of workpieces;

在后台处理云端确定了进入工件质检区域内的待检工件的第一工件图像存瑕时,应当尽可能的降低工件质检区域的初始质检环境与预设标准质检环境之间的差异,其具体操作方式为,后台处理云端首先根据标准件图像数据来获取预设标准质检环境的各类客观环境参数,随后通过光线传感元件、温度传感元件以及湿度传感元件来,获取初始质检环境中的各类环境参数,之后后台处理云端将初始质检环境与待检工件对应的预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;When the background processing cloud determines that the first workpiece image of the workpiece to be inspected entering the workpiece quality inspection area has defects, the difference between the initial quality inspection environment of the workpiece quality inspection area and the preset standard quality inspection environment should be reduced as much as possible. The specific operation method is that the background processing cloud first obtains various objective environmental parameters of the preset standard quality inspection environment based on the standard part image data, and then obtains various environmental parameters in the initial quality inspection environment through light sensing elements, temperature sensing elements and humidity sensing elements. After that, the background processing cloud compares the initial quality inspection environment with various objective environmental parameters of the preset standard quality inspection environment corresponding to the workpiece to be inspected, and obtains the difference values of various objective environmental parameters;

举例说明,后台处理云端通过光线传感元件、温度传感元件以及湿度传感元件获取而来的初始质检环境中的光线强度参数为500勒克斯、温度参数为25摄氏度、湿度参数为相对湿度30%,而预设标准质检环境的各类客观环境参数分别为,光线强度参数为1000勒克斯、温度参数为25摄氏度、湿度参数为相对湿度20%,则初始质检环境与待检工件对应的预设标准质检环境之间具有-500勒克斯的光线强度差异以及10%的湿度差异。For example, the light intensity parameters of the initial quality inspection environment obtained by the backend processing cloud through light sensors, temperature sensors and humidity sensors are 500 lux, 25 degrees Celsius and 30% relative humidity, while the various objective environmental parameters of the preset standard quality inspection environment are 1000 lux, 25 degrees Celsius and 20% relative humidity. There is a light intensity difference of -500 lux and a humidity difference of 10% between the initial quality inspection environment and the preset standard quality inspection environment corresponding to the workpiece to be inspected.

具体的,图4示出了生成趋于标准化调整命令的流程图。Specifically, FIG4 shows a flow chart of generating a normalization adjustment command.

其中,根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境具体包括以下步骤:Among them, generating multiple standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment specifically includes the following steps:

步骤S2031,根据各类客观环境参数差异值生成多份趋于标准化调整命令,所述客观环境参数包括温度参数、湿度参数以及光线强度参数;Step S2031, generating a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters, wherein the objective environmental parameters include temperature parameters, humidity parameters, and light intensity parameters;

步骤S2032,将多份趋于标准化调整命令分别下发给各自对应的调控元件,以获得调控化质检环境。Step S2032: Send multiple standardization adjustment commands to their corresponding control elements respectively to obtain a regulated quality inspection environment.

在本发明实施例中,在后台处理云端确定了各类客观环境参数差异值后,即可根据各类客观环境参数差异值来生成趋于标准化调整命令,并将趋于标准化调整命令下发给与之对应的调控元件;In the embodiment of the present invention, after the difference values of various objective environmental parameters are determined in the background processing cloud, a standardization adjustment command can be generated according to the difference values of various objective environmental parameters, and the standardization adjustment command can be issued to the corresponding control element;

举例说明,在后台处理云端确定了初始质检环境存在-500勒克斯以及相对湿度10%的客观环境参数差异值后,即可将根据上述的客观环境参数差异值来生成两份趋于标准化调整命令,并分别发送给光线强度调节器和湿度调节器,从而使得光线强度调节器和湿度调节器进行补偿工作,以得到调控化质检环境,且该调控化质检环境与待检工件对应的预设标准质检环境接近。For example, after the background processing cloud determines that the initial quality inspection environment has objective environmental parameter difference values of -500 lux and 10% relative humidity, two standardized adjustment commands can be generated based on the above objective environmental parameter difference values and sent to the light intensity regulator and humidity regulator respectively, so that the light intensity regulator and humidity regulator can perform compensation work to obtain a regulated quality inspection environment, and the regulated quality inspection environment is close to the preset standard quality inspection environment corresponding to the workpiece to be inspected.

进一步的,所述基于图像处理技术的工件质量检测方法还包括以下步骤:Furthermore, the workpiece quality detection method based on image processing technology also includes the following steps:

步骤S300,在调控化质检环境下,判断待检工件的第二工件图像是否存瑕。Step S300: determining whether a second workpiece image of the workpiece to be inspected has defects in a controlled quality inspection environment.

具体的,图5示出了判断待检工件的第二工件图像是否存瑕的流程图。Specifically, FIG5 shows a flow chart of determining whether the second workpiece image of the workpiece to be inspected has defects.

其中,在调控化质检环境下,判断待检工件的第二工件图像是否存瑕具体包括以下步骤:Wherein, in the controlled quality inspection environment, determining whether the second workpiece image of the workpiece to be inspected has defects specifically includes the following steps:

步骤S301,在调控化质检环境下,获取待检工件的第二工件图像;Step S301, obtaining a second workpiece image of the workpiece to be inspected in a controlled quality inspection environment;

步骤S302,基于图像处理技术,将待检工件的第二工件图像与待检工件的标准件图像进行相似度对比;Step S302, based on image processing technology, a second workpiece image of the workpiece to be inspected is compared with a standard part image of the workpiece to be inspected for similarity;

步骤S303,判断待检工件在调控化质检环境下的第二工件图像是否存瑕。Step S303, determining whether the second workpiece image of the workpiece to be inspected under the controlled quality inspection environment has any defects.

进一步的,所述基于图像处理技术的工件质量检测方法还包括以下步骤:Furthermore, the workpiece quality detection method based on image processing technology also includes the following steps:

步骤S400,若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施。Step S400: If it is determined that the second workpiece image has defects, the workpiece to be inspected is classified as a defective workpiece, and simulated adjustment measures are performed on the controlled quality inspection environment.

具体的,图6示出了将待检工件划定为存瑕工件的流程图。Specifically, FIG6 shows a flow chart of classifying a workpiece to be inspected as a defective workpiece.

其中,若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施具体包括以下步骤:If it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and simulation adjustment measures are performed on the controlled quality inspection environment. Specifically, the following steps are included:

步骤S601,若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并生成存瑕工件提示信息;Step S601, if it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and defective workpiece prompt information is generated;

步骤S602,对调控化质检环境的各类客观环境参数进行预设量的调节,且每进行一次客观环境参数的调节,均获取一次第三工件图像;Step S602, adjusting various objective environmental parameters of the regulated quality inspection environment by a preset amount, and acquiring a third workpiece image each time the objective environmental parameters are adjusted;

步骤S603,基于图像处理技术,将第三工件图像与待检工件的标准件图像进行相似度对比,并判断第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度是否升高;Step S603, based on image processing technology, the third workpiece image is compared with the standard part image of the workpiece to be inspected for similarity, and it is determined whether the similarity between the third workpiece image and the standard part image of the workpiece to be inspected is higher than the similarity between the second workpiece image and the standard part image of the workpiece to be inspected;

步骤S604,当判定相似度升高时,获取调节的客观环境参数以及调节的预设量之总。Step S604, when it is determined that the similarity is increased, the sum of the adjusted objective environment parameters and the adjusted preset amount is obtained.

在本发明实施例中,若后台处理云端通过图像处理技术对高清摄像头处于调控化质检环境下的待检工件拍摄的第二工件图像进行分析后,判定第二工件图像仍然存瑕,则可以确定待检工件存瑕,此时后台处理云端将待检工件划定为存瑕工件,并生成存瑕工件提示信息,且可以将存瑕工件提示信息发送给质检人员终端,优选的后台处理云端还可以通过图像处理技术在第二工件图像上标记出存瑕区域;In an embodiment of the present invention, if the backend processing cloud analyzes the second workpiece image taken by the high-definition camera in the controlled quality inspection environment through image processing technology and determines that the second workpiece image still has defects, it can be determined that the workpiece to be inspected has defects. At this time, the backend processing cloud defines the workpiece to be inspected as a defective workpiece, generates defective workpiece prompt information, and can send the defective workpiece prompt information to the quality inspector terminal. Preferably, the backend processing cloud can also mark the defective area on the second workpiece image through image processing technology;

通过上述技术方案,在利用图像处理、识别技术对工件进行质检时,能够使得工件处于适当的质检环境下被智能检测,避免在利用图像处理技术识别待检工件的图像时,由于受客观环境因素的影响,而导致待检工件的实际表象与真实表象存在偏差,从而提高了本基于图像处理技术的工件质量检测方法对工件质检的准确性;Through the above technical solution, when the workpiece is inspected by using image processing and recognition technology, the workpiece can be intelligently inspected in an appropriate quality inspection environment, avoiding the deviation between the actual appearance of the workpiece to be inspected and the true appearance due to the influence of objective environmental factors when the image processing technology is used to identify the image of the workpiece to be inspected, thereby improving the accuracy of the workpiece quality inspection method based on image processing technology;

在确定了第二工件图像仍然存瑕时,还可以对调控化质检环境的各类客观环境参数进行预设量的调节,且每进行一次客观环境参数的调节,均获取一次第三工件图像,并且后台处理云端还基于图像处理技术,将第三工件图像与待检工件的标准件图像进行相似度对比,并判断第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度是否升高,当判定相似度升高时,获取调节的客观环境参数以及调节的预设量之总,上述步骤的目的是,判断工件的质量原因是否与环境因素有关;When it is determined that the second workpiece image still has defects, various objective environmental parameters of the controlled quality inspection environment can also be adjusted by preset amounts, and each time the objective environmental parameters are adjusted, a third workpiece image is obtained, and the background processing cloud also compares the third workpiece image with the standard part image of the workpiece to be inspected based on image processing technology, and determines whether the similarity between the third workpiece image and the standard part image of the workpiece to be inspected is increased compared to the similarity between the second workpiece image and the standard part image of the workpiece to be inspected. When it is determined that the similarity is increased, the sum of the adjusted objective environmental parameters and the preset amounts of adjustment is obtained. The purpose of the above steps is to determine whether the quality cause of the workpiece is related to environmental factors;

举例说明,后台处理云端对工件质检区域内的进行一次升高调节,且调节之后,获取到的第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度处于升高状态,则侧面说明,待检工件的质量原因可能是其加工温度不足导致,从而提高了本基于图像处理技术的工件质量检测方法的智能程度。For example, the background processing cloud performs an upward adjustment on the workpiece quality inspection area, and after the adjustment, the similarity between the acquired third workpiece image and the standard part image of the workpiece to be inspected is in an increased state compared to the similarity between the second workpiece image and the standard part image of the workpiece to be inspected. This indirectly indicates that the quality reason of the workpiece to be inspected may be caused by insufficient processing temperature, thereby improving the intelligence level of the workpiece quality detection method based on image processing technology.

进一步的,图7示出了本发明实施例提供的系统的应用架构图。Furthermore, FIG7 shows an application architecture diagram of the system provided by an embodiment of the present invention.

其中,在本发明提供的又一个优选实施方式中,一种基于图像处理技术的工件质量检测系统,包括:Among them, in another preferred embodiment provided by the present invention, a workpiece quality detection system based on image processing technology includes:

第一图像判断模块100,用于基于图像处理技术,判断待检工件的第一工件图像是否存瑕。The first image determination module 100 is used to determine whether the first workpiece image of the workpiece to be inspected has defects based on image processing technology.

具体的,图8示出了本发明实施例提供的系统中第一图像判断模块100的结构框图。Specifically, FIG8 shows a structural block diagram of the first image determination module 100 in the system provided in an embodiment of the present invention.

其中,在本发明提供的优选实施方式中,所述第一图像判断模块100具体包括:Among them, in the preferred embodiment provided by the present invention, the first image determination module 100 specifically includes:

数据获取单元101,用于获取待检工件的标准件图像数据以及第一工件图像;A data acquisition unit 101 is used to acquire standard part image data of the workpiece to be inspected and a first workpiece image;

标准件图像获取单元102,用于根据待检工件的标准件图像数据,获取待检工件的标准件图像;The standard part image acquisition unit 102 is used to acquire the standard part image of the workpiece to be inspected according to the standard part image data of the workpiece to be inspected;

第一工件图像判断单元103,用于基于图像处理技术,将待检工件的第一工件图像与标准件图像进行相似度对比,以判断待检工件的第一工件图像是否存瑕。The first workpiece image judging unit 103 is used to compare the first workpiece image of the workpiece to be inspected with the standard part image for similarity based on image processing technology to judge whether the first workpiece image of the workpiece to be inspected has defects.

在本发明实施例中,在质检车间内独立设置有专门的工件质检区域,且该工件质检区域是用来检查待检工件的外观是否与工件的标准外观相同,并以检查结果来判断待检工件是否存在质量问题;In the embodiment of the present invention, a dedicated workpiece quality inspection area is independently set up in the quality inspection workshop, and the workpiece quality inspection area is used to check whether the appearance of the workpiece to be inspected is the same as the standard appearance of the workpiece, and to judge whether there is a quality problem with the workpiece to be inspected based on the inspection result;

工件质检区域内至少安设有一个高清摄像头,该高清摄像头通过无线网或者数据线与后台处理云端相连,后台处理云端中预设有数据模型,且数据模型中储存有各类工件的标准件图像数据;At least one high-definition camera is installed in the workpiece quality inspection area, and the high-definition camera is connected to the background processing cloud through a wireless network or a data cable. The background processing cloud is preset with a data model, and the data model stores the standard parts image data of various workpieces;

在待检工件送入工件质检区域内后,高清摄像头即开始拍摄作业,进而数据获取单元101获取待检工件的第一工件图像,随后数据获取单元101对第一工件图像进行分析,并通过图像处理技术确定待检工件的所属类型,然后数据获取单元101根据待检工件的所属类型在数据模型中查找与其对应的标准件图像数据,进而获得待检工件的标准件图像数据;After the workpiece to be inspected is sent into the workpiece quality inspection area, the high-definition camera starts shooting, and then the data acquisition unit 101 acquires the first workpiece image of the workpiece to be inspected. Then the data acquisition unit 101 analyzes the first workpiece image and determines the type of the workpiece to be inspected through image processing technology. Then the data acquisition unit 101 searches for the corresponding standard part image data in the data model according to the type of the workpiece to be inspected, and then obtains the standard part image data of the workpiece to be inspected;

可以理解的是,在数据获取单元101得到了待检工件的标准件图像以及第一工件图像后,利用目前现有技术中成熟的图像处理技术来对待检工件的第一工件图像与标准件图像进行相似度对比,并获取相似度数值,当相似度数值低于后台处理云端预设的相似度阈值时,则说明第一工件图像存瑕,当相似度数值不低于后台处理云端预设的相似度阈值时,则说明第一工件图像不存瑕。It can be understood that after the data acquisition unit 101 obtains the standard part image and the first workpiece image of the workpiece to be inspected, the mature image processing technology in the current prior art is used to compare the first workpiece image of the workpiece to be inspected with the standard part image, and obtain the similarity value. When the similarity value is lower than the similarity threshold preset in the background processing cloud, it means that the first workpiece image has defects. When the similarity value is not lower than the similarity threshold preset in the background processing cloud, it means that the first workpiece image has no defects.

进一步的,所述基于图像处理技术的工件质量检测系统还包括:Furthermore, the workpiece quality detection system based on image processing technology also includes:

趋于标准化调整命令生成模块200,用于在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。The module 200 for generating the standardization adjustment command is used to obtain the difference values of various objective environmental parameters when determining that the first workpiece image has defects, and to generate a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment.

具体的,图9示出了本发明实施例提供的系统中趋于标准化调整命令生成模块200的结构框图。Specifically, FIG. 9 shows a structural block diagram of a standardization adjustment command generating module 200 in a system provided by an embodiment of the present invention.

其中,在本发明提供的优选实施方式中,所述趋于标准化调整命令生成模块200具体包括:Among them, in the preferred embodiment provided by the present invention, the standardization adjustment command generation module 200 specifically includes:

相关环境参数获取单元201,用于根据标准件图像数据,获取预设标准质检环境的各类客观环境参数;The relevant environment parameter acquisition unit 201 is used to acquire various objective environment parameters of a preset standard quality inspection environment according to the standard component image data;

客观环境参数差异值获得单元202,用于获取初始质检环境的各类环境参数,并将初始质检环境与预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;The objective environment parameter difference value obtaining unit 202 is used to obtain various environmental parameters of the initial quality inspection environment, and compare the initial quality inspection environment with various objective environment parameters of the preset standard quality inspection environment one by one to obtain various objective environment parameter difference values;

趋于标准化调整命令生成单元203,用于根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。The standardization adjustment command generating unit 203 is used to generate a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment.

在本发明实施例中,在第一图像判断模块100确定了进入工件质检区域内的待检工件的第一工件图像存瑕时,并不代表待检工件一定存在瑕疵,因为工件质检区域的初始质检环境可能会对待检工件的实际表象产生改变,导致高清摄像头捕捉下来的第一工件图像并非待检工件的真实外观,举例说明,工件质检区域内的光线强度相较于正常条件下较弱,这就导致处于工件质检区域内的待检工件的实际表象因较弱的光线强度而发生改变;In the embodiment of the present invention, when the first image judgment module 100 determines that the first workpiece image of the workpiece to be inspected entering the workpiece quality inspection area has defects, it does not mean that the workpiece to be inspected must have defects, because the initial quality inspection environment of the workpiece quality inspection area may change the actual appearance of the workpiece to be inspected, resulting in the first workpiece image captured by the high-definition camera not being the true appearance of the workpiece to be inspected. For example, the light intensity in the workpiece quality inspection area is weaker than that under normal conditions, which causes the actual appearance of the workpiece to be inspected in the workpiece quality inspection area to change due to the weak light intensity;

可以理解的是,为进一步的提高高清摄像头所能捕捉的待检工件的图像的真实性,工件质检区域内预先安装有光线传感元件、温度传感元件以及湿度传感元件,并且还安装有光线强度调节器、温度调节器以及湿度调节器,且光线传感元件、温度传感元件以及湿度传感元件均与后台处理云端无线连接,相关环境参数获取单元201通过光线传感元件、温度传感元件以及湿度传感元件,能够实时的获取工件质检区域内的光线强度参数、湿度参数以及温度参数,后台处理云端的数据模型中还储存有不同类型的工件的预设标准质检环境的各类客观环境参数;It can be understood that, in order to further improve the authenticity of the image of the workpiece to be inspected that can be captured by the high-definition camera, a light sensor element, a temperature sensor element and a humidity sensor element are pre-installed in the workpiece quality inspection area, and a light intensity regulator, a temperature regulator and a humidity regulator are also installed, and the light sensor element, the temperature sensor element and the humidity sensor element are all wirelessly connected to the background processing cloud. The relevant environmental parameter acquisition unit 201 can obtain the light intensity parameter, humidity parameter and temperature parameter in the workpiece quality inspection area in real time through the light sensor element, the temperature sensor element and the humidity sensor element. The data model of the background processing cloud also stores various objective environmental parameters of the preset standard quality inspection environment of different types of workpieces;

在第一图像判断模块100确定了进入工件质检区域内的待检工件的第一工件图像存瑕时,应当尽可能的降低工件质检区域的初始质检环境与预设标准质检环境之间的差异,其具体操作方式为,相关环境参数获取单元201首先根据标准件图像数据来获取预设标准质检环境的各类客观环境参数,随后通过光线传感元件、温度传感元件以及湿度传感元件来,获取初始质检环境中的各类环境参数,之后客观环境参数差异值获得单元202将初始质检环境与待检工件对应的预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;When the first image judgment module 100 determines that the first workpiece image of the workpiece to be inspected entering the workpiece quality inspection area has defects, the difference between the initial quality inspection environment of the workpiece quality inspection area and the preset standard quality inspection environment should be reduced as much as possible. The specific operation method is that the relevant environmental parameter acquisition unit 201 first obtains various objective environmental parameters of the preset standard quality inspection environment according to the standard part image data, and then obtains various environmental parameters in the initial quality inspection environment through the light sensor element, the temperature sensor element and the humidity sensor element. After that, the objective environmental parameter difference value acquisition unit 202 compares the initial quality inspection environment with various objective environmental parameters of the preset standard quality inspection environment corresponding to the workpiece to be inspected, and obtains various objective environmental parameter difference values;

举例说明,相关环境参数获取单元201通过光线传感元件、温度传感元件以及湿度传感元件获取而来的初始质检环境中的光线强度参数为500勒克斯、温度参数为25摄氏度、湿度参数为相对湿度30%,而预设标准质检环境的各类客观环境参数分别为,光线强度参数为1000勒克斯、温度参数为25摄氏度、湿度参数为相对湿度20%,则初始质检环境与待检工件对应的预设标准质检环境之间具有-500勒克斯的光线强度差异以及10%的湿度差异;For example, the light intensity parameter in the initial quality inspection environment obtained by the relevant environmental parameter acquisition unit 201 through the light sensor element, the temperature sensor element and the humidity sensor element is 500 lux, the temperature parameter is 25 degrees Celsius, and the humidity parameter is 30% relative humidity, while the various objective environmental parameters of the preset standard quality inspection environment are respectively 1000 lux, 25 degrees Celsius, and 20% relative humidity. There is a -500 lux light intensity difference and a 10% humidity difference between the initial quality inspection environment and the preset standard quality inspection environment corresponding to the workpiece to be inspected;

在趋于标准化调整命令生成单元203确定了各类客观环境参数差异值后,即可根据各类客观环境参数差异值来生成趋于标准化调整命令,并将趋于标准化调整命令下发给与之对应的调控元件;After the standardization adjustment command generation unit 203 determines the difference values of various objective environmental parameters, it can generate standardization adjustment commands according to the difference values of various objective environmental parameters, and send the standardization adjustment commands to the corresponding control elements;

举例说明,在后台处理云端确定了初始质检环境存在-500勒克斯以及相对湿度10%的客观环境参数差异值后,即可将根据上述的客观环境参数差异值来生成两份趋于标准化调整命令,并分别发送给光线强度调节器和湿度调节器,从而使得光线强度调节器和湿度调节器进行补偿工作,以得到调控化质检环境,且该调控化质检环境与待检工件对应的预设标准质检环境接近。For example, after the background processing cloud determines that the initial quality inspection environment has objective environmental parameter difference values of -500 lux and 10% relative humidity, two standardized adjustment commands can be generated based on the above objective environmental parameter difference values and sent to the light intensity regulator and humidity regulator respectively, so that the light intensity regulator and humidity regulator can perform compensation work to obtain a regulated quality inspection environment, and the regulated quality inspection environment is close to the preset standard quality inspection environment corresponding to the workpiece to be inspected.

进一步的,所述基于图像处理技术的工件质量检测系统还包括:Furthermore, the workpiece quality detection system based on image processing technology also includes:

第二图像判断模块300,用于在调控化质检环境下,判断待检工件的第二工件图像是否存瑕。The second image determination module 300 is used to determine whether the second workpiece image of the workpiece to be inspected has defects in a controlled quality inspection environment.

具体的,图10示出了本发明实施例提供的系统中第二图像判断模块300的结构框图。Specifically, FIG10 shows a structural block diagram of the second image determination module 300 in the system provided in an embodiment of the present invention.

其中,在本发明提供的优选实施方式中,所述第二图像判断模块300具体包括:Among them, in the preferred embodiment provided by the present invention, the second image determination module 300 specifically includes:

第二工件图像获取单元301,用于在调控化质检环境下,获取待检工件的第二工件图像;The second workpiece image acquisition unit 301 is used to acquire a second workpiece image of the workpiece to be inspected in a controlled quality inspection environment;

第二工件图像分析单元302,用于基于图像处理技术,将待检工件的第二工件图像与待检工件的标准件图像进行相似度对比;The second workpiece image analysis unit 302 is used to compare the second workpiece image of the workpiece to be inspected with the standard part image of the workpiece to be inspected based on image processing technology for similarity;

第二工件图像判断单元303,用于判断待检工件在调控化质检环境下的第二工件图像是否存瑕。The second workpiece image judging unit 303 is used to judge whether the second workpiece image of the workpiece to be inspected in the controlled quality inspection environment has defects.

进一步的,所述基于图像处理技术的工件质量检测系统还包括:Furthermore, the workpiece quality detection system based on image processing technology also includes:

存瑕工件确定模块400,用于若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施。The defective workpiece determination module 400 is used to classify the workpiece to be inspected as a defective workpiece if it is determined that the second workpiece image has defects, and to perform simulated adjustment measures on the regulated quality inspection environment.

在本发明实施例中,若第二图像判断模块300通过图像处理技术对高清摄像头处于调控化质检环境下的待检工件拍摄的第二工件图像进行分析后,判定第二工件图像仍然存瑕,则可以确定待检工件存瑕,此时存瑕工件确定模块400将待检工件划定为存瑕工件,并生成存瑕工件提示信息,且可以将存瑕工件提示信息发送给质检人员终端,优选的第二图像判断模块300还可以通过图像处理技术在第二工件图像上标记出存瑕区域;In the embodiment of the present invention, if the second image judgment module 300 analyzes the second workpiece image of the workpiece to be inspected taken by the high-definition camera in the regulated quality inspection environment through image processing technology and determines that the second workpiece image still has defects, it can be determined that the workpiece to be inspected has defects. At this time, the defective workpiece determination module 400 demarcates the workpiece to be inspected as a defective workpiece, generates defective workpiece prompt information, and can send the defective workpiece prompt information to the quality inspector terminal. Preferably, the second image judgment module 300 can also mark the defective area on the second workpiece image through image processing technology;

通过上述技术方案,在利用图像处理、识别技术对工件进行质检时,能够使得工件处于适当的质检环境下被智能检测,避免在利用图像处理技术识别待检工件的图像时,由于受客观环境因素的影响,而导致待检工件的实际表象与真实表象存在偏差,从而提高了本基于图像处理技术的工件质量检测方法对工件质检的准确性;Through the above technical solution, when the workpiece is inspected by using image processing and recognition technology, the workpiece can be intelligently inspected in an appropriate quality inspection environment, avoiding the deviation between the actual appearance of the workpiece to be inspected and the true appearance due to the influence of objective environmental factors when the image processing technology is used to identify the image of the workpiece to be inspected, thereby improving the accuracy of the workpiece quality inspection method based on image processing technology;

在确定了第二工件图像仍然存瑕时,还可以对调控化质检环境的各类客观环境参数进行预设量的调节,且每进行一次客观环境参数的调节,均获取一次第三工件图像,并且存瑕工件确定模块400还基于图像处理技术,将第三工件图像与待检工件的标准件图像进行相似度对比,并判断第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度是否升高,当判定相似度升高时,获取调节的客观环境参数以及调节的预设量之总,上述步骤的目的是,判断工件的质量原因是否与环境因素有关;When it is determined that the second workpiece image still has defects, various objective environmental parameters of the controlled quality inspection environment can also be adjusted by preset amounts, and each time the objective environmental parameters are adjusted, a third workpiece image is obtained, and the defective workpiece determination module 400 also compares the third workpiece image with the standard part image of the workpiece to be inspected based on image processing technology, and determines whether the similarity between the third workpiece image and the standard part image of the workpiece to be inspected is increased compared with the similarity between the second workpiece image and the standard part image of the workpiece to be inspected. When it is determined that the similarity is increased, the sum of the adjusted objective environmental parameters and the preset amounts of adjustment is obtained. The purpose of the above steps is to determine whether the quality cause of the workpiece is related to environmental factors;

举例说明,存瑕工件确定模块400对工件质检区域内的进行一次升高调节,且调节之后,获取到的第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度处于升高状态,则侧面说明,待检工件的质量原因可能是其加工温度不足导致,从而提高了本基于图像处理技术的工件质量检测方法的智能程度。For example, the defective workpiece determination module 400 performs an upward adjustment on the workpiece quality inspection area, and after the adjustment, the similarity between the acquired third workpiece image and the standard part image of the workpiece to be inspected is in an increased state compared to the similarity between the second workpiece image and the standard part image of the workpiece to be inspected, which indirectly indicates that the quality reason of the workpiece to be inspected may be caused by insufficient processing temperature, thereby improving the intelligence level of the workpiece quality detection method based on image processing technology.

应该理解的是,虽然本发明各实施例的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,各实施例中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have strict order restrictions, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims (7)

1.一种基于图像处理技术的工件质量检测方法,其特征在于,所述方法包括:1. A workpiece quality detection method based on image processing technology, characterized in that the method comprises: 基于图像处理技术,判断待检工件的第一工件图像是否存瑕;Based on image processing technology, determining whether the first workpiece image of the workpiece to be inspected has defects; 基于图像处理技术,判断待检工件的第一工件图像是否存瑕的步骤包括:Based on the image processing technology, the step of determining whether the first workpiece image of the workpiece to be inspected has defects includes: 获取待检工件的标准件图像数据以及第一工件图像;Acquire standard part image data of the workpiece to be inspected and a first workpiece image; 根据待检工件的标准件图像数据,获取待检工件的标准件图像;Acquire a standard part image of the workpiece to be inspected according to the standard part image data of the workpiece to be inspected; 基于图像处理技术,将待检工件的第一工件图像与标准件图像进行相似度对比,以判断待检工件的第一工件图像是否存瑕;Based on image processing technology, the first workpiece image of the workpiece to be inspected is compared with the standard part image for similarity to determine whether the first workpiece image of the workpiece to be inspected has defects; 在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境;When determining whether the first workpiece image has defects, obtaining various objective environmental parameter difference values, and generating a plurality of standardization adjustment commands according to the various objective environmental parameter difference values, so as to obtain a regulated quality inspection environment; 在调控化质检环境下,判断待检工件的第二工件图像是否存瑕;In a controlled quality inspection environment, determining whether a second workpiece image of the workpiece to be inspected has defects; 若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施;If it is determined that the second workpiece image has defects, the workpiece to be inspected is classified as a defective workpiece, and simulated adjustment measures are taken on the controlled quality inspection environment; 若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施的步骤包括:If it is determined that the second workpiece image has defects, the workpiece to be inspected is classified as a defective workpiece, and the steps of simulating adjustment measures for the controlled quality inspection environment include: 若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并生成存瑕工件提示信息;If it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and defective workpiece prompt information is generated; 对调控化质检环境的各类客观环境参数进行预设量的调节,且每进行一次客观环境参数的调节,均获取一次第三工件图像;Adjust various objective environmental parameters of the controlled quality inspection environment by a preset amount, and obtain a third workpiece image each time the objective environmental parameters are adjusted; 基于图像处理技术,将第三工件图像与待检工件的标准件图像进行相似度对比,并判断第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度是否升高;Based on image processing technology, the third workpiece image is compared with the standard part image of the workpiece to be inspected for similarity, and it is determined whether the similarity between the third workpiece image and the standard part image of the workpiece to be inspected is higher than the similarity between the second workpiece image and the standard part image of the workpiece to be inspected; 当判定相似度升高时,获取调节的客观环境参数以及调节的预设量之总。When it is determined that the similarity increases, the sum of the adjusted objective environment parameters and the adjusted preset amount is obtained. 2.根据权利要求1所述的基于图像处理技术的工件质量检测方法,其特征在于,在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到标准质检环境的步骤包括:2. The workpiece quality inspection method based on image processing technology according to claim 1 is characterized in that when determining whether the first workpiece image has defects, obtaining the difference values of various objective environmental parameters, and generating multiple standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a standard quality inspection environment comprises: 根据标准件图像数据,获取预设标准质检环境的各类客观环境参数;According to the image data of standard parts, various objective environmental parameters of the preset standard quality inspection environment are obtained; 获取初始质检环境的各类环境参数,并将初始质检环境与预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;Obtain various environmental parameters of the initial quality inspection environment, and compare the initial quality inspection environment with various objective environmental parameters of the preset standard quality inspection environment one by one to obtain the difference values of various objective environmental parameters; 根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。According to the difference values of various objective environmental parameters, multiple standardized adjustment commands are generated to obtain a regulated quality inspection environment. 3.根据权利要求2所述的基于图像处理技术的工件质量检测方法,其特征在于,根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境的步骤包括:3. The workpiece quality inspection method based on image processing technology according to claim 2 is characterized in that the step of generating multiple standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment comprises: 根据各类客观环境参数差异值生成多份趋于标准化调整命令,所述客观环境参数包括温度参数、湿度参数以及光线强度参数;Generate multiple standardization adjustment commands according to the difference values of various objective environmental parameters, wherein the objective environmental parameters include temperature parameters, humidity parameters, and light intensity parameters; 将多份趋于标准化调整命令分别下发给各自对应的调控元件,以获得调控化质检环境。Multiple standardization adjustment commands are respectively issued to their corresponding control elements to obtain a regulated quality inspection environment. 4.根据权利要求1所述的基于图像处理技术的工件质量检测方法,其特征在于,在调控化质检环境下,判断待检工件的第二工件图像是否存瑕的步骤包括:4. The workpiece quality inspection method based on image processing technology according to claim 1 is characterized in that, in a controlled quality inspection environment, the step of determining whether the second workpiece image of the workpiece to be inspected has defects comprises: 在调控化质检环境下,获取待检工件的第二工件图像;Acquiring a second workpiece image of the workpiece to be inspected in a controlled quality inspection environment; 基于图像处理技术,将待检工件的第二工件图像与待检工件的标准件图像进行相似度对比;Based on image processing technology, a second workpiece image of the workpiece to be inspected is compared with a standard part image of the workpiece to be inspected for similarity; 判断待检工件在调控化质检环境下的第二工件图像是否存瑕。It is determined whether the second workpiece image of the workpiece to be inspected in the regulated quality inspection environment has defects. 5.一种基于图像处理技术的工件质量检测系统,其特征在于,所述系统包括:第一图像判断模块、趋于标准化调整命令生成模块、第二图像判断模块以及存瑕工件确定模块,其中:5. A workpiece quality inspection system based on image processing technology, characterized in that the system comprises: a first image judgment module, a standardization adjustment command generation module, a second image judgment module and a defective workpiece determination module, wherein: 第一图像判断模块,用于基于图像处理技术,判断待检工件的第一工件图像是否存瑕;A first image judgment module, used for judging whether the first workpiece image of the workpiece to be inspected has defects based on image processing technology; 所述第一图像判断模块具体包括:The first image judgment module specifically includes: 数据获取单元,用于获取待检工件的标准件图像数据以及第一工件图像;A data acquisition unit, used to acquire standard part image data of the workpiece to be inspected and a first workpiece image; 标准件图像获取单元,用于根据待检工件的标准件图像数据,获取待检工件的标准件图像;A standard part image acquisition unit, used for acquiring a standard part image of the workpiece to be inspected according to the standard part image data of the workpiece to be inspected; 第一工件图像判断单元,用于基于图像处理技术,将待检工件的第一工件图像与标准件图像进行相似度对比,以判断待检工件的第一工件图像是否存瑕;A first workpiece image judgment unit is used to compare the first workpiece image of the workpiece to be inspected with the standard part image for similarity based on image processing technology to judge whether the first workpiece image of the workpiece to be inspected has defects; 趋于标准化调整命令生成模块,用于在确定第一工件图像存瑕时,获取各类客观环境参数差异值,并根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境;A module for generating a standardization adjustment command, for obtaining the difference values of various objective environmental parameters when determining that the first workpiece image has defects, and generating a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment; 第二图像判断模块,用于在调控化质检环境下,判断待检工件的第二工件图像是否存瑕;A second image judgment module is used to judge whether the second workpiece image of the workpiece to be inspected has defects in a controlled quality inspection environment; 存瑕工件确定模块,用于若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并对调控化质检环境进行模拟调整措施:The defective workpiece determination module is used to classify the workpiece to be inspected as a defective workpiece if it is determined that the second workpiece image has defects, and to simulate adjustment measures for the controlled quality inspection environment: 若判定第二工件图像存瑕,则将待检工件划定为存瑕工件,并生成存瑕工件提示信息;If it is determined that the second workpiece image has defects, the workpiece to be inspected is defined as a defective workpiece, and defective workpiece prompt information is generated; 对调控化质检环境的各类客观环境参数进行预设量的调节,且每进行一次客观环境参数的调节,均获取一次第三工件图像;Adjust various objective environmental parameters of the controlled quality inspection environment by a preset amount, and obtain a third workpiece image each time the objective environmental parameters are adjusted; 基于图像处理技术,将第三工件图像与待检工件的标准件图像进行相似度对比,并判断第三工件图像与待检工件标准件图像之间的相似度相较于第二工件图像与待检工件之间的标准件图像相似度是否升高;Based on image processing technology, the third workpiece image is compared with the standard part image of the workpiece to be inspected for similarity, and it is determined whether the similarity between the third workpiece image and the standard part image of the workpiece to be inspected is higher than the similarity between the second workpiece image and the standard part image of the workpiece to be inspected; 当判定相似度升高时,获取调节的客观环境参数以及调节的预设量之总。When it is determined that the similarity increases, the sum of the adjusted objective environment parameters and the adjusted preset amount is obtained. 6.根据权利要求5所述的基于图像处理技术的工件质量检测系统,其特征在于,所述趋于标准化调整命令生成模块具体包括:6. The workpiece quality inspection system based on image processing technology according to claim 5, characterized in that the standardization adjustment command generation module specifically comprises: 相关环境参数获取单元,用于根据标准件图像数据,获取预设标准质检环境的各类客观环境参数;A relevant environmental parameter acquisition unit is used to acquire various objective environmental parameters of a preset standard quality inspection environment according to the standard component image data; 客观环境参数差异值获得单元,用于获取初始质检环境的各类环境参数,并将初始质检环境与预设标准质检环境的各类客观环境参数一一对比,得到各类客观环境参数差异值;The objective environment parameter difference value obtaining unit is used to obtain various environmental parameters of the initial quality inspection environment, and compare the initial quality inspection environment with various objective environment parameters of the preset standard quality inspection environment one by one to obtain various objective environment parameter difference values; 趋于标准化调整命令生成单元,用于根据各类客观环境参数差异值生成多份趋于标准化调整命令,以得到调控化质检环境。The standardization adjustment command generating unit is used to generate a plurality of standardization adjustment commands according to the difference values of various objective environmental parameters to obtain a regulated quality inspection environment. 7.根据权利要求6所述的基于图像处理技术的工件质量检测系统,其特征在于,所述第二图像判断模块具体包括:7. The workpiece quality inspection system based on image processing technology according to claim 6, characterized in that the second image judgment module specifically comprises: 第二工件图像获取单元,用于在调控化质检环境下,获取待检工件的第二工件图像;A second workpiece image acquisition unit, used to acquire a second workpiece image of the workpiece to be inspected in a controlled quality inspection environment; 第二工件图像分析单元,用于基于图像处理技术,将待检工件的第二工件图像与待检工件的标准件图像进行相似度对比;A second workpiece image analysis unit, used for comparing the second workpiece image of the workpiece to be inspected with the standard part image of the workpiece to be inspected for similarity based on image processing technology; 第二工件图像判断单元,用于判断待检工件在调控化质检环境下的第二工件图像是否存瑕。The second workpiece image judging unit is used to judge whether the second workpiece image of the workpiece to be inspected in the regulated quality inspection environment has defects.
CN202410069740.4A 2024-01-17 2024-01-17 Workpiece quality detection method and system based on image processing technology Active CN117911365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410069740.4A CN117911365B (en) 2024-01-17 2024-01-17 Workpiece quality detection method and system based on image processing technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410069740.4A CN117911365B (en) 2024-01-17 2024-01-17 Workpiece quality detection method and system based on image processing technology

Publications (2)

Publication Number Publication Date
CN117911365A CN117911365A (en) 2024-04-19
CN117911365B true CN117911365B (en) 2024-08-23

Family

ID=90697250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410069740.4A Active CN117911365B (en) 2024-01-17 2024-01-17 Workpiece quality detection method and system based on image processing technology

Country Status (1)

Country Link
CN (1) CN117911365B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118333472B (en) * 2024-06-13 2024-09-06 江西艾丽斯日化有限公司 Skin care product production control method, system and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686322A (en) * 2020-12-31 2021-04-20 柳州柳新汽车冲压件有限公司 Part difference identification method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5604967B2 (en) * 2010-05-13 2014-10-15 トヨタ自動車株式会社 Defect detection method and defect detection apparatus
CN116500975B (en) * 2023-06-26 2023-09-15 中科航迈数控软件(深圳)有限公司 Numerical control system process regulation and control method and device, numerical control machine tool and readable storage medium
CN117225728A (en) * 2023-09-18 2023-12-15 中科苏州智能计算技术研究院 Method and system for detecting surface defects of workpiece
CN117350957A (en) * 2023-09-22 2024-01-05 科大讯飞华南人工智能研究院(广州)有限公司 Textile quality inspection method and device, electronic equipment, textile system and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686322A (en) * 2020-12-31 2021-04-20 柳州柳新汽车冲压件有限公司 Part difference identification method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN117911365A (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US11940782B2 (en) Product performance prediction modeling to predict final product performance in case of device exception
US20220335589A1 (en) Method for monitoring manufacture of assembly units
US10964004B2 (en) Automated optical inspection method using deep learning and apparatus, computer program for performing the method, computer-readable storage medium storing the computer program, and deep learning system thereof
US11243527B2 (en) Production process control method and production process control device
CN117911365B (en) Workpiece quality detection method and system based on image processing technology
CN110969600A (en) A product defect detection method, device, electronic device and storage medium
CN114091347A (en) A method for predicting the life of electronic components
CN109919941A (en) Internal screw thread defect inspection method, device, system, equipment and medium
CN113632140B (en) Automatic learning method and system for product inspection
TW202117664A (en) Optical inspection secondary image classification method which can effectively improve the accuracy of image recognition and classification
CN109407630B (en) Parameter calculation method, device, terminal and readable storage medium
TWI647658B (en) Device, system and method for automatically identifying image features
US11068752B2 (en) Inspection systems and methods including image classification module
CN116748352B (en) Metal pipe bending machine processing parameter monitoring control method, system and storage medium
CN114519385B (en) A multi-dimensional data structure integrated interaction method
CN115018842B (en) Defect detection method and device based on machine vision, terminal and storage medium
CN115796660A (en) Manufacturing product quality monitoring method and system based on big data
KR20220095167A (en) Artificial Intelligence Verification System and Method
CN112419241A (en) Object identification method and device based on artificial intelligence and readable storage medium
CN114185793B (en) A non-functional testing method and system for financial systems based on artificial intelligence
TWI745767B (en) Optical inspection secondary image classification method
CN119766323A (en) An intelligent monitoring method and system for preventing optical cable from being damaged by external forces
US20240404040A1 (en) Test system and test method to wafers
KR102717943B1 (en) Apparatus and method for detecting ai abnormalities in a plastic injection process
KR102146838B1 (en) Apparatus and method for testing image projection component

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant