CN116137038A - Method, device, computer equipment and medium for detecting oil leakage - Google Patents

Method, device, computer equipment and medium for detecting oil leakage Download PDF

Info

Publication number
CN116137038A
CN116137038A CN202111359621.5A CN202111359621A CN116137038A CN 116137038 A CN116137038 A CN 116137038A CN 202111359621 A CN202111359621 A CN 202111359621A CN 116137038 A CN116137038 A CN 116137038A
Authority
CN
China
Prior art keywords
oil leakage
candidate
detection
target
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111359621.5A
Other languages
Chinese (zh)
Inventor
田亮
杨剑锋
周健臣
卫乾
董飞
孙铭阳
马政宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunlun Digital Technology Co ltd
China National Petroleum Corp
Original Assignee
Kunlun Digital Technology Co ltd
China National Petroleum Corp
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 Kunlun Digital Technology Co ltd, China National Petroleum Corp filed Critical Kunlun Digital Technology Co ltd
Priority to CN202111359621.5A priority Critical patent/CN116137038A/en
Publication of CN116137038A publication Critical patent/CN116137038A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • 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
    • 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
    • Y02A20/204Keeping clear the surface of open water from oil spills

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Examining Or Testing Airtightness (AREA)

Abstract

The application provides a method, a device, computer equipment and a medium for oil leakage detection, wherein the method comprises the following steps: acquiring acquisition data of each monitoring position in a target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment; determining candidate oil leakage positions in a plurality of monitoring positions according to abnormal data in the plurality of detection data; determining a target oil leakage position in a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position; and carrying out oil leakage alarming aiming at a target area according to the target oil leakage position.

Description

Method, device, computer equipment and medium for detecting oil leakage
Technical Field
The present disclosure relates to the field of information processing, and in particular, to a method, an apparatus, a computer device, and a medium for oil leakage detection.
Background
Whether gasoline or diesel oil is widely applied to the production and the living of people, because the gasoline or the diesel oil is extracted from a target area, the extracted gasoline or diesel oil is stored and transported through equipment in the target area, but the equipment is not integrated, a connection relationship exists, and the situation of oil leakage of the equipment is easy to occur due to the occurrence of the connection relationship.
The equipment oil leakage not only affects the safety production, but also can cause energy waste, and the occurrence positions of the equipment oil leakage and oil seepage are mostly different due to the extremely large number of causes of the equipment oil leakage, so that the oil leakage detection is mainly carried out in a field personnel inspection mode at present. If the inspection personnel do not find oil leakage in time, great potential safety hazards and resource waste can occur.
Disclosure of Invention
In view of the foregoing, it is an object of the present application to provide a method, apparatus, computer device and medium for oil leakage detection, which are used for solving the problem of inaccurate oil leakage detection of equipment in an oil field in the prior art.
In a first aspect, an embodiment of the present application provides a method for detecting oil leakage, including:
acquiring acquisition data of each monitoring position in a target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment;
determining candidate oil leakage positions in a plurality of monitoring positions according to abnormal data in the plurality of detection data;
determining a target oil leakage position in a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position;
and carrying out oil leakage alarming aiming at a target area according to the target oil leakage position.
Optionally, the determining the target oil leakage position in the plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position includes:
inputting the video data to a trained oil leakage detection model aiming at each candidate oil leakage position to obtain an oil leakage detection result; and if the candidate oil leakage position in the oil leakage detection result has the oil leakage condition, determining the candidate oil leakage position as a target oil leakage position.
Optionally, the oil leakage detection model is obtained through training of the following steps:
acquiring an oil leakage training sample set; the oil leakage training sample set comprises at least one training sample, wherein the training sample comprises a detection image marked with an oil leakage area and an oil leakage result corresponding to the detection image;
and aiming at each training sample, inputting a detection image in the training sample as a positive sample to an oil leakage detection model to be trained, and inputting the oil leakage result as a negative sample to the oil leakage detection model to be trained, so as to train the oil leakage detection model to be trained.
Optionally, the method further comprises:
and training the oil leakage detection model to be trained by taking the video data and the oil leakage detection result corresponding to the target oil leakage position as new training samples.
Optionally, the performing oil leakage alarm for the target area according to the target oil leakage position includes:
generating oil leakage alarm information according to the target oil leakage position;
and carrying out oil leakage alarm aiming at the target area based on the alarm information of the target area.
Optionally, the target area alarming mode includes any one or more of the following:
broadcasting the oil leakage alarm information in a broadcasting mode, sending the oil leakage alarm information to terminal equipment of staff for displaying, and sending the oil leakage alarm information to a broadcasting display for displaying.
In a second aspect, an embodiment of the present application provides an apparatus for detecting oil leakage, including:
the acquisition module is used for acquiring the acquired data of each monitoring position in the target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment;
the first determining module is used for determining candidate oil leakage positions in the plurality of monitoring positions according to abnormal data in the plurality of detection data;
the second determining module is used for determining a target oil leakage position in a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position;
and the alarm module is used for carrying out oil leakage alarm aiming at the target area according to the target oil leakage position.
Optionally, the second determining module includes:
the judging unit is used for inputting the video data into the trained oil leakage detection model aiming at each candidate oil leakage position to obtain an oil leakage detection result; and if the candidate oil leakage position in the oil leakage detection result has the oil leakage condition, determining the candidate oil leakage position as a target oil leakage position.
In a third aspect, embodiments of the present application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method described above when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
According to the oil leakage detection method provided by the embodiment of the application, firstly, acquisition data of each monitoring position in a target area is acquired; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment; then, determining candidate oil leakage positions in a plurality of monitoring positions according to abnormal data in the plurality of detection data; secondly, determining a target oil leakage position in a plurality of candidate oil leakage positions according to video data of each candidate oil leakage position; and finally, according to the target oil leakage position, carrying out oil leakage alarm aiming at a target area.
In some embodiments, the candidate oil leakage position is determined by the oil leakage detection sensor, then the target oil leakage position with the oil leakage condition is determined by the video data of the candidate oil leakage position, and an alarm is given. Compared with the method for determining the oil leakage position by only using the oil leakage detection sensor, the oil leakage detection sensor can only detect the oil leakage position where the oil leakage situation possibly exists, and can not exclude false oil leakage situations caused by weather, bird droppings and the like, so that the accuracy of determining the oil leakage position is improved. Compared with the method for determining the oil leakage position by using the video data only, the method has the advantages that the video data at each moment is required to be analyzed, the data volume of the video data is large, the load of a computer is large when the video data is analyzed, in the method, the video data corresponding to the candidate oil leakage position is only analyzed, the processing capacity of the data is reduced, the load of the computer is also reduced, and due to the fact that the video data is used, the false oil leakage condition is eliminated, and the accuracy of determining the oil leakage position is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for detecting oil leakage according to an embodiment of the present application;
fig. 2 is a schematic diagram of an oil leak according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an oil leakage detection device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
The traditional equipment oil leakage detection basically adopts a hardware detection method, namely, the leakage is directly detected, such as a radioactive tracing method, an optical fiber leakage detection method, a sound wave emission method and the like, but the detection method only can determine the condition of oil leakage of the equipment, but can not distinguish whether the condition of false oil leakage caused by other reasons (such as weather and bird droppings) exists or not, so that the determined oil leakage condition is inaccurate.
The embodiment of the application provides a method for detecting oil leakage, as shown in fig. 1, comprising the following steps:
s101, acquiring acquisition data of each monitoring position in a target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment;
s102, determining candidate oil leakage positions in a plurality of monitoring positions according to abnormal data in a plurality of detection data;
s103, determining a target oil leakage position in a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position;
and S104, performing oil leakage alarm aiming at a target area according to the target oil leakage position.
In the above step S101, the target area is an area where it is necessary to detect whether or not the equipment contained therein has an oil leakage condition, for example, an oilfield containing equipment for transporting or storing oil. The monitoring location is a location where the oil leakage detection sensor is placed, and the monitoring location may be a location where an oil leakage condition is historically present, and a location where an oil leakage condition may be present. The oil leakage detection sensor may be a gravity sensor, an acoustic wave sensor, an infrared sensor, etc., and the detection data collected by the oil leakage detection sensor is a sensor signal. The image acquisition device may be a video monitor, with the video data being acquired by the image acquisition device. The size of the sensor signals acquired for the same position at the same time is far smaller than the size of the video data. Only after acquisition of the acquisition data for each monitoring position by step S101, the subsequent steps S102 to S104 can be continued.
In the above step S102, the candidate oil leakage position may be a monitored position where an oil leakage condition exists.
In specific implementation, firstly, the collected detection data are detected, and if abnormal data exist in the detection data, the detection position corresponding to the detection data with the abnormal data is determined as a candidate oil leakage position.
In the above step S103, the target oil leakage position is a monitored position where an oil leakage condition has been clearly present.
After the candidate oil leakage positions are determined, whether the candidate oil leakage positions have oil leakage conditions or not can be determined clearly according to video data corresponding to each candidate oil leakage position, and then the candidate oil leakage positions with the oil leakage conditions are determined to be target oil leakage positions.
In the step S104, after the target oil leakage position is determined, an alarm is given to the worker according to the target oil leakage position.
In the scheme provided by the embodiment of the application, through the four steps, the candidate oil leakage position is determined through the oil leakage detection sensor, then the target oil leakage position with the oil leakage condition is determined through the video data of the candidate oil leakage position, and an alarm is given. Compared with the method for determining the oil leakage position by only using the oil leakage detection sensor, the oil leakage detection sensor can only detect the oil leakage position where the oil leakage situation possibly exists, and can not exclude false oil leakage situations caused by weather, bird droppings and the like, so that the accuracy of determining the oil leakage position is improved. Compared with the method for determining the oil leakage position by using the video data only, the method has the advantages that the video data at each moment is required to be analyzed, the data volume of the video data is large, the load of a computer is large when the video data is analyzed, in the method, the video data corresponding to the candidate oil leakage position is only analyzed, the processing capacity of the data is reduced, the load of the computer is also reduced, and due to the fact that the video data is used, the false oil leakage condition is eliminated, and the accuracy of determining the oil leakage position is improved.
When determining whether the candidate oil leak position is the target oil leak position from the video data of the candidate oil leak position, the determination is made by a trained oil leak detection model, which is a deep learning detection model, specifically, step S103 includes:
step 1031, inputting the video data to a trained oil leakage detection model for each candidate oil leakage position to obtain an oil leakage detection result; and if the candidate oil leakage position in the oil leakage detection result has the oil leakage condition, determining the candidate oil leakage position as a target oil leakage position.
In step 1031, the oil leakage detection model is used to detect whether the candidate oil leakage position corresponding to the video data is leaked. The oil leakage detection result includes any one of the following cases: the candidate oil leakage position has oil leakage condition and the candidate oil leakage position has no oil leakage condition.
Specifically, when the detection of the oil leakage condition is performed, the current detection image in the video data corresponding to each candidate oil leakage position can be input into a trained oil leakage detection model to obtain an oil leakage detection result of the trained oil leakage detection model for the current detection image in the video data corresponding to the candidate oil leakage position, the oil leakage detection result can be a probability value, and when the probability value reaches a preset probability, the current oil leakage condition of the candidate oil leakage position can be clearly determined, and then the candidate oil leakage position is determined to be the target oil leakage position.
When the trained oil leakage detection model detects the oil leakage condition of the current detection image in the video data corresponding to the candidate oil leakage position, the oil leakage area with the oil leakage condition in the current detection image is marked, the marked detection image is output to generate alarm information, and the alarm information carrying the detection image with the marked oil leakage area is sent to the terminal of the staff, so that the staff can more intuitively know the oil leakage condition and the emergency degree of oil leakage. The oil leakage area is the smallest area in the detected image, which can represent the oil leakage condition, and as shown in fig. 2, the area surrounded by the rectangular frame in the center of the picture is the oil leakage area.
The trained oil leakage detection model is trained through a large amount of data, and the training process is as follows:
step 105, acquiring an oil leakage training sample set; the oil leakage training sample set comprises at least one training sample, wherein the training sample comprises a detection image marked with an oil leakage area and an oil leakage result corresponding to the detection image; each training sample in the oil leakage training sample set is data corresponding to the same candidate oil leakage position;
step 106, for each training sample, inputting the detection image in the training sample as a positive sample to the oil leakage detection model to be trained, and inputting the oil leakage result as a negative sample to the oil leakage detection model to be trained, so as to train the oil leakage detection model to be trained.
In step 105, a database is further provided, where the database is configured to store oil leakage training samples for training the oil leakage detection model, and a plurality of oil leakage training samples together form an oil leakage training sample set. Before the oil leakage detection model to be trained is trained, the detection image in the oil leakage training sample is marked, the minimum area with the oil leakage condition can be compared with the representation in the image at the marked position, and the marking method can be used for marking the oil leakage image by adopting image marking software (such as labelImg). And whether the oil leakage condition exists at the shot position in the detection image in the oil leakage training sample or not needs to be determined, namely, the oil leakage result corresponding to the detection image can be determined manually. In the application, the label with the oil leakage condition in the oil leakage result can be set to be 1, and the label without the oil leakage condition is set to be 0.
When each training sample is trained on the oil leakage detection model to be trained, the detection image is input to the oil leakage detection model to be trained as a positive sample, a probability value representing an oil leakage detection result is output, the probability value is compared with labels in the oil leakage result, if the probability value is far away from the labels in the oil leakage result, the oil leakage detection model to be trained is required to be adjusted, if the probability value is close to the labels in the oil leakage result, the training precision of the oil leakage detection model to be trained is higher and higher, and when the difference between the probability value and the labels in the oil leakage result reaches a preset requirement, namely, the difference is smaller than a certain threshold value, the training of the oil leakage detection model to be trained is finished.
For the oil leakage detection model, the more the training data is, the higher the training accuracy is, so in order to improve the training accuracy of the oil leakage detection model, the video data and the oil leakage detection result corresponding to the new target oil leakage position can be collected by the scheme of the application, so that the oil leakage detection model can be retrained. That is, the method further comprises:
and 107, training the oil leakage detection model to be trained by taking the video data and the oil leakage detection result corresponding to the target oil leakage position as new training samples.
In the step 107, the target oil leakage position is a position where the oil leakage condition is already defined, and after the target oil leakage position is found, in order to enrich the oil leakage training sample set, the video data and the oil leakage detection result corresponding to the target oil leakage position are added as new training samples into the original oil leakage training sample set. Of course, not all the video data of the time points corresponding to the target oil leakage position are stored in the training sample set, after all, the oil leakage condition does not exist at the time points, and the oil leakage detection model is mainly used for detecting whether oil leakage exists or not, so that only the video data corresponding to the target oil leakage position when the oil leakage condition exists is stored in the oil leakage training sample set as a new training sample.
And updating and training the trained oil leakage detection model, wherein an updating period can be set, video data and an oil leakage detection result corresponding to a new target oil leakage position are acquired in the updating period, and when the final time or the starting time of the updating period is reached, the original trained oil leakage detection model is trained again, so that a new trained oil leakage detection model is obtained.
After determining the target oil leakage position, in order to reduce more oil leakage, an oil leakage alarm needs to be performed, that is, step S104 includes:
step 1041, generating oil leakage alarm information according to the target oil leakage position;
step 1042, performing oil leakage alarm for the target area based on the oil leakage alarm information.
In the foregoing steps 1041 to 1042, the oil leakage alarm means includes any one or more of the following: broadcasting the oil leakage alarm information in a broadcasting mode, sending the oil leakage alarm information to terminal equipment of staff for displaying, and sending the oil leakage alarm information to a broadcasting display for displaying.
In the concrete implementation, the oil leakage alarm information carries the position information of the target oil leakage position, and then when the oil leakage alarm is carried out, the position information of the target oil leakage position is directly disclosed, so that a worker can immediately and clearly know which position in the target area leaks oil, and quick maintenance work is realized.
The oil leakage detection method provided by the application can be used for implementing oil leakage detection on the target area, and can also be used for setting the oil leakage detection period, for example, the work plan of a patrol worker can be consulted, for example, the oil leakage detection is carried out once in 1 hour, and the detection period is 1 hour; when the detection period is reached, the oil leakage detection system is started, and the above step S101 is immediately executed.
The embodiment of the application provides an oil leak detection device, as shown in fig. 3, including:
an acquisition module 301, configured to acquire acquired data of each monitoring location in the target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment;
a first determining module 302, configured to determine candidate oil leakage positions in a plurality of monitoring positions according to abnormal data in the plurality of detection data;
a second determining module 303, configured to determine a target oil leakage position from a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position;
and the alarm module 304 is used for alarming oil leakage of the target area according to the target oil leakage position.
Optionally, the second determining module includes:
the judging unit is used for inputting the video data into the trained oil leakage detection model aiming at each candidate oil leakage position to obtain an oil leakage detection result; and if the candidate oil leakage position in the oil leakage detection result has the oil leakage condition, determining the candidate oil leakage position as a target oil leakage position.
Optionally, the apparatus further includes:
the collection acquisition module is used for acquiring an oil leakage training sample collection; the oil leakage training sample set comprises at least one training sample, wherein the training sample comprises a detection image marked with an oil leakage area and an oil leakage result corresponding to the detection image;
the training module is used for inputting the detection image in each training sample as a positive sample to the oil leakage detection model to be trained, and inputting the oil leakage result as a negative sample to the oil leakage detection model to be trained, so as to train the oil leakage detection model to be trained.
Optionally, the apparatus further includes:
and the updating module is used for training the oil leakage detection model to be trained by taking the video data and the oil leakage detection result corresponding to the target oil leakage position as new training samples.
Optionally, the alarm module includes:
the generating unit is used for generating oil leakage alarm information according to the target oil leakage position;
and the alarm unit is used for alarming oil leakage aiming at the target area based on the alarm information of the target area.
Optionally, the target area alarming mode includes any one or more of the following:
broadcasting the oil leakage alarm information in a broadcasting mode, sending the oil leakage alarm information to terminal equipment of staff for displaying, and sending the oil leakage alarm information to a broadcasting display for displaying.
Corresponding to the method for detecting oil leakage in fig. 1, the embodiment of the application further provides a computer device 400, as shown in fig. 4, where the device includes a memory 401, a processor 402, and a computer program stored in the memory 401 and capable of running on the processor 402, where the method for detecting oil leakage is implemented when the processor 402 executes the computer program.
Specifically, the memory 401 and the processor 402 can be general-purpose memories and processors, which are not limited herein, and when the processor 402 runs a computer program stored in the memory 401, the method for detecting oil leakage can be executed, so that the problem of inaccurate detection of the oil leakage condition of equipment in an oilfield in the prior art is solved.
Corresponding to the method of oil leakage detection in fig. 1, the embodiment of the present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of oil leakage detection described above.
The method solves the problem of inaccurate detection of oil leakage conditions of equipment in an oil field in the prior art, determines candidate oil leakage positions through an oil leakage detection sensor, then determines target oil leakage positions with oil leakage conditions through video data of the candidate oil leakage positions, and alarms. Compared with the method for determining the oil leakage position by only using the oil leakage detection sensor, the oil leakage detection sensor can only detect the oil leakage position where the oil leakage situation possibly exists, and can not exclude false oil leakage situations caused by weather, bird droppings and the like, so that the accuracy of determining the oil leakage position is improved. Compared with the method for determining the oil leakage position by using the video data only, the method has the advantages that the video data at each moment is required to be analyzed, the data volume of the video data is large, the load of a computer is large when the video data is analyzed, in the method, the video data corresponding to the candidate oil leakage position is only analyzed, the processing capacity of the data is reduced, the load of the computer is also reduced, and due to the fact that the video data is used, the false oil leakage condition is eliminated, and the accuracy of determining the oil leakage position is improved.
In the embodiments provided in the present application, it should be understood that the disclosed methods and apparatuses may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of oil leak detection, comprising:
acquiring acquisition data of each monitoring position in a target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment;
determining candidate oil leakage positions in a plurality of monitoring positions according to abnormal data in the plurality of detection data;
determining a target oil leakage position in a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position;
and carrying out oil leakage alarming aiming at a target area according to the target oil leakage position.
2. The method of claim 1, wherein determining a target oil leak location from among a plurality of candidate oil leak locations based on the video data for each of the candidate oil leak locations comprises:
inputting the video data to a trained oil leakage detection model aiming at each candidate oil leakage position to obtain an oil leakage detection result; and if the candidate oil leakage position in the oil leakage detection result has the oil leakage condition, determining the candidate oil leakage position as a target oil leakage position.
3. The method of claim 2, wherein the oil leak detection model is trained by:
acquiring an oil leakage training sample set; the oil leakage training sample set comprises at least one training sample, wherein the training sample comprises a detection image marked with an oil leakage area and an oil leakage result corresponding to the detection image;
and aiming at each training sample, inputting a detection image in the training sample as a positive sample to an oil leakage detection model to be trained, and inputting the oil leakage result as a negative sample to the oil leakage detection model to be trained, so as to train the oil leakage detection model to be trained.
4. A method according to claim 3, characterized in that the method further comprises:
and training the oil leakage detection model to be trained by taking the video data and the oil leakage detection result corresponding to the target oil leakage position as new training samples.
5. The method of claim 1, wherein the alerting of oil leakage to the target area based on the target oil leakage location comprises:
generating oil leakage alarm information according to the target oil leakage position;
and carrying out oil leakage alarm aiming at the target area based on the alarm information of the target area.
6. The method according to claim 5, wherein the means for alerting the target area comprises any one or more of the following:
broadcasting the oil leakage alarm information in a broadcasting mode, sending the oil leakage alarm information to terminal equipment of staff for displaying, and sending the oil leakage alarm information to a broadcasting display for displaying.
7. An apparatus for oil leakage detection, comprising:
the acquisition module is used for acquiring the acquired data of each monitoring position in the target area; the collected data comprise detection data collected by an oil leakage detection sensor in the monitoring position and video data collected by image collecting equipment;
the first determining module is used for determining candidate oil leakage positions in the plurality of monitoring positions according to abnormal data in the plurality of detection data;
the second determining module is used for determining a target oil leakage position in a plurality of candidate oil leakage positions according to the video data of each candidate oil leakage position;
and the alarm module is used for carrying out oil leakage alarm aiming at the target area according to the target oil leakage position.
8. The apparatus of claim 7, wherein the second determining module comprises:
the judging unit is used for inputting the video data into the trained oil leakage detection model aiming at each candidate oil leakage position to obtain an oil leakage detection result; and if the candidate oil leakage position in the oil leakage detection result has the oil leakage condition, determining the candidate oil leakage position as a target oil leakage position.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of the preceding claims 1-6 when the computer program is executed.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor performs the steps of the method of any of the preceding claims 1-6.
CN202111359621.5A 2021-11-17 2021-11-17 Method, device, computer equipment and medium for detecting oil leakage Pending CN116137038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111359621.5A CN116137038A (en) 2021-11-17 2021-11-17 Method, device, computer equipment and medium for detecting oil leakage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111359621.5A CN116137038A (en) 2021-11-17 2021-11-17 Method, device, computer equipment and medium for detecting oil leakage

Publications (1)

Publication Number Publication Date
CN116137038A true CN116137038A (en) 2023-05-19

Family

ID=86332920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111359621.5A Pending CN116137038A (en) 2021-11-17 2021-11-17 Method, device, computer equipment and medium for detecting oil leakage

Country Status (1)

Country Link
CN (1) CN116137038A (en)

Similar Documents

Publication Publication Date Title
CN109374631B (en) Tunnel state evaluation method
CN111382779A (en) Alarm condition similarity recognition method, device and equipment
CN108629310B (en) Engineering management supervision method and device
CN118053261B (en) Anti-spoofing early warning method, device, equipment and medium for smart campus
CN115471487A (en) Insulator defect detection model construction and insulator defect detection method and device
CN112396023A (en) Fire detection method based on machine learning
CN118095835A (en) Method and device for monitoring construction site, electronic equipment and storage medium
CN117576632B (en) Multi-mode AI large model-based power grid monitoring fire early warning system and method
CN117114420B (en) Image recognition-based industrial and trade safety accident risk management and control system and method
CN112307360B (en) Regional event detection method and device based on search engine and search engine
CN116137038A (en) Method, device, computer equipment and medium for detecting oil leakage
CN117010197A (en) Equipment detection method and device based on digital twin
US11954955B2 (en) Method and system for collecting and monitoring vehicle status information
CN115187880A (en) Communication optical cable defect detection method and system based on image recognition and storage medium
CN113342978A (en) City event processing method and device
CN105763397A (en) Performance detection method and apparatus
CN112905416B (en) Fire-fighting facility detection method, device and medium based on Internet of things
CN116311080B (en) Monitoring image detection method and device
CN115861321B (en) Production environment detection method and system applied to industrial Internet
CN118411811B (en) ChatGPT-based global perception early warning method, chatGPT-based global perception early warning system, medium and electronic equipment
CN117227551B (en) New energy equipment safety monitoring method, device, equipment and readable storage medium
CN113705639B (en) Abnormality detection method, apparatus, device and storage medium
CN117094977A (en) Oil leakage detection method, system, computer equipment and storage medium
CN116012945A (en) Alarm method, device and equipment of unmanned storage cabinet and storage medium
CN118570990A (en) Intelligent quay crane operation monitoring large screen system and visual management method thereof

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