CN113920417A - Open fire detection method based on Gauss YOLOv3 - Google Patents
Open fire detection method based on Gauss YOLOv3 Download PDFInfo
- Publication number
- CN113920417A CN113920417A CN202111188172.2A CN202111188172A CN113920417A CN 113920417 A CN113920417 A CN 113920417A CN 202111188172 A CN202111188172 A CN 202111188172A CN 113920417 A CN113920417 A CN 113920417A
- Authority
- CN
- China
- Prior art keywords
- open fire
- transformer substation
- image
- yolo
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 12
- 238000012360 testing method Methods 0.000 claims abstract description 7
- 238000012545 processing Methods 0.000 claims abstract description 4
- 230000000694 effects Effects 0.000 claims abstract description 3
- 238000012795 verification Methods 0.000 claims abstract description 3
- 230000001629 suppression Effects 0.000 claims description 2
- 239000013598 vector Substances 0.000 claims description 2
- 238000010276 construction Methods 0.000 abstract 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Fire-Detection Mechanisms (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses an open fire detection method based on Gauss YOLO v 3. The method comprises the following steps that a camera collects a field image of the transformer substation containing open fire; performing marking processing by using the bounding box to establish an image data set; detecting and positioning open fire in the transformer substation field image through the modified Gauss YOLO v3 model after the image is zoomed to obtain a detection model, and testing the effect of the model by using a verification set; and inputting the transformer substation field image acquired in real time, and processing the transformer substation field image through a detection model to obtain the position coordinates of the open fire. The method solves the problem of uncertainty estimation of the open fire detection frame, and the identification result of the transformer substation site shows that the identification method has higher accuracy and can be applied to an identification system for open fire detection in the transformer substation construction site.
Description
Technical Field
The invention relates to a method for detecting open fire of a transformer substation, in particular to an open fire detection method based on Gauss YOLO v 3.
Background
With the large-scale development of electric power systems in China, the number of substations is increased rapidly, and the number of 35 kilovolt substations reaches more than 25000. However, the number of people in the transformer substation in China is less than 3, and the serious shortage is up to more than 78%. Therefore, fire safety accidents caused by high temperature of equipment occur, and the problems of increased fire safety risk of the transformer substation, insufficient human resources, insufficient refinement and the like are urgently needed to be solved, so that the research and development of an automatic naked fire detection and identification method are urgently needed to reduce the safety risk.
Disclosure of Invention
In order to solve the problems in the background art, the invention provides an open fire detection method based on Gauss YOLO v3, which can efficiently identify the open fire of a transformer substation and has good stability.
The technical scheme of the invention comprises the following steps:
1) shooting and collecting a transformer substation field image containing open fire through a camera (as shown in figure 1);
2) traversing all the site images of the transformer substation, marking each image by using a bounding box aiming at open fire in the image to obtain a corresponding label file, and enabling the label file and the original site image of the transformer substation to jointly form an image data set;
3) carrying out image scaling on a transformer substation field image in an image data set, adjusting the image size to be 416 x 416, carrying out same-scale scaling on a corresponding label file, detecting and positioning naked fire in the transformer substation field image through a modified YOLO v3 model to obtain a detection model, and finally testing the model effect by using a verification set;
4) and (3) zooming the live images of the transformer substation acquired in real time into 416 x 416 according to the same image zooming method as the step 3), and obtaining the position coordinates of the open fire through the processing of the detection model as the input of the detection model.
The field image of the transformer substation in the step 1) refers to an image acquired by a camera in the transformer substation.
The bounding boxes in the step 2) are rectangular boxes, are expressed into 1 × 4 row vectors, and include horizontal and vertical coordinates corresponding to the upper left corner and the lower right corner of the rectangular boxes, the horizontal and vertical coordinates of the bounding boxes are recorded in a label file, each bounding box corresponds to one label file, and each substation field image only contains one bounding box at most.
In the step 3), the regression of the coordinate frame in the modified YOLO v3 model is implemented by gaussian modeling, so that a gaussian YOLO v3 model is formed, and for each coordinate of the regression frame, the regression value includes a mean value and a variance, the mean value reflects the mean value of the frame coordinates, and the variance reflects the uncertainty of the mean value.
And finally, normalizing the variance of the output of the detection model to be between 0 and 1 through a sigmoid function.
In the detection model, in the non-maximum suppression operation, the score of the detection frame is the product of the category score and the average variance of the four-side frame of the detection frame.
According to the method, YOLO v3 is modified, the traditional Dirac modeling is replaced by Gaussian modeling in the coordinate regression process, so that the uncertainty of the detection frame is obtained, and the final frame is screened by combining the uncertainty of the position of the detection frame and the category confidence coefficient. For open fire detection, firstly, the size of a picture to be detected is adjusted to 416 x 416, the picture is input into Gauss YOLO v3, and an open fire detection frame is obtained through output.
The invention has the beneficial effects that:
the method solves the problem of substation open fire detection, and the identification result based on the substation scene shows that the accuracy of the identification method reaches 89.4%, is 8.63% higher than that of the original yolov3, can be applied to an identification system of substation open fire detection, and has universality for identification of other objects.
Drawings
Fig. 1 is an example data sample picture.
FIG. 2 is an example of an embodiment image dataset.
FIG. 3 is a sample image data set of the scaled embodiment.
FIG. 4 is a diagram showing the results of the detection model according to the embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the embodiments.
The examples of the invention are as follows:
firstly, a camera is used for shooting and collecting a field image of a substation containing an open fire, as shown in fig. 1, 5311 images are collected in the embodiment, the size of an original image is 1920 × 1080 pixels, 4246 images are used for training, and 1065 images are used as test images;
traversing all substation field images containing open fires, marking each image by using a bounding box aiming at the open fire in the image to obtain a corresponding label file, and forming an image data set by the label file and the original substation field image together as shown in fig. 2;
performing image scaling on a site image of a transformer substation in an image data set, adjusting the size of the image to 416 × 416, and scaling a corresponding label file in the same scale as that of the site image, as shown in fig. 3;
the modified YOLO v3 model was trained with an image dataset to obtain a detection model.
And (5) outputting the test set picture to a model, and detecting and positioning the open fire in the test set picture to obtain a detection result, as shown in fig. 4.
The detection model trained by the invention is adopted to detect the pictures of the field test set of the transformer substation, and the obtained results are shown in table 1. As can be seen from table 1, the average accuracy of open flame identification was 89.4%, which is an 8.63% improvement over the original yolov 3.
TABLE 1
YOLOv3 | 82.73% |
Gauss YOLOv3 | 91.36% |
Therefore, the method can realize automatic identification of the open fire of the transformer substation, has high accuracy, and has the advantages of good stability, strong anti-interference capability, high universality and the like.
The foregoing detailed description is intended to illustrate and not limit the invention, which is intended to be within the spirit and scope of the appended claims, and any changes and modifications that fall within the true spirit and scope of the invention are intended to be covered by the following claims.
Claims (6)
1. An open fire detection method based on Gauss YOLO v3 is characterized by comprising the following steps:
1) shooting and collecting a transformer substation field image containing open fire through a camera;
2) traversing all the site images of the transformer substation, marking each image by using a bounding box aiming at open fire in the image to obtain a corresponding label file, and enabling the label file and the original site image of the transformer substation to jointly form an image data set;
3) carrying out image scaling on a transformer substation field image in an image data set, carrying out same-scale scaling on a corresponding label file, detecting and positioning naked fire in the transformer substation field image through a modified YOLO v3 model to obtain a detection model, and finally testing the effect of the model by using a verification set;
4) and (3) zooming the transformer substation field image acquired in real time according to the same image zooming method as the step 3), and obtaining the position coordinates of the open fire through the processing of the detection model as the input of the detection model.
2. The open fire detection method based on the Gaussian YOLO v3 as claimed in claim 1, wherein: the field image of the transformer substation in the step 1) refers to an image acquired by a camera in the transformer substation.
3. The open fire detection method based on the Gaussian YOLO v3 as claimed in claim 1, wherein: the bounding boxes in the step 2) are rectangular boxes, are expressed into 1 × 4 row vectors, and include horizontal and vertical coordinates corresponding to the upper left corner and the lower right corner of the rectangular boxes, the horizontal and vertical coordinates of the bounding boxes are recorded in a label file, each bounding box corresponds to one label file, and each substation field image only contains one bounding box at most.
4. The open fire detection method based on the Gaussian YOLO v3 as claimed in claim 1, wherein: in the step 3), the coordinate frame regression in the modified YOLO v3 model is gaussian modeled, so that a gaussian YOLO v3 model is formed, and for each coordinate of the regression frame, the regression value includes a mean and a variance.
5. The open fire detection method based on the Gaussian YOLO v3 as claimed in claim 1, wherein: and finally, normalizing the variance of the output of the detection model to be between 0 and 1 through a sigmoid function.
6. The open fire detection method based on the Gaussian YOLO v3 as claimed in claim 1, wherein: in the detection model, in the non-maximum suppression operation, the score of the detection frame is the product of the category score and the average variance of the four-side frame of the detection frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111188172.2A CN113920417A (en) | 2021-10-12 | 2021-10-12 | Open fire detection method based on Gauss YOLOv3 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111188172.2A CN113920417A (en) | 2021-10-12 | 2021-10-12 | Open fire detection method based on Gauss YOLOv3 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113920417A true CN113920417A (en) | 2022-01-11 |
Family
ID=79239648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111188172.2A Pending CN113920417A (en) | 2021-10-12 | 2021-10-12 | Open fire detection method based on Gauss YOLOv3 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113920417A (en) |
-
2021
- 2021-10-12 CN CN202111188172.2A patent/CN113920417A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108009515B (en) | Power transmission line positioning and identifying method of unmanned aerial vehicle aerial image based on FCN | |
CN106022345B (en) | A kind of high voltage isolator state identification method based on Hough forest | |
CN108648169A (en) | The method and device of high voltage power transmission tower defects of insulator automatic identification | |
CN112131936A (en) | Inspection robot image identification method and inspection robot | |
CN106971182A (en) | Embedded electric power relay pressing plate is thrown and moves back state Intelligent Identify device and implementation method | |
CN108010025B (en) | Switch and indicator lamp positioning and state identification method of screen cabinet based on RCNN | |
CN106096603A (en) | A kind of dynamic flame detection method merging multiple features and device | |
CN109670398A (en) | Pig image analysis method and pig image analysis equipment | |
CN112183472A (en) | Method for detecting whether test field personnel wear work clothes or not based on improved RetinaNet | |
CN112508019A (en) | GIS isolation/grounding switch state detection method and system based on image recognition | |
CN107818563A (en) | A kind of transmission line of electricity bundle spacing space measurement and localization method | |
CN108664886A (en) | A kind of fast face recognition method adapting to substation's disengaging monitoring demand | |
CN116129328A (en) | Method, device, equipment and storage medium for detecting carryover | |
CN113177941B (en) | Steel coil edge crack identification method, system, medium and terminal | |
CN114170686A (en) | Elbow bending behavior detection method based on human body key points | |
CN113920535B (en) | Electronic region detection method based on YOLOv5 | |
CN113920417A (en) | Open fire detection method based on Gauss YOLOv3 | |
CN113191336B (en) | Electric power hidden danger identification method and system based on image identification | |
Rong et al. | A joint faster RCNN and stereovision algorithm for vegetation encroachment detection in power line corridors | |
Sun et al. | A real-time video surveillance and state detection approach for elevator cabs | |
CN113569801A (en) | Distribution construction site live equipment and live area identification method and device thereof | |
CN114220084A (en) | Distribution equipment defect identification method based on infrared image | |
Gao et al. | Design and implementation of fire detection system using new model mixing | |
CN105955058A (en) | Wireless intelligent household system | |
CN112487916B (en) | Binocular three-dimensional identification system for electrical equipment |
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 |