Suppr超能文献

一种基于YOLOv5s的轻量级小目标火灾检测算法。

A lightweight fire detection algorithm for small targets based on YOLOv5s.

作者信息

Lv Changzhi, Zhou Haiyong, Chen Yu, Fan Di, Di Fangyi

机构信息

National Experimental Teaching Demonstration Center for Electrical Engineering and Electronics, College of Electrical Engineering and Automation, Shandong University of Science and Technology, Qingdao, 266590, Shandong, China.

College of Electrical Engineering and Automation, Shandong University of Science and Technology, Qingdao, Shandong, China.

出版信息

Sci Rep. 2024 Jun 19;14(1):14104. doi: 10.1038/s41598-024-64934-4.

Abstract

In response to the current challenges fire detection algorithms encounter, including low detection accuracy and limited recognition rates for small fire targets in complex environments, we present a lightweight fire detection algorithm based on an improved YOLOv5s. The introduction of the CoT (Contextual Transformer) structure into the backbone neural network, along with the creation of the novel CSP1_CoT (Cross stage partial 1_contextual transformer) module, has effectively reduced the model's parameter count while simultaneously enhancing the feature extraction and fusion capabilities of the backbone network; The network's Neck architecture has been extended by introducing a dedicated detection layer tailored for small targets and incorporating the SE (Squeeze-and-Excitation) attention mechanism. This augmentation, while minimizing parameter proliferation, has significantly bolstered the interaction of multi-feature information, resulting in an enhanced small target detection capability; The substitution of the original loss function with the Focal-EIoU (Focal-Efficient IoU) loss function has yielded a further improvement in the model's convergence speed and precision; The experimental results indicate that the modified model achieves an mAP@.5 of 96% and an accuracy of 94.8%, marking improvements of 8.8% and 8.9%, respectively, over the original model. Furthermore, the model's parameter count has been reduced by 1.1%, resulting in a compact model size of only 14.6MB. Additionally, the detection speed has reached 85 FPS (Frames Per Second), thus satisfying real-time detection requirements. This enhancement in precision and accuracy, while simultaneously meeting real-time and lightweight constraints, effectively caters to the demands of fire detection.

摘要

针对当前火灾检测算法面临的挑战,包括检测精度低以及复杂环境下小火灾目标识别率有限等问题,我们提出了一种基于改进YOLOv5s的轻量级火灾检测算法。将CoT(上下文变换器)结构引入主干神经网络,并创建了新颖的CSP1_CoT(跨阶段局部1_上下文变换器)模块,有效减少了模型参数数量,同时增强了主干网络的特征提取和融合能力;通过引入专为小目标定制的专用检测层并结合SE(挤压与激励)注意力机制,扩展了网络的颈部架构。这种增强在最小化参数增长的同时,显著加强了多特征信息的交互,从而提高了小目标检测能力;用Focal-EIoU(焦点-高效交并比)损失函数替代原损失函数,进一步提高了模型的收敛速度和精度;实验结果表明,改进后的模型mAP@.5达到96%,准确率为94.8%,分别比原模型提高了8.8%和8.9%。此外,模型参数数量减少了1.1%,模型大小仅为14.6MB,十分紧凑。检测速度达到了85 FPS(每秒帧数),满足实时检测要求。这种在精度和准确率方面的提升,同时满足实时性和轻量级的约束,有效满足了火灾检测的需求。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7fa4/11189544/8d7570e3f4a0/41598_2024_64934_Fig1_HTML.jpg

文献AI研究员

20分钟写一篇综述,助力文献阅读效率提升50倍。

立即体验

用中文搜PubMed

大模型驱动的PubMed中文搜索引擎

马上搜索

文档翻译

学术文献翻译模型,支持多种主流文档格式。

立即体验