改进YOLOv5的多样态木蜂孔洞检测算法OA
Multi-State Carpenter Bee Holes Detection Algorithm Based on Improved YOLOv5
针对建筑构件截面孔洞类别与形态识别问题,文中提出了一种改进 YOLOv5(You Only Look Once version 5)的多样态木蜂孔洞检测算法.在模型主干网络中集成坐标注意力机制来增强特征提取能力,并结合加权双向特征金字塔网络(Bi-directional Feature Pyramid Network,BiFPN)优化多尺度特征整合.检测头部采用解耦结构,将分类和回归任务分离,引入损失函数 EIoU(Efficient Intersection over Union)提升目标定位精度和模型收敛效率.实验结果表明,改进YOLOv5 模型在木蜂孔洞检测任务中的平均精度均值(mean Average Precision,mAP)为 99.46%.所提方法在提升检测精度的同时保持了模型的轻量化,实现了对木蜂孔洞的高精度和高效率检测,对木建筑损伤等级的评定和修复具有重要价值.
In view of the problem of identifying the types and shapes of cross-sectional holes in building compo-nents,this study proposes an improved YOLOv5(You Only Look Once version 5)multi-state wood bee hole detec-tion algorithm.The coordinate attention mechanism is integrated in the model backbone network to enhance the fea-ture extraction ability,and the weighted BiFPN(Bi-directional Feature Pyramid Network)is combined to optimize the multi-scale feature integration.The detection head adopts a decoupled structure,separating classification and re-gression tasks,and introduces the loss function EIoU(Efficient Intersection over Union)to enhance the accuracy of target positioning and the convergence efficiency of the model.The experimental results show that the mAP(mean Average Precision)of the improved YOLOv5 model in the wood bee hole detection task is 99.46%.While enhancing the detection accuracy,the proposed method maintains the lightweight of the model,achieving high-precision and high-efficiency detection of wooden honeycomb holes,which is of great value for the assessment and repair of damage grades in wooden buildings.
张淑化;王宝来;葛浙东;刘国政;房淑宇
山东建筑大学 信息与电气工程学院,山东 济南 250101山东易方达建设管理集团有限公司,山东 济南 250013山东建筑大学 信息与电气工程学院,山东 济南 250101山东建筑大学 信息与电气工程学院,山东 济南 250101山东建筑大学 信息与电气工程学院,山东 济南 250101
信息技术与安全科学
目标检测木蜂孔洞YOLOv5木结构建筑建筑保护CT扫描坐标注意力机制解耦头部
target detectioncarpenter bee holesYOLOv5wood buildingsarchitectural conservationCT scancoordinate attention mechanismdecoupled head
《电子科技》 2026 (5)
54-64,11
山东省自然科学基金(ZR2020QC174)广西哲学社会科学研究项目(23FMZ025)Natural Science Foundation of Shandong(ZR2020QC174)Philosophy and Social-Science Research Project of Guangxi(23FMZ025)
评论