CN113095132A - Neural network-based gas field target detection and behavior identification method, system, terminal and storage medium - Google Patents

Neural network-based gas field target detection and behavior identification method, system, terminal and storage medium Download PDF

Info

Publication number
CN113095132A
CN113095132A CN202110240015.5A CN202110240015A CN113095132A CN 113095132 A CN113095132 A CN 113095132A CN 202110240015 A CN202110240015 A CN 202110240015A CN 113095132 A CN113095132 A CN 113095132A
Authority
CN
China
Prior art keywords
behavior
target
target detection
detection result
video
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.)
Granted
Application number
CN202110240015.5A
Other languages
Chinese (zh)
Other versions
CN113095132B (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.)
Beijing Gas Group Co Ltd
Original Assignee
Beijing Gas Group Co Ltd
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 Beijing Gas Group Co Ltd filed Critical Beijing Gas Group Co Ltd
Priority to CN202110240015.5A priority Critical patent/CN113095132B/en
Publication of CN113095132A publication Critical patent/CN113095132A/en
Application granted granted Critical
Publication of CN113095132B publication Critical patent/CN113095132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/44Event detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Abstract

The application provides a method, a system, a terminal and a storage medium for detecting and identifying a target in a gas field based on a neural network, wherein the method comprises the following steps: determining a target to be detected of a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected; extracting key frames of the videos with the 2D rectangular frames and the joint points calibrated, and combining the extracted pictures into a target behavior video to be detected; respectively inputting the behavior videos of the target to be detected into a preset target detection network model and a behavior recognition network model for training; inputting a real-time monitoring video of a target area of a gas operation site into a trained target detection network model to obtain a target detection result; and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into the trained behavior recognition network model, and obtaining a behavior prediction result.

Description

Neural network-based gas field target detection and behavior identification method, system, terminal and storage medium
Technical Field
The application relates to the field of monitoring safety of gas facilities, in particular to a method, a system, a terminal and a storage medium for detecting and identifying targets and behaviors in a gas field based on a neural network.
Background
With the development of urban gas industry, urban gas pipelines are also increasing continuously, the urban gas pipelines are one of important infrastructure of urban construction, and the development of urban gas pipe network facilities becomes an important mark of urban modernization. The safety problem of the gas facility is a key link influencing public safety, and the basic conditions for ensuring safe operation and stable supply of gas are provided. For the management of the safe operation of the urban gas operation site, besides various methods and means of conventional law, administration, economy and the like, technical safety precaution means are also required to be introduced to ensure the safe operation of the urban gas operation. How to discover and accurately locate the destructive behavior in time, give an alarm in time and prevent the destruction of a gas operation field is a problem which needs to be solved urgently by urban gas companies.
Patent CN107147886A discloses a video optimized storage system, which stores videos returned from a scene into different storage devices according to the bitrate, and can optimize the storage in this way, but does not perform artificial intelligence processing prediction processing on the data, and the whole system has no other functions except for storing the videos. The patent CN109120896A discloses a system integrating monitoring and background management, which enables the staff to perform real-time monitoring and processing through the returned data in the background. Although this method is feasible, it still requires manpower and the system itself has no ability to make a judgment about the situation at the site.
In the methods disclosed in patent CN107147886A and patent CN109120896A, videos are optimally stored, wherein patent CN109120896A further establishes a background monitoring and supervising platform. They do not have artificial intelligence prejudgments on live video. This greatly increases labor costs and may not be able to immediately respond to an emergency due to the negligence of the monitoring staff.
Therefore, a method, a system, a terminal and a storage medium for detecting a target and identifying a behavior in a gas field based on a neural network are needed to solve the problem that a monitoring video in the gas operation field cannot identify an abnormal situation to perform a safety early warning.
Disclosure of Invention
Aiming at the defects of the prior art, the application provides a method, a system, a terminal and a storage medium for detecting the target and identifying the behavior of a gas site based on a neural network, and solves the problems that the monitoring video of the gas operation site in the prior art cannot identify abnormal conditions to perform safety early warning and the like.
In order to solve the above technical problem, in a first aspect, the present application provides a method for detecting a target and identifying a behavior in a gas field based on a neural network, including:
acquiring a monitoring video of a target area of a gas operation site;
determining a target to be detected of a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected;
extracting key frames of the videos with the 2D rectangular frames and the joint points calibrated, and combining the extracted pictures into a target behavior video to be detected;
respectively inputting the target behavior video to be detected into a preset target detection network model and a preset behavior recognition network model for training;
inputting a real-time monitoring video of a target area of a gas operation site into a trained target detection network model to obtain a target detection result;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
Optionally, the determining a target to be detected of a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected includes:
and calibrating the type of the target to be detected in the monitoring video of the target area of the gas operation site by using a 2D rectangular frame, and calibrating the position information and the category information of the joint point of the target to be detected.
Optionally, the extracting key frames from the videos in which the 2D rectangular frame and the joint points are calibrated, and combining the extracted pictures into the target behavior video to be detected includes:
comparing each frame of the video with the previous frame, wherein the 2D rectangular frame and the joint points are calibrated;
if the difference between the current frame and the previous frame is greater than a preset threshold, the current frame is retained, and if the difference between the current frame and the previous frame is less than the preset threshold, the current frame is deleted;
and combining all the reserved frames into a target behavior video to be detected, and storing the target behavior video to a terminal database.
Optionally, the method of inputting the real-time monitoring video of the target area of the gas operation site into the trained target detection network model to obtain the target detection result further includes:
if the target detection result is a worker, the worker does not process the target detection result;
if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
Optionally, if the target detection result is a non-worker and does not carry an illegal apparatus that damages a gas device, the real-time monitoring video is input to the trained behavior recognition network model to obtain a behavior prediction result, further including:
if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel;
and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
In a second aspect, the present application further provides a gas field target detection and behavior recognition system based on a neural network, including:
the acquisition unit is configured for acquiring a monitoring video of a target area of a gas operation site;
the calibration unit is used for configuring a target to be detected for determining a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected;
the key frame extraction unit is configured for extracting key frames of videos for calibrating the 2D rectangular frame and the joint points, and combining the extracted pictures into a target behavior video to be detected;
the model training unit is configured to input the behavior video of the target to be detected into a preset target detection network model and a preset behavior recognition network model respectively for training;
the target detection unit is configured and used for inputting the real-time monitoring video of the target area of the gas operation site into the trained target detection network model and acquiring a target detection result;
and the behavior prediction unit is configured to input the real-time monitoring video into a trained behavior recognition network model to obtain a behavior prediction result if the target detection result is a non-worker and does not carry an illegal apparatus for destroying the gas equipment.
Optionally, the calibration unit is specifically configured to:
and calibrating the type of the target to be detected in the monitoring video of the target area of the gas operation site by using a 2D rectangular frame, and calibrating the position information and the category information of the joint point of the target to be detected.
Optionally, the key frame extracting unit is specifically configured to:
comparing each frame of the video with the previous frame, wherein the 2D rectangular frame and the joint points are calibrated;
if the difference between the current frame and the previous frame is greater than a preset threshold, the current frame is retained, and if the difference between the current frame and the previous frame is less than the preset threshold, the current frame is deleted;
and combining all the reserved frames into a target behavior video to be detected, and storing the target behavior video to a terminal database.
Optionally, the behavior prediction unit is specifically configured to:
if the target detection result is a worker, the worker does not process the target detection result;
if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
Optionally, the behavior prediction unit is further specifically configured to:
if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel;
and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
In a third aspect, the present application provides a terminal, comprising:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, the present application provides a computer storage medium having instructions stored thereon, which when executed on a computer, cause the computer to perform the method of the above aspects.
Compared with the prior art, the method has the following beneficial effects:
according to the method and the device, the problems that in the prior art, the abnormal situation cannot be identified by the monitoring video of the gas operation site to carry out safety early warning are solved through target detection and behavior recognition module integrated monitoring based on the neural network, manpower is greatly reduced, and the processing speed of emergency events is increased. In addition, the application carries out video segmentation with the surveillance video according to the incident that detects out to optimize the storage, be convenient for the operation and maintenance personnel trace back the gas operation scene abnormal conditions and in time carry out the operation and maintenance and handle according to the surveillance video.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting and behavior recognizing a gas field target based on a neural network according to an embodiment of the present application;
FIG. 2 is a flow chart of another neural network-based gas field target detection and behavior recognition method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a neural network-based gas field target detection and behavior recognition system according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a method for detecting and behavior recognizing a gas field target based on a neural network according to an embodiment of the present application, where the method 100 includes:
s101: acquiring a monitoring video of a target area of a gas operation site;
s102: determining a target to be detected of a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected;
s103: extracting key frames of the videos with the 2D rectangular frames and the joint points calibrated, and combining the extracted pictures into a target behavior video to be detected;
s104: respectively inputting the target behavior video to be detected into a preset target detection network model and a preset behavior recognition network model for training;
s105: inputting a real-time monitoring video of a target area of a gas operation site into a trained target detection network model to obtain a target detection result;
s106: and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
Based on the above embodiment, as an optional embodiment, the S102 determines a target to be detected of a monitoring video of a target area of a gas operation site, and performs 2D rectangular frame calibration and joint point calibration on the target to be detected, including:
and calibrating the type of the target to be detected in the monitoring video of the target area of the gas operation site by using a 2D rectangular frame, and calibrating the position information and the category information of the joint point of the target to be detected.
Based on the above embodiment, as an optional embodiment, the S103 performs key frame extraction on the video with the 2D rectangular frame and the joint point calibrated, and combines the extracted pictures into the target behavior video to be detected, including:
comparing each frame of the video with the previous frame, wherein the 2D rectangular frame and the joint points are calibrated;
if the difference between the current frame and the previous frame is greater than a preset threshold, the current frame is retained, and if the difference between the current frame and the previous frame is less than the preset threshold, the current frame is deleted;
and combining all the reserved frames into a target behavior video to be detected, and storing the target behavior video to a terminal database.
Based on the foregoing embodiment, as an optional embodiment, if the target detection result is a non-worker and does not carry an illegal device that damages a gas appliance, the S106 inputs the real-time monitoring video to a trained behavior recognition network model to obtain a behavior prediction result, and further includes:
if the target detection result is a worker, the worker does not process the target detection result;
if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
Based on the foregoing embodiment, as an optional embodiment, if the target detection result is a non-worker and does not carry an illegal device that damages a gas appliance, the S106 inputs the real-time monitoring video to a trained behavior recognition network model to obtain a behavior prediction result, and further includes:
if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel;
and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
Specifically, as shown in fig. 2, fig. 2 is a flowchart of another gas field target detection and behavior recognition method based on a neural network according to an embodiment of the present application. The method comprises the steps that a monitoring camera is installed in a target area of a gas operation site, a monitoring video of the target area of the gas operation site is obtained, real-time target detection is conducted on the monitoring video of the target area, a target to be detected (namely personnel) is determined, and 2D rectangular frame and joint point calibration is conducted on the target to be detected; extracting key frames of the videos with the 2D rectangular frames and the joint points calibrated, and combining the extracted pictures into a target behavior video to be detected; and inputting the target behavior video to be detected into a preset target detection network model and a behavior recognition network model for training. Acquiring a real-time monitoring video, inputting the real-time monitoring video into a trained target detection network model, and acquiring whether a target detection result is a worker; if the target detection result is a worker, the worker does not process the target detection result; if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel; if the target detection result is that the target detection result is a non-worker and does not carry an illegal appliance for destroying the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result; if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel; and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a gas field target detection and behavior recognition system based on a neural network according to an embodiment of the present application, where the system 300 includes:
the acquiring unit 301 is configured to acquire a monitoring video of a target area of a gas operation site;
the calibration unit 302 is configured to determine a target to be detected of a monitoring video of a target area of a gas operation site, and perform 2D rectangular frame calibration and joint point calibration on the target to be detected;
the key frame extraction unit 303 is configured to extract key frames of videos in which the 2D rectangular frame and the joint point are calibrated, and combine the extracted pictures into a target behavior video to be detected;
the model training unit 304 is configured to input the behavior video of the target to be detected into a preset target detection network model and a preset behavior recognition network model respectively for training;
the target detection unit 305 is configured to input a real-time monitoring video of a target area of a gas operation site into a trained target detection network model, and obtain a target detection result;
and the behavior prediction unit 306 is configured to input the real-time monitoring video to a trained behavior recognition network model to obtain a behavior prediction result if the target detection result is a non-worker and does not carry an illegal apparatus for destroying the gas equipment.
Based on the foregoing embodiment, as an optional embodiment, the calibration unit 302 is specifically configured to:
and calibrating the type of the target to be detected in the monitoring video of the target area of the gas operation site by using a 2D rectangular frame, and calibrating the position information and the category information of the joint point of the target to be detected.
Based on the foregoing embodiment, as an optional embodiment, the key frame extracting unit 303 is specifically configured to:
comparing each frame of the video with the previous frame, wherein the 2D rectangular frame and the joint points are calibrated;
if the difference between the current frame and the previous frame is greater than a preset threshold, the current frame is retained, and if the difference between the current frame and the previous frame is less than the preset threshold, the current frame is deleted;
and combining all the reserved frames into a target behavior video to be detected, and storing the target behavior video to a terminal database.
Based on the foregoing embodiment, as an optional embodiment, the behavior prediction unit 306 is specifically configured to:
if the target detection result is a worker, the worker does not process the target detection result;
if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
Based on the foregoing embodiment, as an optional embodiment, the behavior prediction unit 306 is further specifically configured to:
if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel;
and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal system 400 provided in the embodiment of the present application, where the terminal system 400 may be used to execute the method for detecting and behavior recognizing in a gas field based on a neural network according to the embodiment of the present invention.
The terminal system 400 may include: a processor 401, a memory 402, and a communication unit 403. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 402 may be used for storing instructions executed by the processor 401, and the memory 402 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The execution instructions in the memory 402, when executed by the processor 401, enable the terminal system 400 to perform some or all of the steps in the method embodiments described below.
The processor 401 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 401 may only include a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 403, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present application also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
According to the method and the device, the problems that in the prior art, the abnormal situation cannot be identified by the monitoring video of the gas operation site to carry out safety early warning are solved through target detection and behavior recognition module integrated monitoring based on the neural network, manpower is greatly reduced, and the processing speed of emergency events is increased. In addition, the application carries out video segmentation with the surveillance video according to the incident that detects out to optimize the storage, be convenient for the operation and maintenance personnel trace back the gas operation scene abnormal conditions and in time carry out the operation and maintenance and handle according to the surveillance video.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system provided by the embodiment, the description is relatively simple because the system corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A fuel gas field target detection and behavior recognition method based on a neural network is characterized by comprising the following steps:
acquiring a monitoring video of a target area of a gas operation site;
determining a target to be detected of a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected;
extracting key frames of the videos with the 2D rectangular frames and the joint points calibrated, and combining the extracted pictures into a target behavior video to be detected;
respectively inputting the target behavior video to be detected into a preset target detection network model and a preset behavior recognition network model for training;
inputting a real-time monitoring video of a target area of a gas operation site into a trained target detection network model to obtain a target detection result;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
2. The method for detecting the target and identifying the behavior in the gas field based on the neural network as claimed in claim 1, wherein the method comprises the steps of extracting key frames from videos for calibrating 2D rectangular frames and joint points, and combining the extracted pictures into the behavior video of the target to be detected, and comprises the following steps:
comparing each frame of the video with the previous frame, wherein the 2D rectangular frame and the joint points are calibrated;
if the difference between the current frame and the previous frame is greater than a preset threshold, the current frame is retained, and if the difference between the current frame and the previous frame is less than the preset threshold, the current frame is deleted;
and combining all the reserved frames into a target behavior video to be detected, and storing the target behavior video to a terminal database.
3. The method for detecting the target and identifying the behavior of the gas field based on the neural network as claimed in claim 1, wherein if the target detection result is a non-worker and does not carry an illegal device which damages a gas device, the real-time monitoring video is input to a trained behavior identification network model to obtain a behavior prediction result, further comprising:
if the target detection result is a worker, the worker does not process the target detection result;
if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
4. The method for detecting the target and identifying the behavior of the gas field based on the neural network as claimed in claim 1, wherein if the target detection result is a non-worker and does not carry an illegal device which damages a gas device, the real-time monitoring video is input to a trained behavior identification network model to obtain a behavior prediction result, further comprising:
if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel;
and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
5. A gas field target detection and behavior recognition system based on a neural network is characterized by comprising:
the acquisition unit is configured for acquiring a monitoring video of a target area of a gas operation site;
the calibration unit is used for configuring a target to be detected for determining a monitoring video of a target area of a gas operation site, and performing 2D rectangular frame calibration and joint point calibration on the target to be detected;
the key frame extraction unit is configured for extracting key frames of videos for calibrating the 2D rectangular frame and the joint points, and combining the extracted pictures into a target behavior video to be detected;
the model training unit is configured to input the behavior video of the target to be detected into a preset target detection network model and a preset behavior recognition network model respectively for training;
the target detection unit is configured and used for inputting the real-time monitoring video of the target area of the gas operation site into the trained target detection network model and acquiring a target detection result;
and the behavior prediction unit is configured to input the real-time monitoring video into a trained behavior recognition network model to obtain a behavior prediction result if the target detection result is a non-worker and does not carry an illegal apparatus for destroying the gas equipment.
6. The system of claim 5, wherein the keyframe extraction unit is specifically configured to:
comparing each frame of the video with the previous frame, wherein the 2D rectangular frame and the joint points are calibrated;
if the difference between the current frame and the previous frame is greater than a preset threshold, the current frame is retained, and if the difference between the current frame and the previous frame is less than the preset threshold, the current frame is deleted;
and combining all the reserved frames into a target behavior video to be detected, and storing the target behavior video to a terminal database.
7. The neural network-based gas field object detection and behavior recognition system of claim 5, wherein the behavior prediction unit is specifically configured to:
if the target detection result is a worker, the worker does not process the target detection result;
if the target detection result is that the target detection result is a non-worker and carries illegal equipment damaging the gas equipment, starting early warning and informing field security personnel;
and if the target detection result is that the target detection result is a non-worker and does not carry illegal equipment damaging the gas equipment, inputting the real-time monitoring video into a trained behavior recognition network model, and obtaining a behavior prediction result.
8. The neural network-based gas site target detection and behavior recognition system of claim 5, wherein the behavior prediction unit is further specifically configured to:
if the behavior prediction result is an illegal behavior, starting early warning and informing field security personnel;
and if the behavior prediction result is non-violation behavior, splitting the monitoring video according to the existence of personnel in a time axis, respectively annotating events, periods, personnel types, personnel numbers, place information and violation behavior information, and sequencing the events, the periods, the personnel types, the personnel numbers, the place information and the violation behavior information to a terminal database according to time information.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110240015.5A 2021-03-04 2021-03-04 Neural network based gas field identification method, system, terminal and storage medium Active CN113095132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110240015.5A CN113095132B (en) 2021-03-04 2021-03-04 Neural network based gas field identification method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110240015.5A CN113095132B (en) 2021-03-04 2021-03-04 Neural network based gas field identification method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113095132A true CN113095132A (en) 2021-07-09
CN113095132B CN113095132B (en) 2022-08-02

Family

ID=76666381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110240015.5A Active CN113095132B (en) 2021-03-04 2021-03-04 Neural network based gas field identification method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113095132B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780077A (en) * 2021-08-05 2021-12-10 深圳市燃气集团股份有限公司 Target detection-based operation behavior specification detection method and device and terminal equipment
CN115346170A (en) * 2022-08-11 2022-11-15 北京市燃气集团有限责任公司 Intelligent monitoring method and device for gas facility area
CN115527158A (en) * 2022-08-11 2022-12-27 北京市燃气集团有限责任公司 Method and device for detecting abnormal behaviors of personnel based on video monitoring
CN116168313A (en) * 2022-12-05 2023-05-26 广州视声智能股份有限公司 Control method and device of intelligent device, storage medium and electronic device
CN117197728A (en) * 2023-11-07 2023-12-08 成都千嘉科技股份有限公司 Method for identifying real-time gas diffusing operation through wearable camera equipment
CN117611928A (en) * 2024-01-23 2024-02-27 青岛国实科技集团有限公司 Illegal electric welding identification method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993031A (en) * 2017-12-29 2019-07-09 杭州海康威视数字技术股份有限公司 A kind of animal-drawn vehicle target is driven against traffic regulations behavioral value method, apparatus and camera
CN110705389A (en) * 2019-09-16 2020-01-17 全球能源互联网研究院有限公司 Power grid operation behavior identification method and system
CN110740298A (en) * 2019-10-28 2020-01-31 上海交通大学 Distributed classroom discipline behavior detection system, method and medium
CN111144263A (en) * 2019-12-20 2020-05-12 山东大学 Construction worker high-fall accident early warning method and device
CN111783744A (en) * 2020-07-31 2020-10-16 上海仁童电子科技有限公司 Operation site safety protection detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993031A (en) * 2017-12-29 2019-07-09 杭州海康威视数字技术股份有限公司 A kind of animal-drawn vehicle target is driven against traffic regulations behavioral value method, apparatus and camera
CN110705389A (en) * 2019-09-16 2020-01-17 全球能源互联网研究院有限公司 Power grid operation behavior identification method and system
CN110740298A (en) * 2019-10-28 2020-01-31 上海交通大学 Distributed classroom discipline behavior detection system, method and medium
CN111144263A (en) * 2019-12-20 2020-05-12 山东大学 Construction worker high-fall accident early warning method and device
CN111783744A (en) * 2020-07-31 2020-10-16 上海仁童电子科技有限公司 Operation site safety protection detection method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
屈有佳: "基于SIFT特征的关键帧提取算法研究", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780077A (en) * 2021-08-05 2021-12-10 深圳市燃气集团股份有限公司 Target detection-based operation behavior specification detection method and device and terminal equipment
CN115346170A (en) * 2022-08-11 2022-11-15 北京市燃气集团有限责任公司 Intelligent monitoring method and device for gas facility area
CN115527158A (en) * 2022-08-11 2022-12-27 北京市燃气集团有限责任公司 Method and device for detecting abnormal behaviors of personnel based on video monitoring
CN116168313A (en) * 2022-12-05 2023-05-26 广州视声智能股份有限公司 Control method and device of intelligent device, storage medium and electronic device
CN117197728A (en) * 2023-11-07 2023-12-08 成都千嘉科技股份有限公司 Method for identifying real-time gas diffusing operation through wearable camera equipment
CN117197728B (en) * 2023-11-07 2024-01-23 成都千嘉科技股份有限公司 Method for identifying real-time gas diffusing operation through wearable camera equipment
CN117611928A (en) * 2024-01-23 2024-02-27 青岛国实科技集团有限公司 Illegal electric welding identification method, electronic equipment and storage medium
CN117611928B (en) * 2024-01-23 2024-04-09 青岛国实科技集团有限公司 Illegal electric welding identification method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113095132B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN113095132B (en) Neural network based gas field identification method, system, terminal and storage medium
CN108989150B (en) Login abnormity detection method and device
CN110738178A (en) Garden construction safety detection method and device, computer equipment and storage medium
CN112004067A (en) Video monitoring method, device and storage medium
CN112381435A (en) Gridding directional pushing management method for dynamic risk in hydropower station operation process
CN114500574A (en) Monitoring method, device and medium for improving grain depot safety based on block chain
CN108629310B (en) Engineering management supervision method and device
CN110738077B (en) Foreign matter detection method and device
CN112911219B (en) Method, system and equipment for identifying routing inspection route of power equipment
CN112181786B (en) Configuration method, device and equipment for inspection application
CN113888024A (en) Operation monitoring method and device, electronic equipment and storage medium
CN113065462A (en) Monitoring method, device, equipment and storage medium for power grid overhead line
CN111767775A (en) Monitoring scene detection method and device and electronic equipment
CN115880631A (en) Power distribution station fault identification system, method and medium
CN112153341B (en) Task supervision method, device and system, electronic equipment and storage medium
CN115410112A (en) Elevator abnormal stay recognition method and device and storage medium
CN113420631A (en) Safety alarm method and device based on image recognition
CN114241400A (en) Monitoring method and device of power grid system and computer readable storage medium
CN115394025A (en) Monitoring method, monitoring device, electronic equipment and storage medium
CN110909798A (en) Multi-algorithm intelligent studying and judging method, system and server
CN116311080B (en) Monitoring image detection method and device
CN114943884B (en) Equipment protection method based on deep learning
CN115376275B (en) Construction safety warning method and system based on image processing
CN116342076B (en) Engineering information management system and management method
CN112464030B (en) Suspicious person determination method and suspicious person determination device

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