A method for monitoring safe distribution of liquefied petroleum gas based on artificial intelligence

Through image processing technology based on artificial intelligence, the characteristic points and pixel relationships of the outer wall of the LPG cylinder are extracted to determine the rupture situation, which solves the problem that existing technology cannot effectively monitor the leakage of LPG cylinders and improves the safety of the transportation process. .

CN118334455BActive Publication Date: 2024-08-23QINGDAO TUYAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410744986.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-23
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

Existing gas leakage detection methods cannot effectively cover the monitoring of liquefied petroleum gas bottles, resulting in a higher risk of leakage and explosion accidents.

Method used

Using an artificial intelligence-based method, the system collects images of the outer wall of LPG bottles, extracts image feature points, determines the relationship between pixels, and determines whether the outer wall has ruptured, achieving real-time monitoring and early warning.

Benefits of technology

It realizes real-time monitoring of the outer wall of the LPG cylinder, detects fault points in time, and improves the safety of the LPG transportation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118334455B
    Figure CN118334455B
Patent Text Reader

Abstract

The present invention discloses a method for monitoring the safe distribution of liquefied petroleum gas based on artificial intelligence, which belongs to the field of safety monitoring technology and includes the following steps: S1, collecting the outer wall image of the liquefied petroleum gas cylinder and extracting the image feature points of the outer wall image; S2, determining the pixel point relationship of the outer wall image based on the image feature points of the outer wall image; S3, determining whether the outer wall of the liquefied petroleum gas cylinder is broken according to the pixel point relationship of the outer wall image. The present invention monitors the outer wall of the liquefied petroleum gas cylinder in real time through image processing, extracts feature points from the outer wall image, and then determines the transformation area from point to surface, performs gray value analysis on the transformation area, thereby determining whether the outer wall is broken, realizing comprehensive safety monitoring of the liquefied petroleum gas transportation process, and timely discovering the fault point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of safety monitoring, and in particular relates to a method for supervising safe distribution of liquefied petroleum gas based on artificial intelligence. Background Art

[0002] In daily life, gas is the most widely used. Gas has the characteristics of high combustion value, high heat, and sanitation and environmental protection. However, it is flammable and explosive, and is also highly dangerous. During the transportation of liquefied petroleum gas cylinders, when leakage occurs due to various reasons, when the leakage concentration exceeds the lower explosion limit of the gas, it will explode when it encounters a fire (open flame, electric spark, static electricity), causing personal injury and property loss. For users, once a gas leak occurs, the consequences of explosion are very serious, so real-time monitoring and early warning of liquefied petroleum gas cylinders are very important.

[0003] The common method of detecting gas leaks is to use a gas alarm. However, for the monitoring of liquefied petroleum gas cylinders, a single-component alarm cannot fully cover it. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a liquefied petroleum gas safe distribution supervision method based on artificial intelligence.

[0005] The technical solution of the present invention is: a method for monitoring the safe distribution of liquefied petroleum gas based on artificial intelligence comprises the following steps:

[0006] S1, collecting the outer wall image of liquefied petroleum gas and extracting the image feature points of the outer wall image;

[0007] S2. determining the pixel relationship of the outer wall image based on the image feature points of the outer wall image;

[0008] S3. Determine whether the outer wall of the liquefied petroleum gas cylinder is broken according to the relationship between the pixels of the outer wall image.

[0009] If the value corresponding to the pixel point relationship is greater than or equal to the mean of all grayscale values ​​in the outer wall image, the pipeline is ruptured.

[0010] Furthermore, S1 includes the following sub-steps:

[0011] S11, collecting an outer wall image of the liquefied petroleum gas, and determining a lateral feature threshold and a longitudinal feature threshold of the outer wall image;

[0012] S12, determining the omnidirectional characteristic value of each pixel point in the outer wall image;

[0013] S13, rounding up the ratio of the horizontal feature threshold to the vertical feature threshold to obtain a global feature threshold;

[0014] S14, taking the pixel point with the largest ratio between the omnidirectional feature value and the omnidirectional feature threshold as the image feature point.

[0015] The beneficial effect of the above further scheme is: in the present invention, the outer wall image of the liquefied petroleum gas cylinder usually has darker pixels, so the present invention selects a more representative pixel point and a pixel point with a more special grayscale value as the center of the transformation area to better determine the position of the transformation area.

[0016] Furthermore, in S11, the lateral feature threshold x value The calculation formula is: ; ; where exp(·) represents the exponential function, L represents the number of rows of the outer wall image, ||·||2 represents the two-norm operation, and X l represents the feature matrix of the lth row, A l represents the sum of the grayscale values ​​of all pixels in the lth row, and c represents a constant;

[0017] In S11, the vertical feature threshold y value The calculation formula is: ; ; Where M represents the number of columns of the outer wall image, X m represents the feature matrix of the mth column, B m Represents the sum of the grayscale values ​​of all pixels in the mth column.

[0018] Furthermore, in S12, the calculation formula of the omnidirectional eigenvalue w of the pixel point is: ; In the formula, d represents the gray value of the pixel, c represents a constant, Indicates a round-up operation.

[0019] Furthermore, S2 includes the following sub-steps:

[0020] S21, extracting SIFT feature vectors of image feature points of the outer wall image, and determining a transformation region of the outer wall image;

[0021] S22, building a pixel point influence framework for the outer wall image according to the transformation area of ​​the outer wall image;

[0022] S23, transforming the pixel point influence framework to generate pixel point relationships.

[0023] The beneficial effect of the above further scheme is: in the present invention, a transformation area is divided for the image feature points, and the transformation area may be the range where the outer wall is cracked. The influence framework is constructed for the change area, thereby determining the pixel point relationship of the outer wall image to judge whether the outer wall is cracked.

[0024] Furthermore, S21 includes the following sub-steps:

[0025] S211, extracting SIFT feature vectors of image feature points of the outer wall image, and determining the length and width of the transformation area;

[0026] S212: Based on the length and width of the transformation area, a rectangular area is drawn with the image feature point as the center of the transformation area as the transformation area of ​​the outer wall image.

[0027] Furthermore, in S211, the calculation formula of the length U of the transformation area is: ; Where Z represents the SIFT feature vector of the image feature point, L represents the number of rows of the outer wall image, M represents the number of columns of the outer wall image, and min(·) represents the minimum function;

[0028] In S211, the calculation formula of the width V of the transformation area is: .

[0029] Furthermore, in S22, the expression of the pixel point influence frame K of the outer wall image is: ; In the formula, D1 represents the grayscale value of the upper left vertex pixel in the outer wall image, d1 represents the grayscale value of the upper left vertex pixel in the transformation area, D2 represents the grayscale value of the upper right vertex pixel in the outer wall image, d2 represents the grayscale value of the upper right vertex pixel in the transformation area, D3 represents the grayscale value of the lower left vertex pixel in the outer wall image, d3 represents the grayscale value of the lower left vertex pixel in the transformation area, D4 represents the grayscale value of the lower right vertex pixel in the outer wall image, and d4 represents the grayscale value of the lower right vertex pixel in the transformation area.

[0030] Furthermore, in S23, the expression of the pixel point relationship R is: ; ; Wherein, σ(·) represents the activation function, I represents the identity matrix, K represents the pixel influence frame of the outer wall image, τ represents the weight of the transformation area, s1 represents the Euclidean distance between the upper left vertex pixel in the outer wall image and the upper left vertex pixel in the transformation area, s2 represents the Euclidean distance between the upper right vertex pixel in the outer wall image and the upper right vertex pixel in the transformation area, s3 represents the Euclidean distance between the lower left vertex pixel in the outer wall image and the lower left vertex pixel in the transformation area, and s4 represents the Euclidean distance between the upper right vertex pixel in the outer wall image and the upper right vertex pixel in the transformation area.

[0031] The beneficial effects of the present invention are as follows: the present invention discloses a method for monitoring the safe distribution of liquefied petroleum gas based on artificial intelligence, which monitors the outer wall of the liquefied petroleum gas cylinder in real time through image processing, extracts characteristic points from the outer wall image, and then determines the transformation area from point to surface, performs grayscale value analysis on the transformation area, thereby determining whether the outer wall is broken, and comprehensively realizing the safety monitoring of the liquefied petroleum gas transportation process, and timely discovering the fault point. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 Flowchart of the artificial intelligence-based supervision method for safe distribution of liquefied petroleum gas. DETAILED DESCRIPTION

[0033] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0034] like Figure 1 As shown, the present invention provides a method for monitoring safe distribution of liquefied petroleum gas based on artificial intelligence, comprising the following steps:

[0035] S1, collecting the outer wall image of liquefied petroleum gas and extracting the image feature points of the outer wall image;

[0036] S2. determining the pixel relationship of the outer wall image based on the image feature points of the outer wall image;

[0037] S3. Determine whether the outer wall of the liquefied petroleum gas cylinder is broken according to the relationship between the pixels of the outer wall image.

[0038] If the value corresponding to the pixel point relationship is greater than or equal to the mean of all grayscale values ​​in the outer wall image, the pipeline is ruptured.

[0039] In this embodiment of the present invention, S1 includes the following sub-steps:

[0040] S11, collecting an outer wall image of the liquefied petroleum gas, and determining a lateral feature threshold and a longitudinal feature threshold of the outer wall image;

[0041] S12, determining the omnidirectional characteristic value of each pixel point in the outer wall image;

[0042] S13, rounding up the ratio of the horizontal feature threshold to the vertical feature threshold to obtain a global feature threshold;

[0043] S14, taking the pixel point with the largest ratio between the omnidirectional feature value and the omnidirectional feature threshold as the image feature point.

[0044] In the present invention, the outer wall image of the liquefied petroleum gas cylinder usually has darker pixels, so the present invention selects a more representative pixel point and a pixel point with a more special gray value as the center of the transformation area to better determine the position of the transformation area.

[0045] In the embodiment of the present invention, in S11, the lateral characteristic threshold x value The calculation formula is: ; ; where exp(·) represents the exponential function, L represents the number of rows of the outer wall image, ||·||2 represents the two-norm operation, and X l represents the feature matrix of the lth row, A l represents the sum of the grayscale values ​​of all pixels in the lth row, and c represents a constant;

[0046] In S11, the vertical feature threshold y value The calculation formula is: ; ; Where M represents the number of columns of the outer wall image, X m represents the feature matrix of the mth column, B m Represents the sum of the grayscale values ​​of all pixels in the mth column.

[0047] In the embodiment of the present invention, in S12, the calculation formula of the omnidirectional characteristic value w of the pixel point is: ; In the formula, d represents the gray value of the pixel, c represents a constant, Indicates a round-up operation.

[0048] In this embodiment of the present invention, S2 includes the following sub-steps:

[0049] S21, extracting SIFT feature vectors of image feature points of the outer wall image, and determining a transformation region of the outer wall image;

[0050] S22, building a pixel point influence framework for the outer wall image according to the transformation area of ​​the outer wall image;

[0051] S23, transforming the pixel point influence framework to generate pixel point relationships.

[0052] In the present invention, a transformation area is divided for the image feature points, and the transformation area may be the range where the outer wall is cracked. An influence framework is constructed for the transformation area, thereby determining the pixel point relationship of the outer wall image to judge whether the outer wall is cracked.

[0053] In the embodiment of the present invention, S21 includes the following sub-steps:

[0054] S211, extracting SIFT feature vectors of image feature points of the outer wall image, and determining the length and width of the transformation area;

[0055] S212: Based on the length and width of the transformation area, a rectangular area is drawn with the image feature point as the center of the transformation area as the transformation area of ​​the outer wall image.

[0056] In the embodiment of the present invention, in S211, the calculation formula of the length U of the transformation area is: ; Where Z represents the SIFT feature vector of the image feature point, L represents the number of rows of the outer wall image, M represents the number of columns of the outer wall image, and min(·) represents the minimum function;

[0057] In S211, the calculation formula of the width V of the transformation area is: .

[0058] In the embodiment of the present invention, in S22, the expression of the pixel point influence frame K of the outer wall image is: ; In the formula, D1 represents the grayscale value of the upper left vertex pixel in the outer wall image, d1 represents the grayscale value of the upper left vertex pixel in the transformation area, D2 represents the grayscale value of the upper right vertex pixel in the outer wall image, d2 represents the grayscale value of the upper right vertex pixel in the transformation area, D3 represents the grayscale value of the lower left vertex pixel in the outer wall image, d3 represents the grayscale value of the lower left vertex pixel in the transformation area, D4 represents the grayscale value of the lower right vertex pixel in the outer wall image, and d4 represents the grayscale value of the lower right vertex pixel in the transformation area.

[0059] In the embodiment of the present invention, in S23, the expression of the pixel point relationship R is: ; ; Wherein, σ(·) represents the activation function, I represents the identity matrix, K represents the pixel influence frame of the outer wall image, τ represents the weight of the transformation area, s1 represents the Euclidean distance between the upper left vertex pixel in the outer wall image and the upper left vertex pixel in the transformation area, s2 represents the Euclidean distance between the upper right vertex pixel in the outer wall image and the upper right vertex pixel in the transformation area, s3 represents the Euclidean distance between the lower left vertex pixel in the outer wall image and the lower left vertex pixel in the transformation area, and s4 represents the Euclidean distance between the upper right vertex pixel in the outer wall image and the upper right vertex pixel in the transformation area.

[0060] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A method for monitoring safe distribution of liquefied petroleum gas based on artificial intelligence, characterized in that: The following steps are involved: S1, collecting the outer wall image of the liquefied petroleum gas cylinder and extracting the image feature points of the outer wall image; S2. determining the pixel relationship of the outer wall image based on the image feature points of the outer wall image; S3, determining whether the outer wall of the liquefied petroleum gas cylinder is broken according to the pixel relationship of the outer wall image; The S1 comprises the following sub-steps: S11, collecting an outer wall image of the liquefied petroleum gas, and determining a lateral feature threshold and a longitudinal feature threshold of the outer wall image; S12, determining the omnidirectional characteristic value of each pixel point in the outer wall image; S13, rounding up the ratio of the horizontal feature threshold to the vertical feature threshold to obtain a global feature threshold; S14, taking the pixel point with the largest ratio between the omnidirectional feature value and the omnidirectional feature threshold as the image feature point; The S2 comprises the following sub-steps: S21, extracting SIFT feature vectors of image feature points of the outer wall image, and determining a transformation region of the outer wall image; S22, building a pixel point influence framework for the outer wall image according to the transformation area of ​​the outer wall image; S23, transforming the pixel point influence framework to generate a pixel point relationship; The S21 comprises the following sub-steps: S211, extracting SIFT feature vectors of image feature points of the outer wall image, and determining the length and width of the transformation area; S212, based on the length and width of the transformation area, with the image feature point as the center of the transformation area, a rectangular area is drawn as the transformation area of ​​the outer wall image; In S211, the calculation formula of the length U of the transformation area is: ; Wherein, Z represents the SIFT feature vector of the image feature point, L represents the number of rows of the outer wall image, M represents the number of columns of the outer wall image, and min(·) represents the minimum function; In S211, the calculation formula of the width V of the transformation area is: ; In S22, the expression of the pixel point influence frame K of the outer wall image is: ; Wherein, D1 represents the gray value of the upper left vertex pixel in the outer wall image, d1 represents the gray value of the upper left vertex pixel in the transformation area, D2 represents the gray value of the upper right vertex pixel in the outer wall image, d2 represents the gray value of the upper right vertex pixel in the transformation area, D3 represents the gray value of the lower left vertex pixel in the outer wall image, d3 represents the gray value of the lower left vertex pixel in the transformation area, D4 represents the gray value of the lower right vertex pixel in the outer wall image, and d4 represents the gray value of the lower right vertex pixel in the transformation area; In S23, the expression of the pixel point relationship R is: ; ; Wherein, σ(·) represents the activation function, I represents the identity matrix, K represents the pixel influence frame of the outer wall image, τ represents the weight of the transformation area, s1 represents the Euclidean distance between the upper left vertex pixel in the outer wall image and the upper left vertex pixel in the transformation area, s2 represents the Euclidean distance between the upper right vertex pixel in the outer wall image and the upper right vertex pixel in the transformation area, s3 represents the Euclidean distance between the lower left vertex pixel in the outer wall image and the lower left vertex pixel in the transformation area, and s4 represents the Euclidean distance between the upper right vertex pixel in the outer wall image and the upper right vertex pixel in the transformation area.

2. The artificial intelligence-based liquefied petroleum gas safe distribution supervision method according to claim 1 is characterized in that: In S11, the lateral feature threshold x value The calculation formula is: ; ; where exp(·) represents the exponential function, L represents the number of rows of the outer wall image, ||·||2 represents the two-norm operation, and X l represents the feature matrix of the lth row, A l represents the sum of the grayscale values ​​of all pixels in the lth row, and c represents a constant; In S11, the longitudinal feature threshold y value The calculation formula is: ; ; Where M represents the number of columns of the outer wall image, X m represents the feature matrix of the mth column, B m Represents the sum of the grayscale values ​​of all pixels in the mth column.

3. The artificial intelligence-based liquefied petroleum gas safe distribution supervision method according to claim 1 is characterized in that: In S12, the calculation formula of the omnidirectional characteristic value w of the pixel point is: ; In the formula, d represents the gray value of the pixel, c represents a constant, Indicates a round-up operation.