You are on page 1of 4

MVA '96 IAPR Workshop on Machine Vision Applications, November.

12-14, 1996, Tokyo, Japan

Analog and Digital Meter Recognition Using Computer


Vision

Iiyong-Ho ~ i i r n l Sung-I1
, ~ h i e n 2 Yong-Bum
, ~ e e 3 Iiwang-Soo
,
1Dept. of Image Processing, System Engineering Research Institute, Iiorea.
2 ~ t.e of Elec. Eng., Kyungpook National Univ., Korea
gKliorea Atomic Energy Research Institute, Korea

Abstract vided mainly into two parts, analog meter


recognition and digital meter recognition.
'I'he purpose of this paper is t o build In the case of analog meters, needle is dc-
a computer vision system that cndows tected and the rotation angle is calculated.
an ant onomous mobile robot the ability To get the real meter value from rotation
of automatic measnring of the anlog and angle we can use the look-up tahle. To
digital meters installed in nuclear power select the appropriate look-up table, thc
plant (NPP). In the m ~ t e image
r captured identification of meters must precede. To
by the camera, the meter area is sorted do this, we extract the function name and
out using mainly the thresholding and the recognize it using neural network classi-
region labeling. T h e positions and the an- fier. Providing that the scale distribution
gles of the needles in analog meter im- of a analog meter can be found automati-
ages are detected using projection based cally, the real value can be obtained from
method. In the case of digital meters, dig- needle angle without look-up table. JTTe
its and points are extracted and finally rec- also did a n experiment about this, but fur-
ognized through the neural network classi- ther study on this is in need. In the case
fier. T h e function name of the meter needs of digital meters, digits are extracted and
to be identified and the scale distributions recognized. And the function name is rec-
are also required t o be analyzed to make ognized t o identify the meter. The perfor-
the meter recognition fully automatic. mance of this system is verified by c o n -
~ u t e rsimulation. The meters installed in
NPP is not much deviation from general
1 Introduction meter in shape, so this system can be usctl
jn other industrial fields with minor mod-
Robot vision systems have a va- ~ficatlons.
riety of applications in the industrial
fields. And one. of the .area dqmand-
ing t h c 13obot vislon appllcat~on 1s Nu-
clear Power Plant (NPP)[l]. Thc auto-
2 Analog Meter Recogni-
rnatir surveilance ant1 inspection in NPP t ion
are performed by mobile robot equipped
with multi-sensors. One of the sensors is The automatic analog meter rccogni-
vision sensor represented by CCD camera. tion system can be built in three methods
There are works which can be done with by the degree of independency of recogni-
vision sensors and we will deal with the tion module t o knowledge bases. The first
analog and digital meter recognition spe- method is t o recognize only the deflection
cially. A fundamental report on the au- angle of needle and the angle is translated
tomatic surveilance system for NPP was to true meter value by database contain-
submitted t o the U.S. Nuclear Regular- ing information about position of meters.
tory Commission. And related studies are function names, units, and scale distribu-
on by Department of Energy[2]. Trivedi tions. This method is the most database-
et al. have stuied on automatic inspec- dependent one. In the second method.
tion system for NPP. Rut they just pro- we identify the meters by recognizing the
posc~lthe simple procedure on the meter function name automatically. So the in-
valnct rccognition[3] [I]. This study is de- formation about the meter position is no
longer in use. The third method is so
called fully automatic and has no built-in
database. In this method, the scale dis-
tribution is analyzed automatically, so we
can translate deflection angle t o true me-
ter value without database. The process
units for building the system are meter
area extraction, deflection angle detection,
function name recognition, and scale dis-
tribution analysis.

m e angle of
8
needle
Figure 2: illlalog nietcr txt.raction a.nd
8 the lunction name needle detection

and function name and distribution ter takes a significant part. We can
8 Unll of meter ol scalc
identify meter by recognizing function
name printed on it. For recognizing
function name, each character composing
0
0 i na
+I+
Recopnltlon Module

'TrueMeter Va/uem
function name should be segmented out
successfully[5]. But some difficulties are
expected in extracting characters. First,
the meter image nlay have slant due to
the leveling error of camera. Second, the
Figure 1: Strategies for the automatic ana- gradient in illumination cause the shade
log meter recognition system drawn on the meter surface. These llave
characters touched toghether after blna-
rization. To segment out each characters
2.1 Meter area extraction successfully, region labeling and threshold-
ing technique are applied as well as simple
To extract the meter area from the im- projection algorithm. Each character seg-
age taken by camera installed in mobile mented out is recognized through neural
robot, thresholding is performed as a first network classifier. We used mesh features
step. After binarizing the image, region extracted from 25 characters and a sym-
labeling is applied t o extract the image el- bol('/') as input t o classifier. The specifi-
ements. Using spatial constraints such as cation of neural network is shown in table
area ratio and aspect ratio of region, we 1.
can extract the meter area.

2.2 Deflection angle detection Table 1. Architecture and parameters of


neural network
To detect needle in a meter area we
use simple run length technique. We cal-
culate the run length from the center t o
edge of meter image as sweeping circu-
larly. And the position with maximum run
length value is selected as needle position.
Using run length instead of complex de-
tection algorithm t o find needle in a meter
area 11a.s a.dvantages such as high speed in
performance and robustness t o noises.

2.3 Function name recognition


In the automatic meter value recog-
nition system, the identification of me-
. .
Character stream composed of each 3 Digital Meter Recogni-
character recognized by neural network
is compared with the function names in
database. And the function name with Digital meter value recognition can be
highest matchlng score is selected as final performed by two processes such as nu-
result. meric code recognition and function name
recognition.
2.4 Scale distribution analysis
There can be two ways obtaining true 3.1 Numeric code recognition
meter value from needle deflection angle.
One method is to. use .scale distribution Digital meter installed in NPP has up
ta.hle by way of identification of meter to four numeric codes and each of them is
through function name recognition. The displayed by LED matrix(4*7). After ex-
other method is t o analyze the scale dis- tracting the meter area using region label-
tribution automatically and then make it ing, numetric codes and point should be
possible t o get true meter value without segmented out. As a first step, we extract
lookup table. T h e procedure of analyzing point by region labeling and measuring the
scale distribution is as follows. distance between LED cells. And then es-
tract each numeric code through projec-
1. Segmenting out meter area tion and sliding window method. T h e rea-
son why we use sliding window t o segment
2. Extracting scales through region la- numeric code vertically is that there ex-
beling ist gaps between LED cells, so it is hard
3. Sorting out large scale t o segment codes with simple projection
method. The width of sliding window
4. Extracting digits near the large scale must be wider than the vertical gap be-
tween LED cells and narrower than the
5 . Recognizing the digits and scale an- distance between the codes. Each numeric
gle. code segmented is recognized through neu-
ral network. True meter value can b e cal-
6. Analyzing the culated because we can know the position
scale distribution through interpola- of point a t the segmentation level. The
tion and outerpolation. final result of digital meter value recogni-
tion is shown in figure 3.
7. Converting the needle deflection angle
to true meter value.
One thing noticeable is that a t least
two large scales and correponding scale
values must be extracted successfully t o
analyze the entire scale distribution.There
are some difficulties in segmenting out dig-
its corresponding t o scale value because
of the touchness between digits. We ap-
plied variable window method t o segment
touched digits. In this method, a reson-
CUPRENT T I M E
able size of window is set a t the left side
of digits. And each time as the window ex-
pands t o right, digit segment extracted by
window is put as input of neural network
and the reliability factor(RF) is produced Figure 3: Recognition result of LED dis-
as output. In this process, digits are seg- play
mented by windows with highest R F val-
ues. Here, R F is defined by
3.2 Function name recognition
where Omaxis the highest output value of The process of function name recog-
neural network and Osecondis the second nition is similar t o tha.t of analog meter.
highest value. How t o extract each character successfully
is also a key t o the fiinction name recog- name through neural network. Some tech-
nition. In this case, there are characters niques such as variable window method
touched together by a nearby long line- and iterative binarization-and-region la-
5llaped image element. We can know that beling method are used in extracting func-
the characters are not touched in gray level tion name and scale value. More cx-
image, so if proper threshold can bc cho- periments with the meter images reflect-
sen each character will be segmented out ing various illumination conditions are rc-
without touch. We use thresholding and qnired. And more studies are required on
region labeling iteratively getting thresh- the preprocessing including local thrcsh-
oltl decreased until all characters are seg- olding and automatic scale distribution
inented out successfiilly. Each charac- analysis.
ter extracted is recognized through neural
network. And the final function .~litmeis
tleterm~nedthrough strlng matching. References
[I] S. Yamamot,~,"Development of In-
4 Experiments spection Robot for Nuclear Power
Plant." Proc. 1992 IEEE 1nterna.tiona.l
~ 1 images
, ~ of lneters are takell from Conference on Robotics and Automa-
the Advanced Compact Nuclear Simulator tion, Nice, France, pp. 1559-15(i(i,
in Iiorea Atomic Energy Research Insti- May 1992.
tute. There are 10 kinds of andog meters [21 J. R. wl1ite, R. E. ~ ~ ~ ~
and 20 kinds of digital meters. Wr per- Filmstorm, W. Harvey, and L.
for~nerlexperiments with about 50 images
including those containing several metcrs.
Martin, ,,Evaluation of Rol,otic
spection Systems a t Nuclear Power
,,,-
'rablr 2 shows the result of experilnent.
Plants," Tech. Rep. NIIREGICR-
3717, U. S. Nuclear ~ r g n l a t o r yi:o111-
Table 2. Recognition accura.cy mission, Washington, DC, March
1984.
[3] M. M. Trivedi, C. Chen, and S.
R. Marapane, "A Vision System for
Robotic Inspection and Manipula-
tion," IEEE Computer, Special Issue
on Autonomous Intelligent Machines,
vol. 22, no. 6, pp. 91-98, June 1989.
[4] M. M. trivedi, S. B. Mara.pane, and C.
Chen, "Automatic Inspection of Ana-
log and Digital Meters in a Robot Vi-
sion System," in Proceedings of the
Fourth Conference on Artificial Intel-
ligence for Space Appl~cations,1Iun-
stville, pp. 233-242, NASA, November
1988.
5 Conclusion [5] T. Akiyama and N. Hagita, "Auto-
mated Entry System for Printed Doc-
In this paper, we described about the au- uments," Pattern Recognition, vol. 23,
tomatic recognition of analog and digital no. 11, pp. 1141-1154, 1990.
meters installed in nuclear Dower ~ l a n t s .
\lie applied simple and elementary tech-
niques such as binarization, region label-
ing. and projection to extract needles in
analog lneters and numeric codes in digi-
tal meters. By using these simple meth-
ods can we get high speed in performance
and robustness t o noises. We identi-
fled meters by recognlzlng t h e ~ rfunct~on

You might also like