WO2022057103A1 - Deep-learning-based method for automatically reading pointer instrument - Google Patents

Deep-learning-based method for automatically reading pointer instrument Download PDF

Info

Publication number
WO2022057103A1
WO2022057103A1 PCT/CN2020/134266 CN2020134266W WO2022057103A1 WO 2022057103 A1 WO2022057103 A1 WO 2022057103A1 CN 2020134266 W CN2020134266 W CN 2020134266W WO 2022057103 A1 WO2022057103 A1 WO 2022057103A1
Authority
WO
WIPO (PCT)
Prior art keywords
pointer
instrument
meter
image
deep learning
Prior art date
Application number
PCT/CN2020/134266
Other languages
French (fr)
Chinese (zh)
Inventor
熊继平
李金红
陈泽辉
朱凌云
Original Assignee
浙江师范大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江师范大学 filed Critical 浙江师范大学
Publication of WO2022057103A1 publication Critical patent/WO2022057103A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Character Discrimination (AREA)

Abstract

A deep-learning-based method for automatically reading a pointer instrument. The method comprises the following steps: S1, inputting an instrument image, which needs to be subjected to detection, into an instrument disk pointer detection model trained by using a convolutional neural network, and performing detection on said instrument image, so as to obtain the position of an instrument disk and the position of a pointer; S2, performing binarization processing on said instrument image, so as to obtain a black and white binarized image; S3, according to the obtained position information of the pointer, cropping the binarized black and white image to obtain a pointer area; and S4, according to the obtained pointer area, obtaining the deviation angle of the pointer, and then obtaining a corresponding degree according to the measuring range of an instrument, thereby realizing the reading of a pointer instrument. An instrument disk and a pointer are detected by means of a deep learning method, the deviation angle of the pointer is obtained by using obtained position information of the instrument disk and the pointer, and the reading of the instrument is then obtained according to the measuring range of the instrument. The accuracy is high, the steps are simple, and the practicability is high.

Description

一种基于深度学习的指针式仪表的自动读数的方法A method of automatic reading of pointer meter based on deep learning 技术领域technical field
本发明涉及计算机视觉技术领域,更具体的说是涉及一种基于深度学习的指针式仪表的自动读数的方法。The invention relates to the technical field of computer vision, and more particularly to a method for automatic reading of a pointer meter based on deep learning.
背景技术Background technique
随着模式识别技术、计算机技术等多种技术的不断完善和发展,机器视觉获得了巨大的进步与发展。目前在许多企业中,存在大量的仪表,仪表的读数都靠人工来完成,工作量很大而且误差率相对来说也比较高,所以发展指针式仪表自动读数是十分有必要的。With the continuous improvement and development of pattern recognition technology, computer technology and other technologies, machine vision has made great progress and development. At present, in many enterprises, there are a large number of meters, and the reading of the meters is done manually. The workload is large and the error rate is relatively high. Therefore, it is very necessary to develop automatic reading of pointer meters.
现有的指针式仪表自动读数大多都是基于传统图像处理技术,有的方法提出首先利用卷积神经网络模型检测得到仪表目标图像;然后利用改进有效和准确的场景文本检测器(EAST)算法对仪表目标图像进行文本检测,再利用印刷体数字识别模型筛选出仪表刻度数字,得到仪表刻度数字的位置信息与数值;最后,通过仪表刻度数字的位置信息提取出仪表指针直线与仪表中心,通过识别出的数值结合角度法完成仪表读数识别。该方法在提取出指针直线与仪表中心的步骤中图像质量对于提取的结果影响较大,而且整个研究方法步骤较多,较为复杂。(徐发兵,吴怀宇,陈志环,喻汉.基于深度学习的指针式仪表检测与识别研究[J].高技术通讯,2019,29(12):1206-1215.)还有的方法提出先基于深度学习的Faster-RCNN算法定位表盘;然后根据仪表特征与几何特性,应用连通域分析、图像阈值分割、最小二乘法等方法分别实现仪表表盘圆心定位、指针分割和细化;再对刻度线和表盘数字进行分割,采用基于深度学习的LeNet-5卷积神经网络识别表盘数字并结合刻度值进行分度值的计算,在此基础上得到示数。但是这种方法存在不足,在分割识别数字时,对倾斜角度过大和对刻度有一定遮挡的表盘,可能会出现示数判读不准的情况,具有一定的局限性。(刘葵.基于深度学习的指针式仪表示数识别[D].华中科技大学,2017.)除此之外还有的研究方法是利用卷积神经网络 模型检测当前视野下仪表目标的包围框位置,计算其距离视野中央的偏离值与图像占比,据此调整相机位置和缩放倍数,使图像中心点坐标与包围框中心点坐标重合,再通过透视变换消除仪表图像畸变,双边滤波、MSRCR算法增强图像,最后霍夫变换检测仪表的表盘与指针,完成仪表读数识别。这种研究方法同样存在步骤复杂的问题,对硬件计算资源要求较高,还存在一定的漏检的情况。(邢浩强,杜志岐,苏波.变电站指针式仪表检测与识别方法[J].仪器仪表学报,2017,38(11):2813-2821.)Most of the existing automatic readings of pointer-type meters are based on traditional image processing technology, and some methods propose to first use the convolutional neural network model to detect the meter target image; then use the improved effective and accurate scene text detector (EAST) algorithm to detect The instrument target image is used for text detection, and then the printed number recognition model is used to filter out the meter scale numbers, and the position information and value of the instrument scale numbers are obtained. The output value is combined with the angle method to complete the meter reading identification. In this method, the image quality has a great influence on the extraction result in the steps of extracting the pointer line and the center of the instrument, and the whole research method has many steps and is more complicated. (Xu Fabing, Wu Huaiyu, Chen Zhihuan, Yu Han. Research on the detection and recognition of pointer-type instruments based on deep learning [J]. High-tech Communications, 2019, 29(12): 1206-1215.) There are other methods that are based on depth The learned Faster-RCNN algorithm locates the dial; then, according to the characteristics and geometric characteristics of the instrument, the methods of connected domain analysis, image threshold segmentation, and least squares are used to locate the center of the dial, segment and refine the pointer; The numbers are divided, and the LeNet-5 convolutional neural network based on deep learning is used to identify the dial numbers and combine the scale values to calculate the division values, and on this basis, the numbers are obtained. However, this method has shortcomings. When dividing and recognizing numbers, if the inclination angle is too large and the dial has a certain degree of occlusion on the scale, the reading and interpretation may be inaccurate, which has certain limitations. (Liu Kui. Recognition of Pointer Instrument Recognition Based on Deep Learning [D]. Huazhong University of Science and Technology, 2017.) In addition, another research method is to use the convolutional neural network model to detect the bounding box of the instrument target in the current field of view position, calculate the deviation value from the center of the field of view and the image ratio, adjust the camera position and zoom factor accordingly, so that the coordinates of the center point of the image coincide with the coordinates of the center point of the bounding box, and then eliminate the distortion of the instrument image through perspective transformation, bilateral filtering, MSRCR The algorithm enhances the image, and finally the Hough transform detects the dial and pointer of the instrument to complete the identification of the instrument reading. This research method also has the problem of complex steps, high requirements on hardware computing resources, and some missed detections. (Xing Haoqiang, Du Zhiqi, Su Bo. Detection and identification method of pointer instrument in substation [J]. Journal of Instrument and Meter, 2017,38(11):2813-2821.)
总的来说,传统的图像技术检测指针方法容易受到图像质量的影响,光照的变化以及拍摄角度都会对其造成干扰,前期需要对图像预处理步骤较多,研究方法大多较为复杂,对硬件计算资源要求较高。现有的基于深度学习的方法依赖于数字字符的识别,存在识别精度等问题。本发明利用深度学习检测指针,跟现有方法相比,具有极强的抗干扰性,能够适应于不同的环境下进行定位识别,检测前不需要对图像进行预处理,整个研究过程步骤较为简单,算法效率较高。In general, the traditional method of detecting pointers with image technology is easily affected by image quality, and changes in illumination and shooting angles will cause interference. Resource requirements are high. Existing methods based on deep learning rely on the recognition of digital characters, and there are problems such as recognition accuracy. Compared with the existing method, the present invention uses the deep learning to detect the pointer, has extremely strong anti-interference, can adapt to different environments for positioning and identification, does not need to preprocess the image before detection, and the steps of the whole research process are relatively simple , the algorithm is more efficient.
因此,如何提供一种识别精度高的基于深度学习的指针式仪表读数的方法是本领域技术人员亟需解决的问题。Therefore, how to provide a deep learning-based pointer meter reading method with high recognition accuracy is an urgent problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供了一种基于深度学习的指针式仪表读数的方法,通过深度学习的方法检测出仪表圆盘和指针,利用得到的仪表圆盘和指针的位置信息,得到指针的偏向角度,进而根据仪表的量程得到仪表的读数,不仅精确性高,而且步骤简单,实用性强。In view of this, the present invention provides a method for reading a pointer-type meter based on deep learning. The method of deep learning is used to detect the meter disk and the pointer, and the obtained position information of the meter disk and the pointer is used to obtain the deviation of the pointer. angle, and then obtain the reading of the meter according to the range of the meter, which not only has high accuracy, but also has simple steps and strong practicability.
为了实现上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
一种基于深度学习的指针式仪表的自动读数的方法,用于通过图像信息来确定仪表的示数,包括以下步骤:A method for automatic reading of an analog meter based on deep learning, which is used to determine the reading of the meter through image information, including the following steps:
S1.将需要检测的仪表图像输入利用卷积神经网络训练的仪表圆盘指针检测模型进行检测,得到仪表圆盘和指针的位置;S1. Input the instrument image to be detected using the instrument disc pointer detection model trained by the convolutional neural network for detection, and obtain the position of the instrument disc and the pointer;
S2.将需要检测的仪表图像进行二值化的处理,得到黑白的二值化图像;S2. Perform binarization processing on the instrument image to be detected to obtain a black and white binarized image;
S3.根据得到的指针的位置信息,在二值化后的黑白图像进行剪裁,得到指针区域;S3. According to the obtained position information of the pointer, the black and white image after binarization is clipped to obtain the pointer area;
S4.根据得到的所述指针区域,求出指针的偏向角度,再根据仪表的量程,得出相应的度数,从而实现指针式仪表的读数。S4. According to the obtained pointer area, the deflection angle of the pointer is obtained, and then according to the range of the meter, the corresponding degree is obtained, so as to realize the reading of the pointer type meter.
优选的,S1中利用卷积神经网络训练仪表圆盘指针检测模型的具体方法为:Preferably, the specific method of using the convolutional neural network to train the instrument disc pointer detection model in S1 is:
采集指针式仪表数据并进行标记;Collect pointer meter data and mark it;
将所采集到的指针式仪表数据和标记作为样本数据输入卷积神经网络中对所述卷积神经网络进行训练,得到所述仪表圆盘指针检测模型。The collected pointer-type meter data and labels are input into a convolutional neural network as sample data to train the convolutional neural network to obtain the meter disc pointer detection model.
优选的,S1具体内容包括:Preferably, the specific content of S1 includes:
将需要检测的指针式仪表的图像输入训练好的所述仪表圆盘指针检测模型进行检测,在原始的需要检测的指针式仪表的图像上用矩形框标记仪表圆盘和指针的位置。Input the image of the pointer instrument to be detected into the trained instrument disc pointer detection model for detection, and mark the positions of the instrument disk and the pointer with a rectangular frame on the original image of the pointer instrument to be detected.
优选的,S2的具体内容包括:Preferably, the specific content of S2 includes:
对原始图像进行二值化处理,得到仅存在像素值为0和255的像素点的二值化图像。Binarize the original image to obtain a binarized image with only pixels with pixel values of 0 and 255.
优选的,S3的具体内容包括:Preferably, the specific content of S3 includes:
根据矩形框标记的指针位置获取矩形框的坐标,在二值化图像上裁剪矩形框,得到指针区域。Obtain the coordinates of the rectangular frame according to the pointer position marked by the rectangular frame, and crop the rectangular frame on the binarized image to obtain the pointer area.
优选的,S4的具体内容包括:Preferably, the specific content of S4 includes:
根据在指针区域图像对指针进行细化,检测指针中轴线,得到指针中轴线所在的直线的斜率,再换算成以圆盘中心为原点的坐标系下的偏向角度;Refine the pointer according to the image in the pointer area, detect the central axis of the pointer, obtain the slope of the straight line where the central axis of the pointer is located, and then convert it into the deflection angle in the coordinate system with the center of the disc as the origin;
根据得到的偏向角度和仪表量程,计算得到仪表的示数,从而得到指针式仪表的读数。According to the obtained deflection angle and the range of the meter, the indication of the meter is calculated to obtain the reading of the pointer meter.
经由上述的技术方案可知,与现有技术相比,本发明提供了一种基于深度学习的指针式仪表的自动读数的方法,将深度学习方法用于指针的检测,能够准确地判断出指针所在的区域,有效解决了现有技术中的检测方法准确率低的问题,其次本发明相较于基于传统图像处理对指针进行拟合直线,不 需要前期对图像进行许多的预处理步骤,有效简化了整体的方法步骤,同时还可以降低对图像质量的依赖,具有极强的抗干扰性。As can be seen from the above technical solutions, compared with the prior art, the present invention provides a method for automatic reading of a pointer-type meter based on deep learning, and the deep learning method is used for pointer detection, which can accurately determine where the pointer is located. This effectively solves the problem of low accuracy of the detection method in the prior art. Secondly, compared with the traditional image processing based on the pointer to fit a straight line, the present invention does not need to perform many preprocessing steps on the image in the early stage, which effectively simplifies The overall method steps can be reduced, and the dependence on image quality can also be reduced, and it has strong anti-interference.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.
图1附图为本发明提供的整体方法流程图;Fig. 1 accompanying drawing is the overall method flow chart provided by the present invention;
图2附图为本发明提供的训练仪表圆盘指针检测模型的流程图;Fig. 2 accompanying drawing is the flow chart of training instrument disc pointer detection model provided by the present invention;
[根据细则91更正 24.12.2020] 
图3附图为本发明提供的确定仪表示数的流程图。
[Correction 24.12.2020 according to Rule 91]
FIG. 3 is a flow chart of determining the meter number provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例公开了一种基于深度学习的指针式仪表的自动读数的方法,用于通过图像信息来确定仪表的示数,如图1所示,包括以下步骤:The embodiment of the present invention discloses a deep learning-based automatic reading method of a pointer-type meter, which is used to determine the display number of the meter through image information. As shown in FIG. 1 , the method includes the following steps:
S1.将需要检测的仪表图像输入利用卷积神经网络训练的仪表圆盘指针检测模型进行检测,得到仪表圆盘和指针的位置;S1. Input the instrument image to be detected using the instrument disc pointer detection model trained by the convolutional neural network for detection, and obtain the position of the instrument disc and the pointer;
S2.将需要检测的仪表图像进行二值化的处理,得到黑白的二值化图像;S2. Perform binarization processing on the instrument image to be detected to obtain a black and white binarized image;
S3.根据得到的指针的位置信息,在二值化后的黑白图像进行剪裁,得到指针区域;S3. According to the obtained position information of the pointer, the black and white image after binarization is clipped to obtain the pointer area;
S4.根据得到的指针区域,求出指针的偏向角度,再根据仪表的量程,得出相应的度数,从而实现指针式仪表的读数。S4. According to the obtained pointer area, find out the deflection angle of the pointer, and then according to the range of the meter, get the corresponding degree, so as to realize the reading of the pointer meter.
为了进一步实现上述技术方案,如图2所示,本实施例获取指针式仪表的样本图像,利用标注软件对其进行标注,并利用卷积神经网络训练仪表圆盘指针检测模型,其中:In order to further realize the above technical solution, as shown in FIG. 2 , in this embodiment, a sample image of a pointer-type meter is obtained, annotating software is used to annotate it, and a convolutional neural network is used to train an instrument disc pointer detection model, wherein:
获取的指针仪表样本应包括显示不同示数,不同拍摄角度的;The obtained pointer meter samples should include those showing different indications and different shooting angles;
卷积神经网络采用较小的网络结构,提高检测速度。The convolutional neural network adopts a smaller network structure to improve the detection speed.
利用标注软件在获取的指针式仪表图像中进行仪表圆盘和指针的标注,即在样本图像中框出各个类别并打上标签;Use the labeling software to label the instrument disc and pointer in the obtained pointer instrument image, that is, frame and label each category in the sample image;
将标注好的样本输入到一个浅层的卷积神经网络中进行训练,得到一个仪表圆盘和指针的检测模型。The labeled samples are input into a shallow convolutional neural network for training, and a detection model for instrument discs and pointers is obtained.
为了进一步实现上述技术方案,S1具体内容包括:In order to further realize the above technical solution, the specific content of S1 includes:
将需要检测的指针式仪表的图像输入训练好的仪表圆盘指针检测模型进行检测,在原始的需要检测的指针式仪表的图像上用矩形框标记仪表圆盘和指针的位置。Input the image of the pointer instrument to be detected into the trained instrument disc pointer detection model for detection, and mark the position of the instrument disk and the pointer with a rectangular frame on the original image of the pointer instrument to be detected.
为了进一步实现上述技术方案,如图3所示,S2的具体内容包括:In order to further realize the above technical solution, as shown in Figure 3, the specific content of S2 includes:
对原始图像进行二值化处理,得到仅存在像素值为0和255的像素点的二值化图像。Binarize the original image to obtain a binarized image with only pixels with pixel values of 0 and 255.
为了进一步实现上述技术方案,S3的具体内容包括:In order to further realize the above technical solution, the specific content of S3 includes:
根据矩形框标记的指针位置获取矩形框的坐标,在二值化图像上裁剪矩形框,得到指针区域。Obtain the coordinates of the rectangular frame according to the pointer position marked by the rectangular frame, and crop the rectangular frame on the binarized image to obtain the pointer area.
为了进一步实现上述技术方案,S4的具体内容包括:In order to further realize the above technical solution, the specific content of S4 includes:
利用指针区域部分中指针部分像素点的像素值为255,矩形框内其他部分像素点的像素值为0的特性,在指针区域图像对指针进行细化,检测指针中轴线等操作,得到指针中轴线所在的直线的斜率,再换算成以圆盘中心为原点的坐标系下的偏向角度;Using the feature that the pixel value of the pointer part in the pointer area is 255, and the pixel value of the other parts of the rectangle is 0, the pointer is refined in the pointer area image, and the axis of the pointer is detected. The slope of the straight line where the axis is located, and then converted into the deflection angle in the coordinate system with the center of the disc as the origin;
根据得到的偏向角度和仪表量程,计算得到仪表的示数,从而得到指针式仪表的读数。According to the obtained deflection angle and the range of the meter, the indication of the meter is calculated to obtain the reading of the pointer meter.
本发明公开提供了一种基于深度学习的指针式仪表的自动读数的方法,通过卷积神经网络来检测仪表圆盘和指针,然后根据所得的位置信息来确定以圆盘为中心的坐标系下指针的偏向角度,得到仪表的示数,具体而言,本发明将首先利用卷积神经网络通过样本来训练一个检测仪表圆盘和指针的网 络模型,其次通过该模型获取得到的仪表圆盘和指针的位置信息,计算得到以圆盘中心为原点的坐标系下指针的偏向角度,在根据仪表的量程,最终得到仪表的示数。The invention discloses and provides a method for automatic reading of a pointer-type meter based on deep learning. A convolutional neural network is used to detect the disk and pointer of the meter, and then according to the obtained position information, it is determined in a coordinate system centered on the disk. The deflection angle of the pointer is used to obtain the indication of the meter. Specifically, the present invention will firstly use the convolutional neural network to train a network model for detecting the meter disc and the pointer through samples, and secondly obtain the meter disc and the pointer obtained through the model. The position information of the pointer is calculated to obtain the deflection angle of the pointer in the coordinate system with the center of the disc as the origin, and the indication of the meter is finally obtained according to the range of the meter.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

  1. 一种基于深度学习的指针式仪表的自动读数的方法,用于通过图像信息来确定仪表的示数,其特征在于,包括以下步骤:A method for automatic reading of a pointer-type meter based on deep learning, which is used to determine the indication of the meter through image information, characterized in that it includes the following steps:
    S1.将需要检测的仪表图像输入利用卷积神经网络训练的仪表圆盘指针检测模型进行检测,得到仪表圆盘和指针的位置;S1. Input the instrument image to be detected using the instrument disc pointer detection model trained by the convolutional neural network for detection, and obtain the position of the instrument disc and the pointer;
    S2.将需要检测的仪表图像进行二值化的处理,得到黑白的二值化图像;S2. Perform binarization processing on the instrument image to be detected to obtain a black and white binarized image;
    S3.根据得到的指针的位置信息,在二值化后的黑白图像进行剪裁,得到指针区域;S3. According to the obtained position information of the pointer, the black and white image after binarization is clipped to obtain the pointer area;
    S4.根据得到的所述指针区域,求出指针的偏向角度,再根据仪表的量程,得出相应的度数,从而实现指针式仪表的读数。S4. According to the obtained pointer area, the deflection angle of the pointer is obtained, and then according to the range of the meter, the corresponding degree is obtained, so as to realize the reading of the pointer type meter.
  2. 根据权利要求1所述的一种基于深度学习的指针式仪表的自动读数的方法,其特征在于,S1中利用卷积神经网络训练仪表圆盘指针检测模型的具体方法为:The method for automatic reading of a pointer-type meter based on deep learning according to claim 1, characterized in that, in S1, the specific method of using convolutional neural network to train the meter disc pointer detection model is:
    采集指针式仪表数据并进行标记;Collect pointer meter data and mark it;
    将所采集到的指针式仪表数据和标记作为样本数据输入卷积神经网络中对所述卷积神经网络进行训练,得到所述仪表圆盘指针检测模型。The collected pointer-type meter data and labels are input into a convolutional neural network as sample data to train the convolutional neural network to obtain the meter disc pointer detection model.
  3. 根据权利要求1所述的一种基于深度学习的指针式仪表的自动读数的方法,其特征在于,S1具体内容包括:The method for automatic reading of an analog meter based on deep learning according to claim 1, wherein the specific content of S1 includes:
    将需要检测的指针式仪表的图像输入训练好的所述仪表圆盘指针检测模型进行检测,在原始的需要检测的指针式仪表的图像上用矩形框标记仪表圆盘和指针的位置。Input the image of the pointer instrument to be detected into the trained instrument disc pointer detection model for detection, and mark the positions of the instrument disk and the pointer with a rectangular frame on the original image of the pointer instrument to be detected.
  4. 根据权利要求1所述的一种基于深度学习的指针式仪表的自动读数的方法,其特征在于,S2的具体内容包括:The method for automatic reading of an analog meter based on deep learning according to claim 1, wherein the specific content of S2 includes:
    对原始图像进行二值化处理,得到仅存在像素值为0和255的像素点的二值化图像。Binarize the original image to obtain a binarized image with only pixels with pixel values of 0 and 255.
  5. 根据权利要求3所述的一种基于深度学习的指针式仪表的自动读数的方法,其特征在于,S3的具体内容包括:The method for automatic reading of an analog meter based on deep learning according to claim 3, wherein the specific content of S3 includes:
    根据矩形框标记的指针位置获取矩形框的坐标,在二值化图像上裁剪矩形框,得到指针区域。Obtain the coordinates of the rectangular frame according to the pointer position marked by the rectangular frame, and crop the rectangular frame on the binarized image to obtain the pointer area.
  6. 根据权利要求1所述的一种基于深度学习的指针式仪表的自动读数的方法,其特征在于,S4的具体内容包括:The method for automatic reading of an analog meter based on deep learning according to claim 1, wherein the specific content of S4 includes:
    根据在指针区域图像对指针进行细化,检测指针中轴线,得到指针中轴线所在的直线的斜率,再换算成以圆盘中心为原点的坐标系下的偏向角度;Refine the pointer according to the image in the pointer area, detect the central axis of the pointer, obtain the slope of the straight line where the central axis of the pointer is located, and then convert it into the deflection angle in the coordinate system with the center of the disc as the origin;
    根据得到的偏向角度和仪表量程,计算得到仪表的示数,从而得到指针式仪表的读数。According to the obtained deflection angle and the range of the meter, the indication of the meter is calculated to obtain the reading of the pointer meter.
PCT/CN2020/134266 2020-09-15 2020-12-07 Deep-learning-based method for automatically reading pointer instrument WO2022057103A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010969315.2A CN112149667A (en) 2020-09-15 2020-09-15 Method for automatically reading pointer type instrument based on deep learning
CN202010969315.2 2020-09-15

Publications (1)

Publication Number Publication Date
WO2022057103A1 true WO2022057103A1 (en) 2022-03-24

Family

ID=73892712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134266 WO2022057103A1 (en) 2020-09-15 2020-12-07 Deep-learning-based method for automatically reading pointer instrument

Country Status (2)

Country Link
CN (1) CN112149667A (en)
WO (1) WO2022057103A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071736A (en) * 2023-03-07 2023-05-05 北京全路通信信号研究设计院集团有限公司 Meter reading method and device, electronic equipment and storage medium
CN116189192A (en) * 2023-04-24 2023-05-30 东方电子股份有限公司 Intelligent reading identification method and system for pointer instrument
CN117058390B (en) * 2023-08-28 2024-05-14 北京航空航天大学 High-robustness circular pointer type dial plate image state segmentation method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112966711A (en) * 2021-02-01 2021-06-15 北京大学 Pointer instrument indicating number identification method and system based on convolutional neural network
CN112949564B (en) * 2021-02-02 2022-11-29 电子科技大学 Pointer type instrument automatic reading method based on deep learning
CN113408551A (en) * 2021-05-25 2021-09-17 深圳市富能新能源科技有限公司 Pointer instrument reading identification method, system, equipment and computer storage medium
CN113837166B (en) * 2021-08-20 2024-03-12 北京工业大学 Automatic pointer instrument reading method based on deep learning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392206A (en) * 2014-10-24 2015-03-04 南京航空航天大学 Image processing method for automatic pointer-type instrument reading recognition
CN105809179A (en) * 2014-12-31 2016-07-27 中国科学院深圳先进技术研究院 Pointer type instrument reading recognition method and device
US20190095739A1 (en) * 2017-09-27 2019-03-28 Harbin Institute Of Technology Adaptive Auto Meter Detection Method based on Character Segmentation and Cascade Classifier
CN110378225A (en) * 2019-06-14 2019-10-25 南京泛函智能技术研究院有限公司 The recognition methods of pointer instrument automatic reading and identification device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392206A (en) * 2014-10-24 2015-03-04 南京航空航天大学 Image processing method for automatic pointer-type instrument reading recognition
CN105809179A (en) * 2014-12-31 2016-07-27 中国科学院深圳先进技术研究院 Pointer type instrument reading recognition method and device
US20190095739A1 (en) * 2017-09-27 2019-03-28 Harbin Institute Of Technology Adaptive Auto Meter Detection Method based on Character Segmentation and Cascade Classifier
CN110378225A (en) * 2019-06-14 2019-10-25 南京泛函智能技术研究院有限公司 The recognition methods of pointer instrument automatic reading and identification device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071736A (en) * 2023-03-07 2023-05-05 北京全路通信信号研究设计院集团有限公司 Meter reading method and device, electronic equipment and storage medium
CN116189192A (en) * 2023-04-24 2023-05-30 东方电子股份有限公司 Intelligent reading identification method and system for pointer instrument
CN116189192B (en) * 2023-04-24 2023-07-25 东方电子股份有限公司 Intelligent reading identification method and system for pointer instrument
CN117058390B (en) * 2023-08-28 2024-05-14 北京航空航天大学 High-robustness circular pointer type dial plate image state segmentation method

Also Published As

Publication number Publication date
CN112149667A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
WO2022057103A1 (en) Deep-learning-based method for automatically reading pointer instrument
CN111950330B (en) Pointer instrument indication detection method based on target detection
CN109948469B (en) Automatic inspection robot instrument detection and identification method based on deep learning
CN112257676A (en) Pointer instrument reading method and system and inspection robot
CN110659636B (en) Pointer instrument reading identification method based on deep learning
CN103164692B (en) A kind of special vehicle instrument automatic identification system based on computer vision and method
CN102176228B (en) Machine vision method for identifying dial plate information of multi-pointer instrument
CN112818988B (en) Automatic identification reading method and system for pointer instrument
Chi et al. Machine vision based automatic detection method of indicating values of a pointer gauge
CN110580480A (en) Meter reading identification method based on image processing
CN106529559A (en) Pointer-type circular multi-dashboard real-time reading identification method
CN111814919A (en) Instrument positioning and identifying system based on deep learning
CN103759758A (en) Method for detecting position of automobile meter needle based on mechanical angle and scale identification
CN111931776A (en) Deep learning-based double-pointer instrument reading method
CN112699876A (en) Automatic reading method for various meters of gas collecting station
CN111368906A (en) Pointer type oil level indicator reading identification method based on deep learning
CN108960231B (en) Machine vision-based thin pointer dial identification reading method
CN103854278A (en) Printed circuit board image registration method based on shape context of mass center of communicated region
CN111027456A (en) Mechanical water meter reading identification method based on image identification
CN112734729A (en) Water gauge water level line image detection method and device suitable for night light supplement condition and storage medium
CN110647824B (en) Value-added tax invoice layout extraction method based on computer vision technology
Lauridsen et al. Reading circular analogue gauges using digital image processing
CN112215060A (en) Hough transform-based high-precision mechanical instrument reading identification method
CN115019294A (en) Pointer instrument reading identification method and system
CN110580697A (en) Video image processing method and system for measuring thickness of fetal nape transparency from ultrasonic video image

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20953959

Country of ref document: EP

Kind code of ref document: A1