JPH07325880A - Watthour meter character recognition device - Google Patents

Watthour meter character recognition device

Info

Publication number
JPH07325880A
JPH07325880A JP6224953A JP22495394A JPH07325880A JP H07325880 A JPH07325880 A JP H07325880A JP 6224953 A JP6224953 A JP 6224953A JP 22495394 A JP22495394 A JP 22495394A JP H07325880 A JPH07325880 A JP H07325880A
Authority
JP
Japan
Prior art keywords
character
hour meter
watt hour
divided
characters
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP6224953A
Other languages
Japanese (ja)
Other versions
JP3372111B2 (en
Inventor
Takayuki Abe
隆行 阿部
Masaki Takahashi
正樹 高橋
Tatsumi Setomoto
龍海 瀬戸本
Shingo Sekiguchi
眞吾 関口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Japan Electric Meters Inspection Corp JEMIC
Original Assignee
Toshiba Corp
Japan Electric Meters Inspection Corp JEMIC
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 Toshiba Corp, Japan Electric Meters Inspection Corp JEMIC filed Critical Toshiba Corp
Priority to JP22495394A priority Critical patent/JP3372111B2/en
Publication of JPH07325880A publication Critical patent/JPH07325880A/en
Application granted granted Critical
Publication of JP3372111B2 publication Critical patent/JP3372111B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE:To improve the recognition rate of lacking rotation characters of a watthour meter and to accurately recognize division characters by providing a character segmentation means, a reference measure segmentation means, a measurement recognition means and a judgement means. CONSTITUTION:In a measure and character segmentation part 6, the position address, height and width of the character are detected and also the position address and height of a reference measure are detected. Character information is supplied to a character recognition part 7, a prescribed dictionary is referred to and the character is recognized. The recognized result of the character, the degree of similarity, a segmentation information address and a reference measure information address are supplied through a result output part 8 to the result input part 9 of a personal computer 4. The supplied information is supplied to a measure value calculation part 10 further and a minimum measure value is calculated in the part 10. Then, the character is judged in a similarity degree calculation part 11 and a high-order digit is judged in a high-order digit judgement part 12 further. Thus, even when a part of the character of a recognition object lacks, by recognizing the next object character, the character is accurately recognized.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ワットアワーメータの
検定を自動化すべくワットアワーメータの回転文字を認
識するワットアワーメータ文字認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a watt hour meter character recognizing device for recognizing a rotating character of a watt hour meter in order to automate verification of a watt hour meter.

【0002】[0002]

【従来の技術】ワットアワーメータの指示値は、従来目
視による読み取りが行われているが、このような指示
値、すなわちワットアワーメータが示す文字、すなわち
数字を自動的に読み取ることができればこのような目視
による読み取りを自動的に行うことができ、効率化を図
ることができる。
2. Description of the Related Art Conventionally, the reading value of a watt hour meter has been read by visual observation. However, if such a reading value, that is, the letter, that is, the number indicated by the watt hour meter can be automatically read, such a reading is made. It is possible to perform automatic visual reading, and improve efficiency.

【0003】文字の自動読み取りには、例えば複合類似
度法(特願昭第44−88109号公報参照)、マッチ
ング法等が使用されている。この複合類似度法およびマ
ッチング法は、基本的には認識対象文字と辞書(参照文
字)との類似度の高低によって文字を認識するものであ
る。
For automatic reading of characters, for example, a composite similarity method (see Japanese Patent Application No. 44-88109), a matching method and the like are used. The composite similarity method and the matching method basically recognize a character based on the degree of similarity between the recognition target character and the dictionary (reference character).

【0004】また、ワットアワーメータにおいては、特
に単相の場合、最小単位の数字は目盛りで行われてお
り、この最小目盛りを読み取ることも必要であるが、従
来このような最小目盛り値を画像処理して計測する一般
的手法は特にない。
Further, in the watt hour meter, particularly in the case of a single phase, the minimum unit number is indicated by a scale, and it is necessary to read this minimum scale, but conventionally, such a minimum scale value is imaged. There is no general method for processing and measuring.

【0005】[0005]

【発明が解決しようとする課題】ワットアワーメータの
指示値は、回転式カウンタ文字のような回転文字である
が、このような回転文字の桁上げ時の回転状態または撮
影位置によっては文字の上側または下側の一部が欠落し
たように見えるために、文字認識率が低下し、文字の誤
判定や不読が発生するという問題がある。
The indication value of the watt hour meter is a rotating character such as a rotating counter character. Depending on the rotation state at the time of carrying the rotating character or the shooting position, the upper side of the character is displayed. Alternatively, since it seems that a part of the lower side is missing, the character recognition rate is lowered, and there is a problem that an erroneous determination or non-reading of the character occurs.

【0006】また、最小目盛り値の場合には、上述した
ように、従来計測する一般的な手法はないとともに、ま
たこのような最小目盛り値を画像処理で計測するには、
高い分解能の視野が必要となり、高い位置決め精度を要
求されるという問題がある。
Further, in the case of the minimum scale value, as described above, there is no general method for measuring conventionally, and in order to measure such a minimum scale value by image processing,
There is a problem that a field of view with high resolution is required and high positioning accuracy is required.

【0007】更に、文字が最も欠落する認識対象文字と
次候補文字の中位点での類似度が低下し誤判定や不読を
発生するという問題がある。
Further, there is a problem in that the similarity between the character to be recognized, which is the most missing character, and the middle point of the next candidate character is reduced, resulting in erroneous determination and non-reading.

【0008】また、ワットアワーメータの回転式カウン
タ文字の7は、撮影状態により、上側部分が欠落した場
合、他の文字と比較すると、類似度が著しく低下し、誤
判定や不読を生じ、更に回転式カウンタ文字の1は、文
字幅が他の文字の2/3程度しかなく、文字の適切な切
り出しが困難であり、切り出し不良によって類似度が他
の文字に比較して低下するという問題がある。
Further, when the upper part of the rotating counter character 7 of the watt hour meter is missing due to the photographing condition, the similarity is remarkably lowered as compared with other characters, resulting in erroneous determination and unreading. Furthermore, the rotation counter character 1 has a character width of only about ⅔ of other characters, and it is difficult to appropriately cut out the character, and the cutout failure causes the similarity to be lower than other characters. There is.

【0009】本発明は、上記に鑑みてなされたもので、
その目的とするところは、ワットアワーメータの欠落し
た回転文字の認識率を向上し、分割文字を適確に認識し
得るワットアワーメータ文字認識装置を提供することに
ある。
The present invention has been made in view of the above,
It is an object of the present invention to provide a watt hour meter character recognizing device capable of improving the recognition rate of a rotating character lacking a watt hour meter and accurately recognizing a divided character.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、本発明のワットアワーメータ文字認識装置は、ワッ
トアワーメータの回転文字を認識するワットアワーメー
タ文字認識装置であって、ワットアワーメータの回転文
字を撮像する撮像手段と、該撮像手段で撮像した画像か
ら文字を切り出す文字切り出し手段と、前記撮像手段で
撮像した画像から基準目盛りを切り出す基準目盛り切り
出し手段と、切り出された文字から該文字の高さを計測
するとともに、該文字を認識し、該認識結果と類似度か
ら複数の候補を取り出す計測認識手段と、類似度による
判断と上位桁の情報に基づいて文字を判定する判定手段
とを有することを要旨とする。
To achieve the above object, a watt hour meter character recognition device of the present invention is a watt hour meter character recognition device for recognizing a rotating character of a watt hour meter. An image pickup means for picking up a rotated character, a character cutout means for cutting out a character from an image picked up by the image pickup means, a reference scale cutout means for cutting out a reference scale from the image picked up by the image pickup means, and the character from the cutout character. Measuring and recognizing the character and extracting a plurality of candidates from the recognition result and the similarity, and a determining means for determining the character based on the similarity and the upper digit information. It is a gist to have.

【0011】また、本発明のワットアワーメータ文字認
識装置は、上記に加えて、前記撮像手段で撮像した画像
に基づいて最小目盛りが形成されている文字の窓枠に現
れている文字の大きさを判断し、該文字の大きさに基づ
いて最小目盛り値を算出する最小目盛り値算出手段を有
することを要旨とする。
In addition to the above, the watt hour meter character recognition device of the present invention is the size of the character appearing in the window frame of the character on which the minimum scale is formed based on the image picked up by the image pickup means. And a minimum scale value calculating means for calculating the minimum scale value based on the size of the character.

【0012】更に、本発明のワットアワーメータ文字認
識装置は、上下に分割された文字を認識する場合、各々
の文字らしさの候補を複数計測し、これらの候補文字と
類似度から数字の連続性に着目して文字を認識する手段
を有することを要旨とする。
Further, in the watt hour meter character recognition device of the present invention, when recognizing a character divided into upper and lower parts, a plurality of candidates of character likeness of each character are measured, and the continuity of numbers is determined from the similarity of these candidate characters. The gist is to have a means for recognizing characters by paying attention to.

【0013】本発明のワットアワーメータ文字認識装置
は、ワットアワーメータの回転文字を認識するワットア
ワーメータ文字認識装置であって、ワットアワーメータ
の回転文字を撮像する撮像手段と、該撮像手段で撮像し
た画像から文字幅および文字高さを切り出する切り出し
手段と、該切り出し手段により切り出した文字高さに基
づいて文字と文字との中位点を検出し、該中位点の位置
に基づいて前記撮像手段で撮像した画像が分割文字であ
ると判断する分割文字判断手段と、分割文字を記憶して
いる分割文字辞書と、該分割文字辞書に基づいて前記分
割文字の文字認識を行う文字認識手段とを有することを
要旨とする。
A watt hour meter character recognition device of the present invention is a watt hour meter character recognition device for recognizing a rotating character of a watt hour meter, and an imaging means for imaging a rotating character of a watt hour meter, and the imaging means. Cutout means for cutting out the character width and the character height from the captured image, and detecting the midpoint between the character and the character based on the character height cut out by the cutout means, and based on the position of the midpoint A divided character determination unit that determines that the image captured by the image capturing unit is a divided character, a divided character dictionary that stores the divided character, and character recognition that performs character recognition of the divided character based on the divided character dictionary. The gist is to have means.

【0014】また、本発明のワットアワーメータ文字認
識装置は、前記切り出し手段により切り出した文字幅に
基づいて前記撮像手段で撮像した画像情報が数字の1ま
たは7であると判断する数字判断手段を有し、前記文字
認識手段は、前記数字判断手段の判断を併用して文字の
認識を行うことを要旨とする。
Further, the watt hour meter character recognition device of the present invention comprises a numeral judgment means for judging that the image information picked up by the image pickup means is the numeral 1 or 7 based on the character width cut out by the cutting means. The gist of the character recognizing means is to recognize the character by using the judgment of the numeral judging means in combination.

【0015】[0015]

【作用】本発明のワットアワーメータ文字認識装置で
は、撮像手段で撮像した画像から文字および基準目盛り
を切り出し、文字の高さを計測して文字を認識し、この
認識結果と類似度から複数の候補を取り出し、類似度に
よる判断と上位桁の情報に基づいて文字を判定する。
In the watt hour meter character recognition device of the present invention, the character and the reference scale are cut out from the image picked up by the image pickup means, the height of the character is measured to recognize the character, and a plurality of characters are recognized from the recognition result and the similarity. The candidate is taken out, and the character is judged based on the judgment based on the similarity and the information of the upper digit.

【0016】また、本発明のワットアワーメータ文字認
識装置では、上記に加えて、撮像手段で撮像した画像に
基づいて最小目盛りが形成されている文字の窓枠に現れ
ている文字の大きさを判断し、この大きさに基づいて最
小目盛り値を算出する。
In the watt hour meter character recognition device of the present invention, in addition to the above, the size of the character appearing in the window frame of the character on which the minimum scale is formed based on the image picked up by the image pickup means is set. Judgment is made and the minimum scale value is calculated based on this size.

【0017】更に、本発明のワットアワーメータ文字認
識装置では、上下に分割された文字を認識する場合、各
々の文字らしさの候補を複数計測し、これらの候補文字
と類似度から数字の連続性に着目して文字を認識する。
Further, in the watt hour meter character recognition device of the present invention, when recognizing a character divided into upper and lower parts, a plurality of candidates for character likelihood of each character are measured, and the continuity of numbers is calculated from these candidate characters and similarity. Recognize characters by focusing on.

【0018】本発明のワットアワーメータ文字認識装置
では、撮像手段で撮像した画像から文字幅および文字高
さを切り出し、この切り出した文字高さに基づいて文字
と文字との中位点を検出し、該中位点の位置に基づいて
分割文字であると判断した場合、この分割文字の文字認
識を分割文字辞書に基づいて行う。
In the watt hour meter character recognition apparatus of the present invention, the character width and the character height are cut out from the image picked up by the image pickup means, and the middle point between the characters is detected based on the cut out character height. When it is determined that the divided character is a divided character based on the position of the middle point, character recognition of the divided character is performed based on the divided character dictionary.

【0019】また、本発明のワットアワーメータ文字認
識装置では、前記切り出し手段により切り出した文字幅
に基づいて数字の1または7であると判断し、この判断
を併用して、文字の認識を行う。
Further, in the watt hour meter character recognition device of the present invention, it is judged that the numeral is 1 or 7 based on the character width cut out by the cutting means, and the character is recognized by using this judgment together. .

【0020】[0020]

【実施例】以下、図面を用いて本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0021】図1は、本発明の一実施例に係わるワット
アワーメータ文字認識装置の構成を示すブロック図であ
る。同図に示すワットアワーメータ文字認識装置は、回
転式カウンタで数字を表示するワットアワーメータ1の
数字を読み取るCCDカメラ2を有し、該CCDカメラ
2で読み取られた画像情報は処理装置3の画像処理装置
5に供給され、ここで2値化処理され、目盛・文字切出
部6に供給される。
FIG. 1 is a block diagram showing the configuration of a watt hour meter character recognition apparatus according to an embodiment of the present invention. The watt hour meter character recognition device shown in the figure has a CCD camera 2 for reading the number of the watt hour meter 1 for displaying the number on the rotary counter, and the image information read by the CCD camera 2 is stored in the processing device 3. It is supplied to the image processing device 5, where it is binarized and supplied to the scale / character cutout unit 6.

【0022】そして、目盛・文字切出部6において、文
字の位置アドレス、高さ、幅を検出するとともに、基準
目盛りの位置アドレス、高さを検出する。それから、文
字情報は文字認識部7に供給される。該文字認識部7は
図示のように辞書を有し、該辞書を参照して、文字認識
を行う。すなわち、辞書と切り出した文字の比較を行う
ことにより文字認識を行う。認識された文字は文字らし
さとして5つの結果が候補文字として抽出され、それぞ
れに類似度が付加される。
Then, the scale / character cutout unit 6 detects the position address, height and width of the character, and also detects the position address and height of the reference scale. Then, the character information is supplied to the character recognition unit 7. The character recognition unit 7 has a dictionary as shown in the figure, and performs character recognition by referring to the dictionary. That is, character recognition is performed by comparing the cut-out character with the dictionary. For the recognized characters, five results are extracted as candidate characters as character-likeness, and the similarity is added to each of them.

【0023】文字の認識結果、類似度、切り出し情報ア
ドレス、および基準目盛り情報アドレスは結果出力部8
を介してパソコン4の結果入力部9に供給される。結果
入力部9に供給された情報は目盛値算出部10に供給さ
れ、ここで最小目盛り値の算出が行われる。それから、
類似度算定部11において文字の判定が行われ、更に上
位桁判断部12において上位桁の判断を行う。上位桁と
は、1桁上の数字であり、この上位桁が分割文字である
場合には、この上位桁の1桁下の数字は9となる。
The result output unit 8 outputs the character recognition result, the degree of similarity, the cutout information address, and the reference scale information address.
It is supplied to the result input section 9 of the personal computer 4 via. The information supplied to the result input unit 9 is supplied to the scale value calculation unit 10, where the minimum scale value is calculated. then,
The similarity calculation unit 11 determines the character, and the upper digit determination unit 12 further determines the upper digit. The upper digit is a digit one digit higher, and when the upper digit is a divided character, the digit one digit below the upper digit is nine.

【0024】図2(a)は、文字検出から文字認識およ
び結果通信までの処理を示すフローチャートであり、図
2(b)〜(g)は図2(a)の各処理における説明図
である。
FIG. 2A is a flow chart showing processing from character detection to character recognition and result communication, and FIGS. 2B to 2G are explanatory views in each processing of FIG. 2A. .

【0025】図2(b),(c)に示すように、ワット
アワーメータ1で示されるカウンタ式回転文字は、単相
の場合と3相の場合とで異なっている。図2(b)は、
単相の場合を示しているが、最下位の桁のM3 は目盛
り、すなわち最小目盛り値によって示されているととも
に、この最小目盛り値およびその1桁上のM2 は窓枠の
外側に出ている。これに対して、3相の場合には、図2
(c)で示すように、すべて窓枠内に入っている。そし
て、いずれの場合も、最下位桁の最小目盛り値はM3
表され、その上の桁はM2 で表され、更にその上の桁は
1 で表され、更にその上の桁はM0 で表されている。
As shown in FIGS. 2 (b) and 2 (c), the counter type rotating character indicated by the watt hour meter 1 is different between the case of the single phase and the case of the three phases. 2 (b) is
In the case of a single phase, the lowest digit M 3 is indicated by the scale, that is, the minimum scale value, and this minimum scale value and M 2 one digit above it are displayed outside the window frame. ing. On the other hand, in the case of three phases, as shown in FIG.
As shown in (c), they are all inside the window frame. In any case, the smallest scale value of the least significant digit is represented by M 3 , the digit above it is represented by M 2 , the digit above it is represented by M 1 , and the digit above it is It is represented by M 0 .

【0026】図2(a)の処理は、割り込みによって起
動されるため、割り込みがあるか否かがチェックされ
(ステップ110)、割り込みによって起動されると、
まず単相パラメータがセットされる(ステップ12
0)。そして、単相であるのか、または3相であるのか
がチェックされ(ステップ130)、3相の場合には、
3相パラメータがセットされる(ステップ140)。そ
して、図2(b)または(c)に示すような窓枠が検出
される(ステップ150)。
Since the process of FIG. 2A is started by an interrupt, it is checked whether or not there is an interrupt (step 110).
First, the single-phase parameters are set (step 12).
0). Then, it is checked whether it is a single phase or a three phase (step 130), and in the case of three phases,
Three-phase parameters are set (step 140). Then, a window frame as shown in FIG. 2B or 2C is detected (step 150).

【0027】それから、図2(d)に示すように、M2
の比率が計測される(ステップ160)。このM2 の比
率の計測では、図2(d)に示すように、同図の場合に
は、上半分に数字2の下側部分が部分的に現れ、下半分
に数字3の上側部分が部分的に現れているが、この部分
的な数字のうちのそれぞれの上端部および下端部の位置
がそれぞれy1 ,y2 ,y3 ,y4 として計測される。
Then, as shown in FIG. 2D, M 2
Is measured (step 160). In the measurement of the ratio of M 2 , as shown in FIG. 2D, in the case of the same figure, the lower part of the number 2 partially appears in the upper half and the upper part of the number 3 appears in the lower half. Although partially appearing, the positions of the upper end and the lower end of each of the partial numbers are measured as y 1 , y 2 , y 3 , and y 4 , respectively.

【0028】次に、ステップ170においてM2 が分割
文字であるか否かがチェックされ、分割されていない1
文字と認識された場合(ステップ180)には、最小目
盛り値M3 の検出が行われる(ステップ210)が、分
割文字の場合には、図2(e)に示すように上文字の認
識および下文字の認識がおこなわれて(ステップ19
0,200)から、最小目盛り値M3 の検出が行われる
(ステップ210)。この最小目盛り値M3 の検出で
は、図2(f)に示すように目盛り基準線の位置が
5 ,y6 として計測される。
Next, at step 170, it is checked whether or not M 2 is a divided character, and it is not divided 1
If it is recognized as a character (step 180), the minimum scale value M 3 is detected (step 210), but if it is a divided character, the upper character is recognized and the upper character is recognized as shown in FIG. 2 (e). The lower character is recognized (step 19
0, 200), the minimum scale value M 3 is detected (step 210). In the detection of the minimum scale value M 3 , the positions of the scale reference line are measured as y 5 and y 6 as shown in FIG. 2 (f).

【0029】それから、M1 の検出が行われ(ステップ
220)、このM1 が分割文字であるか否がチェックさ
れる(ステップ230)。分割されていない1文字と認
識された場合(ステップ240)には、M0 の検出が行
われる(ステップ270)が、分割文字の場合には、上
文字の認識および下文字の認識がおこなわれて(ステッ
プ250,260)から、M0 の検出が行われる(ステ
ップ270)。このM0 の検出では、図2(g)に示す
ように上半分に数字の下側部分が部分的に現れ、下半分
に数字の上側部分が部分的に現れている部分的な数字の
うちのそれぞれの上端部および下端部の位置がそれぞれ
7 ,y8 ,y9 ,y10として計測される。それから、
以上の結果が表示され、通信される(ステップ280,
290)。
Then, M 1 is detected (step 220), and it is checked whether this M 1 is a divided character (step 230). When it is recognized as one character that is not divided (step 240), M 0 is detected (step 270), but when it is a divided character, the upper character and the lower character are recognized. (Steps 250 and 260), M 0 is detected (Step 270). In the detection of M 0 , as shown in FIG. 2G, the lower part of the number partially appears in the upper half and the upper part of the number partially appears in the lower half. The respective positions of the upper end and the lower end of the are measured as y 7 , y 8 , y 9 , and y 10 . then,
The above results are displayed and communicated (step 280,
290).

【0030】上述したように計測された結果が図3に示
すようなフォーマットのデータとして作成される。
The results measured as described above are created as data in the format shown in FIG.

【0031】図4(a),(b),(c)は、それぞれ
ワットアワーメータの数字および目盛り認識の名称、画
像上の座標アドレス、各部の大きさを示している。
4 (a), (b) and (c) respectively show the number of the watt hour meter, the name of the scale recognition, the coordinate address on the image and the size of each part.

【0032】図4(a)においては、黒窓枠で4桁の数
字「3590」が示され、各数字は更に小窓枠で囲ま
れ、これらの数字の右側に白窓枠で囲まれた数字が分割
された状態で示されている。この白窓枠で囲んで示す数
字は単相の場合のみあるものである。そして、この白窓
枠の右側には基準線、すなちわ目盛り基準線があり、こ
の基準線に対して最小桁の目盛りが白窓枠内に刻んで形
成されている。この目盛りの基準線に対する数字の読み
が最小桁M3 に対応し、白窓枠内の数字がM2 に対応
し、黒窓枠の右端の数字がM1 であり、この数字の左の
数字がM0 である。図4(b)に示すように、画像上の
座標アドレスは左上端が座標原点(0,0)であり、右
下端の座標が(511,511)である。そして、座標
原点から右方にx軸が定義され、下方にy軸が定義され
ている。
In FIG. 4A, a four-digit number "3590" is shown in a black window frame, each number is further surrounded by a small window frame, and a right side of these numbers is surrounded by a white window frame. The numbers are shown split. The numbers surrounded by the white window frame are for single phase only. Then, on the right side of the white window frame, there is a reference line, that is, a graduation scale reference line, and the scale of the smallest digit is carved in the white window frame with respect to the reference line. The number reading on the reference line of this scale corresponds to the minimum digit M 3 , the number in the white window frame corresponds to M 2 , the number at the right end of the black window frame is M 1 , and the number to the left of this number Is M 0 . As shown in FIG. 4B, the coordinate address on the image has the coordinate origin (0, 0) at the upper left end and the coordinates (511, 511) at the lower right end. Then, the x-axis is defined to the right of the coordinate origin, and the y-axis is defined below.

【0033】また、窓枠および該窓枠内の文字の大きさ
は、図4(c)に示すように定義されている。すなわ
ち、文字の幅はW、文字の高さはH、文字ピッチはP、
窓枠の長さはKである。
The size of the window frame and the characters in the window frame are defined as shown in FIG. 4 (c). That is, the character width is W, the character height is H, the character pitch is P,
The length of the window frame is K.

【0034】次に、図5を参照して、前記目盛値算出部
10における最小目盛りM3 の認識のための基本的計測
方法について説明する。
Next, with reference to FIG. 5, a basic measuring method for recognizing the minimum scale M 3 in the scale value calculating section 10 will be described.

【0035】図5において、数字2および3の中心で示
す文字ピッチPは10等分され、この間に基準線が位置
しているが、この基準線は文字2と3の間の10等分さ
れた目盛りのうちの数字2の方から4番目の目盛りの位
置を示している。従って、この基準線で示す最小目盛り
3 の数字は4であり、すなわち2.4と読むことがで
きる。文字ピッチPを2で除算した中心から基準線まで
の長さをnとし、基準線から文字ピッチの上端までの長
さをmとすると、M3 は図示のようにM3 =m/Pとし
て表される。なお、P/2=m+nであり、m=P/2
−nであるので、M3 =(P/2−n)/Pとしても算
出し得る。
In FIG. 5, the character pitch P indicated by the centers of the numbers 2 and 3 is divided into 10 equal parts, and the reference line is located between them, but this reference line is divided into 10 equal parts between the characters 2 and 3. It shows the position of the fourth scale from the number 2 on the scale. Therefore, the numbers of the minimum scale M 3 indicated by the reference line is 4, that is, read and 2.4. Assuming that the length from the center of the character pitch P divided by 2 to the reference line is n and the length from the reference line to the upper end of the character pitch is m, M 3 is M 3 = m / P as shown in the figure. expressed. Note that P / 2 = m + n and m = P / 2
Since it is −n, it can be calculated as M 3 = (P / 2−n) / P.

【0036】図6は、ワットアワーメータの窓枠内の文
字の認識方法について示している。この図では、仮に窓
枠内にゴミがある場合においては、まず窓枠内のY方向
のプロフィールを取り、その時の斜影データに対してゴ
ミを文字として検出しないように斜影スレッシュルドレ
ベルでゴミを検出しないようにノイズに対して強くして
いる。
FIG. 6 shows a method of recognizing characters in the window frame of the watt hour meter. In this figure, if there is dust in the window frame, first take a profile in the Y direction in the window frame, and remove dust at the diagonal threshold level so that dust is not detected as characters in the diagonal data at that time. Strong against noise so that it is not detected.

【0037】図7は、ワットアワーメータの窓枠内の文
字の認識に適した計測方法を基本計測式を展開して求め
る方法を示している。なお、この方法は基準目盛りを利
用する場合のものである。
FIG. 7 shows a method for obtaining a measurement method suitable for recognizing characters in the window frame of the watt hour meter by expanding the basic measurement formula. It should be noted that this method is for using the reference scale.

【0038】図7(a)の場合には、次に示すように基
本計測式は展開される。
In the case of FIG. 7A, the basic measurement formula is developed as shown below.

【数1】M3 =m/P =[y5 −{y2 −(y2 −y1 )/2}]/P ={y5 −(y2 +y1 )/2}/P なお、マイナスの時は、M3 *=1−M3 である。但
し、上エッジに影がある場合は、y1 にy3 ,y2 にy
4 を代入して算出する。
[Number 1] M 3 = m / P = [ y 5 - {y 2 - (y 2 -y 1) / 2}] / P = {y 5 - (y 2 + y 1) / 2} / P Note that, When it is negative, M 3 * = 1−M 3 . However, when there is a shadow on the upper edge, y 1 is y 3 and y 2 is y.
Calculate by substituting 4 .

【0039】図7(b)の場合には、次に示すように基
本計測式は展開される。 M3 =m/P={y5 −(y2 −H/2)}/P
In the case of FIG. 7B, the basic measurement formula is developed as shown below. M 3 = m / P = { y 5 - (y 2 -H / 2)} / P

【0040】図7(c)の場合には、次に示すように基
本計測式は展開される。
In the case of FIG. 7C, the basic measurement formula is developed as shown below.

【数2】 M3 =m/P={y5 −(y2 −H/2)}/P M3 =(P/2−n)/P =[P/2−{(y3 +y2 )/2−y5 }]/P (P≒kのとき) =(2y5 +y4 −y3 −y2 −y1 )/2(y4 −y
1 ) 図8は、ワットアワーメータの窓枠内の文字の認識に適
した計測方法を基本計測式を展開して求める方法を示し
ている。なお、この方法は基準目盛りを利用しない場合
のものである。
[Number 2] M 3 = m / P = { y 5 - (y 2 -H / 2)} / P M 3 = (P / 2-n) / P = [P / 2 - {(y 3 + y 2 ) / 2−y 5 }] / P (when P≈k) = (2y 5 + y 4 −y 3 −y 2 −y 1 ) / 2 (y 4 −y
1 ) Fig. 8 shows a method for obtaining a measurement method suitable for recognizing characters in the window frame of the watt hour meter by expanding the basic measurement formula. It should be noted that this method is for the case where the standard scale is not used.

【0041】図8(c)の場合には、次に示すように基
本計測式は展開される。 l=P/2−u =P/2−(P−m−K1 ) =K1 −P/2+m ここで、K1 ≒P/2とすると、l≒mであるので、 M3 =m/P≒l/P ={y4 −(y3 +y2 )/2}/P ここで、K≒Pとなれば、
In the case of FIG. 8C, the basic measurement formula is developed as shown below. l = P / 2−u = P / 2− (P−m−K 1 ) = K 1 −P / 2 + m Here, if K 1 ≈P / 2, then 1≈m, so M 3 = m / P≈l / P = {y 4 − (y 3 + y 2 ) / 2} / P Here, if K≈P,

【数3】 M3 ={y4 −(y3 +y2 )/2}/(y4 −y1 ) 図9は、前記類似度算定部11で行われる分割文字の認
識方法について示している。ワットアワーメータのカウ
ンタ式回転文字は窓枠に対してその状態により図9に示
すような見え方になる。
Equation 3] M 3 = {y 4 - ( y 3 + y 2) / 2} / (y 4 -y 1) FIG. 9 shows a method of recognizing divided character performed by the similarity calculating unit 11 . The counter type rotating character of the watt hour meter has the appearance as shown in FIG. 9 depending on its state with respect to the window frame.

【0042】図9(a)に示すように、通常の1文字の
場合には、検出された文字の高さ幅で辞書と比較されて
文字認識が行われるが、図9(b),(c)に示すよう
に文字に欠落がある場合には、文字の高さがある一定値
以下の時、図9(b),(c)において点線で示すよう
な仮想枠を使用して、仮想文字高さを設定し、辞書と比
較して行う。なお、仮想文字内の文字情報がない部分
は、特徴をなくすために網掛処理を施し、文字が欠落し
ている部分の特徴を相殺させる。そして、図9(d)に
示すように、各文字を辞書と比較して類似度を算出す
る。なお、図9(d)においても点線で示す部分は仮想
枠である。
As shown in FIG. 9A, in the case of a normal single character, character recognition is performed by comparing with the dictionary based on the height width of the detected character. When there is a missing character as shown in c), when the height of the character is less than a certain value, a virtual frame as shown by a dotted line in FIGS. Set the character height and compare with the dictionary. It should be noted that a portion of the virtual character having no character information is subjected to a meshing process in order to eliminate the characteristic, and the characteristic of the portion where the character is missing is offset. Then, as shown in FIG. 9D, each character is compared with the dictionary to calculate the degree of similarity. In addition, also in FIG. 9D, a portion indicated by a dotted line is a virtual frame.

【0043】次に、図10を参照して、判定方法につい
て説明する。
Next, the determination method will be described with reference to FIG.

【0044】この判定方法に使用されるデータとして
は、上側文字の文字候補値CiU、類似度miU、文字サイ
ズhiUおよび下側文字の文字候補値CiD、類度度miD
文字サイズhiDを使用する。なお、iは1〜5であり、
5つの候補がある。
The data used in this determination method includes character candidate value C iU for the upper character, similarity m iU , character size h iU , character candidate value C iD for the lower character, and degree of similarity m iD ,
Use character size h iD . Note that i is 1 to 5,
There are 5 candidates.

【0045】図10の判定方法では、まず文字分割の有
無を判定する(ステップ410)が、これは文字サイズ
から判定を行う。文字の高さがパラメータによる設定値
以上の場合には、通常の1文字認識を行い、第1候補の
文字の類似度をチェックする(ステップ420)。分割
文字の場合には、上下の文字候補の連続性を確認し(ス
テップ430)、その時の連続文字の類似度の和を取
り、加算された時の類似度の和が最も大きいものを暫定
結果とする(ステップ440)。
In the determination method of FIG. 10, the presence or absence of character division is first determined (step 410), which is determined from the character size. If the height of the character is greater than or equal to the value set by the parameter, normal one-character recognition is performed, and the similarity of the first candidate character is checked (step 420). In the case of divided characters, the continuity of the upper and lower character candidates is confirmed (step 430), the sum of the similarities of the consecutive characters at that time is taken, and the one with the largest sum of the similarities when added is the tentative result. (Step 440).

【0046】それから、前記上位桁判断部12で上位の
桁が分割文字であるか否かをチェックし(ステップ45
0)、分割文字である場合には、当該文字の認識結果を
「9」とする(ステップ460)。前記暫定結果が変更
されていない時には、パラメータによる許容類似度と比
較し、許容値以下の場合には、不読とし(ステップ48
0)、許容値より大きい場合には、最大類似度の文字を
答とする(ステップ490)。
Then, the upper digit judging section 12 checks whether or not the upper digit is a divided character (step 45).
0), if it is a divided character, the recognition result of the character is set to "9" (step 460). When the provisional result has not been changed, it is compared with the allowable similarity by the parameter, and when it is less than the allowable value, it is unread (step 48).
0), if it is larger than the allowable value, the character having the maximum similarity is taken as the answer (step 490).

【0047】図11(a)〜(d)は、それぞれ図9
(a)〜(d)に類似した図である。図9では、上述し
たように点線で示した仮想枠を使用して文字認識を行っ
ているが、このために文字をはずれた部分は空白として
辞書パターンと相関をとることになるが、この空白部分
は実際の文字においては文字毎にある比率、すなわち図
12(a)に示すように仮想枠の幅をw、仮想枠の上側
部分の長さをh1 、下側部分の長さをh2 、仮想枠内の
文字部分の面積をaとすると、(a/w×h1 )の比率
をもって文字パターン部と背景があるはずである。従っ
て、この比率の大小によっては誤認識を生じるおそれが
ある。このため、図11では、この仮想枠の空白部分に
図示のように白/黒の網掛け処理を施し、これにより文
字種毎に異なっている空白部分の相関度(類似度)を同
等なものとし、認識枠内の文字有効部分の相関度で評価
できるようにしたものである。
FIGS. 11A to 11D are respectively shown in FIG.
It is a figure similar to (a)-(d). In FIG. 9, character recognition is performed using the virtual frame indicated by the dotted line as described above. For this reason, the part where the character is off is regarded as a space and is correlated with the dictionary pattern. In the actual characters, the part has a certain ratio for each character, that is, the width of the virtual frame is w, the length of the upper part of the virtual frame is h 1 , and the length of the lower part is h as shown in FIG. 2. If the area of the character portion in the virtual frame is a, there should be a character pattern portion and a background with a ratio of (a / w × h 1 ). Therefore, erroneous recognition may occur depending on the magnitude of this ratio. For this reason, in FIG. 11, the blank portion of this virtual frame is subjected to white / black shading processing as shown in the drawing, thereby making the correlations (similarities) of the blank portions different for each character type equal. The evaluation is based on the degree of correlation of the valid characters in the recognition frame.

【0048】図12(a)に示すように、図9の場合と
同様の場合には、仮想枠の空白部の相関度は(w×h1
−a)に比例し、文字部の相関度は(w×h2 )に比例
するが、網掛け処理を施した場合には、図12(b)に
示すように、網掛け部の相関度は(w×h1 )/2に比
例し、文字部の相関度は(w×h2 )に比例する。
As shown in FIG. 12A, in the same case as in FIG. 9, the degree of correlation of the blank portion of the virtual frame is (w × h 1
-A) and the correlation degree of the character portion is proportional to (w × h 2 ). However, when the hatching process is performed, the correlation degree of the hatched portion is as shown in FIG. Is proportional to (w × h 1 ) / 2, and the degree of correlation of the character portion is proportional to (w × h 2 ).

【0049】図13(a),(b)は、それぞれ網掛け
処理を行う前と行った後における2分割された文字の上
文字および下文字の各認識文字0〜9に対する類似度を
示す図である。両図において、丸印○は網掛け処理後の
類似度を示し、三角印△は網掛け処理前の類似度を示し
ている。なお、丸印○および三角印△の中に記載されて
いる数字は5つの候補の中の最良の類似度を有する候補
の番号を示している。両図からわかるように、全体的に
は網掛け処理を施した方が類似度は良いことを示してい
る。
FIGS. 13 (a) and 13 (b) are diagrams showing the degree of similarity of the upper and lower characters of the character divided into two with respect to the recognized characters 0 to 9 before and after the shading processing, respectively. Is. In both figures, a circle ◯ indicates the similarity after the shading process, and a triangle Δ indicates the similarity before the shading process. The numbers in circles and triangles indicate the number of the candidate having the best similarity among the five candidates. As can be seen from both figures, it is shown that the overall degree of similarity is better when the shading process is performed.

【0050】図14〜図23は、それぞれ分割文字0〜
9に対して網掛け処理前と網掛け処理後の類似度を各5
つの候補についてとったデータを示す図である。
14 to 23 show divided characters 0 to 0, respectively.
9, the similarity before and after the halftone processing is 5
It is a figure which shows the data taken about one candidate.

【0051】図24は、本発明の他の実施例に係わるワ
ットアワーメータ文字認識装置の構成を示すブロック図
である。同図に示すワットアワーメータ文字認識装置
は、図1に示した実施例と同様に、回転式カウンタで数
字を表示するワットアワーメータ1の数字をCCDカメ
ラ2で撮像し、この撮像した画像情報を処理装置31の
画像処理装置5に供給して、この画像情報を2値化処理
し、文字幅切出部21に供給する。
FIG. 24 is a block diagram showing the construction of a watt hour meter character recognition apparatus according to another embodiment of the present invention. As in the embodiment shown in FIG. 1, the watt hour meter character recognition device shown in the same figure captures the number of the watt hour meter 1 which displays the number on the rotary counter with the CCD camera 2, and the captured image information. Is supplied to the image processing device 5 of the processing device 31, the image information is binarized, and supplied to the character width cutout unit 21.

【0052】文字幅切出部21は、画像処理装置5から
の画像情報から文字幅を検出する。なお、該文字幅切出
部21は、図示のように、数字「1」を検出したことを
示す「1検出フラグ」および数字「7」を検出したこと
を示す「7検出フラグ」を有するが、画像情報から文字
幅を検出すると、この検出した文字幅に基づいて該文字
幅が1または7の時に前記フラグをセットする。
The character width cutting section 21 detects the character width from the image information from the image processing device 5. The character width cutout unit 21 has a “1 detection flag” indicating that the number “1” has been detected and a “7 detection flag” indicating that the number “7” has been detected, as shown in FIG. When the character width is detected from the image information, the flag is set when the character width is 1 or 7 based on the detected character width.

【0053】この文字幅切出部21における文字幅の検
出処理について図25を参照して説明する。
A character width detecting process in the character width cutting section 21 will be described with reference to FIG.

【0054】まず、検出した文字幅が数字1に対応する
ものと判断し、1検出フラグをセットする場合の処理に
ついて説明する。文字幅として、図25(b)に示すよ
うに、基準設定文字幅Mhを予め設定しておく。そし
て、図25(c)に示すように、検出した文字の重心M
jから設定文字幅の判断Mh/2を減算した文字の仮想
文字スタートXアドレス(Msx)から「1」の右側ま
での幅W1以上の値で、例えば2Mh/3を加えたアド
レスを1検出XスタートウィンドウアドレスM1xとす
る。
First, the process for determining that the detected character width corresponds to the numeral 1 and setting the 1 detection flag will be described. As the character width, as shown in FIG. 25B, the reference setting character width Mh is set in advance. Then, as shown in FIG. 25C, the center of gravity M of the detected character
The value of the width W1 from the virtual character start X address (Msx) obtained by subtracting the setting character width judgment Mh / 2 from j to the right side of "1", for example, 2Mh / 3 is added to the detected address X The start window address is M1x.

【0055】それから、検出文字YスタートアドレスM
sy、設定文字高さYw、1検出ウィンドウ幅Mh−
(M1x−Msx)=Mh/3を設定し、この領域を図
25(c)の斜線で示すような1検出ウィンドウとして
設定する。なお、W1はワットアワーメータ1の回転式
カウンタの種類によって異なるものである。
Then, the detected character Y start address M
sy, set character height Yw, 1 detection window width Mh-
(M1x−Msx) = Mh / 3 is set, and this area is set as one detection window as shown by the diagonal lines in FIG. Note that W1 varies depending on the type of rotary counter of the watt hour meter 1.

【0056】以上のように1検出ウィンドウを設定する
と、この1検出ウィンドウ内に文字情報がない場合に
は、検出した画像情報の文字は「1」と判断し、前記1
検出フラグを設定する。なお、この1検出ウィンドウ
は、図25(a)に数字の右側に示す影のように設定さ
れる。
When one detection window is set as described above, if there is no character information in this one detection window, the character of the detected image information is judged to be "1", and
Set the detection flag. Note that this one detection window is set like the shadow shown on the right side of the numbers in FIG.

【0057】次に、検出した文字幅が数字7に対応する
ものと判断して、7検出フラグを設定する場合について
説明する。数字の7の場合には、図25(d)に示すよ
うに、桁上げ用の溝があり、この桁上げ用の溝により文
字幅が拡大するので、この場合には、検出した文字幅が
図25(d)に示すように設定文字幅Mh+許容値を越
える幅Ms2となるので、この場合には、検出した画像
情報の文字は「7」と判断し、前記7検出フラグを設定
する。なお、前記桁上げ用の溝は他の文字にはなく、7
独特のものである。
Next, the case where the detected character width is judged to correspond to the numeral 7 and the 7 detection flag is set will be described. In the case of the numeral 7, as shown in FIG. 25 (d), there is a groove for carry, and the character width is expanded by this groove for carry. Therefore, in this case, the detected character width is As shown in FIG. 25D, the set character width Mh + the width Ms2 that exceeds the allowable value is set. Therefore, in this case, the character of the detected image information is determined to be “7”, and the 7 detection flag is set. In addition, there is no groove for the carry in other characters,
It is unique.

【0058】以上のようにして、文字幅切出部21にお
いて検出した文字幅から1検出フラグまたは7検出フラ
グが設定されると、画像情報は文字高さ切出部22に供
給され、ここで文字高さが検出される。
As described above, when the 1-detection flag or the 7-detection flag is set based on the character width detected by the character-width cutting section 21, the image information is supplied to the character-height cutting section 22. The character height is detected.

【0059】この文字高さ切出部22における文字高さ
の検出処理は、分割文字における文字高さを検出するも
のであり、図26に示すように、例えば数字2と3が分
割して現れた場合に、その上側文字である数字「2」の
上端部および下端部のアドレスをそれぞれY1,Y2と
し、下側文字である数字「3」の上端部および下端部の
アドレスをそれぞれY3,Y4とすると、分割された両
文字の中間点、すなわち中位点Ysを算出する。
The character height detection processing in the character height cutout unit 22 is to detect the character height in the divided characters. For example, as shown in FIG. In this case, the addresses of the upper end and the lower end of the number “2” which is the upper side character are Y1 and Y2 respectively, and the addresses of the upper end and the lower end of the number “3” which are the lower side character are Y3 and Y4 respectively. Then, the midpoint between the divided characters, that is, the middle point Ys is calculated.

【0060】すなわち、この中位点Ysの算出は、下側
文字「3」の上端部のアドレスY3に上側文字「2」の
下端部のアドレスY2を加算した和を2で除算した値を
中位点Ysとして次式のように算出される。 Ys=(Y3+Y2)/2
That is, the middle point Ys is calculated by dividing the sum of the address Y3 at the upper end of the lower character "3" and the address Y2 at the lower end of the upper character "2" by 2 and dividing it by 2. The position point Ys is calculated by the following equation. Ys = (Y3 + Y2) / 2

【0061】次に、画像情報は、基準目盛切出部23に
供給され、ここで図26の右側に示す黒い矩形の基準目
盛り線の中心のアドレスYkが検出される。
Next, the image information is supplied to the reference scale cut-out portion 23, where the address Yk of the center of the black rectangular reference scale line shown on the right side of FIG. 26 is detected.

【0062】すなわち、図26において、基準目盛り線
の上端部のアドレスY5と下端部のアドレスY6が検出
され、このアドレスから次式により基準目盛り線の中心
のアドレスYkが算出される。 Yk=(Y6+Y5)/2
That is, in FIG. 26, the address Y5 at the upper end and the address Y6 at the lower end of the reference graduation line are detected, and the address Yk at the center of the reference graduation line is calculated from this address by the following equation. Yk = (Y6 + Y5) / 2

【0063】次に、画像情報は、文字認識部24に供給
され、文字認識が行われる。該文字認識部24は、図示
のように、通常辞書と分割辞書を有する。この通常辞書
と分割辞書は図27に示すようなものである。
Next, the image information is supplied to the character recognizing section 24, and character recognition is performed. The character recognition unit 24 has a normal dictionary and a division dictionary as shown in the figure. The normal dictionary and the divided dictionary are as shown in FIG.

【0064】文字認識部24は、入力された画像情報の
文字が完全な1文字であるか分割文字であるか不明であ
るので、文字認識を行うに当たっては、通常辞書を使用
するかまたは分割辞書を使用するかを判断する。この判
断には、次式に示すように、前記中位点のアドレスYs
から前記基準目盛り線の中心のアドレスYkを減算した
差の絶対値が所定の値n以内であるか否かにより行う。 |Ys−Yk|≦n なお、この所定の値nは、(Y4−Y1)×0.05程
度の値であり、通常5程度である。
The character recognition unit 24 is not sure whether the character of the input image information is a complete character or a divided character. Therefore, when performing character recognition, a normal dictionary is used or a divided dictionary is used. Decide whether to use. For this determination, as shown in the following equation, the address Ys of the middle point is
The absolute value of the difference obtained by subtracting the center address Yk of the reference scale line from is within a predetermined value n. | Ys−Yk | ≦ n The predetermined value n is a value of about (Y4−Y1) × 0.05, and is usually about 5.

【0065】すなわち、中位点のアドレスYsから前記
基準目盛り線の中心のアドレスYkを減算した差の絶対
値が所定の値n以内である場合には、分割文字であると
判断し、分割辞書により分割1文字の認識を行う。
That is, if the absolute value of the difference obtained by subtracting the address Yk of the center of the reference scale line from the address Ys of the middle point is within a predetermined value n, it is determined that the character is a divided character and the divided dictionary is used. The divided one character is recognized by.

【0066】また、中位点のアドレスYsから前記基準
目盛り線の中心のアドレスYkを減算した差の絶対値が
所定の値nより大きい場合には、通常辞書により認識を
行う。
When the absolute value of the difference obtained by subtracting the address Yk of the center of the reference scale line from the address Ys of the middle point is larger than the predetermined value n, the recognition is usually performed by the dictionary.

【0067】そして、文字認識部24において認識され
た文字は、文字らしさとして複数の結果が候補として抽
出され、それぞれに類似度が付加される。
For the character recognized by the character recognition unit 24, a plurality of results are extracted as candidates for character-likeness, and the similarity is added to each of them.

【0068】文字認識部24における文字の認識結果、
類似度、文字位置アドレス、基準目盛りアドレス、文字
情報は結果出力部25に供給され、結果出力部25から
パソコン4に供給される。パソコン4は、文字認識結
果、類似度、1検出フラグ、7検出フラグの有無等によ
り総合的に文字を判断する。
The result of character recognition by the character recognition unit 24,
The similarity, the character position address, the reference scale address, and the character information are supplied to the result output unit 25, and are supplied from the result output unit 25 to the personal computer 4. The personal computer 4 comprehensively determines the character based on the character recognition result, the degree of similarity, the presence or absence of the 1 detection flag, the 7 detection flag, and the like.

【0069】[0069]

【発明の効果】以上説明したように、本発明によれば、
撮像手段で撮像した画像から文字および基準目盛りを切
り出し、文字の高さを計測して文字を認識し、この認識
結果と類似度から複数の候補を取り出し、類似度による
判断と上位桁の情報に基づいて文字を判定し、特にワッ
トアワーメータのカウンタ式回転文字の連続性に着目
し、認識対象の文字の一部が欠落しても、次の対象文字
を認識することにより、文字認識を適確に行うことがで
きる。また、切り出し情報を利用して、最小目盛りを算
出することができるとともに、更に上位桁の文字の状態
で認識対象桁の文字を判定することもできる。
As described above, according to the present invention,
Characters and reference scales are cut out from the image taken by the imaging means, the height of the character is measured to recognize the character, and a plurality of candidates are extracted from the recognition result and the similarity, and the judgment based on the similarity and the information of the upper digit are performed. Character recognition is performed based on the determination of characters based on the continuity of counter-type rotating characters of the watt hour meter. It can be done accurately. Further, the cutout information can be used to calculate the minimum scale, and the character of the recognition target digit can be determined in the state of the character of the higher digit.

【0070】また、本発明によれば、撮像手段で撮像し
た画像から文字幅および文字高さを切り出し、この切り
出した文字高さに基づいて文字と文字との中位点を検出
し、該中位点の位置に基づいて分割文字であると判断し
た場合、この分割文字の文字認識を分割文字辞書に基づ
いて行うので、分割文字の文字認識の精度を向上するこ
とができる。
Further, according to the present invention, the character width and the character height are cut out from the image picked up by the image pickup means, the middle point between the characters is detected based on the cut out character height, and the middle position is detected. When it is determined that the divided character is the divided character based on the position of the position, the character recognition of the divided character is performed based on the divided character dictionary, so that the accuracy of the character recognition of the divided character can be improved.

【0071】更に、本発明によれば、切り出した文字幅
に基づいて数字の1または7であると判断し、この判断
を併用して、文字の認識を行うので、認識精度を更に向
上することができる。
Further, according to the present invention, it is judged that the numeral is 1 or 7 based on the cut-out character width, and the character is recognized by using this judgment together. Therefore, the recognition accuracy can be further improved. You can

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係わるワットアワーメータ
文字認識装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a watt hour meter character recognition device according to an embodiment of the present invention.

【図2】図1に示すワットアワーメータ文字認識装置の
文字検出から文字認識および結果通信までの処理を示す
フローチャートである。
FIG. 2 is a flowchart showing processing from character detection to character recognition and result communication of the watt hour meter character recognition device shown in FIG.

【図3】図2の処理で計測された結果のデータフォーマ
ットを示す図である。
FIG. 3 is a diagram showing a data format of a result measured by the processing of FIG.

【図4】ワットアワーメータの数字および目盛り認識の
名称、画像上の座標アドレス、各部の大きさを示す図で
ある。
FIG. 4 is a diagram showing numbers of a watt hour meter, names of scale recognition, coordinate addresses on an image, and sizes of respective parts.

【図5】図1のワットアワーメータ文字認識装置に使用
されている目盛値算出部における最小目盛りM3 の認識
のための基本的計測方法を示す説明図である。
FIG. 5 is an explanatory view showing a basic measurement method for the recognition of the minimum scale M 3 in the scale value calculator used in the watt hour meter character recognition apparatus of FIG.

【図6】ワットアワーメータの窓枠内の文字の認識方法
について示す図である。
FIG. 6 is a diagram showing a method of recognizing characters in a window frame of a watt hour meter.

【図7】ワットアワーメータの窓枠内の文字の認識に適
した計測方法を基本計測式を展開して求める方法を示す
図である。
FIG. 7 is a diagram showing a method of developing a basic measurement formula to obtain a measurement method suitable for recognizing characters in a window frame of a watt hour meter.

【図8】ワットアワーメータの窓枠内の文字の認識に適
した計測方法を基本計測式を展開して求める方法を示す
図である。
FIG. 8 is a diagram showing a method for developing a basic measurement formula to obtain a measurement method suitable for recognizing characters in a window frame of a watt hour meter.

【図9】図1のワットアワーメータ文字認識装置に使用
されている類似度算定部で行われる分割文字の認識方法
について示す説明図である。
9 is an explanatory diagram showing a method of recognizing divided characters, which is performed by a similarity calculation unit used in the watt hour meter character recognition device of FIG. 1. FIG.

【図10】文字の判定方法を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a character determination method.

【図11】図1のワットアワーメータ文字認識装置に使
用されている類似度算定部で行われる分割文字の認識方
法を網掛け処理を施した場合について示す説明図であ
る。
11 is an explanatory diagram showing a case where a divided character recognition method performed in a similarity calculation unit used in the watt hour meter character recognition device of FIG.

【図12】図11に示す網掛け処理を施した場合と網掛
け処理を施さない場合の相関度を説明する図である。
FIG. 12 is a diagram illustrating the degree of correlation when the hatching process shown in FIG. 11 is performed and when the hatching process is not performed.

【図13】網掛け処理を行う前と行った後における2分
割された文字の上文字および下文字の各認識文字0〜9
に対する類似度を示す図である。
FIG. 13: Recognized characters 0 to 9 of upper and lower characters of a character divided into two before and after halftone processing
It is a figure which shows the similarity degree with respect to.

【図14】分割文字0,1に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 14 is a diagram showing data obtained by taking the similarity between the divided characters 0 and 1 before and after the halftone processing for each of five candidates.

【図15】分割文字1,2に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 15 is a diagram showing data obtained by calculating the similarity between the divided characters 1 and 2 before and after the halftone processing for each of five candidates.

【図16】分割文字2,3に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 16 is a diagram showing data obtained by taking the similarity between the divided characters 2 and 3 before and after the halftone processing for each of five candidates.

【図17】分割文字3,4に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 17 is a diagram showing data obtained by taking the similarity between the divided characters 3 and 4 before and after the halftone processing for each of five candidates.

【図18】分割文字4,5に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 18 is a diagram showing data obtained by taking the similarity between the divided characters 4 and 5 before and after the halftone processing for each of five candidates.

【図19】分割文字5,6に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 19 is a diagram showing data of the similarity between the divided characters 5 and 6 before and after the hatching process for each of five candidates.

【図20】分割文字6,7に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 20 is a diagram showing data obtained by calculating the similarity between the divided characters 6 and 7 before and after the halftone processing for each of five candidates.

【図21】分割文字7,8に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 21 is a diagram showing data of the similarity between divided characters 7 and 8 before and after halftone processing for each of five candidates.

【図22】分割文字8,9に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 22 is a diagram showing data obtained by calculating the similarity between the divided characters 8 and 9 before and after the halftone processing for each of five candidates.

【図23】分割文字9,0に対して網掛け処理前と網掛
け処理後の類似度を各5つの候補についてとったデータ
を示す図である。
FIG. 23 is a diagram showing data obtained by calculating the similarity before and after the halftone processing for the divided characters 9 and 0 for each of five candidates.

【図24】本発明の他の実施例に係わるワットアワーメ
ータ文字認識装置の構成を示すブロック図である。
FIG. 24 is a block diagram showing a configuration of a watt hour meter character recognition device according to another embodiment of the present invention.

【図25】図24のワットアワーメータ文字認識装置に
使用されている文字幅切出部における文字幅検出処理を
示す説明図である。
25 is an explanatory diagram showing a character width detection process in a character width cutout unit used in the watt hour meter character recognition device of FIG. 24.

【図26】図24のワットアワーメータ文字認識装置に
使用されている文字高さ切出部における文字高さ検出処
理を示す説明図である。
FIG. 26 is an explanatory diagram showing a character height detection process in a character height cutout portion used in the watt hour meter character recognition device of FIG. 24.

【図27】図24のワットアワーメータ文字認識装置に
使用されている文字認識部に設けられている分割辞書お
よび通常辞書を示す図である。
FIG. 27 is a diagram showing a division dictionary and a normal dictionary provided in a character recognition unit used in the watt hour meter character recognition device of FIG. 24.

【符号の説明】[Explanation of symbols]

1 ワットアワーメータ 2 CCDカメラ 3 処理装置 4 パソコン 5 画像処理装置 6 目盛・文字切出部 7 文字認識部 8 結果出力部 9 結果入力部 10 目盛値算出部 11 類似度算定部 12 上位桁判断部 1 Watt hour meter 2 CCD camera 3 Processing device 4 Personal computer 5 Image processing device 6 Scale / character cutout part 7 Character recognition part 8 Result output part 9 Result input part 10 Scale value calculation part 11 Similarity calculation part 12 Higher digit judgment part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 瀬戸本 龍海 東京都府中市晴見町2丁目24番地の1 東 芝エフエーシステムエンジニアリング株式 会社内 (72)発明者 関口 眞吾 東京都府中市東芝町1番地 株式会社東芝 府中工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Ryumi Setomoto 2-24 Harumi-cho, Fuchu-shi, Tokyo 1 Toshiba Toshiba FA System Engineering Co., Ltd. (72) Inventor Shingo Sekiguchi 1-Toshiba-cho, Fuchu, Tokyo Toshiba Fuchu factory

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ワットアワーメータの回転文字を認識す
るワットアワーメータ文字認識装置であって、ワットア
ワーメータの回転文字を撮像する撮像手段と、該撮像手
段で撮像した画像から文字を切り出す文字切り出し手段
と、前記撮像手段で撮像した画像から基準目盛りを切り
出す基準目盛り切り出し手段と、切り出された文字から
該文字の高さを計測するとともに、該文字を認識し、該
認識結果と類似度から複数の候補を取り出す計測認識手
段と、類似度による判断と上位桁の情報に基づいて文字
を判定する判定手段とを有することを特徴とするワット
アワーメータ文字認識装置。
1. A watt hour meter character recognition device for recognizing a rotating character of a watt hour meter, comprising: an image pickup means for picking up an image of the rotating character of the watt hour meter; and a character cutout for cutting out a character from the image picked up by the image pickup means. Means, a reference scale cutout means for cutting out a reference scale from the image picked up by the image pickup means, the height of the character is measured from the cut out character, the character is recognized, and a plurality of characters are obtained from the recognition result and the similarity. A watt hour meter character recognizing device comprising: a measurement recognizing means for extracting the candidate of ???, and a judging means for deciding the character based on the information of the higher digit and the judgment based on the similarity.
【請求項2】 前記撮像手段で撮像した画像に基づいて
最小目盛りが形成されている文字の窓枠に現れている文
字の大きさを判断し、該文字の大きさに基づいて最小目
盛り値を算出する最小目盛り値算出手段を有することを
特徴とする請求項1記載のワットアワーメータ文字認識
装置。
2. The size of the character appearing in the window frame of the character on which the minimum scale is formed is determined based on the image captured by the image capturing means, and the minimum scale value is determined based on the size of the character. The watt hour meter character recognition device according to claim 1, further comprising a minimum scale value calculation means for calculating.
【請求項3】 上下に分割された文字を認識する場合、
各々の文字らしさの候補を複数計測し、これらの候補文
字と類似度から数字の連続性に着目して文字を認識する
手段を有することを特徴とする請求項1記載のワットア
ワーメータ文字認識装置。
3. When recognizing vertically divided characters,
The watt hour meter character recognition device according to claim 1, further comprising means for measuring a plurality of candidates for each character-likeness and recognizing the character by paying attention to continuity of numbers based on the similarity with these candidate characters. .
【請求項4】 ワットアワーメータの回転文字を認識す
るワットアワーメータ文字認識装置であって、ワットア
ワーメータの回転文字を撮像する撮像手段と、該撮像手
段で撮像した画像から文字幅および文字高さを切り出す
る切り出し手段と、該切り出し手段により切り出した文
字高さに基づいて文字と文字との中位点を検出し、該中
位点の位置に基づいて前記撮像手段で撮像した画像が分
割文字であると判断する分割文字判断手段と、分割文字
を記憶している分割文字辞書と、該分割文字辞書に基づ
いて前記分割文字の文字認識を行う文字認識手段とを有
することを特徴とするワットアワーメータ文字認識装
置。
4. A watt hour meter character recognizing device for recognizing a rotating character of a watt hour meter, comprising: an image pickup means for picking up an image of the rotating character of the watt hour meter; And a middle point between the character based on the height of the character cut out by the cutting means, and the image captured by the imaging means is divided based on the position of the middle point. It is characterized by including a divided character determination means for determining that it is a character, a divided character dictionary storing divided characters, and a character recognition means for performing character recognition of the divided characters based on the divided character dictionary. Watt hour meter character recognition device.
【請求項5】 前記切り出し手段により切り出した文字
幅に基づいて前記撮像手段で撮像した画像情報が数字の
1または7であると判断する数字判断手段を有し、前記
文字認識手段は、前記数字判断手段の判断を併用して文
字の認識を行うことを特徴とする請求項4記載のワット
アワーメータ文字認識装置。
5. The numeral recognition means for judging, based on the character width cut out by the cutting means, that the image information picked up by the image pickup means is a numeral 1 or 7, and the character recognition means has the numeral The watt hour meter character recognition device according to claim 4, wherein the character recognition is performed by using the judgment of the judgment means together.
JP22495394A 1994-04-08 1994-09-20 Watt hour meter character recognition device Expired - Fee Related JP3372111B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22495394A JP3372111B2 (en) 1994-04-08 1994-09-20 Watt hour meter character recognition device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6-70531 1994-04-08
JP7053194 1994-04-08
JP22495394A JP3372111B2 (en) 1994-04-08 1994-09-20 Watt hour meter character recognition device

Publications (2)

Publication Number Publication Date
JPH07325880A true JPH07325880A (en) 1995-12-12
JP3372111B2 JP3372111B2 (en) 2003-01-27

Family

ID=26411684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22495394A Expired - Fee Related JP3372111B2 (en) 1994-04-08 1994-09-20 Watt hour meter character recognition device

Country Status (1)

Country Link
JP (1) JP3372111B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001101380A (en) * 1999-09-27 2001-04-13 Nippon Bendeingu Kk Method and device for reading numerical value
JP2002288629A (en) * 2001-03-23 2002-10-04 Osaka Gas Co Ltd Automatic read device for meter information
JP2002366923A (en) * 2001-06-08 2002-12-20 Mitsubishi Electric Corp Method and device for reading numerical value
JP2003242444A (en) * 2002-02-20 2003-08-29 Toko Electric Corp Inking shape meter recognizing and processing unit and inking shape meter recognizing and processing method
JP2005275590A (en) * 2004-03-23 2005-10-06 Chugoku Electric Power Co Inc:The Instruction value recognizing method, system, program, and recording medium with its program recorded
JP2006293904A (en) * 2005-04-14 2006-10-26 Tohoku Electric Power Co Inc Figure reading method
JP2008033398A (en) * 2006-07-26 2008-02-14 Takasago Thermal Eng Co Ltd Apparatus and method for reading rotary meter
JP2008171301A (en) * 2007-01-15 2008-07-24 Fujitsu Ltd Character recognition program, character recognition device and character recognition method
JP2017505171A (en) * 2014-01-24 2017-02-16 サノフィ−アベンティス・ドイチュラント・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Auxiliary device for attaching to an injection device to record and display a user set dose value using optical character recognition (OCR)
WO2018012958A1 (en) * 2016-07-13 2018-01-18 George Kent (Malaysia) Berhad Method for testing a meter
JP2019082761A (en) * 2017-10-27 2019-05-30 富士通株式会社 Recognition program, recognition method and recognition device
JP2020153851A (en) * 2019-03-20 2020-09-24 大阪瓦斯株式会社 Instantaneous flow rate measuring device for mechanical turbine flowmeter and mechanical turbine flowmeter provided with the same
CN117746452A (en) * 2023-12-29 2024-03-22 深圳市前海文仲信息技术有限公司 Traditional table data reading method based on image recognition

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001101380A (en) * 1999-09-27 2001-04-13 Nippon Bendeingu Kk Method and device for reading numerical value
JP2002288629A (en) * 2001-03-23 2002-10-04 Osaka Gas Co Ltd Automatic read device for meter information
JP2002366923A (en) * 2001-06-08 2002-12-20 Mitsubishi Electric Corp Method and device for reading numerical value
JP2003242444A (en) * 2002-02-20 2003-08-29 Toko Electric Corp Inking shape meter recognizing and processing unit and inking shape meter recognizing and processing method
JP2005275590A (en) * 2004-03-23 2005-10-06 Chugoku Electric Power Co Inc:The Instruction value recognizing method, system, program, and recording medium with its program recorded
JP2006293904A (en) * 2005-04-14 2006-10-26 Tohoku Electric Power Co Inc Figure reading method
JP2008033398A (en) * 2006-07-26 2008-02-14 Takasago Thermal Eng Co Ltd Apparatus and method for reading rotary meter
JP2008171301A (en) * 2007-01-15 2008-07-24 Fujitsu Ltd Character recognition program, character recognition device and character recognition method
JP2017505171A (en) * 2014-01-24 2017-02-16 サノフィ−アベンティス・ドイチュラント・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Auxiliary device for attaching to an injection device to record and display a user set dose value using optical character recognition (OCR)
JP2020099709A (en) * 2014-01-24 2020-07-02 サノフィ−アベンティス・ドイチュラント・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Supplemental device for attachment to injection device for recording and displaying dose value set by user using optical character recognition (ocr)
US10789500B2 (en) 2014-01-24 2020-09-29 Sanofi-Aventis Deutschland Gmbh Supplemental device for attachment to an injection device for recording and displaying a dose value set by the user using optical character recognition (OCR)
WO2018012958A1 (en) * 2016-07-13 2018-01-18 George Kent (Malaysia) Berhad Method for testing a meter
JP2019082761A (en) * 2017-10-27 2019-05-30 富士通株式会社 Recognition program, recognition method and recognition device
JP2020153851A (en) * 2019-03-20 2020-09-24 大阪瓦斯株式会社 Instantaneous flow rate measuring device for mechanical turbine flowmeter and mechanical turbine flowmeter provided with the same
CN117746452A (en) * 2023-12-29 2024-03-22 深圳市前海文仲信息技术有限公司 Traditional table data reading method based on image recognition

Also Published As

Publication number Publication date
JP3372111B2 (en) 2003-01-27

Similar Documents

Publication Publication Date Title
US6954550B2 (en) Image processing method and apparatus
JP3372111B2 (en) Watt hour meter character recognition device
JP3799408B1 (en) Image processing apparatus and image processing method
JPS60204086A (en) Object discriminating device
TWI505201B (en) Object recognition device, object recognition method and program product
US6333997B1 (en) Image recognizing apparatus
JP7355601B2 (en) Computing device, processing method, program, and storage medium
CN114936997A (en) Detection method, detection device, electronic equipment and readable storage medium
JP2002140713A (en) Image processing method and image processor
JP3915973B2 (en) Current-type instrument recognition processor
JP2008139262A (en) Detect inspection method and inspection apparatus using the same
JP2000003436A (en) Device and method for recognizing isar picture
JPH07225843A (en) Method for measuring center position of circle
US6597805B1 (en) Visual inspection method for electronic device, visual inspecting apparatus for electronic device, and record medium for recording program which causes computer to perform visual inspecting method for electronic device
JP4470513B2 (en) Inspection method and inspection apparatus
JP2628951B2 (en) Image defect determination processing device
JP2003281593A (en) Coin discrimination device, coin registration device, coin determination device and coin determination method
JP3718105B2 (en) Form reading device, form reading method, and storage medium
JP3932201B2 (en) Form type identification device and recording medium
JPH07272189A (en) Method for identifying vehicle and method for reading vehicle number
CN112700413B (en) Answer sheet abnormity detection method and device, electronic equipment and storage medium
JP2535704Y2 (en) Shading image processing device
JPH10187886A (en) Character recognizing device and method
JPH0793476A (en) Character string detector
JPH07192134A (en) Image processing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees