[go: up one dir, main page]

CN111080651B - Automatic monitoring method of oil drilling polluted gas based on water flow segmentation - Google Patents

Automatic monitoring method of oil drilling polluted gas based on water flow segmentation Download PDF

Info

Publication number
CN111080651B
CN111080651B CN201911290836.9A CN201911290836A CN111080651B CN 111080651 B CN111080651 B CN 111080651B CN 201911290836 A CN201911290836 A CN 201911290836A CN 111080651 B CN111080651 B CN 111080651B
Authority
CN
China
Prior art keywords
water flow
data
image
segmentation
perimeter
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
CN201911290836.9A
Other languages
Chinese (zh)
Other versions
CN111080651A (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.)
Southwest University of Science and Technology
Original Assignee
Southwest University of Science and Technology
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 Southwest University of Science and Technology filed Critical Southwest University of Science and Technology
Priority to CN201911290836.9A priority Critical patent/CN111080651B/en
Publication of CN111080651A publication Critical patent/CN111080651A/en
Application granted granted Critical
Publication of CN111080651B publication Critical patent/CN111080651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • 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
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A20/00Water conservation; Efficient water supply; Efficient water use
    • Y02A20/20Controlling water pollution; Waste water treatment

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

The invention belongs to the technical field of automatic monitoring of petroleum drilling polluted gas, and discloses a water flow segmentation-based automatic monitoring method of petroleum drilling polluted gas. The water flow segmentation algorithm is used for segmenting water flow to obtain form information of the water flow, and the anomaly monitoring algorithm is realized through multiple gaussians and is used for identifying an abnormal data frame. Through the automatic monitoring algorithm of the petroleum drilling polluted gas based on water flow segmentation, the water flow of the petroleum drilling drainage pipeline is segmented, whether the polluted gas meets the emission standard or not is detected according to the segmentation result, real-time early warning can be realized when the polluted gas does not meet the emission standard, meanwhile, the problems that manual observation cannot be realized, and the water flow change form cannot be obtained by a water flow sensor in real time are solved, the labor cost can be effectively saved, and the environment is protected.

Description

基于水流分割的石油钻井污染气体自动监测方法Automatic monitoring method of oil drilling polluted gas based on water flow segmentation

技术领域technical field

本发明属于污染气体自动监测技术领域,尤其涉及一种基于水流分割的石油钻井污染气体自动监测方法。The invention belongs to the technical field of automatic monitoring of polluted gas, and in particular relates to an automatic monitoring method for petroleum drilling polluted gas based on water flow segmentation.

背景技术Background technique

目前,最接近的现有技术:污染物的排放处理,关系环境、关系民生,是工业生产中必不可少的一环。在工业勘探和发掘过程中,除了地下有用资源外,也会带一些污染物,比如H2S,污染气体会随着工业的排水管道到地面。H2S气体是有毒有害的酸性气体,直接排放到空气中,对周遭环境造成影响。当污染气体的含量高于排放标准时需要对排放物进行处理。H2S气体除了有毒有害之外还是一种无色无味的气体,能容于水。H2S气体溶于水后生成的HSO4也是无色的,因此要想通过观察水流的颜色变化检测是污染气体不可能的。在实际生产过程中,直接使用化学试剂检测,会耗费大量的化学试剂。同时要做到实时监测也存在很大的困难。另一方面污染气体水容量是有限的,因此当污染气体量大时整个环境中压强会增大,在排水管道口会出现水流喷射的现象。水流量越大喷射现象越明显,说明排水管道内部气压越大,污染气体含量越大。At present, the closest existing technology: pollutant discharge and treatment, which is related to the environment and people's livelihood, is an indispensable part of industrial production. In the process of industrial exploration and excavation, in addition to the underground useful resources, some pollutants, such as H 2 S, will also be carried. H 2 S gas is a poisonous and harmful acid gas, which is directly discharged into the air and has an impact on the surrounding environment. When the content of the polluting gas is higher than the emission standard, the emission should be treated. In addition to being toxic and harmful, H 2 S gas is also a colorless, odorless gas that can be tolerated in water. The HSO 4 formed by dissolving H 2 S gas in water is also colorless, so it is impossible to detect the polluted gas by observing the color change of the water flow. In the actual production process, using chemical reagents directly for detection will consume a lot of chemical reagents. At the same time, it is also very difficult to achieve real-time monitoring. On the other hand, the water capacity of the polluted gas is limited, so when the amount of polluted gas is large, the pressure in the entire environment will increase, and the phenomenon of water jets will appear at the outlet of the drainage pipe. The larger the water flow rate, the more obvious the jet phenomenon, indicating that the greater the internal pressure of the drainage pipe, the greater the pollution gas content.

目前都是通过摄像机采集视频数据,然后人工在后台实时监控排水管道水流变化情况的方式对污染气体进行监测。另一方面,工业生产过程中,往往是多个工作点同时工作,因此所需的监控的点会很多,这就需要耗费大量的人力资源,造成人力资源的浪费。同时人工长时间的观看监控视频会有视觉疲劳,和精力不集中的问题,就会带监管不到位的问题。目前是根据排水管道口水流的变化情况判断污染气体排放是否符合标准。目前在水流量的监测统计方面,主要是使用水流传感器。水流传感器可以获得一段时间内的水流量统计情况。其主要的原理在于传感器将对于水流量的感应转化为电信号,传往后台,后台根据传过的信号进行分析,解析出水流数据。其主要的功能是用于水流显示和流量累积计算。但是水流传感器一般是用在电热水器,太阳热能热水器,以及家用的水流统计表。在监测排水管道的水流变化情况时,水流存在突然喷射的情况,水流传感器获得的数据就可能是不准确的,同时由于受到水流的冲击,传感器的安装也是一个问题。因此水流传感器不能用判断污染气体排放是否符合标准。At present, the video data is collected by the camera, and then the polluted gas is monitored by manually monitoring the changes of the water flow in the drainage pipeline in real time in the background. On the other hand, in the process of industrial production, multiple work points are often working at the same time, so there are many monitoring points required, which requires a lot of human resources, resulting in a waste of human resources. At the same time, artificially watching surveillance video for a long time will cause visual fatigue and lack of concentration, which will lead to the problem of inadequate supervision. At present, it is judged whether the discharge of polluted gas meets the standard according to the change of water flow at the outlet of the drainage pipe. At present, in the monitoring and statistics of water flow, water flow sensors are mainly used. The water flow sensor can obtain statistics of water flow over a period of time. The main principle is that the sensor converts the induction of water flow into electrical signals, which are transmitted to the background, and the background analyzes the water flow data according to the transmitted signals. Its main function is for water flow display and flow accumulation calculation. But water flow sensors are generally used in electric water heaters, solar thermal water heaters, and household water flow statistics. When monitoring the change of water flow in the drainage pipeline, the water flow is suddenly sprayed, and the data obtained by the water flow sensor may be inaccurate. At the same time, due to the impact of the water flow, the installation of the sensor is also a problem. Therefore, the water flow sensor cannot be used to judge whether the pollutant gas discharge meets the standard.

综上所述,现有技术存在的问题是:在污染气体监测中,通过人工的方式存在人力资源浪费、成本高、视觉疲劳,以及现有的水流传感器不能满足实际需求的问题。To sum up, the problems existing in the prior art are: in the pollution gas monitoring, there are problems such as waste of human resources, high cost, visual fatigue, and the existing water flow sensor can not meet the actual needs through manual methods.

现有的基于视频的异常数据检测方法,大多都是在人体或者人群的异常行为方面,大多都是通过人体姿态、骨架、光流信息等来表示运动的变化。在实际中水流与人体的不同之处在于水流的形态是不固定的,因此难以通过光流等信息的变化来捕捉水流形态的变化,即现有的视频异常事件检测方法不适用于污染气体的监测。同时图像的背景复杂,涉及到不同的光照强度和背景物的变化,因此难以通过传统的图像算法来剪除背景。本发明则可以通过深度学习的方法来获取感兴趣的图像区域剪除背景。Most of the existing abnormal data detection methods based on video are in the abnormal behavior of the human body or the crowd, and most of them use the human body posture, skeleton, optical flow information, etc. to represent the change of motion. In practice, the difference between water flow and human body is that the shape of water flow is not fixed, so it is difficult to capture the change of water flow shape through the change of optical flow and other information, that is, the existing video abnormal event detection method is not suitable for polluted gas. monitor. At the same time, the background of the image is complex, involving different light intensities and changes in the background, so it is difficult to cut the background through traditional image algorithms. The present invention can obtain the image area of interest and cut the background through the deep learning method.

发明内容SUMMARY OF THE INVENTION

针对现有技术存在的问题,本发明提供了一种基于水流分割的石油钻井污染气体自动监测方法。Aiming at the problems existing in the prior art, the present invention provides an automatic monitoring method for oil drilling polluted gas based on water flow segmentation.

本发明是这样实现的,一种基于水流分割的石油钻井污染气体自动监测方法,所述基于水流分割的石油钻井污染气体自动监测方法包括以下步骤:The present invention is achieved in this way, an automatic monitoring method for oil drilling pollution gas based on water flow segmentation, and the automatic monitoring method for oil drilling pollution gas based on water flow segmentation comprises the following steps:

第一步,将mask与原始图像做与运算,将图像映射到HSV颜色表示空间,手动调整阈值获得批量的标注数据;The first step is to do an AND operation between the mask and the original image, map the image to the HSV color representation space, and manually adjust the threshold to obtain batch annotation data;

第二步,将标注好的数据进行预处理,调整图像的长和宽为32的倍数,将图像转化为张量格式,做数据的归一化,将像素值从0到255归一化到0到1;The second step is to preprocess the marked data, adjust the length and width of the image to multiples of 32, convert the image to tensor format, normalize the data, and normalize the pixel values from 0 to 255 to 0 to 1;

第三步,通过神经网络训练数据,神经网络采用编码器-解码器的结构可以充分发掘图像的潜在信息,神经网络输入为原始图像,输出为分割图像;In the third step, through the neural network training data, the neural network adopts the encoder-decoder structure to fully explore the potential information of the image, the input of the neural network is the original image, and the output is the segmented image;

第四步,提取分割后的图像的轮廓,并将计算轮廓的周长和面积;In the fourth step, the contour of the segmented image is extracted, and the perimeter and area of the contour will be calculated;

第五步,利用标注数据中的不含异常数据帧部分提取到的周长和面积两个量,建立多元高斯模型;The fifth step is to establish a multivariate Gaussian model by using the two quantities of perimeter and area extracted from the data frame without abnormality in the labeled data;

第六步,将获取到的分割图像的周长和面积输入多元高斯模型,判定数据帧是否异常。The sixth step is to input the obtained perimeter and area of the segmented image into the multivariate Gaussian model to determine whether the data frame is abnormal.

进一步,所述基于水流分割的石油钻井污染气体自动监测方法的水流数据标注通过制作mask图像和HSV颜色空间分析建模,同时标注同一场景下的100到1000张数据;HSV用于通过颜色空间的阈值分割出水流,而mask则是用消除颜色空间阈值与水流在同一范围内的噪声点,通过对水流样本数据的观察和分析,得出在固定的场景下一定的时间范围内,相机不移动时图像中的光照条件和背景基本不变;Further, the water flow data labeling of the oil drilling pollution gas automatic monitoring method based on water flow segmentation is modeled by making a mask image and HSV color space analysis, and at the same time labeling 100 to 1000 pieces of data in the same scene; HSV is used to pass the color space. The threshold is used to segment the water flow, and the mask is used to eliminate noise points whose color space threshold is in the same range as the water flow. Through the observation and analysis of the water flow sample data, it is concluded that the camera does not move within a certain time range in a fixed scene. The lighting conditions and background in the image are basically unchanged;

HSV模型将RGB颜色空间映射到一个圆锥空间,从0到255表示颜色从黑到白的变化;在制作数据集标签的过程中通过mask和HSV结合的方式通过代码对被分为一类的图片进行标注和处理;Mask是根据背景图片建模得的一张图像,每个类别和场景下都有对应的mask,通过mask与原始图像直接做与运算就可以去除大部分的背景;HSV通过颜色空间的阈值调整将mask处理后结果进行进一步的处理,以获得对水流形态的精准刻画。The HSV model maps the RGB color space to a conical space, from 0 to 255, representing the change of color from black to white; in the process of making the label of the data set, the pictures are classified into one category through the combination of mask and HSV through code pairs Labeling and processing; Mask is an image modeled based on a background image, each category and scene has a corresponding mask, and most of the background can be removed by directly ANDing the mask with the original image; HSV uses color The spatial threshold adjustment will further process the masked result to obtain an accurate description of the water flow shape.

进一步,所述基于水流分割的石油钻井污染气体自动监测方法的水流分割算法采用Unet网络结构,Unet网络实现像素级的分割,获得对水流变化情况的精准刻画;U-net网络由一个收缩路径和一个扩张路径组成;Further, the water flow segmentation algorithm of the oil drilling pollution gas automatic monitoring method based on water flow segmentation adopts the Unet network structure, and the Unet network realizes pixel-level segmentation to obtain an accurate description of the water flow change; the U-net network consists of a contraction path and An expansion path consists of;

收缩路径遵循典型的卷积网络结构,其由两个重复的3x3卷积核组成,且均使用修正线性单元激活函数和一个用于下采样的步长为2的2x2最大池化操作,以及在每一个下采样的步骤中,特征通道数量都加倍;The shrinking path follows a typical convolutional network structure consisting of two repeated 3x3 convolution kernels, both using a rectified linear unit activation function and a 2x2 max-pooling operation with stride 2 for downsampling, and in In each downsampling step, the number of feature channels is doubled;

在扩张路径中,每一步都包含对特征图进行上采样;用22的卷积核进行卷积运算,用于减少一半的特征通道数量;接着级联收缩路径中相应的裁剪后的特征图;再用两个33的卷积核进行卷积运算,且均使用ReLU激活函数;在最后一层,利用1*1的卷积核进行卷积运算,将每个64维的特征向量映射网络的输出层。In the expansion path, each step includes up-sampling the feature map; convolution operation is performed with a convolution kernel of 22 to reduce the number of feature channels by half; then the corresponding cropped feature map in the cascade contraction path; Then two 33 convolution kernels are used for the convolution operation, and both use the ReLU activation function; in the last layer, the 1*1 convolution kernel is used for the convolution operation, and each 64-dimensional feature vector is mapped to the network. output layer.

进一步,所述基于水流分割的石油钻井污染气体自动监测方法在预处理时计算得出所有训练数据的均值和方差,每一张图片在减去均值,与方差相比;将数据归一化到0到1,使得很多像素点变为零;Further, the automatic monitoring method for oil drilling pollution gas based on water flow segmentation calculates the mean value and variance of all training data during preprocessing, and subtracts the mean value from each picture and compares it with the variance; the data is normalized to 0 to 1, so that many pixels become zero;

神经网络的损失函数定义如下:The loss function of the neural network is defined as follows:

Pre=∑i,jPr(i,j) (1)Pre=∑ i, j P r (i, j) (1)

Pte=∑i,jPt(i,j) (2)Pte=∑ i,j P t (i, j) (2)

Figure GDA0003594539360000041
Figure GDA0003594539360000041

公式中Pre,训练过程中神经网络的输出的图像,Pte表示对应的标签,loss表示损失;i,j表示像素点的坐标位置;式(3)中i=0,n表示参与计算的图像数量,const表示一个非0常数,为保证标签全黑的时候分母不是0;从式(3)看出当标签和实际的预测值越接近时损失越小。In the formula, Pre is the output image of the neural network in the training process, Pte represents the corresponding label, loss represents the loss; i, j represent the coordinate position of the pixel point; i=0 in formula (3), n represents the number of images involved in the calculation , const represents a non-zero constant, in order to ensure that the denominator is not 0 when the label is all black; it can be seen from formula (3) that the loss is smaller when the label is closer to the actual predicted value.

进一步,所述基于水流分割的石油钻井污染气体自动监测方法的异常监测方法,采用多元高斯建模的方式,帧为异常数据帧时,帧的面积和周长会发生越变;通过正常数据得的高斯模型在测试异常数据时会偏离该高斯模;该高斯模型根据正常分割得到的水流的周长和面积计算得到;将水流监控视频的一帧数据判别为异常,直接通过水流的形态和变化情况确定;周长和面积是对物体的形态表示最直观的两个量,在实际中通过周长和面积两个量建立多元高斯模型发掘两个量之间的联系,多元高斯的计算公式:Further, the abnormal monitoring method of the oil drilling pollution gas automatic monitoring method based on water flow segmentation adopts the method of multivariate Gaussian modeling. When the frame is an abnormal data frame, the area and perimeter of the frame will change; The model will deviate from the Gaussian model when testing abnormal data; the Gaussian model is calculated according to the perimeter and area of the water flow obtained by normal segmentation; a frame of data of the water flow monitoring video is judged to be abnormal, which is directly determined by the shape and change of the water flow ; Perimeter and area are the two most intuitive quantities to express the shape of an object. In practice, a multivariate Gaussian model is established through the two quantities of perimeter and area to explore the connection between the two quantities. The calculation formula of the multivariate Gaussian is:

Figure GDA0003594539360000042
Figure GDA0003594539360000042

其中,∑:代表根据周长和面积计算的协方差矩阵,u:代表均值,x:代表输入,∈:代表判定的阈值;公式用于判定输入x是否属于建立的多元高斯分布,当输出的概率值低于∈时判定为不属于该概率分布,∈是根据对于正常数据的和异常数据的统计值确定的。Among them, ∑: represents the covariance matrix calculated according to the perimeter and area, u: represents the mean, x: represents the input, ∈: represents the threshold value of the judgment; the formula is used to determine whether the input x belongs to the established multivariate Gaussian distribution, when the output When the probability value is lower than ∈, it is determined that it does not belong to the probability distribution, and ∈ is determined according to the statistical value of normal data and abnormal data.

本发明的另一目的在于提供一种实施所述基于水流分割的石油钻井污染气体自动监测方法的基于水流分割的石油钻井污染气体自动监测系统,所述基于水流分割的石油钻井污染气体自动监测系统包括以下步骤:Another object of the present invention is to provide an automatic monitoring system for oil drilling pollution gas based on water flow segmentation that implements the automatic monitoring method for oil drilling pollution gas based on water flow segmentation, and the automatic monitoring system for oil drilling pollution gas based on water flow segmentation Include the following steps:

标注数据获取模块,用于将mask与原始图像做与运算,将图像映射到HSV颜色表示空间,手动调整阈值获得批量的标注数据;Annotation data acquisition module, which is used to perform AND operation between the mask and the original image, map the image to the HSV color representation space, and manually adjust the threshold to obtain batch annotation data;

数据预处理模块,用于将标注好的数据进行预处理,调整图像的长和宽为32的倍数,将图像转化为张量格式,做数据的归一化;The data preprocessing module is used to preprocess the marked data, adjust the length and width of the image to multiples of 32, convert the image into tensor format, and normalize the data;

分割图像获取模块,用于通过神经网络训练数据,神经网络采用编码器-解码器的结构可以充分发掘图像的潜在信息,神经网络输入为原始图像,输出为分割图像;The segmentation image acquisition module is used to train data through the neural network. The neural network adopts the encoder-decoder structure to fully explore the potential information of the image. The input of the neural network is the original image, and the output is the segmented image;

轮廓计算模块,用于提取分割后的图像的轮廓,并将计算轮廓的周长和面积;The contour calculation module is used to extract the contour of the segmented image, and will calculate the perimeter and area of the contour;

模型建立模块,用于利用标注数据中的不含异常数据帧部分提取到的周长和面积两个量,建立多元高斯模型;The model building module is used to establish a multivariate Gaussian model by using the two quantities of perimeter and area extracted from the data frame without abnormality in the labeled data;

数据帧判定模块,用于将获取到的分割图像的周长和面积输入多元高斯模型,判定数据帧是否异常。The data frame determination module is used to input the obtained perimeter and area of the segmented image into the multivariate Gaussian model to determine whether the data frame is abnormal.

本发明的另一目的在于提供一种实现所述基于水流分割的石油钻井污染气体自动监测方法的信息数据处理终端。Another object of the present invention is to provide an information data processing terminal for realizing the automatic monitoring method for oil drilling polluted gas based on water flow segmentation.

本发明的另一目的在于提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行所述的基于水流分割的石油钻井污染气体自动监测方法。Another object of the present invention is to provide a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the automatic monitoring method for oil drilling polluted gas based on water flow segmentation.

本发明的另一目的在于提供一种所述基于水流分割的石油钻井污染气体自动监测方法在污染气体自动监测中的应用。Another object of the present invention is to provide an application of the automatic monitoring method for oil drilling polluted gas based on water flow segmentation in automatic monitoring of polluted gas.

本发明的另一目的在于提供一种所述基于水流分割的石油钻井污染气体自动监测方法在污染物排放处理中的应用。Another object of the present invention is to provide an application of the automatic monitoring method for oil drilling polluted gas based on water flow segmentation in pollutant discharge treatment.

综上所述,本发明的优点及积极效果为:本发明水流数据标注方法,主要通过制作mask图像和HSV颜色空间分析建模,可以同时标注同一场景下的100到1000张数据,大量节人力资源。水流分割算法,主要采用Unet网络结构,可以实现像素级的分割,获得对水流变化情况的精准刻画。异常监测方法,采用多元高斯建模的方式,其主要原理在于该帧为异常数据帧时,该帧的面积和周长会发生越变;通过正常数据得的高斯模型在测试异常数据时会偏离该高斯模型。To sum up, the advantages and positive effects of the present invention are as follows: the water flow data labeling method of the present invention can label 100 to 1000 pieces of data in the same scene at the same time by making mask images and HSV color space analysis and modeling, saving a lot of manpower resource. The water flow segmentation algorithm mainly adopts the Unet network structure, which can achieve pixel-level segmentation and obtain an accurate description of the water flow change. The abnormality monitoring method adopts the multivariate Gaussian modeling method. Model.

本发明通过机器视觉的方式代替人工实时监测排水管道水流情况。本发明通过分割水流图像的方式获得水流的喷射状态信息,分割完之后再通过数学的统计和分析结合实际的污染气体排放标准与喷射状态的关系得出当前污染气体排放是否符合标准。The invention replaces manual real-time monitoring of the water flow of the drainage pipeline by means of machine vision. The invention obtains the jet state information of the water flow by dividing the water flow image, and after the division is completed, whether the current pollution gas discharge meets the standard is obtained through mathematical statistics and analysis combined with the relationship between the actual pollution gas discharge standard and the jet state.

本发明所要解决的技术问题是人工的方式存在人力资源浪费、成本高、视觉疲劳,以及现有的水流传感器不能实时获得水流变化情况的问题,其目的在于通过分割水流图像的方式获得水流的喷射状态信息,分割完之后再通过数学的统计和分析结合实际的污染气体排放标准与喷射状态的关系得出当前污染气体排放是否符合排放标准。The technical problem to be solved by the present invention is that there are waste of human resources, high cost, visual fatigue in the manual method, and the existing water flow sensor cannot obtain the change of the water flow in real time. The purpose is to obtain the jet of water flow by dividing the water flow image. After the status information is divided, whether the current pollutant gas discharge meets the emission standard is obtained through mathematical statistics and analysis combined with the relationship between the actual pollutant gas emission standard and the injection state.

本发明通过基于水流分割的石油钻井污染气体自动监测算法,对石油钻井排水管道的水流进行分割进而根据分割结果检测污染气体是否符合排放标准,在污染气体不符合排放标准的时候能够实时预警,同时克服了人工观测存在的监督不到和水流传感器不能实时获得水流变化形态的问题,能够有效的节约人工成本(一台检测机器可以代替5-6个人的工作量),保护环境。Through the automatic monitoring algorithm of oil drilling polluted gas based on water flow segmentation, the invention divides the water flow of the oil drilling drainage pipeline, and then detects whether the polluted gas meets the emission standard according to the segmentation result, and can give real-time early warning when the polluted gas does not meet the discharge standard. It overcomes the problems of lack of supervision in manual observation and the inability of water flow sensors to obtain the changing shape of water flow in real time, which can effectively save labor costs (one detection machine can replace the workload of 5-6 people) and protect the environment.

附图说明Description of drawings

图1是本发明实施例提供的基于水流分割的石油钻井污染气体自动监测方法流程图。FIG. 1 is a flowchart of an automatic monitoring method for oil drilling polluted gas based on water flow segmentation according to an embodiment of the present invention.

图2是本发明实施例提供的分割网络结构图。FIG. 2 is a structural diagram of a segmentation network provided by an embodiment of the present invention.

图3是本发明实施例提供的训练精度图。FIG. 3 is a training accuracy diagram provided by an embodiment of the present invention.

图4是本发明实施例提供的训练损失图。FIG. 4 is a training loss diagram provided by an embodiment of the present invention.

图5是本发明实施例提供的分割结果图;5 is a segmentation result diagram provided by an embodiment of the present invention;

图中:(a)原图;(b)分割结果;(c)原图;(d)分割结果。In the figure: (a) original image; (b) segmentation result; (c) original image; (d) segmentation result.

具体实施方式Detailed ways

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

针对现有技术存在的问题,本发明提供了一种基于水流分割的石油钻井污染气体自动监测方法,下面结合附图对本发明作详细的描述。In view of the existing problems in the prior art, the present invention provides an automatic monitoring method for oil drilling polluted gas based on water flow segmentation. The present invention is described in detail below with reference to the accompanying drawings.

如图1所示,本发明实施例提供的基于水流分割的石油钻井污染气体自动监测方法包括以下步骤:As shown in FIG. 1 , the automatic monitoring method for oil drilling pollution gas based on water flow segmentation provided by the embodiment of the present invention includes the following steps:

S101:将mask与原始图像做“与”运算,然后将图像映射到HSV颜色表示空间,最后手动调整阈值获得批量的标注数据;S101: Perform an AND operation on the mask and the original image, then map the image to the HSV color representation space, and finally manually adjust the threshold to obtain batch annotation data;

S102:将标注好的数据进行预处理,首先调整图像的长和宽为32的倍数,然后将图像转化为张量格式,最后做数据的归一化,将像素值从0到255归一化到0到1之间,调整图像的长和宽是为了符合神经网络训练的需求;S102: Preprocess the marked data, first adjust the length and width of the image to multiples of 32, then convert the image into tensor format, and finally normalize the data, and normalize the pixel value from 0 to 255 Between 0 and 1, the length and width of the image are adjusted to meet the needs of neural network training;

S103:通过神经网络训练数据,神经网络采用编码器-解码器的结构可以充分发掘图像的潜在信息,神经网络输入为原始图像,输出为分割图像;S103: Through the neural network training data, the neural network adopts the encoder-decoder structure to fully explore the potential information of the image, the input of the neural network is the original image, and the output is the segmented image;

S104:提取分割后的图像的轮廓,并将计算轮廓的周长和面积,在实际中是通过人工观测水流形态的变化判断异常情况,而对形态特征最基本的表示就是一个物体的周长和面积;S104: Extract the contour of the segmented image, and calculate the perimeter and area of the contour. In practice, the abnormal situation is judged by manually observing the change of the shape of the water flow, and the most basic representation of the morphological feature is the perimeter and area;

S105:利用标注数据中的不含异常数据帧部分提取到的周长和面积两个量,建立多元高斯模型,多元高斯模型可以充分发掘图像的周长和面积之间的关系,同时根据输出概率的大小判定是否异常;S105: Establish a multivariate Gaussian model by using the two quantities of perimeter and area extracted from the data frame without abnormality in the labeled data. The multivariate Gaussian model can fully explore the relationship between the perimeter and the area of the image, and at the same time according to the output probability The size of the judgment is abnormal;

S106:将获取到的分割图像的周长和面积输入多元高斯模型,判定数据帧是否异常。S106: Input the obtained perimeter and area of the segmented image into a multivariate Gaussian model to determine whether the data frame is abnormal.

下面结合附图对本发明的技术方案作进一步的描述。The technical solutions of the present invention will be further described below with reference to the accompanying drawings.

本发明基于水流分割的石油钻井污染气体自动监测算法,包括三部分内容:一种适用于水流的水流数据标注方法、水流分割算法、异常监测算法。水流数据形态不固定,且伴随井喷现象会出现较大的变化,因此通过Labelme标注的方法不在适用,提出了通过mask和HSV结合的方式标注数据。水流分割算法用于对排水管道口的水流进行分割获得水流形态的精准刻画,异常监测算法根据分割后的结果和污染气体的对应关系检测出当前时刻污染气体是否符合排放标准。The present invention is an automatic monitoring algorithm for oil drilling polluted gas based on water flow segmentation, including three parts: a water flow data labeling method suitable for water flow, a water flow segmentation algorithm, and an abnormality monitoring algorithm. The shape of water flow data is not fixed, and there will be large changes with the blowout phenomenon. Therefore, the method of labeling by Labelme is not applicable. It is proposed to label the data by combining mask and HSV. The water flow segmentation algorithm is used to segment the water flow at the outlet of the drainage pipe to obtain an accurate description of the water flow shape. The abnormality monitoring algorithm detects whether the polluted gas at the current moment meets the emission standard according to the corresponding relationship between the segmentation result and the polluted gas.

本发明基于水流分割的石油钻井污染气体自动监测算法主要的流程如下:(1)首先将mask与原始图像做“与”运算,然后将图像映射到HSV颜色表示空间,最后手动调整阈值获得批量的标注数据;(2)将标注好的数据进行预处理,首先调整图像的长和宽为32的倍数,然后将图像转化为张量格式,最后做数据的归一化,将像素值从0到255归一化到0到1之间,调整图像的长和宽是为了符合神经网络训练的需求;(3)通过神经网络训练数据,神经网络采用编码器-解码器的结构可以充分发掘图像的潜在信息,神经网络输入为原始图像,输出为分割图像;(4)提取分割后的图像的轮廓,并将计算轮廓的周长和面积,在实际中是通过人工观测水流形态的变化判断异常情况,而对形态特征最基本的表示就是一个物体的周长和面积;(5)利用标注数据中的不含异常数据帧部分提取到的周长和面积两个量,建立多元高斯模型,多元高斯模型可以充分发掘图像的周长和面积之间的关系,同时根据输出概率的大小判定是否异常。(6)将获取到的分割图像的周长和面积输入多元高斯模型,判定数据帧是否异常。The main process of the present invention's automatic monitoring algorithm for oil drilling pollution gas based on water flow segmentation is as follows: (1) first perform an AND operation on the mask and the original image, then map the image to the HSV color representation space, and finally manually adjust the threshold to obtain batches of Label the data; (2) Preprocess the labelled data, first adjust the length and width of the image to be multiples of 32, then convert the image to tensor format, and finally normalize the data to change the pixel value from 0 to 255 is normalized to between 0 and 1, and the length and width of the image are adjusted to meet the needs of neural network training; (3) through the neural network training data, the neural network adopts the encoder-decoder structure to fully explore the image’s characteristics. Potential information, the input of the neural network is the original image, and the output is the segmented image; (4) The contour of the segmented image is extracted, and the perimeter and area of the contour will be calculated. In practice, the abnormal situation is judged by manually observing the change of the water flow shape. , and the most basic representation of morphological features is the perimeter and area of an object; (5) Use the two quantities of perimeter and area extracted from the data frame without anomalies in the labeled data to establish a multivariate Gaussian model, a multivariate Gaussian model. The model can fully explore the relationship between the perimeter and the area of the image, and at the same time determine whether it is abnormal according to the output probability. (6) Input the obtained perimeter and area of the segmented image into the multivariate Gaussian model to determine whether the data frame is abnormal.

在水流数据集的标注阶段,直接使用现有的工具Labelme进行标注,其标注的实物如图2分割网络结构图所示,左侧为原图右侧为Labelme标注的结果。从图2中可以看出,使用工具进行标注,只能获得水流大致轮廓信息,而其他部分比如旁边的细小水柱和由于喷射而脱离中心区域的水滴信息就会损失。标注数据的工作量巨大,因此需要多个人协同合作,每个人对于水流形态的理解有偏差,当有雾气使得水流的分界线不是很明显时就会对标注数据带困难。In the labeling stage of the water flow data set, the existing tool Labelme is directly used for labeling, and the labeled objects are shown in the segmentation network structure diagram in Figure 2. The left side is the original image and the right side is the Labelme labeling result. It can be seen from Figure 2 that only the rough outline information of the water flow can be obtained by using the tool for labeling, while other parts such as the small water column next to it and the water droplets that are separated from the central area due to jetting will be lost. The workload of labeling data is huge, so multiple people are required to cooperate and each person has a biased understanding of the water flow pattern.

水流数据标注方法,主要通过制作mask图像和HSV颜色空间分析建模,可以同时标注同一场景下的100到1000张数据,大量节人力资源。HSV用于通过颜色空间的阈值分割出水流,而mask则是用消除颜色空间阈值与水流在同一范围内的噪声点。通过对水流样本数据的观察和分析,可以得出在固定的场景下一定的时间范围内,相机不移动时图像中的光照条件和背景基本不变。同时参考火焰分割的相关论文,知道HSV一种比较好的颜色表示空间,在火焰分割领域取得了不错的效果。基于上述的条件就有了在固定的场景下,分割出水流的作为数据标签的基础。HSV模型将RGB颜色空间映射到一个圆锥空间,从0到255表示颜色从黑到白的变化。在制作数据集标签的过程中通过mask和HSV结合的方式通过代码对被分为一类的图片进行标注和处理。其分类的标准是相机位置无变化,背景无变化、光线条件变化不大即可分为一类。Mask指的是根据背景图片建模得的一张图像,每个类别和场景下都有对应的mask,通过mask与原始图像直接做与运算就可以去除大部分的背景。mask的样例图像经训练精度后如图3所示。HSV则是通过颜色空间的阈值调整将mask处理后结果进行进一步的处理,以获得对水流形态的精准刻画。The water flow data labeling method, mainly through the production of mask images and HSV color space analysis and modeling, can label 100 to 1000 pieces of data in the same scene at the same time, saving a lot of human resources. HSV is used to segment the water flow through the threshold of the color space, while the mask is used to eliminate noise points whose color space threshold is in the same range as the water flow. Through the observation and analysis of the water flow sample data, it can be concluded that within a certain time range in a fixed scene, the lighting conditions and background in the image are basically unchanged when the camera does not move. At the same time, referring to related papers on flame segmentation, we know that HSV is a better color representation space, and has achieved good results in the field of flame segmentation. Based on the above conditions, there is a basis for segmenting the water flow as a data label in a fixed scene. The HSV model maps the RGB color space to a conic space, from 0 to 255 representing the change in color from black to white. In the process of making dataset labels, the images that are classified into one category are labeled and processed by the combination of mask and HSV through code. The classification standard is that there is no change in the position of the camera, no change in the background, and little change in light conditions. Mask refers to an image modeled based on a background image. Each category and scene has a corresponding mask. Most of the background can be removed by directly ANDing the mask with the original image. The sample image of the mask is shown in Figure 3 after training accuracy. HSV further processes the result of mask processing by adjusting the threshold value of the color space to obtain an accurate description of the water flow shape.

水流分割算法,主要采用Unet网络结构,神经网络结构经训练损失后如图4所示。Unet网络可以实现像素级的分割,获得对水流变化情况的精准刻画。U-net网络由一个收缩路径(左边)和一个扩张路径(右边)组成。其中,收缩路径遵循典型的卷积网络结构,其由两个重复的3x3卷积核(无填充卷积)组成,且均使用修正线性单元(ReLU)激活函数和一个用于下采样的步长为2的2x2最大池化操作,以及在每一个下采样的步骤中,特征通道数量都加倍。在扩张路径中,每一步都包含对特征图进行上采样;然后用22的卷积核进行卷积运算(上卷积),用于减少一半的特征通道数量;接着级联收缩路径中相应的裁剪后的特征图;再用两个33的卷积核进行卷积运算,且均使用ReLU激活函数。由于在每次卷积操作中,边界像素存在缺失问题,因此有必要对特征图进行裁剪。在最后一层,利用1*1的卷积核进行卷积运算,将每个64维的特征向量映射网络的输出层。The water flow segmentation algorithm mainly adopts the Unet network structure, and the neural network structure is shown in Figure 4 after training loss. The Unet network can achieve pixel-level segmentation and obtain accurate descriptions of water flow changes. The U-net network consists of a shrinking path (left) and an expanding path (right). Among them, the shrinking path follows the typical convolutional network structure, which consists of two repeated 3x3 convolution kernels (no padding convolution), and both use a rectified linear unit (ReLU) activation function and a stride for downsampling A 2x2 max-pooling operation of 2, and the number of feature channels is doubled at each downsampling step. In the expansion path, each step consists of up-sampling the feature map; then convolution operation (up-convolution) is performed with a convolution kernel of 22 to reduce the number of feature channels by half; then the corresponding The cropped feature map; then two 33 convolution kernels are used for convolution operation, and both use the ReLU activation function. Due to the missing problem of boundary pixels in each convolution operation, it is necessary to crop the feature map. In the last layer, a 1*1 convolution kernel is used for convolution operation, and each 64-dimensional feature vector is mapped to the output layer of the network.

数据的预处理主要是为了减少运算的数据量,同时对数据做归一化。在预处理时采用的也是一般的常用手段,首先计算得出所有训练数据的均值和方差,然后每一张图片在减去均值,最后与方差相比。通过上述的处理可以将数据归一化到0到1之间,同时也会使得很多像素点变为零,从而减少运算的数据量。神经网络的损失函数定义如下:The main purpose of data preprocessing is to reduce the amount of data for operation and to normalize the data at the same time. In preprocessing, the mean and variance of all training data are calculated first, and then the mean is subtracted from each image, and finally the variance is compared. Through the above processing, the data can be normalized to be between 0 and 1, and at the same time, many pixels will become zero, thereby reducing the amount of data in the operation. The loss function of the neural network is defined as follows:

Pre=∑i,jPr(i,j) (1)Pre=∑ i, j P r (i, j) (1)

Pte=∑i,jPt(i,j) (2)Pte=∑ i,j P t (i, j) (2)

Figure GDA0003594539360000101
Figure GDA0003594539360000101

公式中Pre,训练过程中神经网络的输出的图像,Pte表示对应的标签,loss表示损失。i,j表示像素点的坐标位置。公式(3)中i=0,n表示参与计算的图像数量,const表示一个非0常数,是为了保证标签全黑的时候分母不是0。从公式(3)可以看出当标签和实际的预测值越接近时损失越小。In the formula, Pre is the image of the output of the neural network during the training process, Pte represents the corresponding label, and loss represents the loss. i,j represent the coordinate position of the pixel point. In formula (3), i=0, n represents the number of images involved in the calculation, and const represents a non-zero constant to ensure that the denominator is not 0 when the label is all black. It can be seen from formula (3) that the loss is smaller when the label is closer to the actual predicted value.

在神经网优化方面采用了Adam优化算法,Adam是一种可以替代传统随机梯度下降过程的一阶优化算法,它能基于训练数据迭代地更新神经网络权重。Adam算法和传统的随机梯度下降不同。随机梯度下降保持单一的学习率(即alpha)更新所有的权重,学习率在训练过程中并不会改变。而Adam通过计算梯度的一阶矩估计和二阶矩估计,为不同的参数设计独立的自适应性学习率。Adam算法的提出者描述其为两种随机梯度下降扩展式的优点集合,即:适应性梯度算法为每一个参数保留一个学习率以提升在稀疏梯度(即自然语言和计算机视觉问题)上的性能。均方根传播基于权重梯度最近量级的均值为每一个参数适应性地保留学习率。这意味着算法在非稳态和在线问题上有很有优秀的性能。Adam在深度学习领域内是十分流行的算法,因为它能很快地实现优良的结果。经验性结果证明Adam算法在实践中性能优异,相对于其他种类的随机优化算法具有很大的优势。在实际的训练过程中也取得了良好的效果,训练的精度图和损失图如下图3和图4所示。The Adam optimization algorithm is used in neural network optimization. Adam is a first-order optimization algorithm that can replace the traditional stochastic gradient descent process. It can iteratively update the neural network weights based on training data. Adam algorithm is different from traditional stochastic gradient descent. Stochastic gradient descent maintains a single learning rate (i.e. alpha) to update all weights, and the learning rate does not change during training. Adam, on the other hand, designs independent adaptive learning rates for different parameters by calculating the first-order moment estimation and second-order moment estimation of the gradient. The proponents of the Adam algorithm describe it as a set of advantages of two stochastic gradient descent extensions, namely: the adaptive gradient algorithm retains a learning rate for each parameter to improve performance on sparse gradients (i.e. natural language and computer vision problems) . Root mean square propagation adaptively preserves the learning rate for each parameter based on the mean of the nearest magnitudes of the weight gradients. This means that the algorithm has excellent performance on non-stationary and online problems. Adam is a very popular algorithm in the deep learning field because it achieves good results very quickly. The empirical results show that the Adam algorithm has excellent performance in practice and has great advantages over other kinds of stochastic optimization algorithms. Good results have also been achieved in the actual training process. The training accuracy and loss graphs are shown in Figures 3 and 4 below.

从图3-图4中可以看出,只需训练20次就可以达到95%的精度,精度越高也就意味着水流分割的效果越好。图3-图4中实线表示训练精度,圆点表示验证精度,可以看出训练精度和验证精度几乎是同时上升,即数据不存在过拟合的情况。实线表示训练损失,虚线表示验证损失,训练损失和验证损失同时下降也验证了模型不存在数据过拟合的情况。从图3-图4中可以看出神经网络模型收敛很快,只需要训练20次就可以达到较高的精度。As can be seen from Figures 3-4, 95% accuracy can be achieved with only 20 training sessions. The higher the accuracy, the better the water flow segmentation effect. In Figure 3-4, the solid line represents the training accuracy, and the dots represent the verification accuracy. It can be seen that the training accuracy and the verification accuracy almost increase at the same time, that is, the data does not have overfitting. The solid line represents the training loss, and the dashed line represents the validation loss. The simultaneous decrease of the training loss and the validation loss also verifies that the model does not overfit the data. It can be seen from Figure 3-Figure 4 that the neural network model converges quickly, and only 20 times of training can achieve high accuracy.

经图3-图4训练后,分割结果如图5所示;图5中:(a)原图;(b)分割结果;(c)原图;(d)分割结果。After training in Figures 3-4, the segmentation results are shown in Figure 5; in Figure 5: (a) the original image; (b) the segmentation result; (c) the original image; (d) the segmentation result.

目前已经从实地收集了五个场景下的数据,并进行了训练,得到的部分结果。目前已经有接近七万个数据样本。实验的设备为titan v,框架为keras。在Titan v上进行训练跑完150次只需要20小时。因为网络结构中进行了五次上采样和(2,2)的池化,因此输入图像大小需要为32的倍数。训练时输入图像的大小为(320,448)。在测试阶段,单帧图像的处理时间平均为4ms,可以满足实时性的需求。At present, data in five scenarios have been collected from the field and trained, and some results have been obtained. At present, there are nearly 70,000 data samples. The experimental equipment is titan v, and the framework is keras. It only takes 20 hours to run 150 training runs on a Titan v. Because five upsampling and (2, 2) pooling are performed in the network structure, the input image size needs to be a multiple of 32. The size of the input images during training is (320, 448). In the test phase, the average processing time of a single frame of image is 4ms, which can meet the real-time requirements.

异常监测方法,采用多元高斯建模的方式,其主要原理在于该帧为异常数据帧时,该帧的面积和周长会发生越变;通过正常数据得的高斯模型在测试异常数据时会偏离该高斯模。该高斯模型根据正常分割得到的水流的周长和面积计算得到。将水流监控视频的一帧数据判别为异常,可以直接通过水流的形态和变化情况确定。周长和面积是对物体的形态表示最直观的两个量。在实际中通过周长和面积两个量建立多元高斯模型发掘两个量之间的联系。多元高斯的计算公式如下所示:The abnormality monitoring method adopts the multivariate Gaussian modeling method. mold. The Gaussian model is calculated from the perimeter and area of the water flow obtained by normal segmentation. To judge a frame of data of the water flow monitoring video as abnormal, it can be directly determined by the shape and change of the water flow. Perimeter and area are the two most intuitive quantities to express the shape of an object. In practice, a multivariate Gaussian model is established to explore the relationship between the two quantities through the perimeter and the area. The formula for calculating the multivariate Gaussian is as follows:

Figure GDA0003594539360000111
Figure GDA0003594539360000111

其中,∑:代表根据周长和面积计算的协方差矩阵,u:代表均值,x:代表输入,∈:代表判定的阈值。该公式用于判定输入x是否属于建立的多元高斯分布,当输出的概率值低于∈时判定为不属于该概率分布。∈是根据对于正常数据的和异常数据的统计值确定的。Among them, ∑: represents the covariance matrix calculated according to the perimeter and area, u: represents the mean, x: represents the input, and ∈: represents the judgment threshold. This formula is used to determine whether the input x belongs to the established multivariate Gaussian distribution, and when the output probability value is lower than ∈, it is determined that it does not belong to the probability distribution. ∈ is determined based on the statistics for normal data and abnormal data.

通过周长和面积建立高斯模型,并对单独使用周长和面积以及结合两者建立多元高斯模型判别异常数据帧的方法进行了实验和对比,对比结果如表1所示。使用的数据共包含3000帧图像,其中异常数据帧数为200。周长和面积结合建立多元高斯模型时检测的精度达到了96%。The Gaussian model is established by perimeter and area, and the methods of using perimeter and area alone or combining the two to establish a multivariate Gaussian model to discriminate abnormal data frames are tested and compared. The comparison results are shown in Table 1. The data used contains a total of 3000 frames of images, of which the number of abnormal data frames is 200. When the perimeter and area are combined to build a multivariate Gaussian model, the detection accuracy reaches 96%.

表1水流异常数据帧检测结果Table 1 Detection results of abnormal water flow data frame

限定条件Qualification 精度precision 误检率false detection rate 漏检率Missing detection rate 面积area 90%90% 15%15% 10%10% 周长perimeter 93%93% 12%12% 7%7% 周长+面积perimeter + area 96%96% 12%12% 4%4%

本发明提供的基于水流分割的石油钻井污染气体自动监测方法包括三部分内容:适用于水流的水流数据标注方法、水流分割算法、异常监测算法。水流数据标注方法用于标注形态随时变化的水流数据,能够同时标注几百到一千帧数据,能节省大量的时间。水流分割算法用于分割出水流获得水流的形态信息,异常监测算法通过多元高斯实现,用于鉴别异常数据帧。通过基于水流分割的石油钻井污染气体自动监测算法,对石油钻井排水管道的水流进行分割进而根据分割结果检测污染气体是否符合排放标准,在污染气体不符合排放标准的时候能够实时预警,同时克服了人工观测存在的监督不到和水流传感器不能实时获得水流变化形态的问题,能够有效的节约人工成本,保护环境。The automatic monitoring method for oil drilling polluted gas based on water flow segmentation provided by the present invention includes three parts: a water flow data labeling method suitable for water flow, a water flow segmentation algorithm, and an abnormality monitoring algorithm. The water flow data labeling method is used to label water flow data whose shape changes at any time. It can label hundreds to thousands of frames of data at the same time, which can save a lot of time. The water flow segmentation algorithm is used to segment the water flow to obtain the morphological information of the water flow, and the abnormal monitoring algorithm is realized by multivariate Gaussian, which is used to identify abnormal data frames. Through the automatic monitoring algorithm of oil drilling pollution gas based on water flow segmentation, the water flow of oil drilling drainage pipeline is divided and then according to the segmentation results, whether the polluted gas meets the emission standard can be detected in real time. The problems of lack of supervision in manual observation and the inability of water flow sensors to obtain the changing shape of water flow in real time can effectively save labor costs and protect the environment.

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

Claims (5)

1.一种基于水流分割的石油钻井污染气体自动监测方法,其特征在于,所述基于水流分割的石油钻井污染气体自动监测方法包括以下步骤:1. an automatic monitoring method for oil drilling polluted gas based on water flow division, is characterized in that, the described oil drilling pollution gas automatic monitoring method based on water flow division comprises the following steps: 第一步,将mask与原始图像做与运算,将图像映射到HSV颜色表示空间,手动调整阈值获得批量的标注数据;The first step is to do an AND operation between the mask and the original image, map the image to the HSV color representation space, and manually adjust the threshold to obtain batch annotation data; 第二步,将标注好的数据进行预处理,调整图像的长和宽为32的倍数,将图像转化为张量格式,做数据的归一化,将像素值从0到255归一化到0到1;The second step is to preprocess the marked data, adjust the length and width of the image to multiples of 32, convert the image to tensor format, normalize the data, and normalize the pixel values from 0 to 255 to 0 to 1; 第三步,通过神经网络训练数据,神经网络采用编码器-解码器的结构,神经网络输入为原始图像,输出为分割图像;The third step is to train the data through the neural network. The neural network adopts an encoder-decoder structure. The input of the neural network is the original image, and the output is the segmented image; 第四步,提取分割后的图像的轮廓,并将计算轮廓的周长和面积;In the fourth step, the contour of the segmented image is extracted, and the perimeter and area of the contour will be calculated; 第五步,利用标注数据中的不含异常数据帧部分提取到的周长和面积两个量,建立多元高斯模型;The fifth step is to establish a multivariate Gaussian model by using the two quantities of perimeter and area extracted from the data frame without abnormality in the labeled data; 第六步,将获取到的分割图像的周长和面积输入多元高斯模型,判定数据帧是否异常;所述基于水流分割的石油钻井污染气体自动监测方法的水流数据标注通过制作mask图像和HSV颜色空间分析建模,同时标注同一场景下的100到1000张数据;HSV用于通过颜色空间的阈值分割出水流,而mask则是用消除颜色空间阈值与水流在同一范围内的噪声点,通过对水流样本数据的观察和分析,得出在固定的场景下一定的时间范围内,相机不移动时图像中的光照条件和背景不变;The sixth step is to input the obtained perimeter and area of the segmented image into the multivariate Gaussian model to determine whether the data frame is abnormal; the water flow data of the method for automatic monitoring of oil drilling pollution gas based on water flow segmentation is marked by making a mask image and HSV color. Spatial analysis and modeling, marking 100 to 1000 pieces of data in the same scene at the same time; HSV is used to segment the water flow through the threshold of the color space, and mask is used to eliminate the noise points whose color space threshold is in the same range as the water flow. The observation and analysis of the water flow sample data shows that within a certain time range in a fixed scene, the lighting conditions and background in the image remain unchanged when the camera does not move; HSV模型将RGB颜色空间映射到一个圆锥空间,从0到255表示颜色从黑到白的变化;在制作数据集标签的过程中通过mask和HSV结合的方式通过代码对被分为一类的图片进行标注和处理;mask是根据背景图片建模得的一张图像,每个类别和场景下都有对应的mask,通过mask与原始图像直接做与运算;HSV通过颜色空间的阈值调整将mask处理后结果进行处理,以获得对水流形态的精准刻画;The HSV model maps the RGB color space to a conical space, from 0 to 255, representing the change of color from black to white; in the process of making the label of the data set, the pictures are classified into one category through the combination of mask and HSV through code pairs Labeling and processing; mask is an image modeled according to the background image, there is a corresponding mask under each category and scene, and the mask is directly ANDed with the original image; HSV processes the mask through the threshold adjustment of the color space The post-results are processed to obtain an accurate depiction of the water flow pattern; 所述基于水流分割的石油钻井污染气体自动监测方法的异常监测方法,采用多元高斯建模的方式,帧为异常数据帧时,帧的面积和周长会发生变化;通过正常数据得到的高斯模型在测试异常数据时会偏离该高斯模型;该高斯模型根据正常分割得到的水流的周长和面积计算得到;将水流监控视频的一帧数据判别为异常,直接通过水流的形态和变化情况确定;周长和面积是对物体的形态表示最直观的两个量,在实际中通过周长和面积两个量建立多元高斯模型发掘两个量之间的联系,多元高斯的计算公式:The abnormal monitoring method of the oil drilling pollution gas automatic monitoring method based on water flow segmentation adopts the method of multivariate Gaussian modeling. When the frame is an abnormal data frame, the area and perimeter of the frame will change; the Gaussian model obtained through normal data is tested in Abnormal data will deviate from the Gaussian model; the Gaussian model is calculated according to the perimeter and area of the water flow obtained by normal segmentation; a frame of data of the water flow monitoring video is judged to be abnormal and directly determined by the shape and change of the water flow; the perimeter and area are the two most intuitive quantities to express the shape of an object. In practice, a multivariate Gaussian model is established through the two quantities of perimeter and area to explore the connection between the two quantities. The calculation formula of the multivariate Gaussian is:
Figure FDA0003646276700000021
Figure FDA0003646276700000021
其中,∑:代表根据周长和面积计算的协方差矩阵,u:代表均值,x:代表输入,∈:代表判定的阈值;公式用于判定输入x是否属于建立的多元高斯分布,当输出的概率值低于∈时判定为不属于该多元高斯分布,∈是根据对于正常数据的和异常数据的统计值确定的;Among them, ∑: represents the covariance matrix calculated according to the perimeter and area, u: represents the mean, x: represents the input, ∈: represents the threshold value of the judgment; the formula is used to determine whether the input x belongs to the established multivariate Gaussian distribution, when the output When the probability value is lower than ∈, it is determined that it does not belong to the multivariate Gaussian distribution, and ∈ is determined according to the statistical values of normal data and abnormal data; 所述基于水流分割的石油钻井污染气体自动监测方法的水流分割算法采用U-net网络结构,U-net网络实现像素级的分割,获得对水流变化情况的精准刻画;U-net网络由一个收缩路径和一个扩张路径组成;The water flow segmentation algorithm of the oil drilling pollution gas automatic monitoring method based on water flow segmentation adopts the U-net network structure, and the U-net network realizes pixel-level segmentation to obtain an accurate description of the water flow change; The path is composed of an expansion path; 收缩路径遵循典型的卷积网络结构,其由两个重复的3x3卷积核组成,且均使用修正线性单元激活函数和一个用于下采样的步长为2的2x2最大池化操作,以及在每一个下采样的步骤中,特征通道数量都加倍;The shrinking path follows a typical convolutional network structure consisting of two repeated 3x3 convolution kernels, both using a rectified linear unit activation function and a 2x2 max-pooling operation with stride 2 for downsampling, and in In each downsampling step, the number of feature channels is doubled; 在扩张路径中,每一步都包含对特征图进行上采样;用2x2的卷积核进行卷积运算,用于减少一半的特征通道数量;接着级联收缩路径中相应的裁剪后的特征图;再用两个3x3的卷积核进行卷积运算,且均使用ReLU激活函数;在最后一层,利用1*1的卷积核进行卷积运算,将每个64维的特征向量映射网络的输出层。In the expansion path, each step includes upsampling the feature map; convolution operation is performed with a 2x2 convolution kernel to reduce the number of feature channels by half; then the corresponding cropped feature map in the cascade contraction path; Then two 3x3 convolution kernels are used for convolution operation, and both use ReLU activation function; in the last layer, 1*1 convolution kernel is used for convolution operation, and each 64-dimensional feature vector is mapped to the network. output layer.
2.如权利要求1所述的基于水流分割的石油钻井污染气体自动监测方法,其特征在于,所述基于水流分割的石油钻井污染气体自动监测方法在预处理时计算得出所有训练数据的均值和方差,每一张图片在减去均值,与方差相比;将数据归一化到0到1,使得像素点变为零;2. the oil drilling pollution gas automatic monitoring method based on water flow segmentation as claimed in claim 1 is characterized in that, the oil drilling pollution gas automatic monitoring method based on water flow segmentation calculates the mean value of all training data during preprocessing and variance, each image is subtracting the mean, compared with the variance; normalizing the data to 0 to 1, so that the pixels become zero; 神经网络的损失函数定义如下:The loss function of the neural network is defined as follows: Pre=∑i,jPr(i,j) (1)Pre=∑ i, j P r (i, j) (1) Pte=∑i,jPt(i,j) (2)Pte=∑ i,j P t (i, j) (2)
Figure FDA0003646276700000031
Figure FDA0003646276700000031
公式中Pre,训练过程中神经网络的输出的图像,Pte表示对应的标签,loss表示损失;i,j表示像素点的坐标位置;式(3)中i=0,n表示参与计算的图像数量,const表示一个非0常数,为保证标签全黑的时候分母不是0;从式(3)看出当标签和实际的预测值越接近时损失越小。In the formula, Pre is the output image of the neural network in the training process, Pte represents the corresponding label, loss represents the loss; i, j represent the coordinate position of the pixel point; i=0 in formula (3), n represents the number of images involved in the calculation , const represents a non-zero constant, in order to ensure that the denominator is not 0 when the label is all black; it can be seen from formula (3) that the loss is smaller when the label is closer to the actual predicted value.
3.一种实施权利要求1~2任意一项所述基于水流分割的石油钻井污染气体自动监测方法的基于水流分割的石油钻井污染气体自动监测系统,其特征在于,所述基于水流分割的石油钻井污染气体自动监测系统包括以下步骤:3. An automatic monitoring system for oil drilling pollution gas based on water flow segmentation for implementing the automatic monitoring method for oil drilling pollution gas based on water flow segmentation according to any one of claims 1 to 2, wherein the oil drilling based on water flow segmentation The drilling pollution gas automatic monitoring system includes the following steps: 标注数据获取模块,用于将mask与原始图像做与运算,将图像映射到HSV颜色表示空间,手动调整阈值获得批量的标注数据;Annotation data acquisition module, which is used to perform AND operation between the mask and the original image, map the image to the HSV color representation space, and manually adjust the threshold to obtain batch annotation data; 数据预处理模块,用于将标注好的数据进行预处理,调整图像的长和宽为32的倍数,将图像转化为张量格式,做数据的归一化;The data preprocessing module is used to preprocess the marked data, adjust the length and width of the image to multiples of 32, convert the image into tensor format, and normalize the data; 分割图像获取模块,用于通过神经网络训练数据,神经网络采用编码器-解码器的结构,神经网络输入为原始图像,输出为分割图像;The segmented image acquisition module is used to train data through a neural network. The neural network adopts an encoder-decoder structure. The input of the neural network is the original image, and the output is the segmented image; 轮廓计算模块,用于提取分割后的图像的轮廓,并将计算轮廓的周长和面积;The contour calculation module is used to extract the contour of the segmented image, and will calculate the perimeter and area of the contour; 模型建立模块,用于利用标注数据中的不含异常数据帧部分提取到的周长和面积两个量,建立多元高斯模型;The model building module is used to establish a multivariate Gaussian model by using the two quantities of perimeter and area extracted from the data frame without abnormality in the labeled data; 数据帧判定模块,用于将获取到的分割图像的周长和面积输入多元高斯模型,判定数据帧是否异常;The data frame determination module is used to input the obtained perimeter and area of the segmented image into the multivariate Gaussian model to determine whether the data frame is abnormal; 所述基于水流分割的石油钻井污染气体自动监测方法的水流数据标注通过制作mask图像和HSV颜色空间分析建模,同时标注同一场景下的100到1000张数据;HSV用于通过颜色空间的阈值分割出水流,而mask则是用消除颜色空间阈值与水流在同一范围内的噪声点,通过对水流样本数据的观察和分析,得出在固定的场景下一定的时间范围内,相机不移动时图像中的光照条件和背景不变;The water flow data labeling of the oil drilling pollution gas automatic monitoring method based on water flow segmentation is modeled by making a mask image and HSV color space analysis, and labeling 100 to 1000 pieces of data in the same scene at the same time; HSV is used for threshold segmentation through the color space The water flow is out, and the mask is used to eliminate the noise points in the same range as the color space threshold and the water flow. Through the observation and analysis of the water flow sample data, it is concluded that in a certain time range in a fixed scene, the image when the camera does not move The lighting conditions and the background are unchanged; HSV模型将RGB颜色空间映射到一个圆锥空间,从0到255表示颜色从黑到白的变化;在制作数据集标签的过程中通过mask和HSV结合的方式通过代码对被分为一类的图片进行标注和处理;mask是根据背景图片建模得的一张图像,每个类别和场景下都有对应的mask,通过mask与原始图像直接做与运算;HSV通过颜色空间的阈值调整将mask处理后结果进行处理,以获得对水流形态的精准刻画;The HSV model maps the RGB color space to a conical space, from 0 to 255, representing the change of color from black to white; in the process of making the label of the data set, the pictures are classified into one category through the combination of mask and HSV through code pairs Labeling and processing; mask is an image modeled according to the background image, there is a corresponding mask under each category and scene, and the mask is directly ANDed with the original image; HSV processes the mask through the threshold adjustment of the color space The post-results are processed to obtain an accurate depiction of the water flow pattern; 所述基于水流分割的石油钻井污染气体自动监测方法的异常监测方法,采用多元高斯建模的方式,帧为异常数据帧时,帧的面积和周长会发生变化;通过正常数据得到的高斯模型在测试异常数据时会偏离该高斯模型;该高斯模型根据正常分割得到的水流的周长和面积计算得到;将水流监控视频的一帧数据判别为异常,直接通过水流的形态和变化情况确定;周长和面积是对物体的形态表示最直观的两个量,在实际中通过周长和面积两个量建立多元高斯模型发掘两个量之间的联系,多元高斯的计算公式:The abnormal monitoring method of the oil drilling pollution gas automatic monitoring method based on water flow segmentation adopts the method of multivariate Gaussian modeling. When the frame is an abnormal data frame, the area and perimeter of the frame will change; the Gaussian model obtained through normal data is tested in Abnormal data will deviate from the Gaussian model; the Gaussian model is calculated according to the perimeter and area of the water flow obtained by normal segmentation; a frame of data of the water flow monitoring video is judged to be abnormal and directly determined by the shape and change of the water flow; the perimeter and area are the two most intuitive quantities to express the shape of an object. In practice, a multivariate Gaussian model is established through the two quantities of perimeter and area to explore the connection between the two quantities. The calculation formula of the multivariate Gaussian is:
Figure FDA0003646276700000041
Figure FDA0003646276700000041
其中,∑:代表根据周长和面积计算的协方差矩阵,u:代表均值,x:代表输入,∈:代表判定的阈值;公式用于判定输入x是否属于建立的多元高斯分布,当输出的概率值低于∈时判定为不属于该多元高斯分布,∈是根据对于正常数据的和异常数据的统计值确定的;Among them, ∑: represents the covariance matrix calculated according to the perimeter and area, u: represents the mean, x: represents the input, ∈: represents the threshold value of the judgment; the formula is used to determine whether the input x belongs to the established multivariate Gaussian distribution, when the output When the probability value is lower than ∈, it is determined that it does not belong to the multivariate Gaussian distribution, and ∈ is determined according to the statistical values of normal data and abnormal data; 所述基于水流分割的石油钻井污染气体自动监测方法的水流分割算法采用U-net网络结构,U-net网络实现像素级的分割,获得对水流变化情况的精准刻画;U-net网络由一个收缩路径和一个扩张路径组成;The water flow segmentation algorithm of the oil drilling pollution gas automatic monitoring method based on water flow segmentation adopts the U-net network structure, and the U-net network realizes pixel-level segmentation to obtain an accurate description of the water flow change; The path is composed of an expansion path; 收缩路径遵循典型的卷积网络结构,其由两个重复的3x3卷积核组成,且均使用修正线性单元激活函数和一个用于下采样的步长为2的2x2最大池化操作,以及在每一个下采样的步骤中,特征通道数量都加倍;The shrinking path follows a typical convolutional network structure consisting of two repeated 3x3 convolution kernels, both using a rectified linear unit activation function and a 2x2 max-pooling operation with stride 2 for downsampling, and in In each downsampling step, the number of feature channels is doubled; 在扩张路径中,每一步都包含对特征图进行上采样;用2x2的卷积核进行卷积运算,用于减少一半的特征通道数量;接着级联收缩路径中相应的裁剪后的特征图;再用两个3x3的卷积核进行卷积运算,且均使用ReLU激活函数;在最后一层,利用1*1的卷积核进行卷积运算,将每个64维的特征向量映射网络的输出层。In the expansion path, each step includes upsampling the feature map; convolution operation is performed with a 2x2 convolution kernel to reduce the number of feature channels by half; then the corresponding cropped feature map in the cascade contraction path; Then two 3x3 convolution kernels are used for convolution operation, and both use ReLU activation function; in the last layer, 1*1 convolution kernel is used for convolution operation, and each 64-dimensional feature vector is mapped to the network. output layer.
4.一种实现权利要求1~2任意一项所述基于水流分割的石油钻井污染气体自动监测方法的信息数据处理终端。4 . An information data processing terminal for realizing the automatic monitoring method for oil drilling polluted gas based on water flow segmentation according to any one of claims 1 to 2 . 5.一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-2任意一项所述的基于水流分割的石油钻井污染气体自动监测方法。5. A computer-readable storage medium, comprising instructions that, when executed on a computer, cause the computer to execute the automatic monitoring method for oil drilling polluted gas based on water flow segmentation according to any one of claims 1-2.
CN201911290836.9A 2019-12-12 2019-12-12 Automatic monitoring method of oil drilling polluted gas based on water flow segmentation Active CN111080651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911290836.9A CN111080651B (en) 2019-12-12 2019-12-12 Automatic monitoring method of oil drilling polluted gas based on water flow segmentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911290836.9A CN111080651B (en) 2019-12-12 2019-12-12 Automatic monitoring method of oil drilling polluted gas based on water flow segmentation

Publications (2)

Publication Number Publication Date
CN111080651A CN111080651A (en) 2020-04-28
CN111080651B true CN111080651B (en) 2022-07-12

Family

ID=70314654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911290836.9A Active CN111080651B (en) 2019-12-12 2019-12-12 Automatic monitoring method of oil drilling polluted gas based on water flow segmentation

Country Status (1)

Country Link
CN (1) CN111080651B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112229952B (en) * 2020-09-30 2022-11-15 重庆科技学院 Method for monitoring toxic and harmful gases in chemical industrial park
CN113343923B (en) * 2021-07-01 2024-12-03 江苏舆图信息科技有限公司 A real-time recognition method for drainage status of river outlets based on video images
CN114980514A (en) * 2022-05-19 2022-08-30 深圳崇达多层线路板有限公司 A method, circuit board and electronic device for improving the cavity of the edge of a circuit board
CN115980863A (en) * 2022-12-16 2023-04-18 中国煤炭地质总局地球物理勘探研究院 Exploration detection method and exploration device for geophysical engineering and application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190640A (en) * 2018-08-20 2019-01-11 贵州省生物研究所 A kind of the intercept type acquisition method and acquisition system of the planktonic organism based on big data
CN109614576A (en) * 2018-12-11 2019-04-12 福建工程学院 Transformer Anomaly Detection Method Based on Multidimensional Gaussian Distribution and Trend Segmentation
CN109961425A (en) * 2019-02-28 2019-07-02 浙江大学 A method for identifying water quality of dynamic water

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6609051B2 (en) * 2001-09-10 2003-08-19 Daimlerchrysler Ag Method and system for condition monitoring of vehicles
US8009193B2 (en) * 2006-06-05 2011-08-30 Fuji Xerox Co., Ltd. Unusual event detection via collaborative video mining
CN109600345A (en) * 2017-09-30 2019-04-09 北京国双科技有限公司 Abnormal data flow rate testing methods and device
CN108334907B (en) * 2018-02-09 2019-05-17 哈尔滨工业大学(威海) A kind of complex equipment point method for detecting abnormality and system based on deep learning
CN109325403B (en) * 2018-08-07 2020-12-11 广州粤建三和软件股份有限公司 Water area pollution identification treatment method and system based on image identification
CN109523510B (en) * 2018-10-11 2021-05-04 浙江大学 Method for detecting abnormal region of river channel water quality space based on multispectral remote sensing image
CN110245691A (en) * 2019-05-27 2019-09-17 上海眼控科技股份有限公司 A kind of intelligent identification Method of vehicle appearance color discoloration repacking
CN110490196B (en) * 2019-08-09 2022-11-15 Oppo广东移动通信有限公司 Subject detection method and device, electronic device, computer-readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190640A (en) * 2018-08-20 2019-01-11 贵州省生物研究所 A kind of the intercept type acquisition method and acquisition system of the planktonic organism based on big data
CN109614576A (en) * 2018-12-11 2019-04-12 福建工程学院 Transformer Anomaly Detection Method Based on Multidimensional Gaussian Distribution and Trend Segmentation
CN109961425A (en) * 2019-02-28 2019-07-02 浙江大学 A method for identifying water quality of dynamic water

Also Published As

Publication number Publication date
CN111080651A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111080651B (en) Automatic monitoring method of oil drilling polluted gas based on water flow segmentation
CN111814686A (en) A vision-based transmission line identification and foreign object intrusion online detection method
CN112215819B (en) Airport pavement crack detection method based on depth feature fusion
CN108038846A (en) Transmission line equipment image defect detection method and system based on multilayer convolutional neural networks
CN103077423B (en) To run condition detection method based on crowd's quantity survey of video flowing, local crowd massing situation and crowd
CN108710919A (en) A kind of crack automation delineation method based on multi-scale feature fusion deep learning
CN112149543A (en) Building raise dust identification system and method based on computer vision
Kang et al. Application of one-stage instance segmentation with weather conditions in surveillance cameras at construction sites
CN104794486A (en) Video smoke detecting method based on multi-feature fusion
CN116645350A (en) A method and system for detecting leaks, leaks, leaks in pipelines based on visual space-time
CN108229524A (en) A kind of chimney and condensing tower detection method based on remote sensing images
CN111461076A (en) Smoke detection method and detection system combined with frame difference method and neural network
CN116363584A (en) Ship liquid pipeline leakage monitoring method based on machine vision
CN118559940B (en) Self-adaptive adjusting system and method based on automatic burr removing equipment
CN113989196A (en) Vision-based earphone silica gel gasket appearance defect detection method
CN107704818A (en) A kind of fire detection system based on video image
CN112749747A (en) Garbage classification quality evaluation method and system
CN116087220A (en) A dust removal analysis method and system for a pharmaceutical workshop
CN104751141A (en) ELM gesture recognition algorithm based on feature image full pixel gray values
CN105913008A (en) Crowd exceptional event detection method based on hypothesis examination
CN119107586B (en) Abnormal state monitoring method and system for thermal power plants based on deep learning
CN118840097A (en) Intelligent operation and maintenance method for video equipment
CN113343923A (en) Real-time river drainage port drainage state identification method based on video images
CN113469938A (en) Pipe gallery video analysis method and system based on embedded front-end processing server
CN115311625B (en) A monitoring method for determining whether a target is in contact with a transmission line

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