CN117237880B - Diesel oil unloading standard detection method and device, electronic equipment and storage medium - Google Patents

Diesel oil unloading standard detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117237880B
CN117237880B CN202311498991.6A CN202311498991A CN117237880B CN 117237880 B CN117237880 B CN 117237880B CN 202311498991 A CN202311498991 A CN 202311498991A CN 117237880 B CN117237880 B CN 117237880B
Authority
CN
China
Prior art keywords
score
frame
movement
worker
grounding wire
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311498991.6A
Other languages
Chinese (zh)
Other versions
CN117237880A (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.)
Dongguan Prophet Big Data Co ltd
Original Assignee
Dongguan Prophet Big Data 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 Dongguan Prophet Big Data Co ltd filed Critical Dongguan Prophet Big Data Co ltd
Priority to CN202311498991.6A priority Critical patent/CN117237880B/en
Publication of CN117237880A publication Critical patent/CN117237880A/en
Application granted granted Critical
Publication of CN117237880B publication Critical patent/CN117237880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Abstract

The invention relates to a diesel oil unloading standard detection method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: after the tank truck enters the diesel loading and unloading monitoring area to stop, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes; when the determined result is that the electrostatic work clothes are worn and the scene is entered, acquiring the position information of the staff; determining a distance score between a worker and a predetermined wiring rectangular area according to the position information; determining whether to enter an electrostatic grounding wire area of the tank truck according to the distance score; when the determined result is that the oil tank truck enters the electrostatic grounding wire area, acquiring body key point information and position information; determining a wrist movement score, a torso movement score, and a movement trend score; determining a wiring behavior score; determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value; and determining whether the diesel unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire.

Description

Diesel oil unloading standard detection method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of diesel oil unloading standard detection, in particular to a diesel oil unloading standard detection method, a diesel oil unloading standard detection device, diesel oil unloading standard detection equipment and a diesel oil unloading standard detection medium.
Background
When the diesel is unloaded, accidents such as leakage, overflow, explosion and the like can occur due to improper operation of personnel, so that dangerous chemicals are leaked or polluted, and the environment and personal safety are seriously threatened. The normal detection of diesel oil unloading is enhanced, the possibility of accident occurrence can be reduced, the dangerous degree of accident occurrence is reduced, the efficiency and the accuracy of emergency treatment can be improved, and the smooth implementation of emergency rescue work is ensured. However, at present, the emergency management work is puzzled only by personnel self-checking and low in efficiency, so that a diesel oil unloading standard detection method needs to be designed, the diesel oil loading and unloading process is monitored in real time, and the safety is ensured.
Disclosure of Invention
Based on the problems, the invention provides a diesel unloading standard detection method, a diesel unloading standard detection device, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present invention provides a diesel unloading specification detection method, including:
after the tank truck enters a diesel loading and unloading monitoring area for stopping, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes or not by using a trained clothes detection model through an edge camera carrying an intelligent algorithm;
when the determined result is that the worker in the diesel loading and unloading monitoring area wears the electrostatic work clothes, and the worker enters the electrostatic grounding wire scene of the tank truck, the position information of the worker is obtained;
determining a distance score of a wiring rectangular area of the electrostatic grounding wire of the tank truck between the worker and a predetermined working personnel according to the position information of the worker;
determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value;
when the determined result is that the staff enters the electrostatic grounding wire area of the tank truck, acquiring body key point information and position information of the staff;
setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number;
determining a wiring behavior score according to the wrist movement score, the trunk movement score and the movement trend score;
determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value;
and determining whether the diesel unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire.
Further, in the diesel oil unloading standard detection method, the distance score between the worker and the predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck is determined according to the position information of the worker, and is determined according to the following formula:
wherein,representing a predetermined rectangular area for wiring the static grounding wire of the tank truck,representing the left vertex coordinates of the rectangular region,indicating the width of the rectangular area,indicating the height of the rectangular area,the position information of the staff is represented, and i represents the serial number of the video frame of the camera.
Further, in the diesel unloading standard detection method, a set frame number is set, and a wrist movement score is determined according to body key point information and position information of an image in the frame number, including:
setting the number of framesAcquiring video of a camera from the ith frame to the ith frameFrame continuationFrame image according toThe body keypoint information and the position information of the frame image determine the wrist movement score by the following formula:
wherein,to prevent the divisor from being 0 there being a correction constant,the wrist movement score is represented as,the wrist displacement score is indicated,a set second judgment threshold value is indicated,a third judgment threshold value is indicated to be set,a displacement diagnostic score is represented and is used to determine,the wrist traversing score is indicated,representing the coordinates of the wrist,the position information of the staff is represented, and i represents the serial number of the video frame of the camera.
Further, in the diesel unloading standard detection method, the frame number is setDetermining torso from body keypoint information for images within a frame numberA movement score, comprising:
setting the number of framesAcquiring video of a camera from the ith frame to the ith frameFrame continuationFrame image according toThe body keypoint information of the frame image determines the torso movement score by the following formula:
wherein,the torso movement score is represented and,a fourth judgment threshold value is indicated to be set,a fifth judgment threshold value is indicated to be set,a torso diagnostic score is represented,representing the neck coordinates of the staff member,the waist coordinate of the worker is represented, and i represents the serial number of the video frame of the camera.
Further, in the diesel unloading standard detection method, the frame number is set, and the movement trend score is determined according to the body key point information of the image in the frame number by the following formula:
setting the number of framesAcquiring video of a camera from the ith frame to the ith frameFrame continuationFrame image according toThe body keypoint information of the frame image determines the movement trend score by the following formula:
wherein,a set sixth judgment threshold value is indicated,a trend diagnostic score is represented and is displayed,a movement tendency score is indicated and,representing the neck coordinates of the staff member,the waist coordinate of the worker is represented, and i represents the serial number of the video frame of the camera.
Further, in the diesel unloading standard detection method, the wiring behavior score is determined according to the wrist movement score, the trunk movement score and the movement trend score by the following formula:
wherein,the wrist movement score is represented as,the torso movement score is represented and,a movement tendency score is indicated and,representing a wiring behavior score;
determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value, including:
when the wiring behavior score is larger than a seventh judgment threshold value, determining that the working personnel completes the work of the electrostatic grounding wire;
and when the wiring behavior score is smaller than or equal to a seventh judgment threshold value, determining that the working personnel do not work on the electrostatic grounding wire.
Further, the diesel oil unloading standard detection method further comprises the following steps:
when the situation that a worker enters the electrostatic grounding wire scene of the tank truck is monitored, the continuous operation is startedWhen frame staff does not work the electrostatic grounding wire, judging that diesel oil unloading of the staff is not standard;
and sending the early warning information to a management department.
In a second aspect, an embodiment of the present invention further provides a diesel unloading specification detection device, including:
a first determination module: after the tank truck enters the diesel loading and unloading monitoring area and is stopped, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes or not by using a trained clothes detection model through an edge camera carrying an intelligent algorithm;
a first acquisition module: the method comprises the steps that when a determined result is that a worker in a diesel loading and unloading monitoring area wears electrostatic work clothes, and the worker enters an electrostatic grounding wire scene of the tank truck, position information of the worker is obtained;
a second determination module: the distance score of the working personnel and a predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck is determined according to the position information of the working personnel;
and a third determination module: the device is used for determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value;
and a second acquisition module: the method comprises the steps that when a determination result is that a worker enters an electrostatic grounding wire area of the tank truck, body key point information and position information of the worker are obtained;
a fourth determination module: the method comprises the steps of setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number;
a fifth determination module: determining a wiring behavior score from the wrist movement score, the torso movement score, and the movement trend score;
a sixth determination module: the working method comprises the steps of determining whether a worker completes the work of the electrostatic grounding wire according to the wiring behavior score and a seventh judgment threshold;
seventh determination module: and the diesel oil unloading device is used for determining whether the diesel oil unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the diesel oil unloading standard detection method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a determining machine-readable storage medium storing a program or instructions that cause a determining machine to execute a diesel discharge specification detection method as described in any one of the above.
The embodiment of the invention has the advantages that: according to the invention, after the tank truck enters a diesel loading and unloading monitoring area for parking, whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes is determined by using a trained clothing detection model through an edge camera carrying an intelligent algorithm; when the determined result is that the worker in the diesel loading and unloading monitoring area wears the electrostatic work clothes, and the worker enters the electrostatic grounding wire scene of the tank truck, the position information of the worker is obtained; determining a distance score of a wiring rectangular area of the electrostatic grounding wire of the tank truck, which is determined in advance, of the worker according to the position information of the worker; determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value; when the determined result is that the staff enters the electrostatic grounding wire area of the tank truck, acquiring body key point information and position information of the staff; setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number; determining a wiring behavior score according to the wrist movement score, the trunk movement score and the movement trend score; determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value; and determining whether the diesel unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire. The method helps the staff to efficiently and accurately determine whether the diesel unloading is standard in real time, improves the efficiency of standard detection of the diesel unloading, and reduces the possibility of accidents.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments or the conventional techniques of the present invention, the drawings required for the descriptions of the embodiments or the conventional techniques will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a schematic diagram of a diesel unloading specification detection method provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of a diesel unloading specification detection device provided by an embodiment of the invention;
fig. 3 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to the appended drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be embodied in many other forms than described herein without departing from the spirit or essential characteristics thereof and, therefore, the invention is not limited by the specific embodiments disclosed herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Fig. 1 is a schematic diagram of a diesel unloading standard detection method provided by an embodiment of the invention.
In a first aspect, an embodiment of the present invention provides a diesel unloading specification detection method, with reference to fig. 1, including steps S101 to S109:
s101: after the tank truck enters the diesel loading and unloading monitoring area to stop, whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes is determined by using a trained clothes detection model through an edge camera carrying an intelligent algorithm.
Specifically, in the embodiment of the invention, the trained clothing detection model is obtained by collecting images of staff and marking whether to wear electrostatic work clothes, and then training the marked images by using a training model based on YOLOv 4.
S102: when the determined result is that the staff in the diesel loading and unloading monitoring area wears the electrostatic work clothes and the staff enters the electrostatic grounding wire scene of the tank truck, the position information of the staff is obtained.
Specifically, in the embodiment of the invention, when the determined result is that the staff in the diesel loading and unloading monitoring area wears the electrostatic work clothes and enters the electrostatic grounding wire scene of the tank truck, the position information of the staff is obtainedWhere i is the sequence number of the video frame.
S103: and determining the distance score of the working personnel and a predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck according to the position information of the working personnel.
Specifically, in the embodiment of the invention, a method for determining the distance score between a worker and a predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck according to the position information of the worker is described in detail below.
S104: and determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value.
Specifically, in the embodiment of the present invention, when the distance score of the staff is smaller than the first judgment thresholdWhen the working personnel enter the electrostatic grounding wire area of the tank truck, a first judgment threshold value is determinedThe size of the (C) is flexibly set according to actual conditions.
S105: and when the determined result is that the staff enters the electrostatic grounding wire area of the tank truck, acquiring body key point information and position information of the staff.
Specifically, in the embodiment of the invention, after the determination result is that the staff enters the electrostatic grounding wire area of the tank truck, body key point information and position information of the staff are obtained, wherein the body key point information comprises: neck coordinateWrist coordinatesWaist coordinates
S106: setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of images in the frame number.
Specifically, in the embodiment of the present invention, the number of frames is set, the wrist movement score is determined according to the body key point information and the position information of the images in the number of frames, and the torso movement score and the movement trend score are determined according to the body key point information of the images in the number of frames.
S107: the wiring behavior score is determined from the wrist movement score, the torso movement score, and the movement trend score.
Specifically, in the embodiment of the present invention, a method for determining a wiring behavior score according to a wrist movement score, a trunk movement score and a movement tendency score is described in detail below.
S108: and determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value.
Specifically, in the embodiment of the present invention, a method for determining whether the worker completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold is described in detail below.
S109: and determining whether the diesel unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire.
Specifically, in the embodiment of the invention, when the working personnel completes the work of the electrostatic grounding wire, the diesel unloading standard is determined, and when the working personnel does not do the work of the electrostatic grounding wire, the diesel unloading is determined to be not standard.
Further, in the diesel oil unloading standard detection method, the distance score between the worker and the predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck is determined according to the position information of the worker, and is determined according to the following formula:
wherein,representing a predetermined rectangular area for wiring the static grounding wire of the tank truck,representing the left vertex coordinates of the rectangular region,indicating the width of the rectangular area,indicating the height of the rectangular area,the position information of the staff is represented, and i represents the serial number of the video frame of the camera.
Further, in the diesel unloading standard detection method, a set frame number is set, and a wrist movement score is determined according to body key point information and position information of an image in the frame number, including:
setting the number of framesAcquiring video of a camera from the ith frame to the ith frameFrame continuationFrame image according toThe body keypoint information and the position information of the frame image determine the wrist movement score by the following formula:
wherein,to prevent the divisor from being 0 there being a correction constant,the wrist movement score is represented as,the wrist displacement score is indicated,a set second judgment threshold value is indicated,a third judgment threshold value is indicated to be set,a displacement diagnostic score is represented and is used to determine,the wrist traversing score is indicated,representing the coordinates of the wrist,the position information of the staff is represented, and i represents the serial number of the video frame of the camera.
Specifically, in the embodiment of the present invention, the size of the second judgment threshold is flexibly set according to the actual situation.
Further, in the diesel unloading standard detection method, the frame number is setDetermining a torso movement score from body keypoint information of the image within the frame number, comprising:
setting the number of framesAcquiring video of a camera from the ith frame to the ith frameFrame continuationFrame image according toThe body keypoint information of the frame image determines the torso movement score by the following formula:
wherein,indicating that the trunk is movingThe components are divided into a plurality of groups,a fourth judgment threshold value is indicated to be set,a fifth judgment threshold value is indicated to be set,a torso diagnostic score is represented,representing the neck coordinates of the staff member,the waist coordinate of the worker is represented, and i represents the serial number of the video frame of the camera.
Specifically, in the embodiment of the present invention, the fourth judgment threshold valueFifth judgment thresholdThe size of the (C) is flexibly set according to actual conditions.
Further, in the diesel unloading standard detection method, the frame number is set, and the movement trend score is determined according to the body key point information of the image in the frame number by the following formula:
setting the number of framesAcquiring video of a camera from the ith frame to the ith frameFrame continuationFrame image according toThe body key point information of the frame image is used for determining the movement trend score by the following formulaThe formula is defined as:
wherein,a set sixth judgment threshold value is indicated,a trend diagnostic score is represented and is displayed,a movement tendency score is indicated and,representing the neck coordinates of the staff member,the waist coordinate of the worker is represented, and i represents the serial number of the video frame of the camera.
Specifically, in the embodiment of the present invention, the sixth judgment threshold valueThe size of the (C) is flexibly set according to actual conditions.
Further, in the diesel unloading standard detection method, the wiring behavior score is determined according to the wrist movement score, the trunk movement score and the movement trend score by the following formula:
wherein,the wrist movement score is represented as,the torso movement score is represented and,a movement tendency score is indicated and,representing a wiring behavior score;
determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value, including:
when the wiring behavior score is larger than a seventh judgment threshold value, determining that the working personnel completes the work of the electrostatic grounding wire;
and when the wiring behavior score is smaller than or equal to a seventh judgment threshold value, determining that the working personnel do not work on the electrostatic grounding wire.
Specifically, in the embodiment of the present invention, the seventh judgment threshold valueThe size of the (C) is flexibly set according to actual conditions.
Further, the diesel oil unloading standard detection method further comprises the following steps:
when the situation that a worker enters the electrostatic grounding wire scene of the tank truck is monitored, the continuous operation is startedWhen frame staff does not work the electrostatic grounding wire, judging that diesel oil unloading of the staff is not standard;
and sending the early warning information to a management department.
Specifically, in the embodiment of the invention, when the abnormal diesel unloading of the staff is detected, the early warning information is sent to the management department, so that the management department can take measures to monitor the diesel unloading specification in time, and the safety is ensured.
Fig. 2 is a schematic diagram of a diesel unloading standard detection device provided by an embodiment of the invention.
In a second aspect, an embodiment of the present invention further provides a diesel unloading specification detection device, with reference to fig. 2, including:
the first determination module 201: after the tank truck enters the diesel loading and unloading monitoring area and is stopped, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes or not by using a trained clothes detection model through an edge camera carrying an intelligent algorithm;
the first acquisition module 202: the method comprises the steps that when a determined result is that a worker in a diesel loading and unloading monitoring area wears electrostatic work clothes, and the worker enters an electrostatic grounding wire scene of the tank truck, position information of the worker is obtained;
the second determination module 203: the distance score of the working personnel and a predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck is determined according to the position information of the working personnel;
the third determination module 204: the device is used for determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value;
the second acquisition module 205: the method comprises the steps that when a determination result is that a worker enters an electrostatic grounding wire area of the tank truck, body key point information and position information of the worker are obtained;
a fourth determination module 206: the method comprises the steps of setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number;
a fifth determination module 207: determining a wiring behavior score from the wrist movement score, the torso movement score, and the movement trend score;
a sixth determination module 208: the working method comprises the steps of determining whether a worker completes the work of the electrostatic grounding wire according to the wiring behavior score and a seventh judgment threshold;
seventh determination module 209: and the diesel oil unloading device is used for determining whether the diesel oil unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the diesel oil unloading standard detection method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a determining machine-readable storage medium storing a program or instructions that cause a determining machine to execute a diesel discharge specification detection method as described in any one of the above.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the diesel oil unloading standard detection method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a determining machine-readable storage medium storing a program or instructions that cause a determining machine to execute a diesel discharge specification detection method as described in any one of the above.
Fig. 3 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
As shown in fig. 3, the electronic device includes: at least one processor 301, at least one memory 302, and at least one communication interface 303. The various components in the electronic device are coupled together by a bus system 304. A communication interface 303 for information transfer with an external device. It is understood that bus system 304 is used to enable connected communications between these components. The bus system 304 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled in fig. 3 as bus system 304 for clarity of illustration.
It is to be understood that the memory 302 in this embodiment may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory.
In some implementations, the memory 302 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.
The operating system includes various system programs, such as a framework layer, a core library layer, a driving layer, and the like, and is used for realizing various basic services and processing hardware-based tasks. Applications, including various applications such as Media Player (Media Player), browser (Browser), etc., are used to implement various application services. The program for implementing any one of the diesel unloading specification detection methods provided by the embodiment of the invention can be contained in the application program.
In the embodiment of the present invention, the processor 301 is configured to execute the steps of each embodiment of the diesel unloading specification detection method provided by the embodiment of the present invention by calling a program or an instruction stored in the memory 302, specifically, a program or an instruction stored in an application program.
After the tank truck enters a diesel loading and unloading monitoring area for stopping, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes or not by using a trained clothes detection model through an edge camera carrying an intelligent algorithm;
when the determined result is that the worker in the diesel loading and unloading monitoring area wears the electrostatic work clothes, and the worker enters the electrostatic grounding wire scene of the tank truck, the position information of the worker is obtained;
determining a distance score of a wiring rectangular area of the electrostatic grounding wire of the tank truck between the worker and a predetermined working personnel according to the position information of the worker;
determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value;
when the determined result is that the staff enters the electrostatic grounding wire area of the tank truck, acquiring body key point information and position information of the staff;
setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number;
determining a wiring behavior score according to the wrist movement score, the trunk movement score and the movement trend score;
determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value;
and determining whether the diesel unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire.
Any one of the methods for detecting the diesel unloading specification provided by the embodiment of the invention can be applied to the processor 301 or realized by the processor 301. The processor 301 may be an integrated circuit chip with signal capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 301 or instructions in the form of software. The processor 301 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of any method in the diesel unloading standard detection method provided by the embodiment of the invention can be directly embodied as the execution completion of the hardware decoding processor or the combined execution completion of the hardware and software units in the decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 302, and the processor 301 reads the information in the memory 302, and combines the hardware to complete the steps of the diesel unloading standard detection method.
Those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Those skilled in the art will appreciate that the descriptions of the various embodiments are each focused on, and that portions of one embodiment that are not described in detail may be referred to as related descriptions of other embodiments.
The present invention is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and these modifications and substitutions are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (7)

1. The diesel oil unloading standard detection method is characterized by comprising the following steps of:
after the tank truck enters a diesel loading and unloading monitoring area for stopping, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes or not by using a trained clothes detection model through an edge camera carrying an intelligent algorithm;
when the determined result is that the worker in the diesel loading and unloading monitoring area wears the electrostatic work clothes, and the worker enters the electrostatic grounding wire scene of the tank truck, the position information of the worker is obtained;
determining a distance score of a wiring rectangular area of the electrostatic grounding wire of the tank truck between the worker and a predetermined working personnel according to the position information of the worker;
determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value;
when the determined result is that the staff enters the electrostatic grounding wire area of the tank truck, acquiring body key point information and position information of the staff;
setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number;
determining a wiring behavior score from the wrist movement score, the torso movement score, and the movement trend score;
determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value;
determining whether the diesel unloading is standard according to whether the working personnel completes the work of the electrostatic grounding wire;
setting a frame number, determining a wrist movement score according to body key information and position information of an image in the frame number, comprising:
setting the number of framesAcquiring video of a camera from the ith frame to the (th)>Frame consecutive->Frame image according to->The body keypoint information and the position information of the frame image determine the wrist movement score by the following formula:
;
;
;
;
wherein,there is a correction constant to prevent divisor 0, < >>Indicating wrist movement score,/->Indicating wrist displacement score>Representing a second decision threshold value set, +.>Represents a third decision threshold value set, +.>Representing displacement diagnostic score,/->Indicating wrist traversing score, & lt + & gt>Representing the coordinates of the wrist,the position information of the staff is represented, i represents the serial number of the video frame of the camera;
setting the number of framesDetermining a torso movement score from body keypoint information of the image within the frame number, comprising:
setting the number of framesAcquiring video of a camera from the ith frame to the (th)>Frame consecutive->Frame image according to->The body keypoint information of the frame image determines the torso movement score by the following formula:
;
;
wherein,representing torso movement score,/->Represents a fourth decision threshold value set, +.>Represents a fifth judgment threshold value of the setting, +.>Representing torso diagnostic score,/->Representing the neck coordinates of the staff, +.>The waist coordinate of a worker is represented, and i represents the serial number of a video frame of a camera;
setting a frame number, and determining a movement tendency score according to body key point information of images in the frame number is determined by the following formula:
setting the number of framesAcquiring video of a camera from the ith frame to the (th)>Frame consecutive->Frame image according to->The body keypoint information of the frame image determines the movement trend score by the following formula:
;
;
wherein,represents a sixth judgment threshold value of the setting, +.>Representing trend diagnostic score,/->Representing movement trend score, ++>Representing the neck coordinates of the staff, +.>The waist coordinate of the worker is represented, and i represents the serial number of the video frame of the camera.
2. The diesel oil unloading standard detection method according to claim 1, wherein the distance score between the worker and the predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck is determined according to the position information of the worker by the following formula:
;
wherein,representing a predetermined rectangular area for wiring the static grounding wire of the tank truck,left vertex coordinates representing rectangular area, +.>Representing the width of the rectangular area>Indicating the height of the rectangular area,the position information of the staff is represented, and i represents the serial number of the video frame of the camera.
3. The diesel discharge specification detection method according to claim 1, wherein the determining the wiring behavior score according to the wrist movement score, the trunk movement score, and the movement tendency score is determined by the following formula:
;
wherein,indicating wrist movement score,/->Representing torso movement score,/->Representing movement trend score, ++>Representing a wiring behavior score;
the step of determining whether the working personnel completes the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value comprises the following steps:
when the wiring behavior score is larger than the seventh judgment threshold value, determining that the working personnel completes the work of the electrostatic grounding wire;
and when the wiring behavior score is smaller than or equal to the seventh judgment threshold value, determining that the working personnel do not work on the electrostatic grounding wire.
4. The diesel discharge specification detection method according to claim 1, further comprising:
when the situation that the staff enters the electrostatic grounding wire scene of the tank truck is monitored, the continuous operation is startedWhen frame staff does not work the electrostatic grounding wire, judging that diesel oil unloading of the staff is not standard;
and sending the early warning information to a management department.
5. The utility model provides a diesel oil standard detection device that unloads which characterized in that includes:
a first determination module: after the tank truck enters the diesel loading and unloading monitoring area and is stopped, determining whether a worker in the diesel loading and unloading monitoring area wears electrostatic work clothes or not by using a trained clothes detection model through an edge camera carrying an intelligent algorithm;
a first acquisition module: the method comprises the steps that when a determined result is that a worker in a diesel loading and unloading monitoring area wears electrostatic work clothes, and the worker enters an electrostatic grounding wire scene of the tank truck, position information of the worker is obtained;
a second determination module: the distance score of the working personnel and a predetermined wiring rectangular area of the electrostatic grounding wire of the tank truck is determined according to the position information of the working personnel;
and a third determination module: the device is used for determining whether a worker enters an electrostatic grounding wire area of the tank truck according to the distance score and the first judgment threshold value;
and a second acquisition module: the method comprises the steps that when a determination result is that a worker enters an electrostatic grounding wire area of the tank truck, body key point information and position information of the worker are obtained;
a fourth determination module: the method comprises the steps of setting a frame number, determining a wrist movement score according to body key point information and position information of images in the frame number, and determining a trunk movement score and a movement trend score according to body key point information of the images in the frame number;
a fifth determination module: determining a wiring behavior score from the wrist movement score, the torso movement score, and the movement trend score;
a sixth determination module: the working personnel are used for determining whether the working personnel finish the work of the electrostatic grounding wire according to the wiring behavior score and the seventh judgment threshold value;
seventh determination module: the diesel oil unloading device is used for determining whether diesel oil unloading is standard according to whether working personnel complete the work of the electrostatic grounding wire or not;
setting a frame number, determining a wrist movement score according to body key information and position information of an image in the frame number, comprising:
setting the number of framesAcquiring video of a camera from the ith frame to the (th)>Frame consecutive->Frame image according to->The body keypoint information and the position information of the frame image determine the wrist movement score by the following formula:
;
;
;
;
wherein,there is a correction constant to prevent divisor 0, < >>Indicating wrist movement score,/->Indicating wrist displacement score>Representing a second decision threshold value set, +.>Represents a third decision threshold value set, +.>Representing displacement diagnostic score,/->Indicating wrist traversing score, & lt + & gt>Representing the coordinates of the wrist,the position information of the staff is represented, i represents the serial number of the video frame of the camera;
setting the number of framesDetermining a torso movement score from body keypoint information of the image within the frame number, comprising:
setting the number of framesAcquiring video of a camera from the ith frame to the (th)>Frame consecutive->Frame image according to->The body keypoint information of the frame image determines the torso movement score by the following formula:
;
;
wherein,representing torso movement score,/->Represents a fourth decision threshold value set, +.>Represents a fifth judgment threshold value of the setting, +.>Representing torso diagnostic score,/->Representing the neck coordinates of the staff, +.>The waist coordinate of a worker is represented, and i represents the serial number of a video frame of a camera;
setting a frame number, and determining a movement tendency score according to body key point information of images in the frame number is determined by the following formula:
setting the number of framesAcquiring video of a camera from the ith frame to the (th)>Frame consecutive->Frame image according to->The body keypoint information of the frame image determines the movement trend score by the following formula:
;
;
wherein,represents a sixth judgment threshold value of the setting, +.>Representing trend diagnostic score,/->Representing movement trend score, ++>Representing the neck coordinates of the staff, +.>The waist coordinate of the worker is represented, and i represents the serial number of the video frame of the camera.
6. An electronic device, comprising: a processor and a memory;
the processor is used for executing the diesel oil unloading standard detection method according to any one of claims 1 to 4 by calling a program or instructions stored in the memory.
7. A determination machine-readable storage medium storing a program or instructions that cause a determination machine to execute a diesel discharge specification detection method according to any one of claims 1 to 4.
CN202311498991.6A 2023-11-13 2023-11-13 Diesel oil unloading standard detection method and device, electronic equipment and storage medium Active CN117237880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311498991.6A CN117237880B (en) 2023-11-13 2023-11-13 Diesel oil unloading standard detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311498991.6A CN117237880B (en) 2023-11-13 2023-11-13 Diesel oil unloading standard detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117237880A CN117237880A (en) 2023-12-15
CN117237880B true CN117237880B (en) 2024-02-09

Family

ID=89093191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311498991.6A Active CN117237880B (en) 2023-11-13 2023-11-13 Diesel oil unloading standard detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117237880B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10839203B1 (en) * 2016-12-27 2020-11-17 Amazon Technologies, Inc. Recognizing and tracking poses using digital imagery captured from multiple fields of view
CN113633281A (en) * 2021-08-25 2021-11-12 北京航空航天大学 Method and system for evaluating human body posture in assembly and maintenance process
CN114373157A (en) * 2022-03-21 2022-04-19 蔚来汽车科技(安徽)有限公司 Safety monitoring method, device and medium for power swapping station and power swapping station
CN114783040A (en) * 2022-06-23 2022-07-22 东莞先知大数据有限公司 Detection method and detection device for candid shooting in building
CN115043285A (en) * 2022-06-08 2022-09-13 东莞先知大数据有限公司 Method, electronic device and storage medium for determining illegal operation of elevator by child
CN115272974A (en) * 2022-08-03 2022-11-01 韩红艳 Oil discharge danger supervision method and device, monitoring terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10839203B1 (en) * 2016-12-27 2020-11-17 Amazon Technologies, Inc. Recognizing and tracking poses using digital imagery captured from multiple fields of view
CN113633281A (en) * 2021-08-25 2021-11-12 北京航空航天大学 Method and system for evaluating human body posture in assembly and maintenance process
CN114373157A (en) * 2022-03-21 2022-04-19 蔚来汽车科技(安徽)有限公司 Safety monitoring method, device and medium for power swapping station and power swapping station
CN115043285A (en) * 2022-06-08 2022-09-13 东莞先知大数据有限公司 Method, electronic device and storage medium for determining illegal operation of elevator by child
CN114783040A (en) * 2022-06-23 2022-07-22 东莞先知大数据有限公司 Detection method and detection device for candid shooting in building
CN115272974A (en) * 2022-08-03 2022-11-01 韩红艳 Oil discharge danger supervision method and device, monitoring terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
铁路装卸作业防护信号装置安全监控管理的实践;金卫东;;铁道货运;第35卷(第3期);第31-34、49页 *

Also Published As

Publication number Publication date
CN117237880A (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN115043285B (en) Method for determining a child&#39;s illegal operation of an elevator, electronic device and storage medium
CN110855976A (en) Camera abnormity detection method and device and terminal equipment
CN115100598A (en) Charging pile abnormal use detection method, electronic equipment and storage medium
CN117237880B (en) Diesel oil unloading standard detection method and device, electronic equipment and storage medium
CN105224403A (en) A kind of interruption processing method and device
CN111428641A (en) Secure dressing detection method and device, computer equipment and readable storage medium
CN109842800B (en) Big data compression coding device
CN107818034B (en) Method and device for monitoring running space of process in computer equipment
CN105955442A (en) Method and device for processing low battery of user terminal
CN116776394A (en) Equipment safety protection method, system, equipment and medium
CN115050125B (en) 2d camera-based safety early warning method, device, equipment and storage medium
CN116259167B (en) Charging pile area high-temperature risk early warning method, device, equipment and medium
CN116052103A (en) Method, device, computer equipment and storage medium for processing monitoring data
CN114758507A (en) Method for processing illegal getting-off of driver at docking station, electronic equipment and storage medium
CN116111731B (en) Distributed energy storage equipment abnormality determination method, device, equipment and medium
CN109919257B (en) Expressway entrance pass card issuing method and device and computer equipment
CN117953662A (en) Method, device, equipment and storage medium for pre-warning drowning of pond shoreside personnel
CN115009074B (en) Charging pile electricity stealing behavior detection method, electronic equipment and storage medium
CN107978168A (en) Driving monitoring method, device and monitoring device
CN110750304B (en) Method for improving task switching efficiency and terminal equipment
CN110826051A (en) Weak password detection method, device, medium and terminal equipment
CN111857501A (en) Information display method and device and storage medium
CN116123465B (en) Pipeline leakage early warning method, electronic equipment and storage medium
CN111832848A (en) Human power distribution method based on computer analysis
CN113011226B (en) Method for detecting shielding of color objects of in-car monitoring picture

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