吉首大学学报(自然科学版)2025,Vol.46Issue(4):44-51,8.DOI:10.13438/j.cnki.jdzk.2025.04.007
轻量化YOLOv5s与U2-Net的指针式仪表智能读数方法
Lightweight YOLOv5s with U2-Net for Intelligent Reading of Pointer Meters
摘要
Abstract
Aiming at the problem of slow speed of intelligent positioning and low accuracy of reading for pointer meters,a method of intelligent reading for pointer meters based on YOLOv5s and U2-Net is proposed.Firstly,the partial batch normalization layer in the trunk and neck of YOLOv5s is used for channel pruning to realize the model lightweight and improve the speed of meter positioning;secondly,in view of shadow and noisy images collected in the field,the image is enhanced,so as to make the model suitable for complex environments;and then,the U2-Net model is adopted to segment the pointer and the scale,to locate the relative position of pointer on the scale,and to improve the accuracy of readings.Then,the U2-Net model is used to segment the pointer and the scale,locate the relative position of the pointer on the scale,and improve the accuracy of the readings;finally,the distance method is used for me-ter reading.The results of the experiment and reading test show that the size of the lightweight YOLOv5s model is reduced by 56.35%,the positioning time is reduced by 18.18%,the accuracy of the reading recognition test is 93.42%,the average absolute error is 0.032,the average reading error rate is 0.605%,and the average test time per picture is 0.402 s,which meets the industrial inspection require-ments.关键词
指针式仪表/YOLOv5s/通道剪枝/U2-Net/距离法Key words
pointer instrument/YOLOv5s/channel pruning/U2-Net/distance method分类
信息技术与安全科学引用本文复制引用
苏盈盈,斯洪云,唐霞,刘兴华,郭利霞..轻量化YOLOv5s与U2-Net的指针式仪表智能读数方法[J].吉首大学学报(自然科学版),2025,46(4):44-51,8.基金项目
重庆市教育委员会科学技术研究项目(KJQN202101510) (KJQN202101510)
重庆市自然科学基金面上项目(CSTB2022NSCQ-MSX1425) (CSTB2022NSCQ-MSX1425)
重庆科技学院硕士研究生创新计划项目(YKJCX2320403) (YKJCX2320403)