首页 | 本学科首页   官方微博 | 高级检索  
     

基于改进YOLOv5的树莓派火焰识别系统
引用本文:邓力,谢爽爽,朱博,吴丹丹,刘全义. 基于改进YOLOv5的树莓派火焰识别系统[J]. 太赫兹科学与电子信息学报, 2024, 22(7): 776-780
作者姓名:邓力  谢爽爽  朱博  吴丹丹  刘全义
作者单位:中国民用航空飞行学院 民航安全工程学院,四川 广汉 618307
基金项目:国家自然科学基金资助项目(U2033206;U1933105);四川省重点实验室重点资助项目(MZ2022JB01);航空科学基金资助项目(20200046117001);德阳市科技局重点研发资助项目(2021SZ001);中国民用航空飞行学院基金资助项目(J2020-120)
摘    要:火灾会对人员与财产安全造成巨大危害,如何迅速、准确地检测火焰出现具有重要意义。为实现高大空间条件下火焰的准确识别,设计了一种具有二自由度、可全方位检测环境情况的红外摄像头,并结合深度学习对目标检测算法YOLOv5进行改进;利用K-Means聚类算法匹配出9个聚类中心宽高维度替换原网络anchor参数;考虑了目标框相对比例,对损失函数进行优化,并用于树莓派上实现火焰识别。测试结果表明:改进的YOLOv5算法在树莓派上单张检测耗时2.9 s,较无改进YOLOv5算法减少78%;系统查准率为100%,识别目标框置信度均在0.9以上,能够快速准确识别出火焰。

关 键 词:深度学习  YOLOv5算法  树莓派  火焰识别
收稿时间:2022-08-24
修稿时间:2022-10-12

Raspberry Pi flame recognition system based on improved YOLOv5
DENG Li,XIE Shuangshuang,ZHU Bo,WU Dandan,LIU Quanyi. Raspberry Pi flame recognition system based on improved YOLOv5[J]. Journal of Terahertz Science and Electronic Information Technology, 2024, 22(7): 776-780
Authors:DENG Li  XIE Shuangshuang  ZHU Bo  WU Dandan  LIU Quanyi
Affiliation:College of Civil Aviation Safety Engineering,Civil Aviation Flight University of China,Guanghan Sichuan 618307,China
Abstract:Fire disaster can cause great harm to the safety of people and property, and how to detect flame intelligently and efficiently is of great significance. In order to achieve accurate flame recognition under high space conditions, an infrared camera with two degrees of freedom that can detect environmental conditions in all directions is designed, and the target detection algorithm YOLOv5 is improved combined with deep learning. The K-Means clustering algorithm is employed to obtain nine width and height dimensions of clustering center by matching and replace the original network anchor parameters. Considering the relative proportion of the target frame, the loss function is optimized and applied to the Raspberry Pi to achieve flame recognition. The test results show that it takes 2.9 s for the improved YOLOv5 algorithm to detect a single sheet on the Raspberry Pi, which is less than that for the original YOLOv5 algorithm by 78%. The accuracy of the system is 100%, and the confidence of identifying the target frame is above 0.9. The proposed system can identify the flame fast and accurately.
Keywords:deep learning  YOLOv5  Raspberry Pi  flame recognition
点击此处可从《太赫兹科学与电子信息学报》浏览原始摘要信息
点击此处可从《太赫兹科学与电子信息学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号