首页|基于改进YOLOv5轻量化的指针式仪表识别与读数方法研究

基于改进YOLOv5轻量化的指针式仪表识别与读数方法研究

扫码查看
文章针对指针式仪表自动读数存在的读数精度低、鲁棒性差及实时性不足等问题,提出了一种基于改进YOLOv5轻量化模型的指针式仪表识别与读数的方法.首先,采用改进的YOLOv5识别并定位复杂场景中待检测仪表的位置,提取仪表区域;然后,通过特征点匹配与透视变换对仪表图像进行校正;最后,利用M-LSD算法提取指针并通过直线拟合计算出指针所指向的刻度读数.试验结果表明:文章提出的方法最大误差为0.05 mA,在最小刻度范围内,该方法具备良好的鲁棒性、精确性和实时性,可满足不同复杂场景下的实际应用.
Research on the Identification and Reading Method of Pointer Instrument Based on Improved YOLOv5 Light Weight Model
To solve problems such as low reading precision,poor robustness,and lack of real-time automatic reading of point-er meters,this paper puts forward a method of identification and reading of pointer meters based on a lightweight model.First,the improved YOLOv5 is used to identify and locate the position of the instrument to be detected in the complex scene,and the instru-ment area is extracted.Then,the instrument image is corrected by feature point matching and perspective transformation.Finally,the M-LSD algorithm is used to extract the pointer and calculate the scale reading of the pointer by straight line fitting.The experi-mental results show that the maximum error of the proposed method is 0.05mA,and the proposed method has good robustness,ac-curacy,and real-time performance within the minimum scale range,and can meet the practical application in different complex scenarios.

Pointer instrumentYOLOv5Identification and positioningImage correctionLine fittingInstrument reading

陈群伟、连晖、刘宇轩

展开 >

国网福建省电力有限公司宁德供电公司,宁德 352000

指针式仪表 YOLOv5 识别定位 图像校正 直线拟合 仪表读数

2024

机电技术
福建省机械科学研究院

机电技术

影响因子:0.206
ISSN:1672-4801
年,卷(期):2024.(4)