| 184 | 31 | 0 |
阅读 |
下载 |
被引 |
针对传统红外热成像甲烷气体泄漏检测中需要先验背景、易受特征相似干扰物影响,以及受实时环境因素影响特征变化较大的问题,文中提出一种基于YOLOv5s与红外热成像的甲烷气体泄露检测方法(GAS⁃YOLOv5s)。首先,使用K⁃means算法对YOLOv5模型的锚框进行预分类优化,根据泄漏点距离和泄漏程度确定锚框大小;其次,引入坐标注意力(CA)机制,提高算法对泄漏点位置附近气体特征提取的效率。实验结果表明,改进的YOLOv5s模型相较于原始模型,精确率(P)、召回率(R)、mAP@0.5和mAP@0.5:0.95分别提高了6.5%、1.9%、4.8%、1.6%,在视频检测集上达到263 f/s的检测速度,满足实时检测要求。证明改进的YOLOv5s算法提升了使用红外热成像甲烷气体泄漏检测的准确率,实现了甲烷气体实时多级分类检测,可以部署到各类检测终端。
Abstract:The traditional infrared thermal imaging methane gas leakage detection needs prior background, and it is vulnerable to characteristically similar substance, and its characteristic change is significant under the influence of real⁃time environmental factors, so a methane gas leakage detection method GAS ⁃ YOLOv5s based on YOLOv5s and infrared thermal imaging is proposed. Firstly, the K⁃means algorithm is used to optimize the pre⁃categorization of YOLOv5 model anchor whose size is determined by shooting distance and leakage rate. Secondly, the coordinate attention (CA) mechanism is introduced to improve the efficiency of gas feature extraction near the leakage point. Experimental results show that the precision, recall rate, mAP@0.5, and mAP@0.5:0.95 of the improved YOLOv5s model is improved by 6.5%, 1.9%, 4.8%, and 1.6%, respectively, in comparison with those of the original model. Its detection speed can reach 263 f/s on infrared video test set, which meets the requirement of real⁃time detection. The results show that the improved YOLOv5s algorithm improves the accuracy rate of infrared thermal imaging methane gas leakage detection, and realizes real⁃time multi⁃level classification detection of methane gas, so it can be deployed at various detection terminals.
[1] HOWARTH R W, SANTORO R, INGRAFFEA A. Methane and the greenhouse ⁃ gas footprint of natural gas from shale formations [J]. Climatic change, 2011, 106(4): 679⁃690.
[2] ZHANG X C, MYHRVOLD N P, HAUSFATHER Z, et al. Climate benefits of natural gas as a bridge fuel and potential
delay of near ⁃zero energy systems [J]. Applied energy, 2016, 167: 317⁃322.
[3] EPA. Understanding global warming potentials [EB/OL]. [2025⁃12⁃29]. https://www.epa.gov/ghgemissions/understanding⁃global⁃warming⁃potentials.
[4] BRANDT A R, HEATH G A, KORT E A, et al. Methane leaks from north American natural gas systems [J]. Science, 2014, 343(6172): 733⁃735.
[5] WANG J F, TCHAPMI L P, RAVIKUMAR A P, et al. Machine vision for natural gas methane emissions detection using an infrared camera [J]. Applied energy, 2020, 257: 113998.
[6] WANG J F, JI J W, RAVIKUMAR A P, et al. VideoGasNet: Deep learning for natural gas methane leak classification using an infrared camera [J]. Energy, 2022, 238: 121516.
[7] 翁静,袁盼,王铭赫,等.基于支持向量机的泄漏气体云团热成像检测方法[J].光学学报,2022,42(9):104⁃111.
[8] KASAI N, TSUCHIYA C, FUKUDA T, et al. Propane gas leak detection by infrared absorption using carbon infrared emitter and infrared camera [J]. NDT & E International: Independent nondestructive testing and evaluation, 2011, 44(1): 57⁃60.
[9] JOCHER G, STOKEN A, BOROVEC J, et al. ultralytics/yolov5:v5.0 ⁃ YOLOv5 ⁃ P6 1280 models, AWS, Supervise. ly and YouTube integrations [EB/OL]. [2021⁃04⁃11]. https://github.com/ultralytics/yolov5/releases/tag/v5.0.
[10] COATES A, NGA Y. Learning feature representations with K ⁃ means [M]// MONTAVON G, ORR G B, MULLER K R.Neural networks: Tricks of the trade. Heidelberg, Germany: Springer, 2012: 561⁃580.
[11] DOSOVITSKIY A, BEYER L, KOLESNIKOV A, et al. An image is worth 16×16 words: Transformers for image recognition at scale [EB/OL]. [2021⁃06⁃03]. https://arxiv.org/abs/2010.11929.
[12] 祁宣豪,智敏.图像处理中注意力机制综述[J].计算机科学与探索,2024,18(2):345⁃362.
[13] HOU Q B, ZHOU D Q, FENG J S. Coordinate attention for efficient mobile network design [C]// Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Nashville, USA: IEEE, 2021: 13713⁃13722.
基本信息:
DOI:10.16652/j.issn.1004⁃373x.2026.05.004
引用信息:
[1]冉腾1,何丽1,杨硕2,等.基于改进YOLOv5s的甲烷气体泄漏红外热成像检测方法[J],2026,49(5):25⁃29.DOI:10.16652/j.issn.1004⁃373x.2026.05.004.
基金信息:
新疆维吾尔自治区重点研发计划项目(2022B01050⁃2)
阅读
下载
被引