Detecting algorithm for identifying meter needle

A detection algorithm and instrument pointer technology, applied in character and pattern recognition, instruments, calculations, etc., can solve the problems of repetitive work, negligence and errors, and low reliability, and achieve the effect of improving accuracy and overcoming large errors

Active Publication Date: 2014-04-09
CHANGAN UNIV
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of verifying the pointer instrument, it is necessary to participate in the reading manually. Due to the visual error and visual fatigue of the human eye, when the pointer is between the two graduation lines of the dial, the human eye can only roughly estimate the position of the pointer.
These interpretations are easily affected by facto

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Detecting algorithm for identifying meter needle
  • Detecting algorithm for identifying meter needle
  • Detecting algorithm for identifying meter needle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0079] Step 1: Collect the color image I of the instrument to be tested (gas pressure gauge). The coordinates of the center of the instrument are known to be (x0,y0)=(862,524), the outer diameter l1=399, and the inner diameter l2=301. Pay attention to keep the meter as straight as possible when shooting;

[0080] Step 2: Use the rgb2gray() function of the Matlab toolbox to grayscale the color image I to obtain a grayscale image I1, such as Figure 4 shown;

[0081] Step 3: If figure 2 As shown in , the grayscale image I1 is cropped by the method of distance comparison, and the cropped image I2 of the meter and pointer is obtained, as shown in Figure 5 shown; the specific steps are as follows:

[0082] 1) Let the position of the point on the image be (i, j) and the range is 1≤i≤a, 1≤j≤b, where [a,b] is the pixel matrix of image I1.

[0083] 2) If the distance from the point to the center of the meter is greater than or equal to the outer diameter of the meter is 399, then...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a detecting algorithm for identifying a meter needle. A color image I of an instrument to be detected is acquired; a computer reads the color image I of the instrument to be detected; graying processing is conducted on the color image I to obtain a gray level image I 1; the gray level image I 1 is cut to obtain a cut image I2; binarization processing is conducted on the cut image I2 to obtain an image I3 processed in a binarization mode; needle searching is conducted on the image I3 processed in the binarization mode, the needle is extracted from the image I3, and a needle image B1 is obtained; then slope of a starting scale line is solved through straight line fitting. According to the method, deflected angles of the needle are calculated by respectively conducting clockwise and anticlockwise radian scanning with the circle center as the center and the forward direction of the x axis as the starting scale line, then an average value of the deflected angles solved at two times is taken, then corresponding mathematical calculation is conducted to obtain a read scale pointed by the needle according to the average value of the angles and the slope of the starting scale line. The method is efficient and high in precision and can detect large patches of instruments.

Description

technical field [0001] The invention belongs to the technical field of computer image processing, in particular to an algorithm for meter recognition. Background technique [0002] As a traditional measuring instrument, the pointer instrument is still widely used in electric power, transportation, and scientific experiments due to its simple structure, low price, convenient maintenance, corrosion resistance, no interference from electromagnetic fields, low temperature resistance, and high reliability. and resident life and other fields. Pointer meters require regular meter readings or accuracy checks. The verification technology of pointer instruments has been developed to this day. The automation level of the verification work is restricted by the production scale and economic strength of each unit, and it is basically in the manual and semi-automatic stage. In the process of verifying the pointer instrument, it is necessary to manually participate in the reading. Due to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06K9/00
Inventor 李伟赵海伟刘玉娥任娜娜姚潇潇
Owner CHANGAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products