Computer Science ›› 2024, Vol. 51 ›› Issue (11A): 240100051-7.doi: 10.11896/jsjkx.240100051

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

Improved YOLOv5s Algorithm for Detecting Fireworks in Urban Building Environments

YU Yongbo, SUN Zhen, ZHU Lingxi, LI Qingdang   

  1. College of Information Science and Technology,Qingdao University of Science and Technology,Qingdao,Shandong 266061,China
  • Online:2024-11-16 Published:2024-11-13
  • About author:YU Yongbo,born in 2000,postgraduate.His main research interest is computer vision.
    LI Qingdang,born in 1973,professor,Ph.D supervisor.His main research interests include intelligent manufactu-ring systems and equipment,artificial intelligence and big data technology,etc.

Abstract: A smoke and fire detection algorithm based on improved YOLOv5s is proposed to address the issues of low detection accuracy and long time consumption in urban building environments.Firstly,the prior boxes for the fireworks dataset are reclustered using K-means;embed CA(Coordinate Attention) mechanism in the backbone feature extraction network of YOLOv5s to suppress noise interference;drawing inspiration from the Efficient RepGFPN and BiFPN(bidirectional feature pyramid network) ideas in DAMO-YOLO,a novel neck BiGFPN is designed to reconstruct the neck of YOLOv5s and promote multi-scale fusion.In order to effectively utilize the semantic information of feature maps,a lightweight universal upsampling operator CARAFE(content aware reassembly of features) is introduced.In order to reduce the number of parameters and computation caused by model improvement,GhostNet is used to reconstruct the neck of YOLOv5s.Replacing the bounding box regression loss function CIoU with SIoU accelerates the convergence of the model and improves accuracy.Experimental results show that the improved YOLOv5s has fewer parameters and computational complexity,and the mAP50 has increased by 4.6%,which can basically meet the requirements of fireworks detection.

Key words: Pyrotechnic detection, YOLOv5s, CA, BiGFPN, CARAFE, GhostNet, SIoU

CLC Number: 

  • TP391
[1]GIRSHICK R,DONAHUE J,DARRELL T,et al.Rich feature hierarchies for accurate object detection and semantic segmentation[C]//Proceedings of the 2014 IEEE Conference on Compu-ter Vision and Pattern Recognition.2014:580-587.
[2]GIRSHICKR.Fast R-CNN[C]//Proceedings of the 2015 IEEE/CVF International Conference on Computer Vision.2015:1440-1448.
[3]REN S,HE K,GIRSHICK R,et al.Faster R-CNN:towardsreal-time object detection with region proposal networks[J].IEEE Transactions on Pattern Analysis & Machine Intelligence,2017,39(6):1137-1149.
[4]REDMON J,DIVVALA S,GIRSHICK R,et al.You only look once:unified,real-time object detection[C]//Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition.2016:779-788.
[5]REDMON J,FARHADI A.YOLO9000:better,faster,stronger[C]//Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition.2017:651.
[6]REDMON J,FARHADI A.YOLOv3:an incremental improvement[J].arXiv:1804.02767,2018.
[7]BOCHKOVSKIY A,WANG C Y,LIAO H Y M.YOLOv4:optimal speed and accuracy of object detection[J].arXiv:2004.10934,2020.
[8]FRIZZIS,KAABI R,BOUCHOUICHA M,et al.Convolutional neural netword for video fire and smoke deteciton [C]//IECON 2016-42nd Annual Conference of IEEE Industrial Electronics Society.Florence:IECON,2016.877-882.
[9]HOU Y C,WANG H Q,WANG K.Improved multi-scale flamedetection method [J].Chinese Journal of Liquid Crystals and Displays,2021,36(5):751-759.
[10]WU S X,ZHANG L B.Using popular object detection methods for real time forest fire detection[C]//11th International Symposium on Computational Intelligence and Design(ISCID).Hang-zhou,China,Piscataway,NJ:IEEE,2018:280-284.
[11]HUI T,HALIDAN A,DU H.Multi-type flame detection combined with Faster R-CNN[J].Journal of Image and Graphics,2019,24(1):73-83.
[12]WANG Y X,XIAO X L,WANG P F,et al.Improved YOLOv5s small target smoke and fire detection algorithm[J].Computer Engineering and Applications,2023,59(1):72-81.
[13]HOU Q,ZHOU D,FENG J.Coordinate attention for efficientmobile network design[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2021:13713-13722.
[14]XU X,JIANG Y,CHEN W,et al..DAMO-YOLO:A Report on Real-Time Object Detection Design[J].arXiv:2211.15444,2022.
[15]TAN M,PANG R,LE Q V.Efficientdet:Scalable and efficientobject detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2020:10781-10790.
[16]WANG J Q,CHEN K,XU R,et al.CARAFE:contentaware reassembly of features[C]//Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision.2019:3007-3016.
[17]HAN K,WANG Y,TIAN Q,et al.Ghostnet:more featuresfrom cheap operations[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2020:1580-1589.
[18]GEVORGYAN Z.SIoU loss:more powerful learning for bounding box regression[J].arXiv:2205.12740,2022.
[19]ZHENG Z,WANG P,LIU W,et al.Distance- IoU loss:fasterand better learning for bounding box regression[C]// Procee-dings of the AAAI Conference on Artificial Intelligence.2020:12993-13000.
[20]LIU S,QI L,QIN H,et al.Path aggregation network for instance segmentation[C]//Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.2018:8759-8768.
[1] XU Jinlong, GUI Zhonghua, LI Jia'nan, LI Yingying, HAN Lin. FP8 Quantization and Inference Memory Optimization Based on MLIR [J]. Computer Science, 2024, 51(9): 112-120.
[2] LI Yunchen, ZHANG Rui, WANG Jiabao, LI Yang, WANG Ziqi, CHEN Yao. Re-parameterization Enhanced Dual-modal Realtime Object Detection Model [J]. Computer Science, 2024, 51(9): 162-172.
[3] HU Pengfei, WANG Youguo, ZHAI Qiqing, YAN Jun, BAI Quan. Night Vehicle Detection Algorithm Based on YOLOv5s and Bistable Stochastic Resonance [J]. Computer Science, 2024, 51(9): 173-181.
[4] NIU Guanglin, LIN Zhen. Survey of Knowledge Graph Representation Learning for Relation Feature Modeling [J]. Computer Science, 2024, 51(9): 182-195.
[5] LIU Qian, BAI Zhihao, CHENG Chunling, GUI Yaocheng. Image-Text Sentiment Classification Model Based on Multi-scale Cross-modal Feature Fusion [J]. Computer Science, 2024, 51(9): 258-264.
[6] LI Zhe, LIU Yiyang, WANG Ke, YANG Jie, LI Yafei, XU Mingliang. Real-time Prediction Model of Carrier Aircraft Landing Trajectory Based on Stagewise Autoencoders and Attention Mechanism [J]. Computer Science, 2024, 51(9): 273-282.
[7] LIU Yi, QI Jie. IRRT*-APF Path Planning Algorithm Considering Kinematic Constraints of Unmanned Surface Vehicle [J]. Computer Science, 2024, 51(9): 290-298.
[8] LIU Qilong, LI Bicheng, HUANG Zhiyong. CCSD:Topic-oriented Sarcasm Detection [J]. Computer Science, 2024, 51(9): 310-318.
[9] YAO Yao, YANG Jibin, ZHANG Xiongwei, LI Yihao, SONG Gongkunkun. CLU-Net Speech Enhancement Network for Radio Communication [J]. Computer Science, 2024, 51(9): 338-345.
[10] TANG Ying, WANG Baohui. Study on SSL/TLS Encrypted Malicious Traffic Detection Algorithm Based on Graph Neural Networks [J]. Computer Science, 2024, 51(9): 365-370.
[11] LI Yongjun, ZHU Yuefei, BAI Lifang. Enhanced Location K-anonymity Privacy Protection Scheme Based on Geohash [J]. Computer Science, 2024, 51(9): 393-400.
[12] REN Jiadong, LI Shangyang, REN Rong, ZHANG Bing, WANG Qian. Web Access Control Vulnerability Detection Approach Based on Site Maps [J]. Computer Science, 2024, 51(9): 416-424.
[13] LIU Renyu, CHEN Xin, SHANG Honghui, ZHANG Yunquan. Optimization of Atomic Kinetics Monte Carlo Program TensorKMC Based on Machine Learning Atomic Potential Functions [J]. Computer Science, 2024, 51(9): 23-30.
[14] XU He, ZHOU Tao, LI Peng, QIN Fangfang, JI Yimu. LU Parallel Decomposition Optimization Algorithm Based on Kunpeng Processor [J]. Computer Science, 2024, 51(9): 51-58.
[15] TANG Dehong, YANG Hao, WEN Longfei, XU Zhengqiu. Domain Analysis Based Approach to Obtain Identical Results on Varying Number of Processors for Structural Linear Static Software [J]. Computer Science, 2024, 51(9): 87-95.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!