JP2019016027A - Optical numeric character reading method and device - Google Patents

Optical numeric character reading method and device Download PDF

Info

Publication number
JP2019016027A
JP2019016027A JP2017130826A JP2017130826A JP2019016027A JP 2019016027 A JP2019016027 A JP 2019016027A JP 2017130826 A JP2017130826 A JP 2017130826A JP 2017130826 A JP2017130826 A JP 2017130826A JP 2019016027 A JP2019016027 A JP 2019016027A
Authority
JP
Japan
Prior art keywords
side frame
digit
absence
color
frame
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
JP2017130826A
Other languages
Japanese (ja)
Other versions
JP6901334B2 (en
Inventor
芳郎 今井
Yoshiro Imai
芳郎 今井
晃治 細川
Koji Hosokawa
晃治 細川
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.)
CHUGOKU ELECTRICAL INSTR CO Ltd
Chugoku Electrical Instruments Co Ltd
Original Assignee
CHUGOKU ELECTRICAL INSTR CO Ltd
Chugoku Electrical Instruments Co Ltd
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 CHUGOKU ELECTRICAL INSTR CO Ltd, Chugoku Electrical Instruments Co Ltd filed Critical CHUGOKU ELECTRICAL INSTR CO Ltd
Priority to JP2017130826A priority Critical patent/JP6901334B2/en
Publication of JP2019016027A publication Critical patent/JP2019016027A/en
Application granted granted Critical
Publication of JP6901334B2 publication Critical patent/JP6901334B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Character Input (AREA)

Abstract

To provide an optical numeric character reading method and device which enable accurate reading of numeric characters themselves on a meter even when gradation is formed.SOLUTION: An optical numeric character reading method 1 for imaging, by photographing means, a string of numeric characters displayed on a digital numeric character display unit capable of displaying, for each digit, a numeric character of any of 0 to 9 by a generally 8-shaped structural body composed of four longitudinal side frames and three lateral side frames to read the numeric characters comprises: a side presence/absence numeric character reading step of distinguishing side presence/absence for each of the side frames of the structural body by determining that a side presence/absence state in a side frame as an object subjected to side presence/absence discrimination is the same as a state of either of a side frame in side presence, of side frames other than the discrimination object, or a background in an area near the side frame of the discrimination object, whichever has a color shading level therein nearer that in the side frame as the discrimination object, and repeating the distinguishing for every side frame of the structural body to read the numeric character displayed on the structural body; and a numeric character string reading step of repeating the side presence/absence numeric character reading step for every digit of the string of numeric characters to read the string of numeric characters.SELECTED DRAWING: Figure 2

Description

本発明は、電力使用量を積算し表示する電力量計の表示数字をカメラで撮影して読み取る数字読取り方法及び装置に関する。   The present invention relates to a number reading method and apparatus for photographing and reading a display number of a watt-hour meter that integrates and displays power consumption.

特許文献1に、積算量メータの表示部を撮像する撮像部と、上記撮像部が撮像した表示部の内容を文字認識して数字データを出力する文字認識部と、上記数字データを記録する記録部と、上記撮像部及び文字認識部を所定の時間間隔によって起動させ、該文字認識部より数字データを出力させる制御
手段とを備え、上記制御手段は、上記記録部内の数字データと文字認識部からの数字データとを比較して、該文字認識部からの数字データが確からしいと判断した場合に上記記録部内の数字データを更新するメータ自動読取り装置が開示されている。
Patent Document 1 discloses an image capturing unit that captures an image of a display unit of an integrated quantity meter, a character recognition unit that recognizes the contents of the display unit captured by the image capturing unit and outputs numerical data, and a record that records the numerical data. And a control unit that activates the imaging unit and the character recognition unit at predetermined time intervals and outputs numeric data from the character recognition unit. The control unit includes the numeric data and the character recognition unit in the recording unit. An automatic meter reading device is disclosed in which the numerical data in the recording unit is updated when it is determined that the numerical data from the character recognition unit is likely by comparing with the numerical data from the character recognition unit.

特開2000−200322号公報JP 2000-232032 A

特許文献1に記載の発明は、引用文献1の段落[0004]に記載されているように「メータの指示値を光学的に撮像し、この撮像情報を文字認識にて文字として認識して読み取りデータとしているために、誤った読み取りをする可能性があった。」との問題を解消するために、引用文献1の段落[0020]に記載されているように「積算量メータのメータ値が、記録部内のメータ値よりも大きく、かつ前回計測時間から今回計測時間までの間に最大に使用した場合の予測量との和より小さい場合に確からしいと判断する。」という技術であります。しかし、この技術では撮像した数字の誤読取りそのものを解消するという効果が期待できないという問題があった。   As described in paragraph [0004] of Cited Document 1, the invention described in Patent Document 1 “photographs the meter indication value optically and recognizes and reads the imaged information as characters by character recognition. In order to solve the problem that there was a possibility of erroneous reading because of the data, as described in paragraph [0020] of cited document 1, “the meter value of the integrated amount meter is , It is judged to be probable if it is larger than the meter value in the recording section and smaller than the sum of the predicted amount when used at the maximum from the previous measurement time to the current measurement time. However, this technique has a problem that it cannot be expected to eliminate the erroneous reading of the captured number itself.

また、メータの数字以外の背景域は同一色であるのに照明や太陽光等の光の照射によってグラデーションが形成されることがあり、グラデーションが形成された背景域の色が濃い部分に数字の一部が存すると、数字と背景との色の濃淡の差が少なくなりデジタル数字を構成する辺があるのにないと誤読取りされたり辺がないのにあると誤読取りされたりし、例えばデジタル数字で「0と8」、「8と9」、「6と8」、「5と6」、「3と9」のような一つの辺の有無によって数字が変わるような数字を誤読取りする問題があった。   In addition, although the background area other than the numbers on the meter is the same color, a gradation may be formed by irradiation with light such as lighting or sunlight. If there is a part, the difference in color between the number and the background will be reduced, and if there is no side that constitutes the digital number, it will be misread or if there is no side, it will be misread. Misreads numbers that change numbers depending on the presence or absence of one side, such as “0 and 8”, “8 and 9”, “6 and 8”, “5 and 6”, and “3 and 9”. There was a problem.

本発明はこうした問題に鑑み創案されたもので、メータの背景域にグラデーションが形成されても、メータの数字自体を正確に読み取ることのできる光学的数字読取り方法及び装置を提供することを課題とする。 The present invention was devised in view of these problems, and it is an object of the present invention to provide an optical number reading method and apparatus capable of accurately reading the meter number itself even if gradation is formed in the background area of the meter. To do.

本発明で使用する「辺枠」とは、デジタル数字列が表示される領域であって、図11(b)に示す略8字状の構成体の縦の4つの辺枠及び横の3つの辺枠のうちの辺枠イ〜辺枠トのいずれかの辺枠を意味し、「辺有」とは図5(b)において例えば数字0を表示する構成体の最も上側の横になっている部分のように数字の構成部分となって辺枠内の色の濃淡レベルが背景の色の濃淡レベルとは明らかに異なって例えば黒色で表示された辺枠内の領域を意味し、「辺無」とは図5(b)において例えば数字1を示す構成体の最も上側の横になっている辺枠のように数字の構成部分ではなく辺枠内の色の濃淡レベルが背景と同じ例えば白色で表示された辺枠内の領域を意味する。また、「背景」とは、デジタル数字列が表示される領域であって辺枠内でない領域を意味する。   The “side frame” used in the present invention is an area in which a digital number string is displayed, and includes four vertical side frames and three horizontal sides of the approximately 8-character structure shown in FIG. This means any one of the side frames a to b, and “side” is the uppermost side of the structure displaying the number 0 in FIG. 5B, for example. This means that the shade level of the color in the side frame is clearly different from the shade level of the background color, for example, the area in the side frame displayed in black. “None” means that the shade level of the color in the side frame is not the same as the background, for example, as shown in FIG. It means the area within the side frame displayed in white. “Background” means an area where a digital number string is displayed but not within a side frame.

請求項1に記載の光学的数字読取り方法は、各桁ごとに縦4辺枠及び横3辺枠からなる略8字状の構成体により0〜9のいずれかの数字を表示可能なデジタル数字表示部に表示された数字列を撮影手段による撮像により読み取る光学的数字読取り方法であって、前記構成体の各辺枠ごとに、辺有無を識別する対象の辺枠内の色濃淡レベルが、識別対象以外の辺枠で辺有の辺枠内の色濃淡レベルと前記識別対象の辺枠の近傍域の背景の色濃淡レベルとのうちの近い方と識別対象の辺枠内の辺有無状態が同じと判断して辺有無を判別し、前記辺有無判定を前記構成体の全辺枠分繰り返し実施して前記構成体に表示された数字を読取る辺有無数字読取りステップと、前記辺有無数字読取りステップを前記数字列の全桁分繰り返して前記数字列を読取る数字列読取りステップと、を備えることを特徴とする。 The optical number reading method according to claim 1 is a digital number capable of displaying any number from 0 to 9 by a substantially 8-character-shaped structure consisting of a vertical 4 side frame and a horizontal 3 side frame for each digit. An optical number reading method for reading a number string displayed on a display unit by imaging with a photographing unit, and for each side frame of the structure, a color shading level in a target side frame for identifying the presence or absence of a side, State of presence / absence of a side in the side frame of the identification target and the closer one of the color shading level in the side frame of the side frame other than the identification target and the color tone level of the background in the vicinity of the side frame of the identification target Are determined to be the same, the presence / absence of a side is determined, the side presence / absence number reading step of repeatedly performing the side presence / absence determination for all side frames of the component and reading the number displayed on the component, and the side presence / absence number Read the number string by repeating the reading step for all digits of the number string. Characterized in that it comprises a numerical string read step.

請求項2に記載の光学的数字読取り方法は、請求項1において、前記辺有無数字読取りステップが、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、第一に前記縦4辺枠及び横3辺枠の7つのそれぞれの辺枠ごとに、前記辺枠の範囲内で予め定めた範囲を辺色濃淡測定個所と設定し、かつ第二に前記辺枠の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲を背景色濃淡測定個所と設定し記憶する色濃淡測定個所設定ステップと、前記0〜9の数字の形態を予め記憶する数字形態記憶ステップと、前記色濃淡測定個所設定ステップ後に、撮像された前記数字列の画像の一つの桁の前記構成体の7つの辺枠ごとに、前記辺枠内の前記辺色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を辺色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する辺枠別色濃淡算出ステップと、前記辺枠別色濃淡算出ステップ後に、辺有無を識別する辺枠ごとに、識別対象以外の辺有の辺枠が含まれるように複数の辺枠を予め選択し、前記選択した複数の辺枠の中で辺色濃淡レベルが最も濃い辺枠の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記識別対象の辺枠の前記背景色濃淡レベルを辺無色濃淡レベルとし、前記辺有色濃淡レベルと前記辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記識別対象の辺枠の前記辺色濃淡レベルが前記閾値より濃い場合は辺有と判定し、前記閾値未満で淡い場合は辺無と判定する辺有無判定ステップと、前記辺有無判定ステップを前記構成体の全辺枠分の7回実施して、前記数字形態記憶ステップで予め記憶している数字の形態に一致する数字を桁の数字として読取る数字読取りステップと、を備えることを特徴とする。 The optical number reading method according to claim 2, wherein the side presence / absence number reading step according to claim 1 is configured such that each digit of the captured image of the digit string has the substantially 8-character shape. In relation to the position and size of the body, first, for each of the seven side frames of the four vertical side frames and the three horizontal side frames, a predetermined range within the range of the side frame is determined as a side color density measurement location. And secondly, the two colors that are set on the two sides of the long side of the side frame and set in the vicinity in the vicinity of the outer side of the long side as the background color density measurement location and stored. After the density measurement location setting step, the number format storage step for preliminarily storing the numeric forms 0 to 9 and the color density measurement location setting step, the structure of one digit of the image of the digit string imaged For each of the seven side frames of the side color shading measurement location in the side frame. The average value of the color shading level for each pixel measured by the pixel is calculated as the side color shading level, and the average value of the color shading level for each pixel measured at all the pixels in the two background color shading measurement locations is calculated as the background color shading level. A plurality of side frames so that, for each side frame for identifying the presence / absence of a side, a side frame with a side other than the identification target is included after calculating the color density for each side frame and calculating the color density for each side frame. Is selected in advance, the side color shading level of the side frame having the darkest side color shading level among the selected side frames is set as a side colored shading level, and the background color shading level of the side frame to be identified is The side frame of the identification target is defined as a side color density level, and a color density level that is predetermined between the side color density level and the side colorless color level and close to the side color density level as a threshold for determining whether or not there is a side. The side color shading of When the threshold is darker than the threshold value, it is determined that there is a side, and when it is lighter than the threshold value, the side presence / absence determination step for determining that there is no side and the side presence / absence determination step are performed seven times for all the side frames of the construct. And a number reading step of reading a number that matches the number form stored in advance in the number form storing step as a digit number.

請求項3に記載の光学的数字読取り方法は、請求項2において、前記辺枠別色濃淡算出ステップより前のステップにおいて、表示画面に表示した撮像による数字列の各桁の略8字状の辺枠の画像構成体に、前記色濃淡測定個所設定ステップで記憶させ前記表示画面に表示した略8字状の辺枠の表示構成体が一致するように、前記表示構成体の拡大又は縮小を可能とし、前記表示構成体の上下左右方向への移動を可能とし、及び、前記表示構成体からなる数字列を一体として上下左右方向への移動を可能とする構成体一致化ステップを備えたことを特徴とする。 According to a third aspect of the present invention, there is provided the optical number reading method according to the second aspect, wherein in the step before the side-frame-based color shading calculation step, each digit of the digit string obtained by imaging displayed on the display screen has an approximately eight-character shape. The display structure is enlarged or reduced so that the image structure of the side frame matches the display structure of the approximately 8-character side frame stored in the color shading measurement location setting step and displayed on the display screen. And a structure matching step that enables movement of the display structure in the vertical and horizontal directions, and allows movement in the vertical and horizontal directions as a single number string composed of the display structures. It is characterized by.

請求項4に記載の光学的数字読取り方法は、請求項2又は3において、前記色濃淡測定個所設定ステップにおいて、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、各桁の数字をそれぞれ囲繞する数字枠を設定することを備えたことを特徴とする。 According to a fourth aspect of the present invention, there is provided the optical numeral reading method according to the second or third aspect, wherein in the color shading measurement location setting step, the approximately eight characters of each digit are obtained for each digit of the image of the digit string captured. It is characterized by comprising setting a number frame surrounding each digit number in association with the position and size of the shaped structure.

請求項5に記載の光学的数字読取り装置は、各桁ごとに縦4辺枠及び横3辺枠からなる略8字状の構成体により0〜9のいずれかの数字を表示可能なデジタル数字表示部に表示された数字列を撮影手段による撮像により読み取る光学的数字読取り装置であって、前記構成体の各辺枠ごとに、辺有無を識別する対象の辺枠内の色濃淡レベルが、識別対象以外の辺枠で辺有の辺枠内の色濃淡レベルと前記識別対象の辺枠の近傍域の背景の色濃淡レベルとのうちの近い方と識別対象の辺枠内の辺有無状態が同じと判断して辺有無を判別し、前記辺有無判定を前記構成体の全辺枠分繰り返し実施して前記構成体に表示された数字を読取る辺有無数字読取り部と、前記辺有無数字読取り部の作動を前記数字列の全桁分繰り返して前記数字列を読取る数字列読取り部と、を備えることを特徴とする。 The optical number reading device according to claim 5 is a digital number capable of displaying any number from 0 to 9 by a substantially 8-character-shaped structure composed of a vertical 4 side frame and a horizontal 3 side frame for each digit. An optical number reading device that reads a number string displayed on a display unit by imaging with a photographing unit, and for each side frame of the component, a color shading level in a target side frame for identifying the presence or absence of a side, State of presence / absence of a side in the side frame of the identification target and the closer one of the color shading level in the side frame of the side frame other than the identification target and the color tone level of the background in the vicinity of the side frame of the identification target Are determined to be the same, the presence / absence of a side is determined, the side presence / absence number reading unit for repeatedly performing the side presence / absence determination for all the side frames of the component and reading the number displayed on the component, and the side presence / absence number A number that reads the number string by repeating the operation of the reading part for all the digits of the number string Characterized in that it comprises a reading unit.

請求項6に記載の光学的数字読取り装置は、請求項5において、前記辺有無数字読取り部が、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、第一に前記縦4辺枠及び横3辺枠の7つのそれぞれの辺枠ごとに、前記辺枠の範囲内で予め定めた範囲を辺色濃淡測定個所と設定し、かつ第二に前記辺枠の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲を背景色濃淡測定個所と設定し記憶する色濃淡測定個所設定部と、前記0〜9の数字の形態を予め記憶する数字形態記憶部と、前記撮像された前記数字列の画像の一つの桁の前記構成体の7つの辺枠ごとに、前記辺枠内の前記辺色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を辺色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する辺枠別色濃淡算出部と、辺有無を識別する辺枠ごとに、識別対象以外の辺有の辺枠が含まれるように複数の辺枠を予め選択し、前記選択した複数の辺枠の中で辺色濃淡レベルが最も濃い辺枠の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記識別対象の辺枠の前記背景色濃淡レベルを辺無色濃淡レベルとし、前記辺有色濃淡レベルと前記辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記識別対象の辺枠の前記辺色濃淡レベルが前記閾値より濃い場合は辺有と判定し、前記閾値未満で淡い場合は辺無と判定する辺有無判定部と、前記辺有無判定部を前記構成体の全辺枠分の7回実施して、前記数字形態記憶部で予め記憶している数字の形態に一致する数字を桁の数字として読取る数字読取り部と、を備えることを特徴とする。 The optical number reading device according to claim 6 is the optical number reading device according to claim 5, wherein the side presence / absence number reading unit is configured to have the substantially 8-character shape of each digit for each digit of the image of the digit string captured. In relation to the position and size of the body, first, for each of the seven side frames of the four vertical side frames and the three horizontal side frames, a predetermined range within the range of the side frame is determined as a side color density measurement location. And secondly, the two colors that are set on the two sides of the long side of the side frame and set in the vicinity in the vicinity of the outer side of the long side as the background color density measurement location and stored. For each of the seven side frames of the density measurement location setting unit, the number form storage unit that stores the number forms of 0 to 9 in advance, and the structure of one digit of the image of the photographed number sequence, The average value of the color shading level for each pixel measured at all the pixels in the side color shading measurement location in the side frame is Color density calculation unit for each side frame, which calculates the average value of color density levels for each pixel measured at all pixels of the two background color density measurement locations, and identifies the presence or absence of the edge For each side frame to be selected, a plurality of side frames are selected in advance so that a side frame with a side other than the identification target is included, and the side frame having the darkest color tone level among the plurality of selected side frames is selected. The side color density level is a side color density level, the background color density level of the side frame to be identified is a side colorless density level, and the side color is between the side color density level and the side colorless density level. As a threshold value for determining the presence / absence of a side, the color tone level determined in advance near the shade level is determined to be edged if the side color shade level of the side frame to be identified is darker than the threshold value, and is lighter than the threshold value Judgment of presence / absence of edge And a number reading unit that performs the edge presence / absence determination unit seven times for the entire side frame of the component and reads a number that matches a number form stored in advance in the number form storage unit as a digit number And.

請求項7に記載の光学的数字読取り装置は、請求項6において、前記辺枠別色濃淡算出部を作動させる前において、表示画面に表示した撮像による数字列の各桁の略8字状の辺枠の画像構成体に、前記色濃淡測定個所設定部で記憶させ前記表示画面に表示した略8字状の辺枠の表示構成体が一致するように、前記表示構成体の拡大又は縮小を可能とし、前記表示構成体の上下左右方向への移動を可能とし、及び、前記表示構成体からなる数字列を一体として上下左右方向への移動を可能とする構成体一致化部を作動完了していることを特徴とする。 The optical number reading device according to claim 7 is the optical number reading device according to claim 6, wherein, before the side-frame color tone calculation unit is activated, each digit of the digit string obtained by imaging displayed on the display screen has an approximately 8-character shape. The display structure is enlarged or reduced so that the image structure of the side frame matches the display structure of the approximately 8-character side frame stored in the color shading measurement location setting unit and displayed on the display screen. Operation of the component matching unit that enables movement of the display component in the vertical and horizontal directions, and allows movement in the vertical and horizontal directions by integrating the numeric string of the display components. It is characterized by.

請求項8に記載の光学的数字読取り装置は、請求項6又は7において、前記色濃淡測定個所設定部において、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、各桁の数字をそれぞれ囲繞する数字枠を設定することを備えたことを特徴とする。 The optical number reading device according to claim 8 is the optical number reading device according to claim 6 or 7, wherein in the color density measurement location setting unit, for each digit of the image of the digit string imaged, the approximately eight characters of each digit. It is characterized by comprising setting a number frame surrounding each digit number in association with the position and size of the shaped structure.

請求項1、2、5又は6に記載の発明は、撮影手段により撮像したデジタル数字表示部の背景領域に光の反射や影の影響によりグラデーションが形成されたときであっても、電力量計の積算量を表示するデジタル数字表示部の数字を確実に正確に読み取ることができるという効果を奏する。   The invention according to claim 1, 2, 5, or 6 is a watt-hour meter even when a gradation is formed in the background area of the digital numeral display portion imaged by the photographing means due to the influence of light reflection or shadow. There is an effect that it is possible to accurately and accurately read the number on the digital number display portion for displaying the integrated amount of the number.

請求項3又は7に記載の発明は、魚眼レンズで撮影した電力量計のデジタル数字表示部の各桁ごとの各数字を構成する画像構成体48が小さくなったり位置がずれた状態で画面に表示されたときに、記憶したデジタル数字表示部の各桁ごとの数字を構成する表示構成体49の位置及び大きさを前記画像構成体48の位置及び大きさに一致するように調整でき、これにより色濃淡レベルの測定を測定位置をずらすことなく正確にすることができ数字を正確に読み取ることができるという効果を奏する。   The invention according to claim 3 or 7 is displayed on the screen in a state where the image constituting body 48 constituting each number of each digit of the digital number display part of the watt hour meter photographed with the fisheye lens is small or displaced. The position and size of the display structure 49 constituting the number for each digit of the stored digital number display portion can be adjusted to match the position and size of the image structure 48, The measurement of the color shading level can be made accurate without shifting the measurement position, and the number can be read accurately.

請求項4又は8に記載の発明は、記憶したデジタル数字表示部の各桁ごとの構成体の位置及び大きさと、撮影対象の電力量計のデジタル数字表示部の各桁ごとの構成体の位置及び大きさとを一致させやすくするという効果を奏する。   The invention according to claim 4 or 8 is the position and size of the stored structure for each digit of the digital number display unit and the position of the structure for each digit of the digital number display unit of the watt-hour meter to be photographed. In addition, an effect of facilitating matching with the size is achieved.

本発明を構成する各種機器の配置例を示す概要説明図である。It is a schematic explanatory drawing which shows the example of arrangement | positioning of the various apparatuses which comprise this invention. 本発明の光学的数字読取り方法のステップを示すフロー図である。It is a flowchart which shows the step of the optical number reading method of this invention. 本発明の光学的数字読取り方法のステップを示すフロー図である。It is a flowchart which shows the step of the optical number reading method of this invention. 本発明の光学的数字読取り装置のシステム構成を示す図である。It is a figure which shows the system configuration | structure of the optical number reader of this invention. 縦4辺枠及び横3辺枠からなる略8字状の構成体の説明図であり、(a)は辺枠のみを表示した図で、(b)はデジタル数字の0〜9を表示した図で、(c)は電力量計などに表示されたデジタル数字の1例を示す図である。It is explanatory drawing of the substantially 8-character-shaped structure which consists of a vertical 4 side frame and a horizontal 3 side frame, (a) is the figure which displayed only the side frame, (b) displayed the digital numbers 0-9. In the figure, (c) is a diagram showing an example of digital numbers displayed on a watt hour meter or the like. デジタル数字の背景にグラデーションが形成された状態の1例を示す図である。It is a figure which shows one example of the state in which the gradation was formed in the background of a digital number. 色濃淡レベルが同一であっても背景の色濃淡レベルの違いにより色濃淡レベルが異なって見えることを説明する図である。It is a figure explaining that even if the color shading level is the same, the color shading level looks different due to the difference in the color shading level of the background. カメラ等の撮影手段により撮像され画面表示された電力量計のデジタル数字表示部の形態の事例を説明する図で、(a)が撮影対象の電力量計のデジタル数字表示部の状態を示す図で、(b)が魚眼レンズのカメラで撮影した画像の電力量計のデジタル数字表示部の状態を示す図である。It is a figure explaining the example of the form of the digital number display part of the watt-hour meter imaged and displayed on the screen by imaging | photography means, such as a camera, (a) is a figure which shows the state of the digital number display part of the watt-hour meter of imaging | photography object (B) is a diagram showing the state of the digital number display part of the watt-hour meter of an image taken with a fisheye lens camera. 色濃淡測定個所設定ステップで記憶させた構成体列の説明図である。It is explanatory drawing of the structure row | line | column memorize | stored in the color shading measurement location setting step. 撮影した電力量計のデジタル数字表示部の画像の位置・大きさに、装置に記憶しているデジタル数字列の位置・大きさを一致化させるときの説明図で、(a)がカメラで撮影した電力量計のデジタル数字表示部の画像の位置・大きさがすべて同じ場合を示す図で、(b)が魚眼レンズで撮影した電力量計のデジタル数字表示部の画像の位置・大きさを示す図で、(c)が撮影した電力量計のデジタル数字表示部の画像の位置・大きさに、装置に記憶しているデジタル数字列の位置・大きさを一致化を示す図である。This is an explanatory diagram when the position and size of the digital number sequence stored in the device is matched with the position and size of the image on the digital number display section of the watt-hour meter. (A) is taken with the camera It is a figure which shows the case where all the positions and the magnitude | sizes of the image of the digital number display part of the watt-hour meter are the same, (b) shows the position and magnitude | size of the image of the digital number display part of the watt-hour meter image | photographed with the fisheye lens. In the figure, (c) is a diagram showing the matching of the position and size of the digital number sequence stored in the apparatus to the position and size of the image of the digital number display section of the watt-hour meter photographed. 縦4辺枠及び横3辺枠からなる略8字状の構成体の説明図であり、(a)が色濃淡測定個所を説明する図で、(b)が辺枠と数字枠との説明図である。It is explanatory drawing of the substantially 8-character-shaped structure which consists of a vertical 4 side frame and a horizontal 3 side frame, (a) is a figure explaining a color shade measurement part, (b) is description of a side frame and a number frame. FIG. 一つの辺枠に対する辺色濃淡測定個所及び2つの背景色濃淡測定個所の色濃淡を算出するときの説明図である。It is explanatory drawing when calculating the color shading of the side color shading measurement location and two background color shading measurement locations with respect to one side frame. 辺有無判定ステップの説明図である。It is explanatory drawing of a side presence determination step. 電力量計を多数設置した場合の本発明を構成する機器の配置例を示す図である。It is a figure which shows the example of arrangement | positioning of the apparatus which comprises this invention at the time of installing many watt-hour meters.

電力量計の積算量を表示すデジタル数字表示部26を撮像すると、図6に示すように、メータの数字以外の背景45は同一色であるのに照明や太陽光等の光の照射によってグラデーションが形成されることがある。背景45にグラデーションが形成されると、例えば図7に示すように、色の濃度が右側が濃く左側が淡くなるように背景gにグラデーションが形成されていると、範囲m1と範囲m2の色濃淡レベルが同じであっても、背景gの色濃淡レベルが濃い方に置かれた範囲m2は淡く見え、背景gの色濃淡レベルが淡い方に置かれた範囲m1は濃く見える。このように、図6において、グラデーションが形成された背景45の色が濃い部分に数字を構成する辺が存すると、数字を構成する辺と背景45との色の濃淡の差が少なくなりデジタル数字を構成する辺があるのにないと誤読取りされたり辺がないのにあると誤読取りされたりし、例えば図6の場合では「8」を「6」と誤読取りする問題があった。   When the digital number display unit 26 that displays the accumulated amount of the watt hour meter is imaged, as shown in FIG. 6, the background 45 other than the number of the meter is the same color, but gradation is generated by irradiation of light such as illumination or sunlight. May be formed. When the gradation is formed on the background 45, for example, as shown in FIG. 7, if the gradation is formed on the background g so that the color density is dark on the right side and light on the left side, the color shades of the range m1 and the range m2 Even if the level is the same, the range m2 where the color shading level of the background g is placed on the darker side looks light, and the range m1 where the color shading level of the background g is placed on the lighter side looks dark. As described above, in FIG. 6, if there is an edge forming a number in the dark portion of the background 45 where the gradation is formed, the difference in color shade between the side forming the number and the background 45 is reduced and the digital number is reduced. In the case of FIG. 6, for example, there is a problem that “8” is erroneously read as “6”.

本発明の光学的数字読取り方法1、10及び装置30は、図1に示すように、電力量計21の積算量を表示すデジタル数字表示部26、カメラ等の撮影手段22、撮影した画像を記憶する画像記録装置23、撮像した前記デジタル表示部26の画像を表示する画像表示部25、並びに、制御部24を備える。また、電力量計21を複数設置する場合は、図14に示すように、電力量計21ごとに対向させてカメラ等の撮影手段22を設置し、一つの前記画像記録装置23に記憶し一つの画像表示部25に画像を表示する。   As shown in FIG. 1, the optical number reading methods 1, 10 and the apparatus 30 of the present invention include a digital number display unit 26 that displays the integrated amount of the watt hour meter 21, a photographing unit 22 such as a camera, and a photographed image. An image recording device 23 for storing, an image display unit 25 for displaying the captured image of the digital display unit 26, and a control unit 24 are provided. When a plurality of watt-hour meters 21 are installed, as shown in FIG. 14, photographing means 22 such as a camera is installed facing each watt-hour meter 21 and stored in one image recording device 23. An image is displayed on one image display unit 25.

本発明の光学的数字読取り方法1は、図2に示すように、各桁ごとに縦4辺枠41及び横3辺枠41からなる略8字状の構成体40により0〜9のいずれかの数字を表示可能なデジタル数字表示部26に表示された数字列を撮影手段による撮像により読み取る光学的数字読取り方法1であって、前記構成体40の各辺枠41ごとに、辺有無を識別する対象の辺枠41内の色濃淡レベルが、識別対象以外の辺枠41で辺有の辺枠内の色濃淡レベルと前記識別対象の辺枠41の近傍域の背景45の色濃淡レベルとのうちの近い方と識別対象の辺枠41内の辺有無状態が同じと判断して辺有無を判別し、前記辺有無判定を前記構成体40の全辺枠分繰り返し実施して前記構成体40に表示された数字を読取る辺有無数字読取りステップ2と、前記辺有無数字読取りステップ2を前記数字列の全桁分繰り返して前記数字列を読取る数字列読取りステップ8と、を備える。 As shown in FIG. 2, the optical number reading method 1 according to the present invention is any one of 0 to 9 by an approximately 8-shaped structure 40 including a vertical four-side frame 41 and a horizontal three-side frame 41 for each digit. 1 is an optical number reading method 1 for reading a number string displayed on the digital number display unit 26 capable of displaying the number by imaging by a photographing means, and for each side frame 41 of the structure 40, the presence or absence of a side is identified. The color shading level in the target side frame 41 is the color shading level in the side frame having a side in the side frame 41 other than the identification target, and the color shading level of the background 45 in the vicinity of the identification target side frame 41. The side presence / absence state in the side frame 41 to be identified is the same as the nearer one of the two, and the presence / absence of the side is determined, and the side presence / absence determination is repeatedly performed for all the side frames of the component 40. Side number reading step 2 for reading the number displayed in 40, and the side Free numbers reading step 2 is repeated all digits fraction of the digit sequence comprises a numerical string reading step 8 for reading the numerical string.

前記撮影手段22による撮像された画像は、光学的数字読取り方法10を表す図3に示すように、電力量計21の積算量を表示すデジタル数字表示部26をカメラ等の撮影手段22で撮像する撮影ステップ12、前記撮影ステップ12で撮影された画像を記憶する画像記憶ステップ13、前記記憶した画像を画面等の画像表示手段に表示する画像表示ステップ14により画像表示部25の画面に表示される。 As shown in FIG. 3 showing the optical number reading method 10, the image captured by the image capturing unit 22 is captured by the image capturing unit 22 such as a camera. The digital number display unit 26 displays the integrated amount of the watt hour meter 21. The image is displayed on the screen of the image display unit 25 by the photographing step 12, the image storing step 13 for storing the image photographed in the photographing step 12, and the image displaying step 14 for displaying the stored image on an image display means such as a screen. The

本発明の光学的数字読取り方法1、10は、図5(a)に示すように各桁ごとに縦4辺枠41及び横3辺枠41からなる略8字状の構成体40により、図5(b)に示すような0〜9のいずれかのデジタル数字43を表示可能なデジタル数字表示部26に、図5(c)に示すように表示された数字列を撮影手段による撮像により読み取る方法である。なお、図5(c)に示すように小数点42の有無の判別も辺有無の判別と同じ方法で可能である。 As shown in FIG. 5 (a), the optical number reading methods 1 and 10 of the present invention are configured by a substantially eight-shaped structure 40 composed of a vertical four-side frame 41 and a horizontal three-side frame 41 for each digit. The digit string displayed as shown in FIG. 5C is read by imaging by the photographing means on the digital numeral display unit 26 capable of displaying any one of digital numerals 43 as shown in FIG. 5B. Is the method. As shown in FIG. 5C, the presence / absence of the decimal point 42 can be determined by the same method as the determination of the presence / absence of a side.

そして、前記辺有無数字読取りステップ2が、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体40の位置及び大きさに関連付けて、第一に前記縦4辺枠41及び横3辺枠41の7つのそれぞれの辺枠41ごとに、前記辺枠41の範囲内で予め定めた範囲(例えば図12における範囲A)を辺色濃淡測定個所と設定し、かつ第二に前記辺枠41の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲(例えば図12における範囲B及び範囲C)を背景色濃淡測定個所と設定し記憶する色濃淡測定個所設定ステップ4と、前記0〜9の数字の形態を予め記憶する数字形態記憶ステップ3と、前記色濃淡測定個所設定ステップ4後に、撮像された前記数字列の画像の一つの桁の前記構成体40の7つの辺枠41ごとに、前記辺枠41内の前記辺色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を辺色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する辺枠別色濃淡算出ステップ5と、前記辺枠別色濃淡算出ステップ5後に、辺有無を識別する辺枠41ごとに、識別対象以外の辺有の辺枠41が含まれるように複数の辺枠41を予め選択し、前記選択した複数の辺枠41の中で辺色濃淡レベルが最も濃い辺枠41の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記識別対象の辺枠41の前記背景色濃淡レベルを辺無色濃淡レベルとし、前記辺有色濃淡レベルと前記辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記識別対象の辺枠41の前記辺色濃淡レベルが前記閾値より濃い場合は辺有と判定し、前記閾値未満で淡い場合は辺無と判定する辺有無判定ステップ6と、前記辺有無判定ステップ6を前記構成体40の全辺枠41分の7回実施して、前記数字形態記憶ステップ3で予め記憶している数字の形態に一致する数字を桁の数字として読取る数字読取りステップ7と、を備える。 Then, the side presence / absence number reading step 2 is associated with the position and size of the approximately eight-shaped structure 40 of each digit for each digit of the captured image of the digit string. For each of the seven side frames 41 of the four vertical side frames 41 and the three horizontal side frames 41, a predetermined range (for example, range A in FIG. 12) within the range of the side frame 41 is set as the side color density measurement location. And secondly, two ranges (for example, a range B and a range C in FIG. 12) which are predetermined on both sides of the long side of the side frame 41 and in the vicinity of the outer side from the periphery of the long side. After the color density measurement location setting step 4 for setting and storing the color density measurement location, the number form storage step 3 for preliminarily storing the number forms of 0 to 9, and the color density measurement location setting step 4, the image was taken. The structure 4 of one digit of the image of the number sequence For each of the seven side frames 41, the average value of the color density levels for each pixel measured at all the pixels in the side color density measurement portion in the side frame 41 is calculated as the side color density level, and the two background colors are calculated. After the color density calculation step 5 for each side frame for calculating the average value of the color density levels for each pixel measured at all the pixels at the density measurement location as the background color density level, the presence / absence of the side is determined after the color density calculation step 5 for each side frame. For each side frame 41 to be identified, a plurality of side frames 41 are selected in advance so that a side frame 41 with a side other than the identification target is included, and the side color shading level is the highest among the plurality of selected side frames 41. The side color shading level of the dark side frame 41 is a side colored shading level, the background color shading level of the side frame 41 to be identified is a side colorless shading level, and the side colored shading level and the side colorless shading level are Between and the marginal color shading If the side color density level of the side frame 41 to be identified is darker than the threshold value, it is determined that there is a side. The side presence / absence determination step 6 for determining that there is no side and the side presence / absence determination step 6 are performed seven times 41/41 of the whole side frame of the structure 40, and the numbers stored in advance in the number form storage step 3 A number reading step 7 for reading a number matching the form as a digit number.

前記色濃淡測定個所設定ステップ4は、撮像された前記数字列44の画像の各桁ごとに、各桁の前記略8字状の構成体40の位置及び大きさに関連付けて、第一に図11(a)の辺枠イ〜トのいずれかや図12の範囲Aに示すように前記縦4辺枠41及び横3辺枠41の7つのそれぞれの辺枠41ごとに、一つの辺枠41の範囲内で予め定めた範囲を辺色濃淡測定個所と設定し、かつ第二に図11(a)の範囲a及びbや図12の範囲B及びCに示すように前記一つの辺枠の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲を背景色濃淡測定個所と設定し記憶する。色濃淡の測定値として例えばRBG値を使用する。 The color shading measurement location setting step 4 is first illustrated in association with the position and size of the approximately 8-shaped structure 40 of each digit for each digit of the captured image of the digit string 44. One side frame for each of the seven side frames 41 of the vertical four side frame 41 and the horizontal three side frame 41 as shown in any of the side frame items 11 to 11a of FIG. A predetermined range within the range of 41 is set as a side color shading measurement location, and secondly, the one side frame as shown in ranges a and b in FIG. 11A and ranges B and C in FIG. Two predetermined ranges on both sides of the long side and in the vicinity of the outer side from the periphery of the long side are set and stored as the background color density measurement locations. For example, an RBG value is used as a measurement value of color shading.

ここで、前記色濃淡測定個所設定ステップ4において、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体40の位置及び大きさに関連付けて、さらに図11(b)に示すように第三に各桁の数字をそれぞれ囲繞する数字枠46を設定する。 Here, in the color shading measurement location setting step 4, for each digit of the captured image of the digit string, in association with the position and size of the approximately eight-shaped structure 40 of each digit, FIG. As shown in FIG. 11 (b), thirdly, a number frame 46 for enclosing each digit number is set.

次に、前記数字形態記憶ステップ3は、撮像された前記数字列44の画像に表示される、例えば図5(b)に示すような0〜9のデジタル数字43の形態を予め記憶する。 Next, the number form storage step 3 stores in advance the form of digital numbers 43 of 0 to 9 as shown in FIG. 5B, for example, which are displayed in the captured image of the number string 44.

次に、前記辺枠別色濃淡算出ステップ5は、撮像された前記数字列44の画像の一つの桁の前記縦4辺枠41及び横3辺枠41の7つの辺枠41ごとに、図12に示すように、一つの辺枠41の前記辺色濃淡測定個所の範囲Aの全画素で測定した画素ごとの色濃淡レベルの平均値を辺領域色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の範囲B及び範囲Cの全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する。例えば、図12において1マス目が1画素の場合に、一つの辺枠41の前記辺色濃淡測定個所の全画素の範囲は黒線で囲まれた範囲Aに該当し、前記2つの背景色濃淡測定個所の全画素の範囲は黒線で囲まれた範囲B及び範囲Cに該当する。 Next, the color tone calculation step 5 for each side frame is performed for each of the seven side frames 41 of the four vertical side frames 41 and the three horizontal side frames 41 of one digit of the captured image of the number string 44. 12, the average value of the color shading levels for each pixel measured at all the pixels in the range A of the side color shading measurement portion of one side frame 41 is calculated as the side area color shading level, and the two backgrounds are calculated. The average value of the color shading levels for each pixel measured at all the pixels in the range B and range C of the color shading measurement location is calculated as the background color shading level. For example, when the first square in FIG. 12 is one pixel, the range of all pixels in the side color density measurement portion of one side frame 41 corresponds to the range A surrounded by a black line, and the two background colors The range of all pixels in the light and shade measurement area corresponds to the range B and the range C surrounded by black lines.

次に、前記辺有無判定ステップ6は辺有無を識別する辺枠41ごとに、前記画像に表示された数字を構成する辺枠41が含まれるように他の複数の辺枠41を予め選択し、前記選択した複数の辺枠41の中で辺色濃淡レベルが最も濃い辺枠41の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記辺有無を識別する辺枠41の前記背景色濃淡レベルを辺無色濃淡レベルとし、該辺有色濃淡レベルと該辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記辺有無を識別する辺の前記辺領域色濃淡レベルが前記閾値より濃い場合は辺が有と判定し、前記閾値未満で淡い場合は辺が無と判定する。なお、図3に示すように、前記辺有無判定ステップ6は、画像の大きさが図8(b)に示すように不均一である場合には前記構成体一致化ステップ11や画像表示ステップ14の後に実施する。 Next, the side presence / absence determination step 6 selects a plurality of other side frames 41 in advance so that the side frames 41 constituting the numbers displayed in the image are included for each side frame 41 for identifying the presence / absence of a side. The background color shading level of the side frame 41 for identifying the presence / absence of the side is determined by setting the side color shading level of the side frame 41 having the darkest side color shading level among the plurality of selected side frames 41 to be the side colored shading level. The side presence / absence density level is identified, and the presence / absence of the side is identified by using a predetermined color density level between the side color density level and the side colorless level as the threshold value of the side presence / absence determination. When the side area color shading level of the side to be selected is darker than the threshold value, it is determined that the side is present, and when it is lighter than the threshold value, it is determined that the side is absent. As shown in FIG. 3, the side presence / absence determination step 6 is performed when the size of the image is not uniform as shown in FIG. 8B. To be implemented after

前記他の複数の辺枠41を予め選択する例として、辺有無を識別する辺枠41の範囲イとする場合は辺枠イを辺有とした場合には隣接する辺枠ロ又は辺枠ヘのうちの少なくとも一つの辺枠41は辺有であるから辺枠ロ及び辺枠ヘを選択し、辺有無を識別する辺枠41を辺枠ロとする場合は辺枠ロを辺有とした場合には隣接する辺枠イ又は辺枠ハのうちの少なくとも一つの辺枠41は辺有であるから辺枠イ及び辺枠ハを選択し、辺有無を識別する辺枠41を辺枠ハとする場合は辺枠ハを辺有とした場合には隣接する辺枠ロ又は辺枠ニのうちの少なくとも一つの辺枠41は辺有であるから辺枠ロ及び辺枠ニを選択し、辺有無を識別する辺枠41を辺枠ニとする場合は辺枠ニを辺有とした場合には隣接する辺枠ハ又は辺枠ホのうちの少なくとも一つの辺枠41は辺有であるから辺枠ハ及び辺枠ホを選択し、辺有無を識別する辺枠41を辺枠ホとする場合は辺枠ホを辺有とした場合には隣接する辺枠ニ又は辺枠ヘ及び対向する辺枠ハのうちの少なくとも一つの辺枠41は辺有であるから辺枠ニ、辺枠ヘ及び辺枠ハを選択し、辺有無を識別する辺枠41を辺枠ヘとする場合は辺枠ヘを辺有とした場合には隣接する辺枠イ又は辺枠トのうちの少なくとも一つの辺枠41は辺有であるから辺枠イ及び辺枠トを選択し、辺有無を識別する辺枠41を辺枠トとする場合は辺枠トを辺有とした場合には隣接する辺枠ロ又は辺枠ヘのうちの少なくとも一つの辺枠41は辺有であるから辺枠ロ及び辺枠ヘを選択する。 As an example of selecting the plurality of other side frames 41 in advance, when the range of the side frame 41 for identifying the presence / absence of the side is set as a range a, when the side frame A is set as a side, the adjacent side frame B or side frame is selected. Since at least one of the side frames 41 has a side, the side frame B and the side frame are selected, and when the side frame 41 for identifying the presence or absence of the side is set as the side frame B, the side frame B is set as a side In this case, since at least one side frame 41 of the adjacent side frames a or side frame c has a side, the side frame a and the side frame c are selected, and the side frame 41 for identifying the presence or absence of the side is selected. In the case where the side frame C is set as a side, since at least one side frame 41 of the adjacent side frames B or side frames D is a side, select the side frame B and the side frame D, When the side frame 41 for identifying the presence / absence of a side is set as the side frame D, when the side frame D is set as a side, at least one of the adjacent side frame c or side frame e Since the side frame 41 has a side, the side frame C and the side frame ho are selected. Since at least one side frame 41 of the frame D or the side frame and the opposite side frame C has a side, the side frame 41 is selected by selecting the side frame D, the side frame, and the side frame C, and identifying the presence or absence of the side. When the side frame is a side frame, when the side frame is a side frame, since at least one side frame 41 of the adjacent side frame a or side frame is a side frame, the side frame a and the side frame frame When the side frame 41 for identifying the presence / absence of the side is a side frame, if the side frame is a side frame, at least one side frame 41 of adjacent side frames B or side frames is Since there is a border, the border frame B and the border frame are selected.

辺の有無の識別は、図11(a)や図13に示すように、前記選択した複数の辺枠41の中で辺色濃淡レベルが最も濃い辺枠の前記辺色濃淡レベルを辺有色濃淡レベルUとし、例えば、図11(a)において辺枠イに対しての辺有無識別をするとした場合は、辺枠ロの辺色濃淡レベルと辺枠ヘの辺色濃淡レベルを比較し最も濃い辺枠41の辺色濃淡レベルを辺有色濃淡レベルUとする。ここで、辺枠イが辺有の場合は0、2、3、5、6、7、8及び9の数字は必ず辺枠ロ及び辺枠ヘの少なくとも1辺が辺有であるので例えば辺有を黒色で表示する場合には黒色のRBG値が辺有色濃淡レベルとなる。一方、辺枠イが辺無の場合は1の4の数字は必ず辺枠ロ及び辺枠ヘの少なくとも1辺が辺有であるので例えば辺色を黒色で表示する場合には黒色のRBG値が辺有色濃淡レベルとなる。 As shown in FIG. 11A and FIG. 13, the presence / absence of a side is identified by setting the side color shading level of the side frame having the darkest side color shading level among the selected side frames 41 to the side colored shading. For example, in the case where it is assumed that the side presence / absence identification for the side frame A in FIG. 11A is performed, the side color density level of the side frame B is compared with the side color density level of the side frame. The side color density level of the side frame 41 is defined as a side color density level U. Here, when the side frame a has a side, the numbers 0, 2, 3, 5, 6, 7, 8, and 9 always have at least one side of the side frame B and the side frame. In the case where the presence is displayed in black, the black RBG value becomes the edged color shading level. On the other hand, when the side frame i is sideless, the number 4 of 1 always has at least one side of the side frame B and the side frame, so for example, when the side color is displayed in black, the black RBG value is displayed. Is the marginal color shading level.

また、辺枠イの背景色濃淡レベルは、図11(a)で示す範囲a及び範囲bであるので、前記範囲a及び範囲bの背景色濃淡レベルを辺無色濃淡レベルWとする。ここで、背景色を白色とすると前記背景色濃淡レベルは白色のRBG値となる。 Further, since the background color shading level of the side frame a is the range a and the range b shown in FIG. 11A, the background color shading level of the range a and the range b is set to the side colorless shading level W. Here, if the background color is white, the background color shading level becomes a white RBG value.

そして、前記辺有色濃淡レベルUの黒色のRBG値と前記辺無色濃淡レベルWの白色のRBG値との間であって前記辺有色濃淡レベルU寄りで予め定めた色濃淡レベルを辺有無判定の閾値Sとして、前記辺有無を識別する辺の前記辺色濃淡レベルが前記閾値Sより濃い場合は辺有と判定し、前記閾値S未満で淡い場合は辺無と判定する。この閾値Sは、辺有を背景と判断し辺無と誤判断をしないように、また辺無を辺有と誤判断をしないように色濃淡レベルを事前に求めて設定する。 Then, a predetermined color shading level between the black RBG value of the side colored shading level U and the white RBG value of the side colorless shading level W and close to the sided shading shading level U is determined as a side presence / absence determination. As the threshold S, if the side color density level of the side for identifying the presence / absence of the side is darker than the threshold S, it is determined that there is a side, and if it is lighter than the threshold S, it is determined that there is no side. This threshold value S is determined by setting the color shading level in advance so as not to erroneously determine that there is no edge because it is determined that the edge is background, and not to be erroneously determined as edge.

次に、前記閾値Sを例えば白色と黒色との中間Tより辺有色濃淡レベルU寄りのRBG値と設定した場合には、辺枠イの辺色濃淡レベルが図13に示すように矢印Fの場合は前記閾値Sより濃い場合となるので辺有と判定し、矢印Gの場合、前記閾値Sより辺無色濃淡レベルW寄りの淡い場合となるので辺無と判定する。このように辺枠41単位で辺有無判定を実施する。 Next, when the threshold value S is set to, for example, an RBG value closer to the edge color density level U than an intermediate T between white and black, the side color intensity level of the side frame A is indicated by an arrow F as shown in FIG. In this case, it is determined that there is a side because it is darker than the threshold value S, and in the case of the arrow G, it is determined that there is no side because it is lighter than the threshold value S and is closer to the side colorless gray level. In this way, the side presence / absence determination is performed in units of the side frame 41.

次に、前記数字読取りステップ7は、前記辺有無判定ステップ6を縦4辺枠41及び横3辺枠41の全辺枠分の7回実施して、前記数字形態記憶ステップ3で予め記憶している数字の形態に一致する数字を前記7回実施した桁の数字として確定する。このようにして一つの桁の数字を読取る。 Next, in the number reading step 7, the side presence / absence determination step 6 is performed seven times for all the side frames of the vertical four side frame 41 and the horizontal three side frame 41, and stored in advance in the number form storage step 3. The number that matches the number form is confirmed as the number of the digit that has been executed seven times. In this way, a single digit is read.

次に、前記数字列読取りステップ8は、前記辺有無判定ステップ6から前記数字読取りステップ7までを前記数字列の桁数分だけ繰り返して前記数字列の全桁の数字を読取る。このようにして前記デジタル数字表示部26に表示された数字列を正確に読み取ることができる。 Next, the number string reading step 8 repeats the side presence / absence determination step 6 to the number reading step 7 by the number of digits of the number string to read all digits of the number string. In this way, the numeric string displayed on the digital numeral display unit 26 can be read accurately.

前記構成体一致化ステップ11について説明する。まず、電力量計の積算量を表示すデジタル数字表示部26をカメラ等の撮影手段22により撮影した画像の構成体40を図8に示すように画像構成体48として黒色で表示する。前記画像構成体48は、図8(a)に示すように構成体列47の画像構成体48の大きさが同じ場合や、図8(b)に示すように魚眼レンズで撮影した場合は構成体列47の画像構成体48の大きさが中央部に比べて左右端側にいくほど小さくなる場合がある。次に、前記色濃淡測定個所設定ステップ4で記憶させて画面に表示した構成体列47の構成体40を図9に示すように表示構成体49として黒色抜きで表示する。図9に示すように構成体列47の表示構成体49の大きさは同じである。 The structure matching step 11 will be described. First, a digital number display section 26 that displays the integrated amount of the watt-hour meter is displayed in black as an image structure 48 as shown in FIG. The image component 48 is a component when the size of the image component 48 in the component row 47 is the same as shown in FIG. 8A or when the image component 48 is photographed with a fisheye lens as shown in FIG. 8B. In some cases, the size of the image construct 48 in the column 47 becomes smaller toward the left and right ends than in the central portion. Next, the structure 40 of the structure row 47 stored in the color shading measurement location setting step 4 and displayed on the screen is displayed in black as a display structure 49 as shown in FIG. As shown in FIG. 9, the size of the display structure 49 in the structure row 47 is the same.

前記構成体一致化ステップ11では、まず図8に示すような撮影した画像の構成体列47に、図9に示すような記憶させている構成体列47を重ね合せる。すると、図8(a)に示すような構成体列47の画像構成体48の大きさが同じ画像の場合は図10(a)に示すように撮像された画像の構成体列47と記憶させた構成体列47の大きさ・位置が一致し、各桁の画像構成体48と表示構成体49との大きさ・位置が一致する。しかし、図8(b)に示すように魚眼レンズなどの撮影手段22で撮像された画像の画像構成体48の大きさ・位置が異なる構成体列47の場合は、図10(b)に示すように構成体列47の大きさ・位置が不一致となり、各桁の画像構成体48と表示構成体49との大きさ・位置が不一致の桁が生ずる。この場合に構成体一致化ステップ11で撮像された画像の構成体列47の画像構成体48に、記憶させ画面に表示させた構成体列47の表示構成体49の大きさ・位置を調整して図10(c)に示すように一致させる。この一致させるときに表示構成体49の各桁の数字枠46を、画像構成体48の各桁の数字を囲繞するように調整することにより容易に一致させることができる。 In the structure matching step 11, first, the stored structure row 47 as shown in FIG. 9 is superimposed on the taken image structure row 47 as shown in FIG. Then, in the case where the image structures 48 in the structure row 47 as shown in FIG. 8A have the same size, the image is stored as the structure row 47 of the captured image as shown in FIG. 10A. The size / position of the component row 47 matches, and the size / position of the image component 48 and the display component 49 of each digit match. However, as shown in FIG. 8B, in the case of the structure row 47 in which the size and position of the image structure 48 of the image taken by the photographing means 22 such as a fisheye lens is different as shown in FIG. Therefore, the size and position of the component row 47 are not matched, and the digit and the size and position of the image construct 48 and the display component 49 are not matched. In this case, the size and position of the display structure 49 of the structure row 47 stored in the image structure 48 of the structure row 47 of the image captured in the structure matching step 11 and displayed on the screen are adjusted. As shown in FIG. When matching, the number frame 46 of each digit of the display structure 49 can be easily matched by adjusting so as to surround the number of each digit of the image structure 48.

すなわち、前記辺枠別色濃淡算出ステップ5より前のステップにおいて、表示画面に表示した撮像による数字列の各桁の略8字状の辺枠41の画像構成体48に、前記色濃淡測定個所設定ステップ4で記憶させ前記表示画面に表示した略8字状の辺枠41の表示構成体49の一つ一つが一致するように、前記一つ一つの表示構成体49の拡大又は縮小を可能とし、前記一つ一つの表示構成体49の上下左右方向への移動を可能とし、及び、前記複数の表示構成体49からなる構成体列47を一体として上下左右方向への移動を可能とする構成体一致化ステップ11を備える。これにより、撮像された画像の画像構成体48からなる構成体列47と記憶させた表示構成体49からなる構成体列47の大きさ・位置を一致させる。 That is, in the step prior to the color shading calculation step 5 for each side frame, the color shading measurement location is added to the image construct 48 of the approximately 8-character side frame 41 of each digit of the digit string obtained by imaging displayed on the display screen. Each display component 49 can be enlarged or reduced so that each of the display components 49 of the substantially eight-shaped side frame 41 stored in the setting step 4 and displayed on the display screen matches. The individual display components 49 can be moved in the vertical and horizontal directions, and the component row 47 composed of the plurality of display components 49 can be integrally moved in the vertical and horizontal directions. A structure matching step 11 is provided. As a result, the size and position of the component row 47 including the image component 48 of the captured image and the component row 47 including the stored display component 49 are matched.

次に、光学的数字読取り装置30は、各桁ごとに縦4辺枠及び横3辺枠からなる略8字状の構成体により0〜9のいずれかの数字を表示可能なデジタル数字表示部に表示された数字列を撮影手段による撮像により読み取る光学的数字読取り装置であって、前記構成体の各辺枠ごとに、辺有無を識別する対象の辺枠内の色濃淡レベルが、識別対象以外の辺枠で辺有の辺枠内の色濃淡レベルと前記識別対象の辺枠の近傍域の背景の色濃淡レベルとのうちの近い方と識別対象の辺枠内の辺有無状態が同じと判断して辺有無を判別し、前記辺有無判定を前記構成体の全辺枠分繰り返し実施して前記構成体に表示された数字を読取る辺有無数字読取り部と、前記辺有無数字読取り部の作動を前記数字列の全桁分繰り返して前記数字列を読取る数字列読取り部と、を備える。 Next, the optical number reading device 30 is a digital number display unit capable of displaying any number from 0 to 9 with a substantially 8-character-shaped structure composed of four vertical side frames and three horizontal side frames for each digit. An optical number reading device for reading a number string displayed on the image by means of imaging means, and for each side frame of the structure, the color shading level in the side frame for identifying the presence or absence of a side is an identification target The side presence / absence state in the side frame of the identification target is the same between the color gray level in the side frame other than the side frame and the color tone level of the background in the vicinity of the side frame of the identification target. The side presence / absence number reading unit that repeats the side presence / absence determination for all side frames of the component and reads the number displayed on the component, and the side presence / absence number reading unit Reading the number string by repeating the operation of all the digits of the number string It comprises a part, a.

そして、前記辺有無数字読取り部が、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、第一に前記縦4辺枠及び横3辺枠の7つのそれぞれの辺枠ごとに、前記辺枠の範囲内で予め定めた範囲を辺色濃淡測定個所と設定し、かつ第二に前記辺枠の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲を背景色濃淡測定個所と設定し記憶する色濃淡測定個所設定部と、前記0〜9の数字の形態を予め記憶する数字形態記憶部と、前記撮像された前記数字列の画像の一つの桁の前記構成体の7つの辺枠ごとに、前記辺枠内の前記辺色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を辺色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する辺枠別色濃淡算出部と、辺有無を識別する辺枠ごとに、識別対象以外の辺有の辺枠が含まれるように複数の辺枠を予め選択し、前記選択した複数の辺枠の中で辺色濃淡レベルが最も濃い辺枠の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記識別対象の辺枠の前記背景色濃淡レベルを辺無色濃淡レベルとし、前記辺有色濃淡レベルと前記辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記識別対象の辺枠の前記辺色濃淡レベルが前記閾値より濃い場合は辺有と判定し、前記閾値未満で淡い場合は辺無と判定する辺有無判定部と、前記辺有無判定部を前記構成体の全辺枠分の7回実施して、前記数字形態記憶部で予め記憶している数字の形態に一致する数字を桁の数字として読取る数字読取り部と、を備える。 Then, the side presence / absence number reading unit is associated with the position and size of the approximately 8-character-shaped structure of each digit for each digit of the image of the digit string that has been imaged. For each of the seven side frames of the side frame and the three horizontal side frames, a predetermined range within the range of the side frame is set as a side color shading measurement point, and secondly, the long side of the side frame A color shade measurement location setting unit that sets and stores two predetermined ranges on both sides and in the vicinity of the outer side from the periphery of the long side as a background color shade measurement location, and forms of the numbers 0 to 9 Measured at all pixels in the side color density measurement portion in the side frame for every seven side frames of the number form storage unit stored in advance and the structure of one digit of the captured image of the number sequence The average value of color shading levels for each pixel is calculated as the side color shading level, and the two background color shading measurements are performed. A color tone calculation unit for each side frame that calculates an average value of color tone levels for each pixel measured at all pixels as a background color tone level, and for each side frame that identifies the presence or absence of a side, A plurality of side frames are selected in advance so as to include a side frame, the side color shading level of the side frame having the darkest side color shading level among the plurality of selected side frames is set as a side colored shading level, and the identification is performed. The background color shading level of the target side frame is set to a side colorless shading level, and a predetermined color shading level between the side colored shading level and the side colorless shading level and close to the side coloring shading level is determined to be a side presence / absence A side presence / absence determination unit that determines that a side is present when the side color shading level of the side frame to be identified is darker than the threshold, and determines that there is no side when the threshold is lighter than the threshold, and the side Presence / absence determination unit 7 times for all sides of the structure Subjected to, and a number reading unit for reading a number that matches the form of the number that was previously stored in the numerical form storage unit as a number of digits.

前記辺枠別色濃淡算出部を作動させる前において、表示画面に表示した撮像による数字列の各桁の略8字状の辺枠の画像構成体に、前記色濃淡測定個所設定部で記憶させ前記表示画面に表示した略8字状の辺枠の表示構成体が一致するように、前記表示構成体の拡大又は縮小を可能とし、前記表示構成体の上下左右方向への移動を可能とし、及び、前記表示構成体からなる数字列を一体として上下左右方向への移動を可能とする構成体一致化部を作動完了している。 Before operating the color tone calculation unit for each side frame, the color tone measurement location setting unit stores the image structure of the approximately 8-character side frame of each digit of the digit string obtained by imaging displayed on the display screen. The display structure can be enlarged or reduced so that the display structure of the substantially 8-character side frame displayed on the display screen can be matched, and the display structure can be moved in the vertical and horizontal directions. And the operation | movement completion of the structure matching part which enables the movement to the up-down and left-right direction as a number string which consists of the said display structure is integrated.

そして、前記色濃淡測定個所設定部33において、撮像された前記数字列44の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、各桁の数字をそれぞれ囲繞する数字枠46を設定することを備える。 Then, in the color shading measurement location setting unit 33, for each digit of the captured image of the number string 44, each digit is associated with the position and size of the approximately 8-character structure of each digit. Setting number frames 46 each enclosing a number.

1 光学的数字読取り方法
2 辺有無数字読取りステップ
3 数字形態記憶ステップ
4 色濃淡測定個所設定ステップ
5 辺枠別色濃淡算出ステップ
6 辺有無判定ステップ
7 数字読取りステップ
8 数字列読取りステップ
10 光学的数字読取り方法
11 構成体一致化ステップ
21 電力量計
22 撮影手段
23 画像記憶装置
24 制御部
25 画像表示部
26 デジタル数字表示部
30 光学的数字読取り装置
31 辺有無数字読取り部
32 数字列読取り部
33 色濃淡測定個所設定部
34 数字形態記憶部
35 辺枠別色濃淡算出部
36 辺有無判定部
37 数字読取り部
38 構成体一致化部
40 構成体
41 辺枠
42 小数点
43 デジタル数字
44 数字列
45 背景
46 数字枠
47 構成体列
48 画像構成体
49 表示構成体
A 範囲
B 範囲
C 範囲
S 閾値
T 中間
U 辺有色濃淡レベル
W 辺無色濃淡レベル
g 背景
m1 範囲
m2 範囲
DESCRIPTION OF SYMBOLS 1 Optical number reading method 2 Side presence / absence number reading step 3 Number form memory step 4 Color shade measurement location setting step 5 Color density calculation step by side frame 6 Edge presence / absence judgment step 7 Number reading step 8 Numeric string reading step 10 Optical number Reading method 11 Constituent matching step 21 Watt meter 22 Imaging unit 23 Image storage device 24 Control unit 25 Image display unit 26 Digital number display unit 30 Optical number reading unit 31 Edge presence / absence number reading unit 32 Number string reading unit 33 Color Color measurement location setting section 34 Number form storage section 35 Color density calculation section by edge frame 36 Edge presence / absence determination section 37 Number reading section 38 Structure matching section 40 Structure 41 Edge frame 42 Decimal point 43 Digital number 44 Number string 45 Background 46 Number frame 47 Constituent row 48 Image constituent 49 Display constituent A Range B Range C Range S Threshold T Intermediate U Side colored shade level W Side colorless shade level g Background m1 Range m2 Range

Claims (8)

各桁ごとに縦4辺枠及び横3辺枠からなる略8字状の構成体により0〜9のいずれかの数字を表示可能なデジタル数字表示部に表示された数字列を撮影手段による撮像により読み取る光学的数字読取り方法であって、
前記構成体の各辺枠ごとに、辺有無を識別する対象の辺枠内の色濃淡レベルが、識別対象以外の辺枠で辺有の辺枠内の色濃淡レベルと前記識別対象の辺枠の近傍域の背景の色濃淡レベルとのうちの近い方と識別対象の辺枠内の辺有無状態が同じと判断して辺有無を判別し、前記辺有無判定を前記構成体の全辺枠分繰り返し実施して前記構成体に表示された数字を読取る辺有無数字読取りステップと、前記辺有無数字読取りステップを前記数字列の全桁分繰り返して前記数字列を読取る数字列読取りステップと、を備えることを特徴とする光学的数字読取り方法。
Imaging by a photographing means a digit string displayed on a digital numeral display unit capable of displaying any number from 0 to 9 by a substantially 8-character-shaped structure consisting of a vertical 4 side frame and a horizontal 3 side frame for each digit. An optical number reading method for reading by:
For each side frame of the construct, the color shading level in the target side frame for identifying the presence / absence of a side is the color shading level in the side frame with side in the side frame other than the identification target and the side frame for the identification target. The presence / absence of a side is determined by determining that the nearer one of the background color shade levels in the vicinity of and the side presence / absence state in the side frame to be identified are the same, and the side presence / absence determination is performed on all the side frames of the construct A number reading step that reads the number displayed on the component by repeating the number of times, and a number string reading step that reads the number string by repeating the number reading step for all the digits of the number string. An optical number reading method comprising:
前記辺有無数字読取りステップが、
撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、第一に前記縦4辺枠及び横3辺枠の7つのそれぞれの辺枠ごとに、前記辺枠の範囲内で予め定めた範囲を辺色濃淡測定個所と設定し、かつ第二に前記辺枠の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲を背景色濃淡測定個所と設定し記憶する色濃淡測定個所設定ステップと、
前記0〜9の数字の形態を予め記憶する数字形態記憶ステップと、
前記色濃淡測定個所設定ステップ後に、撮像された前記数字列の画像の一つの桁の前記構成体の7つの辺枠ごとに、前記辺枠内の前記辺色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を辺色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する辺枠別色濃淡算出ステップと、
前記辺枠別色濃淡算出ステップ後に、辺有無を識別する辺枠ごとに、識別対象以外の辺有の辺枠が含まれるように複数の辺枠を予め選択し、前記選択した複数の辺枠の中で辺色濃淡レベルが最も濃い辺枠の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記識別対象の辺枠の前記背景色濃淡レベルを辺無色濃淡レベルとし、前記辺有色濃淡レベルと前記辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記識別対象の辺枠の前記辺色濃淡レベルが前記閾値より濃い場合は辺有と判定し、前記閾値未満で淡い場合は辺無と判定する辺有無判定ステップと、
前記辺有無判定ステップを前記構成体の全辺枠分の7回実施して、前記数字形態記憶ステップで予め記憶している数字の形態に一致する数字を桁の数字として読取る数字読取りステップと、を備えることを特徴とする請求項1に記載の光学的数字読取り方法。
The side presence / absence number reading step comprises:
For each digit of the captured image of the digit string, first, the seven vertical four-side frames and three horizontal side frames are associated with the position and size of the approximately eight-shaped structure of each digit. For each side frame, a predetermined range within the range of the side frame is set as a side color density measurement point, and secondly, both sides of the long side of the side frame and the periphery of the long side A color shading measurement location setting step for setting and storing two predetermined ranges in the vicinity of the outer direction as background color shading measurement locations;
A number form storing step for storing in advance the number forms of 0 to 9;
After the color density measurement location setting step, measurement was performed on all the pixels of the side color density measurement location in the side frame for every 7 side frames of the structure of one digit of the captured image of the number sequence. A side for calculating an average value of color shading levels for each pixel as a side color shading level, and calculating an average value of color shading levels for each pixel measured at all pixels of the two background color shading measurement points as a background color shading level A color tone calculation step for each frame;
After each side frame color shading calculation step, for each side frame for identifying the presence or absence of a side, a plurality of side frames are selected in advance so that a side frame with a side other than the identification target is included, and the selected plurality of side frames The side color shading level of the side frame having the darkest side color shading level is set as a side colored shading level, the background color shading level of the side frame to be identified is set as a side colorless shading level, and the side colored shading level When the side color shading level of the side frame to be identified is darker than the threshold, with the color shading level set in advance between the side colorless shading level and close to the side colored shading level as a threshold for judging whether or not there is a side Is determined to have a side, and if it is less than the threshold and is light, a side presence / absence determination step that determines that there is no side;
A number reading step of performing the edge presence / absence determination step seven times for all side frames of the structure, and reading a number that matches the number form stored in advance in the number form storage step as a digit number; The optical number reading method according to claim 1, further comprising:
前記辺枠別色濃淡算出ステップより前のステップにおいて、
表示画面に表示した撮像による数字列の各桁の略8字状の辺枠の画像構成体に、前記色濃淡測定個所設定ステップで記憶させ前記表示画面に表示した略8字状の辺枠の表示構成体が一致するように、前記表示構成体の拡大又は縮小を可能とし、前記表示構成体の上下左右方向への移動を可能とし、及び、前記表示構成体からなる数字列を一体として上下左右方向への移動を可能とする構成体一致化ステップを備えたことを特徴とする請求項2に記載の光学的数字読取り方法。
In the step before the side frame color shading calculation step,
The image structure of the approximately 8-character-shaped side frame of each digit of the digit string displayed on the display screen is stored in the color shading measurement location setting step and displayed on the display screen. The display structure can be enlarged or reduced so that the display structures can be matched, the display structure can be moved in the vertical and horizontal directions, and the numeric string composed of the display structures can be integrated vertically. The optical number reading method according to claim 2, further comprising a structure matching step that enables movement in the left-right direction.
前記色濃淡測定個所設定ステップにおいて、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、各桁の数字をそれぞれ囲繞する数字枠を設定することを備えたことを特徴とする請求項2又は3に記載の光学的数字読取り方法。 In the color shading measurement location setting step, for each digit of the captured image of the digit string, the digit of each digit is associated with the position and size of the approximately eight-shaped structure of each digit. 4. The optical number reading method according to claim 2, further comprising setting a number frame. 各桁ごとに縦4辺枠及び横3辺枠からなる略8字状の構成体により0〜9のいずれかの数字を表示可能なデジタル数字表示部に表示された数字列を撮影手段による撮像により読み取る光学的数字読取り装置であって、
前記構成体の各辺枠ごとに、辺有無を識別する対象の辺枠内の色濃淡レベルが、識別対象以外の辺枠で辺有の辺枠内の色濃淡レベルと前記識別対象の辺枠の近傍域の背景の色濃淡レベルとのうちの近い方と識別対象の辺枠内の辺有無状態が同じと判断して辺有無を判別し、前記辺有無判定を前記構成体の全辺枠分繰り返し実施して前記構成体に表示された数字を読取る辺有無数字読取り部と、前記辺有無数字読取り部の作動を前記数字列の全桁分繰り返して前記数字列を読取る数字列読取り部と、を備えることを特徴とする光学的数字読取り装置。
Imaging by a photographing means a digit string displayed on a digital numeral display unit capable of displaying any number from 0 to 9 by a substantially 8-character-shaped structure consisting of a vertical 4 side frame and a horizontal 3 side frame for each digit. An optical number reader for reading by
For each side frame of the construct, the color shading level in the target side frame for identifying the presence / absence of a side is the color shading level in the side frame with side in the side frame other than the identification target and the side frame for the identification target. The presence / absence of a side is determined by determining that the nearer one of the background color shade levels in the vicinity of and the side presence / absence state in the side frame to be identified are the same, and the side presence / absence determination is performed on all the side frames of the construct A side presence / absence number reading unit that repeats the number of times and reads the number displayed on the structure, and a number string reading unit that reads the number string by repeating the operation of the side presence / absence number reading unit for all the digits of the number string. An optical number reading device comprising:
前記辺有無数字読取り部が、
撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、第一に前記縦4辺枠及び横3辺枠の7つのそれぞれの辺枠ごとに、前記辺枠の範囲内で予め定めた範囲を辺色濃淡測定個所と設定し、かつ第二に前記辺枠の長辺側の両側であってかつ前記長辺の周縁より外方向の近傍で予め定めた2つの範囲を背景色濃淡測定個所と設定し記憶する色濃淡測定個所設定部と、
前記0〜9の数字の形態を予め記憶する数字形態記憶部と、
前記撮像された前記数字列の画像の一つの桁の前記構成体の7つの辺枠ごとに、前記辺枠内の前記辺色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を辺色濃淡レベルとして算出し、前記2つの背景色濃淡測定個所の全画素で測定した画素ごとの色濃淡レベルの平均値を背景色濃淡レベルとして算出する辺枠別色濃淡算出部と、
辺有無を識別する辺枠ごとに、識別対象以外の辺有の辺枠が含まれるように複数の辺枠を予め選択し、前記選択した複数の辺枠の中で辺色濃淡レベルが最も濃い辺枠の前記辺色濃淡レベルを辺有色濃淡レベルとし、前記識別対象の辺枠の前記背景色濃淡レベルを辺無色濃淡レベルとし、前記辺有色濃淡レベルと前記辺無色濃淡レベルとの間であって前記辺有色濃淡レベル寄りで予め定めた色濃淡レベルを辺有無判定の閾値として、前記識別対象の辺枠の前記辺色濃淡レベルが前記閾値より濃い場合は辺有と判定し、前記閾値未満で淡い場合は辺無と判定する辺有無判定部と、
前記辺有無判定部を前記構成体の全辺枠分の7回実施して、前記数字形態記憶部で予め記憶している数字の形態に一致する数字を桁の数字として読取る数字読取り部と、を備えることを特徴とする請求項5に記載の光学的数字読取り装置。
The side presence / absence number reading unit,
For each digit of the captured image of the digit string, first, the seven vertical four-side frames and three horizontal side frames are associated with the position and size of the approximately eight-shaped structure of each digit. For each side frame, a predetermined range within the range of the side frame is set as a side color density measurement point, and secondly, both sides of the long side of the side frame and the periphery of the long side A color density measurement location setting unit for setting and storing two predetermined ranges in the vicinity of the outer direction as the background color density measurement location;
A number form storage unit for previously storing the number forms of 0 to 9,
For each of the seven side frames of the structure of one digit of the captured image of the digit string, the average of the color shading levels for each pixel measured at all the pixels of the side color shading measurement location in the side frame A value as a side color shading level, and a color shading calculation unit for each side frame that calculates an average value of color shading levels for each pixel measured at all pixels of the two background color shading measurement locations as a background color shading level;
For each side frame for identifying the presence or absence of a side, a plurality of side frames are selected in advance so as to include a side frame with a side other than the identification target, and the side color shading level is the darkest among the plurality of selected side frames. The side color shading level of the side frame is set as a side colored shading level, the background color shading level of the side frame to be identified is set as a side colorless shading level, and is between the side colored shading level and the side colorless shading level. As a threshold value for determining the presence / absence of a side, the color tone level determined in advance near the side color tone level is determined to be side if the side color tone level of the side frame to be identified is higher than the threshold value, and less than the threshold value If it is light, the side presence / absence determination unit that determines that there is no side,
A number reading unit that performs the edge presence / absence determination unit seven times for the entire side frame of the component, and reads a number that matches a number form stored in advance in the number form storage unit as a digit number; The optical number reader according to claim 5, comprising:
前記辺枠別色濃淡算出部を作動させる前において、
表示画面に表示した撮像による数字列の各桁の略8字状の辺枠の画像構成体に、前記色濃淡測定個所設定部で記憶させ前記表示画面に表示した略8字状の辺枠の表示構成体が一致するように、前記表示構成体の拡大又は縮小を可能とし、前記表示構成体の上下左右方向への移動を可能とし、及び、前記表示構成体からなる数字列を一体として上下左右方向への移動を可能とする構成体一致化部を作動完了していることを特徴とする請求項6に記載の光学的数字読取り装置。
Before operating the side frame color shading calculation unit,
The image structure of the approximately 8-character side frame of each digit of the digit string obtained by imaging displayed on the display screen is stored in the color shading measurement location setting unit and is displayed on the display screen of the approximately 8-character side frame. The display structure can be enlarged or reduced so that the display structures can be matched, the display structure can be moved in the vertical and horizontal directions, and the numeric string composed of the display structures can be integrated vertically. 7. The optical number reading device according to claim 6, wherein the operation of the component matching unit that enables movement in the left-right direction is completed.
前記色濃淡測定個所設定部において、撮像された前記数字列の画像の各桁ごとに、各桁の前記略8字状の構成体の位置及び大きさに関連付けて、各桁の数字をそれぞれ囲繞する数字枠を設定することを備えたことを特徴とする請求項6又は7に記載の光学的数字読取り装置。 In the color density measurement location setting unit, each digit of the digit string is associated with the position and size of the approximately 8-character-shaped structure of each digit for each digit of the captured image of the digit string. The optical number reader according to claim 6, further comprising setting a number frame to be set.
JP2017130826A 2017-07-04 2017-07-04 Optical number reading method and equipment Active JP6901334B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017130826A JP6901334B2 (en) 2017-07-04 2017-07-04 Optical number reading method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017130826A JP6901334B2 (en) 2017-07-04 2017-07-04 Optical number reading method and equipment

Publications (2)

Publication Number Publication Date
JP2019016027A true JP2019016027A (en) 2019-01-31
JP6901334B2 JP6901334B2 (en) 2021-07-14

Family

ID=65356533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017130826A Active JP6901334B2 (en) 2017-07-04 2017-07-04 Optical number reading method and equipment

Country Status (1)

Country Link
JP (1) JP6901334B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111695540A (en) * 2020-06-17 2020-09-22 北京字节跳动网络技术有限公司 Video frame identification method, video frame cutting device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5263098A (en) * 1990-07-06 1993-11-16 Matsushita Electric Industrial Co., Ltd. Object recognition method and apparatus for determining the presence and shape of an object
JPH11316794A (en) * 1998-05-06 1999-11-16 Aisin Aw Seimitsu Kk Method for reading and deciding segment information
JP2013061816A (en) * 2011-09-13 2013-04-04 Fujitsu Ltd Program, information processor, and abnormality determination method
WO2014203403A1 (en) * 2013-06-17 2014-12-24 富士通株式会社 Image processing device, image processing method, and image processing program
JP2017010170A (en) * 2015-06-18 2017-01-12 株式会社Pfu Image processing device, date identification device, image processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5263098A (en) * 1990-07-06 1993-11-16 Matsushita Electric Industrial Co., Ltd. Object recognition method and apparatus for determining the presence and shape of an object
JPH11316794A (en) * 1998-05-06 1999-11-16 Aisin Aw Seimitsu Kk Method for reading and deciding segment information
JP2013061816A (en) * 2011-09-13 2013-04-04 Fujitsu Ltd Program, information processor, and abnormality determination method
WO2014203403A1 (en) * 2013-06-17 2014-12-24 富士通株式会社 Image processing device, image processing method, and image processing program
JP2017010170A (en) * 2015-06-18 2017-01-12 株式会社Pfu Image processing device, date identification device, image processing method, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
畑豊 外4名: "カメラモニタリングによるガス使用量読み取りシステムの開発", システム制御情報学会論文誌, vol. 29, no. 9, JPN6021020644, 2016, pages 401 - 407, ISSN: 0004523319 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111695540A (en) * 2020-06-17 2020-09-22 北京字节跳动网络技术有限公司 Video frame identification method, video frame cutting device, electronic equipment and medium
CN111695540B (en) * 2020-06-17 2023-05-30 北京字节跳动网络技术有限公司 Video frame identification method, video frame clipping method, video frame identification device, electronic equipment and medium

Also Published As

Publication number Publication date
JP6901334B2 (en) 2021-07-14

Similar Documents

Publication Publication Date Title
CN1690678B (en) Image analysis method, image analysis program and pixel evaluation system having the sames
JP3996520B2 (en) Two-dimensional information code and generation method thereof
CN108683907A (en) Optics module picture element flaw detection method, device and equipment
US20150145989A1 (en) Acquisition of Color Calibration Charts
ES2389987T3 (en) Focus aid system and method
US20070253638A1 (en) Digital Image Acquisition and Processing System
US20050068450A1 (en) Automated statistical self-calibrating detection and removal of blemishes in digital images dependent upon changes in extracted parameter values
MX2014004073A (en) Device and method for automatically identifying a qr code.
JP2007507932A (en) Correction method
CN110197180B (en) Character defect detection method, device and equipment
US20050068449A1 (en) Automated statistical self-calibrating detection and removal of blemishes in digital images based on a dust map developed from actual image data
JP2015127668A (en) Measurement device, system and program
CN102104709A (en) Method for processing image shot by camera and camera
JP6861345B2 (en) Character figure recognition device, character figure recognition method, and character figure recognition program
CN109741307A (en) Veiling glare detection method, veiling glare detection device and the veiling glare detection system of camera module
JP2017521011A (en) Symbol optical detection method
CN111066062B (en) Method and system for measuring electronic visual displays using fractional pixels
JP2019016027A (en) Optical numeric character reading method and device
CN113409271A (en) Method, device and equipment for detecting oil stain on lens
JP4766069B2 (en) 2D information code display method
CN109040598B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
JP2014116706A (en) Two-dimensional color code display apparatus, display method, reading device, and reading method
JP2007279643A (en) Color correction method of dlp projector
US20170076166A1 (en) Marker generating method, marker decoding method, and marker reading device
CN109684948B (en) Method, device and system for detecting mesh abnormality of object

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200414

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210422

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210617

R150 Certificate of patent or registration of utility model

Ref document number: 6901334

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250