Cargando…
Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5
Accurate monitoring of fire and smoke plays an irreplaceable role in preventing fires and safeguarding the safety of citizens' lives and property. The network structure of YOLOv5 is simple, but using convolution to extract features will lead to some problems such as limited receptive field, poo...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Hindawi
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10656196/ https://www.ncbi.nlm.nih.gov/pubmed/38025495 http://dx.doi.org/10.1155/2022/6081680 |
_version_ | 1785136960089620480 |
---|---|
author | Zhang, Shangjie Ge Zhang, Fengxi Ding, Yuyang Li, Yu |
author_facet | Zhang, Shangjie Ge Zhang, Fengxi Ding, Yuyang Li, Yu |
author_sort | Zhang, Shangjie Ge |
collection | PubMed |
description | Accurate monitoring of fire and smoke plays an irreplaceable role in preventing fires and safeguarding the safety of citizens' lives and property. The network structure of YOLOv5 is simple, but using convolution to extract features will lead to some problems such as limited receptive field, poor feature extraction ability, and insufficient feature integration. In view of the current defects of YOLOv5 target detection algorithm, a new algorithm model named Swin-YOLOv5 was proposed in this work. Swin transformation mechanism was introduced into YOLOv5 network, which enhanced the receptive field and feature extraction ability of the model without changing the depth of the model. In order to enrich the feature map splicing method of weighted Concat and enhance the feature fusion ability of model pairs, the feature splicing method of three output heads of feature fusion layer network was improved. The feature fusion module was further modified, and the weighted feature splicing method was introduced to improve the network feature fusion ability. Experiments showed that, compared with the original algorithm, the rising rate of mAP@0.5 (mean average precision, IoU=0.5) of the improved algorithm was 0.7%, the mAP@0.5:0.95 was increased by 4.5%, and the target detection speed with high accuracy was accelerated by 1.8 FPS (frames per second) under the same experimental dataset. The improved algorithm could more accurately detect the targets that were not detected or detected inaccurately by the original algorithm, which embodied the adaptability of real scene detection and had practical significance. This work provided an opportunity for the application of fire-smoke detection in forest and indoor scenes and also developed a feasible idea for feature extraction and fusion of YOLOv5. |
format | Online Article Text |
id | pubmed-10656196 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Hindawi |
record_format | MEDLINE/PubMed |
spelling | pubmed-106561962022-06-24 Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 Zhang, Shangjie Ge Zhang, Fengxi Ding, Yuyang Li, Yu Comput Intell Neurosci Research Article Accurate monitoring of fire and smoke plays an irreplaceable role in preventing fires and safeguarding the safety of citizens' lives and property. The network structure of YOLOv5 is simple, but using convolution to extract features will lead to some problems such as limited receptive field, poor feature extraction ability, and insufficient feature integration. In view of the current defects of YOLOv5 target detection algorithm, a new algorithm model named Swin-YOLOv5 was proposed in this work. Swin transformation mechanism was introduced into YOLOv5 network, which enhanced the receptive field and feature extraction ability of the model without changing the depth of the model. In order to enrich the feature map splicing method of weighted Concat and enhance the feature fusion ability of model pairs, the feature splicing method of three output heads of feature fusion layer network was improved. The feature fusion module was further modified, and the weighted feature splicing method was introduced to improve the network feature fusion ability. Experiments showed that, compared with the original algorithm, the rising rate of mAP@0.5 (mean average precision, IoU=0.5) of the improved algorithm was 0.7%, the mAP@0.5:0.95 was increased by 4.5%, and the target detection speed with high accuracy was accelerated by 1.8 FPS (frames per second) under the same experimental dataset. The improved algorithm could more accurately detect the targets that were not detected or detected inaccurately by the original algorithm, which embodied the adaptability of real scene detection and had practical significance. This work provided an opportunity for the application of fire-smoke detection in forest and indoor scenes and also developed a feasible idea for feature extraction and fusion of YOLOv5. Hindawi 2022-06-24 /pmc/articles/PMC10656196/ /pubmed/38025495 http://dx.doi.org/10.1155/2022/6081680 Text en Copyright © 2022 Shangjie Ge Zhang et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Article Zhang, Shangjie Ge Zhang, Fengxi Ding, Yuyang Li, Yu Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 |
title | Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 |
title_full | Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 |
title_fullStr | Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 |
title_full_unstemmed | Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 |
title_short | Swin-YOLOv5: Research and Application of Fire and Smoke Detection Algorithm Based on YOLOv5 |
title_sort | swin-yolov5: research and application of fire and smoke detection algorithm based on yolov5 |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10656196/ https://www.ncbi.nlm.nih.gov/pubmed/38025495 http://dx.doi.org/10.1155/2022/6081680 |
work_keys_str_mv | AT zhangshangjiege swinyolov5researchandapplicationoffireandsmokedetectionalgorithmbasedonyolov5 AT zhangfengxi swinyolov5researchandapplicationoffireandsmokedetectionalgorithmbasedonyolov5 AT dingyuyang swinyolov5researchandapplicationoffireandsmokedetectionalgorithmbasedonyolov5 AT liyu swinyolov5researchandapplicationoffireandsmokedetectionalgorithmbasedonyolov5 |