CN114862794A - A bubble detection system for glassware - Google Patents
A bubble detection system for glassware Download PDFInfo
- Publication number
- CN114862794A CN114862794A CN202210487878.7A CN202210487878A CN114862794A CN 114862794 A CN114862794 A CN 114862794A CN 202210487878 A CN202210487878 A CN 202210487878A CN 114862794 A CN114862794 A CN 114862794A
- Authority
- CN
- China
- Prior art keywords
- data
- bubble
- glassware
- image data
- bubbles
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
- G06T7/0008—Industrial image inspection checking presence/absence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Mathematical Physics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Quality & Reliability (AREA)
- Image Processing (AREA)
Abstract
本发明公开了一种用于玻璃器皿的气泡检测系统,涉及玻璃技术领域,解决了现有技术在气泡检测过程中,卷积神经网络模型需要大量的训练集,数据处理量大,且无法根据检测结果的反馈定位气泡原因,导致检测效率不佳的技术问题;本发明通过采集玻璃器皿不同角度的图像数据生成图像数据集,将图像数据集划分成两部分,一部分用于粗检测,另外一部分用于精检测,再结合智能分类模型判断气泡产生的原因,以实现对玻璃器皿中玻璃气泡的高效率检测;本发明中每组所述图像采集设备中的所述摄像头和所述光源的位置和角度单独调节,根据玻璃器皿的大小和形状设置采集角度,以获取玻璃器皿在不同方位的图像数据,能够保证玻璃器皿中气泡定位和识别的准确性。
The invention discloses a bubble detection system for glassware, relates to the technical field of glass, and solves the problem that in the process of bubble detection in the prior art, the convolutional neural network model requires a large number of training sets, the data processing volume is large, and the The feedback of the detection results locates the cause of the bubbles, which leads to the technical problem of poor detection efficiency; the present invention generates an image data set by collecting image data of different angles of the glassware, and divides the image data set into two parts, one part is used for rough detection, and the other part is used for rough detection. It is used for precise detection, and combined with intelligent classification model to determine the cause of bubbles, so as to achieve high-efficiency detection of glass bubbles in glassware; the position of the camera and the light source in each group of the image acquisition equipment in the present invention The angle and angle are adjusted separately, and the acquisition angle is set according to the size and shape of the glassware to obtain the image data of the glassware in different directions, which can ensure the accuracy of bubble positioning and identification in the glassware.
Description
技术领域technical field
本发明属于玻璃生产领域,涉及玻璃器皿的智能检测技术,具体是一种用于玻璃器皿的气泡检测系统。The invention belongs to the field of glass production and relates to an intelligent detection technology for glassware, in particular to a bubble detection system for glassware.
背景技术Background technique
气泡是最常见的玻璃缺陷,伴随着玻璃生产的整个过程,且气泡难判断也难解决。气泡不但影响了玻璃器皿的质量,而且影响了生产效率和经济效益,因此探讨快速、准确的气泡检测方法是摆在玻璃工作者面前的艰巨任务。Bubble is the most common glass defect, accompanying the whole process of glass production, and it is difficult to judge and solve the bubble. Bubble not only affects the quality of glassware, but also affects production efficiency and economic benefits. Therefore, it is an arduous task for glass workers to explore a fast and accurate bubble detection method.
现有技术(公开号为CN109191440A的发明专利)公开了一种玻璃气泡检测与计数方法,通过样本集训练获取卷积神经网络模型,再通过卷积神经网络模型获取玻璃气泡的覆盖位置和玻璃气泡的个数,能够准确进行玻璃气泡位置的检测和计数。现有技术在气泡检测过程中,卷积神经网络模型需要大量的训练集,数据处理量大,且无法根据检测结果的反馈定位气泡原因,导致玻璃气泡检测效率不佳;因此,亟须一种用于玻璃器皿的气泡检测系统。The prior art (invention patent with publication number CN109191440A) discloses a method for detecting and counting glass bubbles, obtaining a convolutional neural network model through sample set training, and then obtaining the covering position and glass bubbles of the glass bubbles through the convolutional neural network model. The number of glass bubbles can be accurately detected and counted. In the process of bubble detection in the prior art, the convolutional neural network model requires a large number of training sets, the data processing volume is large, and the cause of the bubble cannot be located according to the feedback of the detection result, resulting in poor glass bubble detection efficiency; therefore, there is an urgent need for a method. Air bubble detection system for glassware.
发明内容SUMMARY OF THE INVENTION
本发明旨在至少解决现有技术中存在的技术问题之一;为此,本发明提出了一种用于玻璃器皿的气泡检测系统,用于解决现有技术在气泡检测过程中,卷积神经网络模型需要大量的训练集,数据处理量大,且无法根据检测结果的反馈定位气泡原因,导致玻璃气泡检测效率不佳的技术问题。The present invention aims to solve at least one of the technical problems existing in the prior art; for this purpose, the present invention proposes a bubble detection system for glassware, which is used to solve the problem of convolution neural network in the process of bubble detection in the prior art. The network model requires a large number of training sets, the amount of data processing is large, and the cause of the bubble cannot be located according to the feedback of the detection result, resulting in the technical problem of poor glass bubble detection efficiency.
本发明通过采集玻璃器皿不同角度的图像数据生成图像数据集,将图像数据集划分成两部分,一部分用于粗检测,另外一部分用于精检测,以获取玻璃气泡的相关参数,再结合智能分类模型判断气泡产生的原因,以实现对玻璃器皿中玻璃气泡的高效率检测。The invention generates an image data set by collecting image data of different angles of glassware, and divides the image data set into two parts, one part is used for rough detection, and the other part is used for fine detection, so as to obtain relevant parameters of glass bubbles, and then combined with intelligent classification The model judges the causes of bubbles to achieve high-efficiency detection of glass bubbles in glassware.
为实现上述目的,本发明的第一方面提供了一种用于玻璃器皿的气泡检测系统,包括数据分析模块,以及与之相连接的数据采集模块,数据采集模块与图像采集终端相连接;In order to achieve the above object, a first aspect of the present invention provides a bubble detection system for glassware, comprising a data analysis module, and a data acquisition module connected thereto, the data acquisition module is connected with an image acquisition terminal;
数据采集模块:通过所述图像采集终端对玻璃器皿进行不同角度的采集,获取若干图像数据;将若干所述图像数据整合生成图像数据集,并发送至所述数据分析模块;Data acquisition module: collect glassware from different angles through the image acquisition terminal to obtain a number of image data; integrate a number of the image data to generate an image data set, and send it to the data analysis module;
数据分析模块:将所述图像数据集划分为数据一和数据二,对所述数据一进行分析定位气泡位置,结合所述数据二获取气泡参数;其中,所述数据一包括一张图像数据;以及Data analysis module: divide the image data set into data one and data two, analyze and locate the bubble position on the data one, and obtain the bubble parameters in combination with the data two; wherein, the data one includes a piece of image data; as well as
根据气泡数量和所述气泡参数生成气泡特征数据,结合智能分类模型确定气泡原因;其中,智能分类模型基于人工智能模型建立。The bubble characteristic data is generated according to the number of bubbles and the bubble parameters, and the cause of the bubbles is determined in combination with the intelligent classification model; wherein, the intelligent classification model is established based on the artificial intelligence model.
优选的,所述数据分析模块和所述数据采集模块通信和/或电气连接,所述数据采集模块和所述图像采集终端通信和/或电气连接。Preferably, the data analysis module is in communication and/or electrical connection with the data acquisition module, and the data acquisition module is in communication and/or electrical connection with the image acquisition terminal.
优选的,所述图像采集终端至少包括一组图像采集设备,每组所述图像采集设备包括摄像头和光源,且所述摄像头和所述光源均聚焦于玻璃器皿。Preferably, the image acquisition terminal includes at least one group of image acquisition devices, each group of the image acquisition devices includes a camera and a light source, and both the camera and the light source focus on the glassware.
优选的,每组所述图像采集设备中的所述摄像头和所述光源的位置和角度单独调节,且所述光源的照射方式包括背光照、前光照和分光反照。Preferably, the positions and angles of the cameras and the light sources in each group of the image acquisition devices are adjusted independently, and the illumination modes of the light sources include backlight illumination, front illumination, and split albedo.
优选的,通过所述图像采集终端采集玻璃器皿的图像数据时,根据所述玻璃器皿的形状和大小设置至少两个采集角度,通过设置的所述采集角度对所述图像采集终端进行自动化调节。Preferably, when the image data of the glassware is collected by the image collection terminal, at least two collection angles are set according to the shape and size of the glassware, and the image collection terminal is automatically adjusted by the set collection angles.
优选的,所述数据采集模块对若干所述图像数据进行整合,生成所述图像数据集,包括:Preferably, the data collection module integrates a plurality of the image data to generate the image data set, including:
对若干所述图像数据进行校验,校验通过之后获取若干所述图像数据对应所述玻璃器皿的识别标签;其中,所述识别标签用于识别玻璃器皿;Verifying a plurality of the image data, and obtaining a plurality of identification labels of the image data corresponding to the glassware after the verification is passed; wherein, the identification labels are used to identify the glassware;
将若干所述图像数据按照采集顺序进行排序,将所述识别标签和排序后的若干所述图像数据关联,生成所述图像数据集。Sorting a plurality of the image data according to the acquisition sequence, and associating the identification tag with the sorted plurality of the image data to generate the image data set.
优选的,所述数据分析模块在对所述图像数据集划分之前,对所述图像数据集中的若干所述图像数据进行图像处理;其中,图像处理包括图像校正、图像分割和灰度变换。Preferably, before dividing the image data set, the data analysis module performs image processing on a plurality of the image data in the image data set; wherein, the image processing includes image correction, image segmentation and grayscale transformation.
优选的,所述数据分析模块对所述数据一进行分析,确定玻璃器皿中的气泡位置,包括:Preferably, the data analysis module analyzes the first data to determine the position of air bubbles in the glassware, including:
对所述数据一中的像素点灰度进行统计分析,根据统计分析结果确定所述数据一中的气泡数量以及对应的气泡位置。Statistical analysis is performed on the grayscale of the pixel points in the data one, and the number of bubbles and the corresponding bubble positions in the data one are determined according to the statistical analysis result.
优选的,当所述数据一中存在玻璃气泡时,则通过对应的所述数据二获取玻璃气泡的气泡参数,包括:Preferably, when there are glass bubbles in the first data, the bubble parameters of the glass bubbles are obtained through the corresponding second data, including:
在所述数据二中结合所述气泡位置对所述玻璃气泡进行定位;Positioning the glass bubble in combination with the bubble position in the second data;
通过对所述玻璃气泡对应像素点进行统计分析,结合所述数据一的统计分析结果,获取所述玻璃气泡的所述气泡参数;其中,气泡参数包括气泡大小和气泡形状。The bubble parameters of the glass bubbles are obtained by performing statistical analysis on the pixel points corresponding to the glass bubbles and in combination with the statistical analysis results of the first data; wherein the bubble parameters include bubble size and bubble shape.
优选的,所述数据分析模块结合所述智能分类模型确定气泡原因,包括:Preferably, the data analysis module determines the cause of the bubble in combination with the intelligent classification model, including:
将同一个所述玻璃器皿对应的所述气泡数量和所述气泡参数进行处理,生成气泡特征数据;Processing the bubble quantity and the bubble parameter corresponding to the same glassware to generate bubble characteristic data;
调用所述智能分类模型;calling the intelligent classification model;
将气泡特征数据输入至所述智能分类模型,获取输出的原因标签,根据所述原因标签确定气泡原因;其中,所述原因标签和所述气泡原因一一对应。Input the bubble feature data into the intelligent classification model, obtain the output reason label, and determine the bubble reason according to the reason label; wherein, the reason label and the bubble reason are in one-to-one correspondence.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:
1、本发明通过采集玻璃器皿不同角度的图像数据生成图像数据集,将图像数据集划分成两部分,一部分用于粗检测,另外一部分用于精检测,以获取玻璃气泡的相关参数,再结合智能分类模型判断气泡产生的原因,以实现对玻璃器皿中玻璃气泡的高效率检测。1. The present invention generates an image data set by collecting image data from different angles of glassware, and divides the image data set into two parts, one part is used for rough detection, and the other part is used for fine detection, so as to obtain relevant parameters of glass bubbles, and then combine them. The intelligent classification model judges the cause of bubbles to achieve high-efficiency detection of glass bubbles in glassware.
2、本发明中图像采集终端至少包括一组图像采集设备,每组所述图像采集设备中的所述摄像头和所述光源的位置和角度单独调节,且在进行图像数据采集时,根据玻璃器皿的大小和形状设置至少两个采集角度,自动调节采集角度,以获取玻璃器皿在不同方位的图像数据,能够保证玻璃器皿中气泡定位和识别的准确性。2. In the present invention, the image acquisition terminal includes at least one group of image acquisition devices, the positions and angles of the camera and the light source in each group of the image acquisition devices are adjusted independently, and when image data acquisition is performed, according to the glass At least two acquisition angles are set for the size and shape of the vessel, and the acquisition angle is automatically adjusted to obtain image data of the glass vessel in different directions, which can ensure the accuracy of the location and identification of bubbles in the glass vessel.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art 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 accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明的工作步骤示意图。Figure 1 is a schematic diagram of the working steps of the present invention.
具体实施方式Detailed ways
下面将结合实施例对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. 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.
现有技术(公开号为CN109191440A的发明专利)公开了一种玻璃气泡检测与计数方法,通过样本集训练获取卷积神经网络模型,再通过卷积神经网络模型获取玻璃气泡的覆盖位置和玻璃气泡的个数,能够准确进行玻璃气泡位置的检测和计数。现有技术在气泡检测过程中,卷积神经网络模型需要大量的训练集,对训练集的精度和数据量要求都非常高,数据处理量非常大,且无法根据检测结果的反馈定位气泡原因,导致玻璃气泡检测效率不佳;The prior art (invention patent with publication number CN109191440A) discloses a method for detecting and counting glass bubbles, obtaining a convolutional neural network model through sample set training, and then obtaining the covering position and glass bubbles of the glass bubbles through the convolutional neural network model. The number of glass bubbles can be accurately detected and counted. In the process of bubble detection in the prior art, the convolutional neural network model requires a large number of training sets, the requirements for the accuracy and data volume of the training set are very high, the data processing volume is very large, and the cause of the bubbles cannot be located according to the feedback of the detection results. Lead to poor glass bubble detection efficiency;
本发明通过采集玻璃器皿不同角度的图像数据生成图像数据集,将图像数据集划分成两部分,一部分用于粗检测,另外一部分用于精检测,以获取玻璃气泡的相关参数,再结合智能分类模型判断气泡产生的原因,以实现对玻璃器皿中玻璃气泡的高效率检测。The invention generates an image data set by collecting image data of different angles of glassware, and divides the image data set into two parts, one part is used for rough detection, and the other part is used for fine detection, so as to obtain relevant parameters of glass bubbles, and then combined with intelligent classification The model judges the causes of bubbles to achieve high-efficiency detection of glass bubbles in glassware.
请参阅图1,本申请第一方面实施例提供了一种用于玻璃器皿的气泡检测系统,包括数据分析模块,以及与之相连接的数据采集模块,数据采集模块与图像采集终端相连接;Referring to FIG. 1, an embodiment of the first aspect of the present application provides a bubble detection system for glassware, including a data analysis module, and a data acquisition module connected to it, and the data acquisition module is connected to an image acquisition terminal;
数据采集模块:通过图像采集终端对玻璃器皿进行不同角度的采集,获取若干图像数据;将若干图像数据整合生成图像数据集,并发送至数据分析模块;Data acquisition module: collect glassware from different angles through the image acquisition terminal to obtain several image data; integrate several image data to generate an image data set, and send it to the data analysis module;
数据分析模块:将图像数据集划分为数据一和数据二,对数据一进行分析定位气泡位置,结合数据二获取气泡参数;以及Data analysis module: divide the image data set into data one and data two, analyze and locate the bubble position on data one, and obtain bubble parameters in combination with data two; and
根据气泡数量和气泡参数生成气泡特征数据,结合智能分类模型确定气泡原因。Generate bubble feature data based on the number of bubbles and bubble parameters, and determine the cause of the bubbles combined with an intelligent classification model.
本申请中是通过简单的图像识别技术来实现玻璃气泡的高效率、高精度检测,数据分析模块和数据采集模块通信和/或电气连接,数据采集模块和图像采集终端通信和/或电气连接。In this application, the high-efficiency and high-precision detection of glass bubbles is realized through simple image recognition technology, the data analysis module communicates and/or electrical connection with the data acquisition module, and the data acquisition module communicates and/or electrical connection with the image acquisition terminal.
本申请中的数据一包括一张图像数据,数据二则至少包括一张图像数据,数据二也可以包括图像数据集中除了数据一的剩余图像数据。The first data in this application includes one piece of image data, the second data includes at least one piece of image data, and the second data may also include the remaining image data in the image data set except for the first data.
在一个优选的实施例中,图像采集终端至少包括一组图像采集设备,每组图像采集设备包括摄像头和光源,且摄像头和光源均聚焦于玻璃器皿。In a preferred embodiment, the image acquisition terminal includes at least one group of image acquisition devices, each group of image acquisition devices includes a camera and a light source, and both the camera and the light source focus on the glassware.
本实施例中图像采集终端主要是为了采集玻璃器皿的图像数据,因此需要设置摄像头,同时为了保证图像数据的质量,本实施例还为每个摄像头至少配置了一个光源,如LED光源。In this embodiment, the image acquisition terminal is mainly used to collect image data of glassware, so a camera needs to be set. Meanwhile, in order to ensure the quality of image data, this embodiment also configures at least one light source, such as an LED light source, for each camera.
本实施例中每组图像采集设备中的摄像头和光源的位置和角度单独调节,且光源的照射方式包括背光照、前光照和分光反照。In this embodiment, the positions and angles of the cameras and the light sources in each group of image acquisition devices are individually adjusted, and the illumination modes of the light sources include backlight illumination, front illumination, and split-reflection illumination.
正透视的背光照射方式能够比较清晰、明确的边缘,但是容易受到其他光纤的干扰;斜透视的背光照射方式可以将亮背景上暗的缺陷特征转变为暗背景上的亮的缺陷特征;分光反照方式通过背景板增加对比度;上述几种照射方式的实现过程可参考燕山大学王平顺的论文《图像处理技术在玻璃缺陷检测中的应用研究》,根据实际的检测环境选择合适的光源照射方式。The backlight illumination method of front perspective can have clear and clear edges, but it is easy to be interfered by other optical fibers; the backlight illumination method of oblique perspective can transform dark defect features on a bright background into bright defect features on a dark background; spectroscopic albedo The method increases the contrast through the background plate; the realization process of the above-mentioned irradiation methods can refer to the paper "Application Research of Image Processing Technology in Glass Defect Detection" by Wang Pingshun of Yanshan University, and select the appropriate light source irradiation method according to the actual inspection environment.
值得注意的是,通过图像采集终端采集玻璃器皿的图像数据时,根据玻璃器皿的形状和大小设置至少两个采集角度,通过设置的采集角度对图像采集终端进行自动化调节。It is worth noting that when collecting image data of glassware through the image collecting terminal, at least two collecting angles are set according to the shape and size of the glassware, and the image collecting terminal is automatically adjusted by the set collecting angles.
在进行玻璃气泡的识别时,至少需要两张不同角度的照片才能够获取玻璃气泡的气泡参数,有些形状不规则的玻璃气泡则需要更多的图像数据,因此摄像头和光源的角度可调,在检测之前,可以根据玻璃器皿的形状大小以及常见的玻璃气泡类型来设置采集角度,在后续的检测中可以根据对采集角度进行自动调节。When identifying glass bubbles, at least two photos from different angles are required to obtain the bubble parameters of the glass bubbles. Some glass bubbles with irregular shapes require more image data. Therefore, the angle of the camera and the light source can be adjusted. Before the detection, the collection angle can be set according to the shape and size of the glassware and the common glass bubble types, and the collection angle can be automatically adjusted according to the subsequent detection.
可以理解的是,本申请可以与玻璃器皿或者其他玻璃制品生产线联合实用,作为一个质检环节。It can be understood that the present application can be used in combination with glassware or other glass product production lines as a quality inspection link.
在一个优选的实施例中,数据采集模块对若干图像数据进行整合,生成图像数据集,包括:In a preferred embodiment, the data acquisition module integrates several image data to generate an image data set, including:
对若干图像数据进行校验,校验通过之后获取若干图像数据对应玻璃器皿的识别标签;Verifying a number of image data, and obtaining the identification label of the glassware corresponding to the image data after the verification is passed;
将若干图像数据按照采集顺序进行排序,将识别标签和排序后的若干图像数据关联,生成图像数据集。Sort a number of image data according to the acquisition sequence, associate the identification tag with the sorted number of image data, and generate an image data set.
本实施例是将采集的若干图像数据进行整合,在进行整合之前需要对图像数据进行校验,即验证图像数据能够满足质量要求,当所有图像数据均能够满足质量要求时,则将其与玻璃器皿的识别标签一起整合生成图像数据集。This embodiment integrates several collected image data. Before the integration, the image data needs to be verified, that is, to verify that the image data can meet the quality requirements. When all the image data can meet the quality requirements, it is combined with the glass The identification labels of the vessels are integrated together to generate an image dataset.
可以理解的是,识别标签用于识别玻璃器皿,可以将玻璃器皿的数字编号作为识别标签,方便对图像数据进行管理,以及对玻璃器皿进行追踪。It can be understood that the identification label is used to identify the glassware, and the digital number of the glassware can be used as the identification label to facilitate the management of image data and the tracking of the glassware.
在一个优选的实施例中,数据分析模块对数据一进行分析,确定玻璃器皿中的气泡位置,包括:In a preferred embodiment, the data analysis module analyzes the first data to determine the position of air bubbles in the glassware, including:
对数据一中的像素点灰度进行统计分析,根据统计分析结果确定数据一中的气泡数量以及对应的气泡位置。Statistical analysis is performed on the grayscale of the pixel points in the data one, and the number of bubbles in the data one and the corresponding bubble positions are determined according to the statistical analysis results.
本实施例主要是通过数据一来对玻璃器皿进行一个初步判定,确定玻璃器皿中的气泡位置和气泡数量,再通过数据二在初步判定的基础上进行精确判定。In this embodiment, a preliminary judgment is mainly made on the glassware through the first data to determine the position and number of bubbles in the glassware, and then the second data is used to make an accurate judgment on the basis of the preliminary judgment.
本实施例主要运用图像识别技术,根据上述论文以及经验可知如果玻璃器皿或者玻璃制品中出现(玻璃)气泡,则对应区域的灰度值要更大,且与周围像素点的灰度值有明显区别,设置合理的边界值即可达到识别目的,边界值根据实际经验设定即可。This embodiment mainly uses image recognition technology. According to the above papers and experience, if (glass) bubbles appear in glassware or glass products, the gray value of the corresponding area will be larger, and the gray value of the surrounding pixels will be significantly different. The identification purpose can be achieved by setting a reasonable boundary value, and the boundary value can be set according to actual experience.
可以理解的是,数据分析模块在对图像数据集划分之前,对图像数据集中的若干图像数据进行图像处理,则图像处理包括图像校正、图像分割和灰度变换,以方便后续的(玻璃)气泡识别。It can be understood that the data analysis module performs image processing on several image data in the image data set before dividing the image data set, and the image processing includes image correction, image segmentation and grayscale transformation to facilitate subsequent (glass) bubbles. identify.
在一个具体的实施例中,当数据一中存在玻璃气泡时,则通过对应的数据二获取玻璃气泡的气泡参数,包括:In a specific embodiment, when there are glass bubbles in the first data, the bubble parameters of the glass bubbles are obtained through the corresponding data two, including:
在数据二中结合气泡位置对玻璃气泡进行定位;Position the glass bubble in combination with the bubble position in the second data;
通过对玻璃气泡对应像素点进行统计分析,结合数据一的统计分析结果,获取玻璃气泡的气泡参数。The bubble parameters of the glass bubble are obtained by statistical analysis of the pixel points corresponding to the glass bubble, combined with the statistical analysis results of data one.
在通过数据一确定玻璃器皿中的气泡数量和对应的气泡位置之后,则需要通过不同于数据一采集角度的数据二来确定气泡大小和气泡形状,也就是气泡参数。对数据二的分析仍然是通过图像识别技术,方便快捷。After the number of bubbles in the glassware and the corresponding bubble position are determined through data 1, the size and shape of the bubbles, that is, the bubble parameters, need to be determined through data 2, which is different from the acquisition angle of data 1. The analysis of data 2 is still through image recognition technology, which is convenient and fast.
在一个优选的实施例中,数据分析模块结合智能分类模型确定气泡原因,包括:In a preferred embodiment, the data analysis module combines the intelligent classification model to determine the cause of the bubble, including:
将同一个玻璃器皿对应的气泡数量和气泡参数进行处理,生成气泡特征数据;The number of bubbles and bubble parameters corresponding to the same glassware are processed to generate bubble characteristic data;
调用智能分类模型;Call the intelligent classification model;
将气泡特征数据输入至智能分类模型,获取输出的原因标签,根据原因标签确定气泡原因。Input the bubble feature data into the intelligent classification model, obtain the output cause label, and determine the cause of the bubble according to the cause label.
本实施例中的智能分类模型通过人工智能模型获取,包括:The intelligent classification model in this embodiment is obtained through an artificial intelligence model, including:
获取标准训练数据;Get standard training data;
通过标准训练数据对构建的人工智能模型进行训练,将训练完成的人工智能模型标记为智能分类模型,并存储在数据分析模块中。The constructed artificial intelligence model is trained through standard training data, and the trained artificial intelligence model is marked as an intelligent classification model and stored in the data analysis module.
标准训练数据中输出数据与气泡特征数据的内容属性一致,举例说明如何将气泡数量和气泡参数整合成气泡特征数据:The output data in the standard training data is consistent with the content attributes of the bubble feature data. An example of how to integrate the number of bubbles and bubble parameters into the bubble feature data:
获取气泡形状对应的形状标签;如圆形的形状标签为1,不规则形状的形状标签为2;Get the shape label corresponding to the bubble shape; for example, the shape label of a circle is 1, and the shape label of an irregular shape is 2;
对应气泡形状的气泡数量,以及该形状玻璃气泡占该玻璃器皿的总面积的比例(像素点比例);The number of bubbles corresponding to the shape of the bubbles, and the proportion of the glass bubbles of this shape to the total area of the glassware (pixel ratio);
进而整合气泡特征数据如[形状标签,气泡数量,所占比例]。Then integrate bubble feature data such as [shape label, number of bubbles, proportion].
标准训练数据中输入数据对应的输出数据根据专家经验设定,如经验丰富的工作人员判定(玻璃)气泡的是因为玻璃熔体气泡产生的,则将原因标签设置为1,因为成形过程有关的,则将原因标签设置为2,多种原因的则将原因标签设置为3,则获取原因标签之后则可以获取气泡原因。The output data corresponding to the input data in the standard training data is set according to the expert experience. If the experienced staff judges that the (glass) bubbles are caused by the glass melt bubbles, the reason label is set to 1, because the forming process is related. , the reason label is set to 2, and the reason label is set to 3 for multiple reasons, and the bubble reason can be obtained after obtaining the reason label.
本发明的工作原理:The working principle of the present invention:
数据采集模块通过图像采集终端对玻璃器皿进行不同角度的采集,获取若干图像数据,将若干图像数据整合生成图像数据集,并发送至数据分析模块。The data acquisition module collects the glassware from different angles through the image acquisition terminal, acquires several image data, integrates the several image data to generate an image data set, and sends it to the data analysis module.
数据分析模块将图像数据集划分为数据一和数据二,对数据一进行分析定位气泡位置,结合数据二获取气泡参数;再根据气泡数量和气泡参数生成气泡特征数据,结合智能分类模型确定气泡原因。The data analysis module divides the image data set into data 1 and data 2, analyzes the data 1 to locate the bubble position, and obtains the bubble parameters in combination with the data 2; then generates the bubble characteristic data according to the number of bubbles and the bubble parameters, and determines the cause of the bubble in combination with the intelligent classification model. .
以上实施例仅用以说明本发明的技术方法而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方法进行修改或等同替换,而不脱离本发明技术方法的精神和范围。The above embodiments are only used to illustrate the technical method of the present invention and not limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical method of the present invention can be modified or equivalently replaced. Without departing from the spirit and scope of the technical method of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210487878.7A CN114862794A (en) | 2022-05-06 | 2022-05-06 | A bubble detection system for glassware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210487878.7A CN114862794A (en) | 2022-05-06 | 2022-05-06 | A bubble detection system for glassware |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114862794A true CN114862794A (en) | 2022-08-05 |
Family
ID=82635225
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210487878.7A Pending CN114862794A (en) | 2022-05-06 | 2022-05-06 | A bubble detection system for glassware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114862794A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118603886A (en) * | 2024-08-07 | 2024-09-06 | 成都腾帆计算机科技有限公司 | Glass product surface concave-convex detection system and method based on artificial intelligence |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169920A (en) * | 2009-12-08 | 2011-08-31 | 日立比亚机械股份有限公司 | Method of manufacturing thin-film solar panel and laser scribing apparatus |
CN103778445A (en) * | 2014-01-21 | 2014-05-07 | 武汉科技大学 | Cold-rolled strip steel surface defect reason analyzing method and system |
CN105447512A (en) * | 2015-11-13 | 2016-03-30 | 中国科学院自动化研究所 | Coarse-fine optical surface defect detection method and coarse-fine optical surface defect detection device |
CN212322301U (en) * | 2020-08-20 | 2021-01-08 | 魏小燕 | Internet artificial intelligence electron accessories discernment and detecting system |
CN113538417A (en) * | 2021-08-24 | 2021-10-22 | 安徽顺鼎阿泰克科技有限公司 | Transparent container defect detection method and device based on multi-angle and target detection |
-
2022
- 2022-05-06 CN CN202210487878.7A patent/CN114862794A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169920A (en) * | 2009-12-08 | 2011-08-31 | 日立比亚机械股份有限公司 | Method of manufacturing thin-film solar panel and laser scribing apparatus |
CN103778445A (en) * | 2014-01-21 | 2014-05-07 | 武汉科技大学 | Cold-rolled strip steel surface defect reason analyzing method and system |
CN105447512A (en) * | 2015-11-13 | 2016-03-30 | 中国科学院自动化研究所 | Coarse-fine optical surface defect detection method and coarse-fine optical surface defect detection device |
CN212322301U (en) * | 2020-08-20 | 2021-01-08 | 魏小燕 | Internet artificial intelligence electron accessories discernment and detecting system |
CN113538417A (en) * | 2021-08-24 | 2021-10-22 | 安徽顺鼎阿泰克科技有限公司 | Transparent container defect detection method and device based on multi-angle and target detection |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118603886A (en) * | 2024-08-07 | 2024-09-06 | 成都腾帆计算机科技有限公司 | Glass product surface concave-convex detection system and method based on artificial intelligence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023168972A1 (en) | Linear array camera-based copper surface defect detection method and apparatus | |
CN109239102A (en) | A kind of flexible circuit board open defect detection method based on CNN | |
CN113962929B (en) | Photovoltaic cell module defect detection method, system and photovoltaic cell module production line | |
CN111401418A (en) | Employee dressing specification detection method based on improved Faster r-cnn | |
CN109919930A (en) | Statistical method for the number of fruits on the tree based on convolutional neural network YOLO V3 | |
CN107944504A (en) | Plank identifies and machine learning method, device and the electronic equipment of plank identification | |
CN101696945A (en) | On-line detection method of machine vision system to photovoltaic glass flaws | |
CN110490826B (en) | Fog drop sample image processing method in camera | |
CN112233059B (en) | Light guide plate defect detection method based on two-stage residual attention network of segmentation + decision making | |
CN114066848A (en) | FPCA appearance defect visual inspection system | |
CN106645180A (en) | Method for checking defects of substrate glass, field terminal and server | |
CN104132945A (en) | On-line surface quality visual inspection device for bar based on optical fiber conduction | |
CN102074031A (en) | A method for establishing a standard for a printed circuit board appearance inspection machine | |
CN116416613A (en) | Citrus fruit identification method and system based on improved YOLO v7 | |
CN108875725A (en) | A kind of the mail automatic sorting device and method of view-based access control model identification | |
TWI747686B (en) | A defect detection method and a defect detection device | |
CN116958643A (en) | An intelligent identification method of airborne pollen-allergenic plants based on YOLO network | |
CN114862794A (en) | A bubble detection system for glassware | |
CN106991441A (en) | Merge the plant specimen sorting technique and system of multiple dimensioned direction textural characteristics | |
CN109446964A (en) | Face detection analysis method and device based on end-to-end single-stage multiple scale detecting device | |
CN108510487A (en) | A kind of photovoltaic module remote monitoring device | |
CN110210401B (en) | Intelligent target detection method under weak light | |
CN109255805B (en) | Machine learning industrial intelligent data collection system and method | |
CN117351472A (en) | Tobacco leaf information detection method and device and electronic equipment | |
CN115797280A (en) | Transformer surface defect detection system based on image AI recognition algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |