本文已被:浏览 1260次 下载 6998次
Received:April 25, 2023 Revised:June 06, 2023
Received:April 25, 2023 Revised:June 06, 2023
中文摘要: 针对复杂环境下指针式仪表检测与识别过程中存在定位仪表困难和推理精度低等问题, 本文提出一种基于YOLOv7+U2-Net的多量程仪表识别方法. 为了提高U2-Net模型的输入图像质量, 选择推理精度和速度快的YOLOv7检测器, 将检测、裁剪好的图像作为模型的输入图像数据集, 同时对输入图像进行了旋转矫正, 使模型适用于多角度仪表识别. 针对仪表读数推理精度差和速度慢等问题, 将U2-Net解码阶段的RSU4-RSU7的普通卷积更换成了深度可分离卷积, 在此基础上引入了Attention机制, 加快整体推理速度和精度. 此外, 为了提高该方法的普遍适用性, 提出了多阈值范围内的识别准确率判别方法来适配多种应用场景. 通过对比实验表明, 在收集到的数据集上进行评估, 相较于模板匹配、SegNet、PSPNet、Deeplabv3+及U-Net方法, 本文方法识别准确率达到96.5%, 在多个阈值区间内都具有良好性能表现.
Abstract:This study proposes a multi-range instrument recognition method based on YOLOv7+U2-Net to address the difficulties in locating instruments and low inference accuracy in the detection and recognition process of pointer instruments in complex environments. In order to improve the input image quality of the U2-Net model, a YOLOv7 detector with high inference accuracy and speed is selected. The detected and cropped images are used as the input image dataset of the model. At the same time, rotation correction is applied to the input image, making the model suitable for multi-angle instrument recognition. In response to issues such as poor accuracy and slow inference speed of instrument readings, the ordinary convolution of RSU4-RSU7 in the U2-Net decoding stage has been replaced with deep separable convolution. On this basis, an Attention mechanism has been introduced to accelerate the overall inference speed and accuracy. In addition, in order to improve the universal applicability of this method, a recognition accuracy discrimination method within multiple threshold ranges is proposed to adapt to various application scenarios. Through comparative experiments, it has been shown that when evaluated on the collected dataset, compared with template matching, SegNet, PSPNet, Deeplabv3+, and U-Net methods, the proposed method achieves a recognition accuracy of 96.5% and performs well in multiple threshold ranges.
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
曲海成,张旺.基于YOLOv7+U2-Net的指针式仪表检测与识别.计算机系统应用,2023,32(11):276-285
QU Hai-Cheng,ZHANG Wang.Detection and Recognition of Pointer Instruments Based on YOLOv7+U2-Net.COMPUTER SYSTEMS APPLICATIONS,2023,32(11):276-285
曲海成,张旺.基于YOLOv7+U2-Net的指针式仪表检测与识别.计算机系统应用,2023,32(11):276-285
QU Hai-Cheng,ZHANG Wang.Detection and Recognition of Pointer Instruments Based on YOLOv7+U2-Net.COMPUTER SYSTEMS APPLICATIONS,2023,32(11):276-285

