计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 251100047-452.doi: 10.11896/jsjkx.251100047

• 图像处理&多媒体技术 • 上一篇    下一篇

基于YOLOv8n的多尺度数字仪表检测方法

韩江杰1, 李振东1,2, 郭辉1,2   

  1. 1 宁夏大学信息工程学院 银川 750021
    2 宁夏东数西算人工智能与信息安全重点实验室 银川 750021
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 李振东(lizhendong@nxu.edu.cn)
  • 作者简介:(3123035179@qq.com)
  • 基金资助:
    国家自然科学基金地区项目(62562051);宁夏自然科学基金项目(2025AAC020023)

Multi-scale Digital Instrument Detection Method Based on YOLOv8n

HAN Jiangjie1, LI Zhendong1,2, GUO Hui1,2   

  1. 1 School of Information Engineering,Ningxia University,Yinchuan 750021,China
    2 Ningxia Key Laboratory of Artificial Intelligence and Information Security for Channeling Computing Resources from the East to the West,Yinchuan 750021,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:HAN Jiangjie,born in 2002,postgraduate.His main research interest includes the research and improvement of object detection algorithms.
    LI Zhendong,born in 1990,Ph.D,associate professor.His main research in-terests include computer vision,image processing,pattern recognition.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China(62562051) and National Science Foundation of Ningxia(2025AAC020023).

摘要: 针对工业场景中数字仪表检测过程中存在的多尺度差异大、受复杂背景的干扰以及小目标漏检的问题,提出一种基于YOLOv8n的数字仪表检测模型。该模型在保留YOLOv8n模型优势的同时,通过特征融合与注意力机制进行双重改进。首先,在骨干网络末端和检测头部的多尺度特征层中嵌入高效多尺度注意力机制(EMA)。该模块通过跨维度特征交互,实现对通道和空间权重的自适应校对,不仅能有效地抑制背景噪声干扰,同时还可以提升目标特征的区分度。其次,采用加权双向特征金字塔网络(BiFPN)替代PAN-FPN结构。BiFPN借助可学习的权重分配策略与精简的跨尺度连接路径,在维持计算效率的基础上完成更深层的特征融合,尤其增强了小尺度仪表的特征表征能力。在自建工业仪表数据集上的测试显示,改进后的算法模型在验证集中mAP@50提升至93%,较基准YOLOv8n模型提高2.9%。实验验证了所提算法在复杂工业环境中应对多尺度仪表检测任务的有效性,为工业设备智能视觉监控提供了切实可行的解决方案。

关键词: 数字仪表检测, YOLOv8n, EMA注意力, BiFPN, 多尺度特征融合

Abstract: To address the problems of large multi-scale differences,complex background interference,and small target missed detection in digital instrument detection under industrial scenarios,an improved digital instrument detection model based on YOLOv8n is proposed.While retaining the advantages of the original YOLOv8n,the model achieves dual optimization through feature fusion and attention mechanism.Firstly,an efficient multi-scale attention(EMA) mechanism is embedded in the multi-scale feature layers at the end of the backbone network and the detection head.Through cross-dimensional feature interaction,this module adaptively calibrates channel and spatial weights,which not only effectively suppresses background noise interference but also improves the distinguishability of target features.Secondly,the weighted bidirectional feature pyramid network(BiFPN) is adopted to replace the PAN-FPN structure.With a learnable weight assignment strategy and streamlined cross-scale connection paths,BiFPN accomplishes deeper feature fusion while maintaining computational efficiency,especially enhancing the feature representation capability of small-scale instruments.Test results on a self-built industrial instrument dataset show that the mAP@50 of the improved model in the validation set reaches 93%,which is 2.9% higher than that of the baseline YOLOv8n model.Experiments verify the effectiveness of the proposed algorithm in handling multi-scale instrument detection tasks in complex industrial environments,providing a practical solution for intelligent visual monitoring of industrial equipment.

Key words: Digital instrument detection, YOLOv8n, EMA attention, BiFPN, Multi-scale feature fusion

中图分类号: 

  • TP391
[1] XU F,WAN Y,NING Z,et al.Comparative Study of Light-weight Target Detection Methods for Unmanned Aerial Vehicle-Based Road Distress Survey [J].Sensors(Basel,Switzerland),2024,24(18):6159-6159.
[2] WENG L,LIU L F.Application of Machine Vision Based on Deep Learning in Industrial Instrument Detection[J].Intelligent Manufacturing,2023(5):40-44.
[3] WANG H,HU Y,YIN H,et al.Research on the Recognition Method of Dial Scales for Arrester Pointer Instruments Based on Deep Learning[J].Applied Sciences,2024,14(5):2049.
[4] REN S Q,HE K M,GIRSHICK R,et al.Faster R-CNN:To-wards Real-Time Object Detection with Region Proposal Networks[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2017,39(6):1137-1149.
[5] LI X,WEI J,JIA A,et al.P-3.11:An Improved SSD Algorithm[J].SID Symposium Digest of Technical Papers,2025,56(S1):905-908.
[6] PUNIA D,KUMAR R.A YOLOv3-Powered Edge Computing Technique for Real-Time Rear-End Collision Prediction in Autonomous Vehicles[J].Applied Soft Computing,2025,185:113981.
[7] WANG L,WU Y.Improved YOLOv5-Based Electric Bicycle Detection Algorithm in Elevators Using State Space Models[J].Engineering Letters,2025,33(11).
[8] YANG X,XUE S,LI L,et al.PAMFPN:Position-Aware Multi-Kernel Feature Pyramid Network with Adaptive Sparse Attention for Robust Object Detection in Remote Sensing Imagery[J].Remote Sensing,2025,17(13):2213.
[9] SU G,SU X,WANG Q,et al.Research on X-Ray Weld Defect
Detection of Steel Pipes by Integrating ECA and EMA Dual Attention Mechanisms[J].Applied Sciences,2025,15(8):4519.
[10] BIRLA L,BHARADWAJ A,JAIN R,et al.Deep Learning Model BiFPN-YOLOv8m for Tree Counting in Mango Orchards Using Satellite Remote Sensing Data[J].Scientific Reports,2025,15(1):33791.
[11] CHEN A,LIN D,GAO Q.Enhancing Brain Tumor Detection in MRI Images Using YOLO-Neuro Boost Model[J].Frontiers in Neurology,2024,15:1445882.
[12] LI P X,QIU B Z.Improvement of YOLOv4 Based on Bidirectional Feature Pyramid[J].Computer Applications and Software,2024,41(12):281-285,295.
[13] ZHANG Y,DONG D,LIU H,et al.A More Efficient Algorithm for Small Target Detection in Unmanned Aerial Vehicles[J].IEEJ Transactions on Electrical and Electronic Engineering,2024,19(9):1522-1532.
[14] CAI X,DONG Z,ZHANG S Y,et al.Fusion Network for Small Target Detection Based on YOLO and Attention Mechanism[J].Optoelectronics Letters,2024,20(6):372-378.
[15] HU Y,DENG N,YE F,et al.Rock Surface Crack Recognition Based on Improved Mask R-CNN with CBAM and BiFPN[J].Buildings,2025,15(19):3516.
[16] TAN M,PANG R,LE Q V.EfficientDet:Scalable and efficient object detection [J].Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition,2020:10778-10787.
[17] JIN K Y,CHEN H M,CAO S R.Small Target Detection Algorithm Based on Improved FPN[J].New Technology & New Products of China,2024(21):45-48.
[18] ZHANG Q,LIU Z Y,CHEN Y L,et al.YOLOv5s Traffic Sign Detection Fusing Transformer and Improved PANet[J].Chinese Journal of Sensors and Actuators,2023,36(2):232-241.
[19] TANG H,CHEN F M,FENG Z P,et al.Application of YOLOv8 Architecture Optimized by BiFPN in Leather Defect Recognition[J].Leather Science and Engineering,2025,35(5):22-30,60.
[20] DENG W H,LIU Y M,XU Z N,et al.A Lightweight Grape Leaf Disease Detection Algorithm Based on YOLOv8n[J/OL].Journal of Hunan Agricultural University(Natural Sciences Edition),2025,1-8.[2025-10-19].https://link.cnki.net/urlid/43.1257.s.20251015.1051.002
[21] GAO J Y,ZHANG W,LI Z L.YOLO-BFEPS:An efficient attention-enhanced cross-scale YOLOv10 fire detection model [J].Computer Science,2025,52(S1):424-432.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!