JPH0792812B2 - Vouchers and how to read them - Google Patents

Vouchers and how to read them

Info

Publication number
JPH0792812B2
JPH0792812B2 JP62257384A JP25738487A JPH0792812B2 JP H0792812 B2 JPH0792812 B2 JP H0792812B2 JP 62257384 A JP62257384 A JP 62257384A JP 25738487 A JP25738487 A JP 25738487A JP H0792812 B2 JPH0792812 B2 JP H0792812B2
Authority
JP
Japan
Prior art keywords
numbers
pattern
image data
patterns
mark
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.)
Expired - Fee Related
Application number
JP62257384A
Other languages
Japanese (ja)
Other versions
JPH01100683A (en
Inventor
守 中山
Original Assignee
アイ・シー・エス通商株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by アイ・シー・エス通商株式会社 filed Critical アイ・シー・エス通商株式会社
Priority to JP62257384A priority Critical patent/JPH0792812B2/en
Priority to US07/177,595 priority patent/US5059775A/en
Priority to EP88105854A priority patent/EP0288820B1/en
Priority to DE3850696T priority patent/DE3850696T2/en
Publication of JPH01100683A publication Critical patent/JPH01100683A/en
Publication of JPH0792812B2 publication Critical patent/JPH0792812B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、金銭授受の際使用される伝票と、その伝票
の読取り方法に関する。
TECHNICAL FIELD The present invention relates to a slip used for giving and receiving money, and a method for reading the slip.

[従来の技術] 従来、手書き文字の伝票や統計データ等を自動読み取り
装置、光学的文字読み取り装置により読み取り、計算機
等の情報処理装置入力することが行なわれている。しか
しながら、手書き文字の書体は、個人的特性のばらつき
により大きく異なり、普及形の郵便便号制度システムに
おいても、未だ即時読み取りは不可能な手書き数字も多
数有り、認識不可文字については、オペレータによる入
力で処理されているのが現状である。
[Prior Art] Conventionally, a slip of handwritten characters, statistical data, and the like are read by an automatic reading device or an optical character reading device and input into an information processing device such as a computer. However, the typeface of handwritten characters varies greatly due to variations in personal characteristics, and even in the popular postal service system, there are still many handwritten numbers that cannot be immediately read. It is currently being processed in.

従来の自動読み取り装置や数字認識装置は未だ不完全で
充分な自動化には至らず高精度の読み取り装置の出現が
期待されている。
Conventional automatic reading devices and numeral recognition devices are still incomplete, and they are not fully automated, and it is expected that highly accurate reading devices will appear.

[従来技術の問題点] 従来の数字認識装置の能力は未だ不充分で完全自動化に
は至らっていない、特に、銀行等における金銭授受の際
使用される伝票は、一般の顧客を対象に100%の正確さ
を要求されるため、今だオペレータによるキーボード入
力に全面的に頼っている。
[Problems of the prior art] The ability of the conventional numeral recognition device is still inadequate and has not yet been fully automated. In particular, the slips used for the transfer of money in banks are 100 It still relies entirely on operator keyboard input as it requires% accuracy.

高密度化したオンライン情報処理システムが広く普及し
ている今日、その運営にあたり、一般的なオペレータが
逐次その認識不可文字を又伝票上の数字をキーボード入
力により、補足する方法では、せつかくの高価なシステ
ムが省力化、即時化を充分に発揮することができないと
いう問題があった。
In today's widespread use of high-density online information processing systems, it is expensive to operate a general operator by sequentially supplementing the unrecognizable characters and the numbers on the slips with a keyboard. However, there was a problem that such a system could not fully show labor saving and immediacy.

[発明の目的] この発明は上記問題点を解消するためになされたもの
で、記入段階での厳しい精度や準備条件を必要とせず、
誰にでも容易に正確に記入できる伝票と、この伝票上の
情報を高精度で正確に完全自動で読み取り、誤記入や欠
落等も容易にチェックでき、オペーレタによる訂正が全
く不要な伝票読み取り方法を提供することを目的として
いる。
[Object of the Invention] The present invention has been made in order to solve the above problems, and does not require strict accuracy and preparation conditions at the entry stage.
A voucher that anyone can easily and accurately fill in and a voucher reading method that can read the information on this voucher with high precision and accuracy and can automatically check erroneous entries and omissions and that does not require correction by an operator. It is intended to be provided.

[問題点を解決するための手段] この発明においては、先行後行の短長線分を直線状に配
列して書式の種類を示す制御マークと、数字記入領域及
びこの数字記入領域に対応して配設した複数のパターン
記入領域とからなる情報マークとを表示した伝票にし
た。またこの伝票に数字及びパターンを記入し、該伝票
を自動読取装置に入力して、制御マークと情報マークの
画像データを生成し、これら画像データの座標を算出
し、次に制御マークについて該画像データより、線分の
配列順に大小を比較して2進数を算出して、2進数コー
ドを定め、この2進数コードに対応する予め定めた書式
を読み出し、この書式により特定される情報マークの基
準座標を読み出し、情報マーク関する算出座標と基準座
標とを比較し、 次に、情報マークについてその画像データを記入数字と
記入パターンの画像データに分離し、該記入数字の画像
データを予め定めた基準数字パターンと比較して記入数
字を直接認識し、 該記入パターンの画像データを予め定めた基準棒状パタ
ーンと比較して組みとなる数字を対応認識し、これら直
接認識された数字と対応認識された数字とを比較して伝
票上の記入数字を最終認識するようにした。
[Means for Solving the Problems] In the present invention, the short and long line segments of the preceding and succeeding lines are arranged in a straight line to correspond to the control mark indicating the type of format, the numeral entry area and the numeral entry area. The voucher is displayed with an information mark including a plurality of pattern writing areas arranged. Also, enter the numbers and patterns on this voucher, input the voucher into an automatic reader, generate image data of control marks and information marks, calculate the coordinates of these image data, and then calculate the image of the control marks. From the data, the size of the line segments is compared in order of magnitude to calculate a binary number, a binary code is determined, a predetermined format corresponding to this binary code is read, and the standard of the information mark specified by this format is read. The coordinates are read, the calculated coordinates for the information mark and the reference coordinates are compared, and then the image data of the information mark is separated into the entered number and the image data of the entered pattern, and the image data of the entered number is set to a predetermined reference. Directly recognize the entered number by comparing it with the number pattern, and compare the image data of the entered pattern with the predetermined reference rod-shaped pattern to recognize the corresponding number of pairs. It was filled numbers on slips as the final recognition by comparing with those directly recognized numbers and corresponding recognized digits.

[作 用] 伝票から生成した制御マークの画像データから予め定め
た書式を読み出し、該書式上で特定した情報マークの位
置と伝票から生成した情報マークの位置とを比較し、一
致していたら記入パターンと記入数字を受け入れ、記入
数字を直接パターン認識するとともに、記入棒状パター
ンから対応的に数字を認識し、更に、これら直接認識と
対応認識とを総合判断して記入数字を認識するようにし
て、伝票上の手書き数字を自動読取装置で高精度に読取
るようにした。
[Operation] Read a predetermined format from the image data of the control mark generated from the slip, compare the position of the information mark specified on the format with the position of the information mark generated from the slip, and enter if they match. It accepts patterns and numbers to be entered, recognizes the numbers directly, recognizes numbers correspondingly from the entry bar pattern, and further recognizes these numbers by comprehensively judging the direct recognition and the corresponding recognition. , The handwritten number on the slip can be read with high accuracy by the automatic reading device.

[実施例] 以下この発明の一実施例を図面に基づいて説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の伝票の形式図であり、この実施例で
は、銀行の入金伝票を例にとって説明する。
FIG. 1 is a format diagram of a slip of the present invention. In this embodiment, a bank deposit slip will be described as an example.

図において、1は任意サイズの帳票等の用紙であり、用
紙1の上隅には制御マークとしての分類マーク20が印刷
又は記入により表示されており、分類マーク20の下方に
は所定距離離隔して情報マーク21、22、23が表示されて
いる。
In the figure, 1 is a paper such as a form of arbitrary size, a classification mark 20 as a control mark is displayed by printing or filling in the upper corner of the paper 1, and a predetermined distance is provided below the classification mark 20. Information marks 21, 22 and 23 are displayed.

分類マーク20は伝票の種類を特定し、ここでは対応位置
に利用者が一見して分るように“入金伝票”の表示がな
されている。情報マーク21は金額欄、情報マーク22は口
座番号欄、情報マーク23は日付欄であり、各情報マーク
21、22、23の対応位置には利用者が一見して分るように
“入金金額”、“口座番号”、“年月日”の表示が夫々
なされている。
The classification mark 20 identifies the type of slip, and a "payment slip" is displayed here so that the user can see at a corresponding position. The information mark 21 is the amount column, the information mark 22 is the account number column, the information mark 23 is the date column, and each information mark
At the positions corresponding to 21, 22, and 23, "payment amount", "account number", and "date" are displayed so that the user can see at a glance.

而して、分類マーク20は長さの異なる2本以上の、例え
ば5本の線分a、b…eが水平方向に連続して並べられ
て構成され、各線分の長さを先行と後行の順に連続して
相対的に比較されるものである。
Thus, the classification mark 20 is formed by arranging two or more, for example, five line segments a, b, ... E having different lengths in succession in the horizontal direction. They are successively compared in the order of rows.

この分類マーク20は、線分aとそれ以前に仮定した0
と、もしくは後続の線分bとを比較して大小を判断さ
れ、次に線分bと線分cとを、以下同様に線分dと線分
eとを比較して一連の線分長の大小が判断されるもので
ある。
This classification mark 20 is the line segment a and 0 assumed before that.
Or the subsequent line segment b is compared to determine the size, and then the line segment b and the line segment c are compared, and similarly, the line segment d and the line segment e are compared, and a series of line segment lengths are compared. The size of is determined.

分類マーク20は5本の線分a、b…eの長さを先行と後
行の順にこれらの長短を変更して表示し、別種の伝票
“送金伝票”を特定させる制御マークである。
The classification mark 20 is a control mark for displaying the lengths of the five line segments a, b, ... E by changing the lengths of the preceding and succeeding lines in order, and specifying a different kind of slip "remittance slip".

次に、各情報マーク21、22、23は水平方向に連続して並
べられ、これらは、矩形の枠組31、32、33を備え、各矩
形の左上の互に接する2辺が太く表示されている。
Next, the information marks 21, 22, and 23 are arranged in a row in the horizontal direction, and these are provided with rectangular frameworks 31, 32, and 33, and the upper left two sides of each rectangle are displayed in bold. There is.

ある特定の分類マーク20下では、分類マーク20の記入位
置(0、0)を基準に、各情報マーク21〜23の記入位置
の座標値、左上の2辺が接する点(x1、y1)、(x2、y
2)、(x3、y3)は予め特定されている。
Under a certain classification mark 20, the coordinate value of the writing position of each information mark 21 to 23, the point (x1, y1) where the upper left two sides touch, based on the writing position (0, 0) of the classification mark 20, (X2, y
2), (x3, y3) are specified in advance.

情報マーク21〜23の一般的形状について、第2図、第3
図を用いて詳細に説明する。
The general shape of the information marks 21 to 23 are shown in FIGS.
This will be described in detail with reference to the drawings.

各枠組31、32、33内には矩形のマスが行列状に複数配設
され、一行目のマス2の一辺と対向する下方に、所定距
離離隔して長方形の長マス3が夫々設けられている。
A plurality of rectangular masses are arranged in a matrix in each of the frames 31, 32, 33, and rectangular long masses 3 are respectively provided below the one side of the mass 2 in the first row so as to be separated by a predetermined distance. There is.

各長マス3は長さ方向で6等分され、マス2に近い方か
ら第1マス4、第2マス5乃至第6マス9となってい
る。第1マス4と第2マス5との境界は特に太線か、2
重線で区分されている。
Each long mass 3 is divided into 6 equal parts in the length direction, and the first mass 4 and the second mass 5 to the sixth mass 9 are arranged from the side closer to the mass 2. The boundary between the first cell 4 and the second cell 5 is a thick line or 2
Separated by a heavy line.

第3図はマス2内に数字“0〜9"を、長マス3の第1マ
ス4乃至第6マス9内には、これら数字に夫々対応して
一義的に定めた棒状パターン10を記入したものを示して
いる。
In FIG. 3, the numbers “0 to 9” are entered in the cell 2, and the rod-shaped patterns 10 uniquely determined corresponding to these numbers are entered in the cells 1 to 4 of the long cell 3. It shows what was done.

即ち、第1マスから第6マス9まで通しで1本の棒状パ
ターン10を長マス3の長さ方向に記入することで数字
“0"を、第1マス4のみに棒状パターン10を長さ方向に
記入することで数字“5"を、第2マス5のみ棒状パター
ン10を記入して数字“1"を、第2マス5及び第3マス6
に棒状パターン10を直線状に記入して数字“2"を、第2
マス5、第3マス6及び第4マス7に棒状パターン10を
直線状に記入して数字“3"を、以下同様に第2マス5、
第3マス6、第4マス7及び第5マス8に棒状パターン
10を直線状に記入して数字“4"を表示するようになって
いる。
That is, by writing one bar-shaped pattern 10 through the first to sixth cells 9 in the length direction of the long cell 3, the numeral "0" is written, and the bar-shaped pattern 10 is extended only to the first cell 4. Enter the number "5" by writing in the direction, and enter the number "1" by entering the rod-like pattern 10 only in the second cell 5 and the second cell 5 and the third cell 6.
Enter the bar pattern 10 in a straight line on the
The rod-shaped pattern 10 is linearly written on the mass 5, the third mass 6, and the fourth mass 7, and the numeral "3" is written.
A rod-shaped pattern on the third mass 6, the fourth mass 7, and the fifth mass 8.
The number "4" is displayed by entering 10 in a straight line.

第1マス4と第2マス5に棒状パターン10を直線状に記
入して数字“6"を、第1マス4及び第2マス5と第3マ
ス6に棒状パターン10を直線状に記入して数字“7"を、
第1マス4と第2マス5と第3マス6と第4マス7に棒
状パターン10を直線状に記入して数字“8"を、第1マス
4と第2マス5と第3マス6と第4マス7と第5マス8
に棒状パターン10を直線状に記入して数字“9"を夫々表
示するようになっている。
The bar-shaped pattern 10 is linearly written on the first mass 4 and the second mass 5, and the numeral "6" is written, and the bar-shaped pattern 10 is linearly written on the first mass 4, the second mass 5 and the third mass 6. Number "7"
The rod-shaped pattern 10 is linearly written on the first cell 4, the second cell 5, the third cell 6, and the fourth cell 7, and the numeral “8” is given to the first cell 4, the second cell 5, and the third cell 6. 4th cell 7 and 5th cell 8
The bar-shaped pattern 10 is linearly written on the screen to display the number "9".

マス2及び長マス3は数字と棒状パターン10を記入する
目安であり、後述する光学式読取装置で読み取れない色
彩のマスで表示してもよい。
The cells 2 and the long cells 3 are a standard for entering numbers and the rod-shaped pattern 10, and may be displayed in cells of a color that cannot be read by the optical reading device described later.

マス2内には0〜9までの数を任意に記入、印刷するも
のであり、長マス3は五つ玉ソロバンに類似し、第1マ
ス4では“5"の値のみが表現され、第2マス4乃至第6
マス9は各“1"の値のみを表現する。ソロバン玉と同様
に第2マス4の記入で“1"を表現するが、第3マス5の
記入で“1"を表現することはできない。但し“0"は第1
マス4乃至第6マス9内を連続した最長棒状パターン10
を記入して表現する。
The number from 0 to 9 is arbitrarily entered and printed in the square 2. The long square 3 is similar to the five-ball abacus, and the first square 4 expresses only the value "5". 2 squares 4 to 6
The cell 9 represents only the value of each "1". Like the abacus ball, the entry of the second square 4 expresses "1", but the entry of the third square 5 cannot express "1". However, "0" is the first
The longest rod-shaped pattern 10 that is continuous in squares 4 to 9
Fill in and express.

一対のマス2と長マス3とで1桁の数字を表現し、2桁
の数字を表現するには横方向にやや接近して配設した2
組の対となったマス2と長マス3を用いる、以下桁を増
すごとに横方向に各組のマス2と長マス3とを接近して
増設する。
A pair of squares 2 and a long square 3 represent a single digit number, and in order to represent a two digit number, they are arranged a little closer to each other in the lateral direction.
The paired squares 2 and the long squares 3 are used, and the squares 2 and the long squares 3 of each pair are added closer to each other in the lateral direction as the number of digits increases.

記入者は、マス2内に0〜9の数のうち一つを必要に応
じて記入し、記入した数字に対応して上述の棒状パター
ン10を長マス3内に記入するものとする。
The writer writes one of the numbers 0 to 9 in the cell 2 as necessary, and writes the above-mentioned rod-shaped pattern 10 in the long cell 3 corresponding to the entered number.

また棒状パターンは各第1マス4乃至第6マス9につい
て、マス目の上端から下端まで通常の筆記道具で描くも
のとする。
In addition, the rod-shaped pattern is drawn from the upper end to the lower end of each of the first to fourth cells 9 to 9 with a normal writing tool.

第4図はこの伝票が入力される光学式読取装置(OCR)
の全体構成を示し、12は走査装置、13は中央演算制御装
置(CPU)、14はバッアメモリ、15はランダムアクセス
メモリ(RAM)、16、17はリードオンリメモリ(ROM)、
18はファイル装置である。
Figure 4 shows an optical reader (OCR) into which this slip is entered.
Shows the entire configuration of, 12 is a scanning device, 13 is a central processing unit (CPU), 14 is a baer memory, 15 is a random access memory (RAM), 16 and 17 are read only memory (ROM),
18 is a file device.

走査装置12は用紙1上の分類マーク20と情報マーク21、
22、23内の記入データを光電変換し、生成したイメージ
データをバッファメモリ14に与えるものである。このイ
メージデータはCUP13によりワークメモリとしてのRAM15
上で、ROM16、17、ファイル装置18からのデータと併せ
て演算処理され、途中結果や最終結果がRAM15に記憶さ
れる。
The scanning device 12 includes a classification mark 20 and an information mark 21 on the paper 1.
The entry data in 22 and 23 is photoelectrically converted, and the generated image data is given to the buffer memory 14. This image data is stored in RAM15 as a work memory by CUP13.
The arithmetic processing is performed together with the data from the ROMs 16 and 17 and the file device 18, and the intermediate result and the final result are stored in the RAM 15.

この演算最終結果はCUP13を介してホストコンピュータ
やその他情報処理装置に数字コードとなって送られるよ
うになっている。
The final result of this calculation is sent as a numeric code to the host computer and other information processing devices via the CUP 13.

ROM16には、上述したような一義的に取決めれた数字0
〜9と基準棒状パターンとが予め記憶されている。
In ROM16, the number 0 that was uniquely arranged as described above
9 to 9 and the reference rod-shaped pattern are stored in advance.

また、ROM17には基準数字パターン0〜9が例えば5×
7のドットマトリックス上で画像データとして予め記憶
されている。
Further, in the ROM 17, the reference numeral patterns 0 to 9 are 5 ×, for example.
It is stored in advance as image data on the 7 dot matrix.

ファイル装置18は磁気ディスク等の大容量メモリからな
り、分類マーク20で指定される伝票の種類、例えば入金
伝票、払戻伝票、送金伝票、納税伝票等の書式が予め記
憶されている。
The file device 18 is composed of a large-capacity memory such as a magnetic disk, and stores in advance the types of slips designated by the classification mark 20, such as deposit slips, refund slips, remittance slips, and tax payment slips.

次に、所定データが記入された伝票を光学式読取装置
(OCR)で読取る場合の動作について第5図乃至第7図
を用いて説明する。
Next, the operation of reading the slip in which the predetermined data is written by the optical reading device (OCR) will be described with reference to FIGS.

銀行で自己の口座に入金するとき、顧客はこの発明の入
金伝票を選択し、この入金伝票に自己の口座番号と年月
日と金額とを上述の方法で記入する。
When depositing money into his account at the bank, the customer selects the deposit slip of the present invention, and fills in his account number, the date, and the amount in the deposit slip in the above-described manner.

記入済の入金伝票用紙1を走査装置12で走査し、分類マ
ーク20、情報マーク21〜23等の画像を光電変換してバッ
ファメモリ14にイメージデータとして格納する。
The completed deposit slip paper 1 is scanned by the scanning device 12, the images of the classification mark 20, the information marks 21 to 23, etc. are photoelectrically converted and stored in the buffer memory 14 as image data.

CPU13はバッファメモリ14から分類マーク20を分離し、R
AM15に移し、その解読を行う。即ち、まずCPU13は最初
の線分aの長さを計測し、次に、線分b〜eの長さを夫
々計測し、RAM15に格納する。
CPU 13 separates classification mark 20 from buffer memory 14
Move to AM15 and decrypt it. That is, the CPU 13 first measures the length of the first line segment a, then measures the lengths of the line segments b to e, and stores them in the RAM 15.

CPU13はこれらの計測値a〜eを第5図に示すようにし
て連続したデータとしてとらえ、各線分a〜eを隣接同
士aとb、bとc、・・・のように連続して互に相対的
に比較する。ここで、先行線分の長さが後行線分の長さ
より短かいときa<bで“1"、長いときb>cで“0"と
定める。
The CPU 13 regards these measured values a to e as continuous data as shown in FIG. 5, and the respective line segments a to e are successively adjacent to each other as a and b, b and c ,. Relative to. Here, when the length of the preceding line segment is shorter than the length of the following line segment, a <b is defined as “1”, and when it is longer, b> c is defined as “0”.

線分a〜eの大きさの大小比較により、CPU13は分類マ
ーク20から2進数1011を解読する。そして、CPU13はRAM
15内に、第7図に示すような、2進数1011を項目とする
記憶エリヤを設ける。
The CPU 13 decodes the binary number 1011 from the classification mark 20 by comparing the sizes of the line segments a to e. And CPU13 is RAM
A storage area having a binary number 1011 as an item is provided in 15 as shown in FIG.

次に、バッファメモリ14内のイメージデータから、CPU1
3は分類マーク20の開始位置を原点(0,0)とし、情報マ
ーク21の金額欄の開始位置(x1,y1)、情報マーク22の
口座番号欄の開始位置(x2,y2)、情報マーク23の日付
欄の開始位置(x3,y3)の座標値を読み取り、第7図に
示すようにRAM15内の2進数1011を項目とする記憶エリ
ヤに格納する。
Next, from the image data in the buffer memory 14, the CPU1
3, the starting position of the classification mark 20 is the origin (0,0), the starting position of the amount column of the information mark 21 (x1, y1), the starting position of the account number column of the information mark 22 (x2, y2), the information mark The coordinate value of the starting position (x3, y3) of the date column of 23 is read and stored in the storage area having the binary number 1011 in the RAM 15 as an item as shown in FIG.

かくして、CPU13は分類マーク20の2進数1011を目安に
ファイル装置18内を検索してコード1011の下に総められ
た第6図のデータ表を引き出して来る。
Thus, the CPU 13 searches the inside of the file device 18 using the binary number 1011 of the classification mark 20 as a guide and fetches the data table of FIG. 6 summarized under the code 1011.

今データ表は入金伝票の書式であり、情報マーク21の金
額欄と、情報マーク22の口座番号欄と、情報マーク23の
日付欄のあるべき記入開始座標(X1、Y1)、(X2、Y
2)、(X3、Y3)の基準値等が読み出される。
The data table is now in the form of a deposit slip, and the entry start coordinates (X1, Y1), (X2, Y) that should be the amount column of the information mark 21, the account number column of the information mark 22, and the date column of the information mark 23
2), the reference value of (X3, Y3) etc. is read.

一方、第7図のRAM15中の2進数1011やx1〜y3は、伝票
の用紙1から実際に読み取られた座標値と抽出した2進
数を示し、例えば、(x1、y1)は情報マーク21に関する
記入開始点の読み取られた座標値である。
On the other hand, the binary numbers 1011 and x1 to y3 in the RAM 15 in FIG. 7 indicate the coordinate values actually read from the sheet 1 of the slip and the extracted binary numbers. For example, (x1, y1) relates to the information mark 21. It is the read coordinate value of the entry start point.

次に、CPU13は情報マーク21〜23の読み取られた座標値
(x1,y1)、(x2,y2)、(x3,y3)が予め予定された値
(X1、Y1)、(X2、Y2)、(X3、Y3)になっているかど
うか判定する。
Next, the CPU 13 reads the coordinate values (x1, y1), (x2, y2), (x3, y3) of the information marks 21 to 23, which are predetermined values (X1, Y1), (X2, Y2). , (X3, Y3) is determined.

x1−X1=L1等L2、L3及びy1−y1=m1等m2、m3を算出し、
0 L1、L2、L3m1、m2、m3<kなら、(kは予め定めた
小さな値)入力された用紙を入金伝票と認定し、そうで
ない場合にはオペレータや顧客に再記入の指示を出力す
る。
x1-X1 = L1 etc. L2, L3 and y1-y1 = m1 etc. m2, m3,
0 If L1, L2, L3m1, m2, m3 <k, the input paper (k is a predetermined small value) is recognized as a deposit slip, and if not, the operator or customer is instructed to re-fill. .

次に、CPU13は、入金伝票を認定したあと情報マーク2
1、22、23内の記入データの認識に移る。
Next, the CPU 13 confirms the deposit slip and then the information mark 2
Move on to the recognition of the entry data in 1, 22, and 23.

CPU13は、一桁目についてマス2内の数字イメージデー
タと長マス3内の棒状パターンイメージデータとを分離
し、数字イメージデータは拡大又は縮小されて、5×7
のマトリックスサイズに規格化される。
The CPU 13 separates the numerical image data in the square 2 and the bar-shaped pattern image data in the long square 3 for the first digit, and the numerical image data is enlarged or reduced to 5 × 7.
Is standardized to the matrix size of.

規格化された数字イメージデータと、認識辞書のROM17
からの基準数字パターンとが比較される、そして類似度
の高い数字から順に認識候補数字及び類似度(%)を算
出し、RAM15に一時記憶する。
ROM17 of standardized numerical image data and recognition dictionary
The reference candidate number patterns from are compared with each other, and the recognition candidate number and the similarity (%) are calculated in order from the number with the highest similarity, and are temporarily stored in the RAM 15.

例えば、マス2内の手書数字が崩れた“1"ならば、第1
候補数字は“1"で類似度は70%、第2候補数字は“7"
で、類似度は30%がRAM15に一時記憶される。
For example, if the handwritten number in square 2 is "1", the first
Candidate number is "1", similarity is 70%, second candidate number is "7"
Then, 30% of the similarity is temporarily stored in the RAM 15.

次に、対応棒状パターンイメージデータは、パターン辞
書のROM16からの基準棒状パターンと比較される。類似
度の高いパターンの対応数字から順に認識候補数字及び
類似度(%)を算出し、RAM15に一時記憶する。今は、
長マス3内の棒状パターン10は第2マス4内の最短パタ
ーンのみなので対応する基準棒状パターンと数字“1"の
組が類似度が100%で認識され、第1候補数字は“1"で
類似度は“100%”がRAM15に一時記憶される。
Next, the corresponding rod-shaped pattern image data is compared with the reference rod-shaped pattern from the ROM 16 of the pattern dictionary. The recognition candidate numbers and the similarities (%) are calculated in order from the corresponding numbers of the patterns having the high similarities, and are temporarily stored in the RAM 15. now,
Since the rod-shaped pattern 10 in the long square 3 is only the shortest pattern in the second square 4, the corresponding reference rod-shaped pattern and the number "1" are recognized with 100% similarity, and the first candidate number is "1". The similarity “100%” is temporarily stored in the RAM 15.

最後にRAM15から、まずマス2の候補数字“1"と類似度
“70%”が、又長マス3の候補数字“1"と類似度“100
%”が読み出され比較される。又、マス2の次の候補数
字“7"と類似度30%、長マス3の次の候補数字がないの
で“NULL"信号が読み出され比較される。
Finally, from the RAM 15, first, the candidate number “1” for the cell 2 and the similarity “70%”, and the candidate number “1” for the cell 3 and the similarity “100” are obtained.
% "Is read out and compared. Moreover, since there is no candidate number next to the candidate number" 7 "next to the cell 2 with a similarity of 30% and long cell 3, a" NULL "signal is read out and compared. .

CPU13は候補数字が一致し、類似度の和が最大値を与え
る数字を情報マーク21内の記入データ数字として認識し
出力する。即ち第1候補の“1"の100%から数字“1"を
コード信号(0001)として計算機側へ出力する。
The CPU 13 recognizes and outputs the number that matches the candidate numbers and gives the maximum value of the sum of the similarities as the data number written in the information mark 21. That is, the number "1" is output to the computer side as a code signal (0001) from 100% of "1" of the first candidate.

以下同様にして、情報マーク21の金額欄、情報マーク22
の口座番号欄、情報マーク23の日付欄の記入データ数字
が認識され計算機側へ出力される。
In the same way, the amount of information mark 21 and information mark 22
The data numbers entered in the account number column and the date column of the information mark 23 are recognized and output to the computer side.

従って、入力された伝票用紙の分類マーク20から伝票の
種類を認定し、その後情報マーク21〜23内の記入データ
数字を認識して、伝票上の必要データが読み取られ計算
機側へ送られる。
Therefore, the type of the slip is recognized from the input classification mark 20 of the slip paper, and then the entered data numbers in the information marks 21 to 23 are recognized, the necessary data on the slip are read and sent to the computer side.

マス2内の手書き数字と長マス3内の手書き棒状パター
ン10とを夫々独立に認識し、これらの認識を更に照合し
て最終認識を行うので完全な自動認識が可能となる。
Since the handwritten numbers in the cell 2 and the handwritten stick-shaped pattern 10 in the long cell 3 are individually recognized, and these recognitions are further collated for final recognition, complete automatic recognition is possible.

更に、直接数字認識だけにあっては手書き数字の5と
6、1と7とは類似する場合が多いが、棒状パターンの
認識も行なうので、5と6の対応棒状パターンはROM内
に歴然と区別されて記憶されており、棒状パターンの長
さの識別のみで容易に区別できる。同様に7と1対応の
棒状パターンは全く長さが異なり誤認識は殆ど起らな
い。
Further, in the case of only direct numeral recognition, the handwritten numerals 5 and 6, 1 and 7 are often similar, but since the sticky pattern is also recognized, the corresponding sticky patterns 5 and 6 are clearly distinguished in the ROM. It is stored and stored, and can be easily distinguished only by identifying the length of the rod-shaped pattern. Similarly, the rod-shaped patterns corresponding to 7 and 1 have completely different lengths, and erroneous recognition hardly occurs.

このようにして三重に論理判断を行うので高精度の数字
認識が可能となる。
In this way, since the logical judgment is made in triplicate, it is possible to recognize the digits with high accuracy.

又、分類マークの種類を判定する際、線分長の相対的比
較により2進数化を行うため、汚れや用紙のシワ等のノ
イズに対しても分離性が高くなる。
Further, when determining the type of the classification mark, since the line lengths are converted into binary numbers by relative comparison, the separability for noise such as dirt and paper wrinkles is improved.

上記実施例では、分類マークの線分aと線分bとを比較
して大小を判断し、次に線分bと線cを比較する等、以
下同様にしているが、最初の線分aとそれ以前に仮定し
た0とを比較し、0<aなので1ビット目を必ず1と
し、この1をエラーチエックに使用してもよい。
In the above embodiment, the line segment a and the line segment b of the classification mark are compared to determine the size, and then the line segment b and the line segment c are compared. It is also possible to compare 0 with the previously assumed 0, and because 0 <a, the 1st bit is always set to 1, and this 1 may be used for error checking.

なお、制御マーク等の線分数a,b…を増すことにより2
進化数のビット数を増加し、分類対象数を24=16、25
32,…28=256と大幅に自由に増加できる。
By increasing the number of line segments a, b ...
The number of evolutionary bits is increased and the number of classification targets is 2 4 = 16, 2 5 =
32,… 2 8 = 256, which can be greatly increased.

[発明の効果] 以上説明してきたようにこの発明によれば、先行後行の
短長線分を直線状に配列して書式の種類を示す制御マー
クと、数字記入領域及びこの数字記入領域に対応して配
設した複数のパターン記入領域とからなる情報マークと
を表示した伝票に、数字及びパターンを記入し、該伝票
を自動読取装置に入力して、制御マークと情報マークの
画像データを生成し、これら画像データの座標を算出
し、次に制御マークについて該画像データより、線分の
配列順に大小を比較して2進数を算出して、2進数コー
ドを定め、この2進数コードに対応する予め定めた書式
を読み出し、この書式により特定される情報マークの基
準座標を読み出し、情報マーク関する算出座標と基準座
標とを比較し、 次に、情報マークについてその画像データを記入数字と
記入パターンの画像データに分離し、該記入数字の画像
データを予め定めた基準数字パターンと比較して記入数
字を直接認識し、 該記入パターンの画像データを予め定めた基準棒状パタ
ーンと比較して組みとなる数字を対応認識し、これら直
接認識された数字と対応認識された数字とを比較して伝
票上の記入数字を最終認識するようにしたので、伝票上
の情報を高精度で正確に完全自動で読み取り、誤記入や
欠落等も容易にチェックでき、オペーレタによる介入や
訂正が全く不要な伝票読み取り方法が実現できる。
[Effects of the Invention] As described above, according to the present invention, the short and long line segments of the preceding and following lines are arranged in a straight line to correspond to the control mark indicating the type of format, the numeral entry area, and this numeral entry area. Numbers and patterns are written on a voucher that displays information marks consisting of a plurality of pattern writing areas arranged in parallel, and the voucher is input to an automatic reading device to generate image data of control marks and information marks. Then, the coordinates of these image data are calculated, and then the control mark is compared with the image data in the order of arrangement of line segments to calculate a binary number, a binary code is determined, and a binary code is determined. Read a predetermined format, read the reference coordinates of the information mark specified by this format, compare the calculated coordinates for the information mark with the reference coordinates, and then read the image data of the information mark. The input numeral is separated into image data of the input numeral and the image data of the input numeral is compared with a predetermined reference numeral pattern to directly recognize the input numeral, and the image data of the input pattern is converted into a predetermined reference rod-shaped pattern. By comparing and recognizing the numbers that form a pair and comparing these directly recognized numbers with the correspondingly recognized numbers, the entered numbers on the slip are finally recognized, so the information on the slip is highly accurate. Can be read accurately and completely automatically, and mistakes and omissions can be easily checked, and a slip reading method that does not require any intervention or correction by an operator can be realized.

従って、数字認識の正確性を飛躍的に向上させ、各種伝
票による統計データ等の算出が高速化する。またその際
には即時性の向上及び無人化を可能とし銀行業務等のコ
ストダウンがはかれる。
Therefore, the accuracy of digit recognition is dramatically improved, and the calculation of statistical data and the like using various slips is speeded up. In that case, it is possible to improve the immediacy and unmanned, and to reduce the cost of banking business.

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

第1図は本発明の伝票用紙の全体図、第2図は本発明の
情報マークの拡大図、第3図は第2図の情報マークに数
字と棒状パターンを記入した図、第4図は光学式読取装
置の構成図、第5図は制御マークの解読方法を示す図、
第6図はファイル装置のメモリ構成図、第7図はのRAM
の記録状態を示す図である。 1……用紙、2……マス、3……長マス、 4〜9……第1マス〜第6マス、 10……棒状パターン、12……走査装置、 13……CPU、14……バッファメモリ、 15……RAM、16・17……ROM、 18……ファイル装置、20……分類マーク、 21〜23……情報マーク。
FIG. 1 is an overall view of the slip sheet of the present invention, FIG. 2 is an enlarged view of the information mark of the present invention, FIG. 3 is a view of the information mark of FIG. 2 in which numbers and rod-shaped patterns are entered, and FIG. FIG. 5 is a configuration diagram of an optical reading device, FIG. 5 is a diagram showing a method of decoding a control mark,
Figure 6 shows the memory configuration of the file device, and Figure 7 shows the RAM.
It is a diagram showing a recording state of. 1 ... Paper, 2 ... Mass, 3 ... Long mass, 4-9 ... 1st to 6th mass, 10 ... Rod pattern, 12 ... Scanning device, 13 ... CPU, 14 ... Buffer Memory, 15 …… RAM, 16 ・ 17 …… ROM, 18 …… File device, 20 …… Classification mark, 21-23 …… Information mark.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】先行後行の短長線分を直線状に配列して書
式の種類を示す制御マークと、数字記入領域及びこの数
字記入領域に対応して配設した複数のパターン記入領域
とからなる情報マークとを表示した伝票に数字及び数字
対応のパターンを記入し、 前記パターン記入領域を、長さ方向で6等分される長マ
スから形成し、各6等分された短マスを前記数字記入領
域に近い方から第1マス、第2マス乃至第6マスとし、
第1マスに棒状パターンを単独に記入して数字5を代表
させ、かつ第2マスから第6マスに棒状パターンを伸縮
自在に記入して数字1乃至5を代表させ、これらの和を
用いて数字1乃至10を代表させるようにして前記数字対
応のパターンを記入し、 前記制御マークと前記情報マークの画像データを生成
し、これら画像データの座標を算出し、次に前記制御マ
ークについて該画像データより、前記線分の配列順に大
小を比較して2進数を算出して、2進数コードを定め、
この2進数コードに対応する予め定めた書式を読み出
し、この書式により特定される前記情報マークの基準座
標を読み出し、前記情報マーク関する前記算出座標と前
記基準座標との差を算出し、この差が予め設定した許容
範囲になったときにのみ伝票読み取りを続行し、 次に、前記情報マークについてその画像データを記入数
字と記入パターンの画像データに分離し、該記入数字の
画像データを予め定めた基準数字パターンと比較して記
入数字を直接認識し、 前記6等分された短マスに記入されたパターンの画像デ
ータを、予め定めた基準棒状パターンと比較して代表さ
れている数字を対応認識し、これら直接認識された数字
と対応認識された数字とを比較して前記伝票上の記入数
字を認識する伝票の読取り方法において、 前記数字の画像データと数字0、1、2、3、4、5、
6、7、8、9の前記基準数字パターンとを比較し、各
基準数字パターン毎に前記数字の画像データとの類似性
をそれぞれ調べ、類似度を算出し、 前記短マスに記入されたパターンの画像データと数字
0、1、2、3、4、5、6、7、8、9に対応してそ
れぞれ予め定めた前記基準棒状パターンとを比較し、各
基準棒状パターン毎に前記短マスに記入されたパターン
の画像データとの類似性をそれぞれ調べ、類似度を算出
し、 前記各基準数字パターン毎の類似度と、前記各数字対応
の基準棒状パターン毎の類似度とをそれぞれ各数字0、
1、2、3、4、5、6、7、8、9毎に加算してそれ
ぞれの和を求め、 これら和のうち、類似度の和が最大となる両基準パター
ン対応の数字を前記伝票上の記入数字として最終認識す
る伝票の読取り方法。
1. A control mark indicating a type of format by arranging short and long line segments of the preceding and succeeding lines in a straight line, and a numeral entry area and a plurality of pattern entry areas arranged corresponding to the numeral entry area. Numbers and a pattern corresponding to the numbers are written on a voucher displaying the following information mark, and the pattern writing area is formed from long squares that are equally divided into six in the length direction, and each short square that is equally divided into six is obtained. From the side closer to the number entry area, the first square, the second square to the sixth square,
Use the sum of these numbers to represent the number 5 by writing the rod-shaped pattern on the first cell independently, and to extend and retract the rod-shaped pattern on the second to sixth cells to represent the numbers 1 to 5. The patterns corresponding to the numbers are written so as to represent the numbers 1 to 10, image data of the control mark and the information mark are generated, coordinates of these image data are calculated, and then the image of the control mark is generated. From the data, the size of the line segment is compared in order to calculate the binary number, and the binary code is determined.
A predetermined format corresponding to this binary code is read, the reference coordinates of the information mark specified by this format are read, the difference between the calculated coordinates and the reference coordinates for the information mark is calculated, and this difference is calculated. The slip reading is continued only when it reaches the preset allowable range, and then the image data of the information mark is separated into the input numeral and the image data of the input pattern, and the image data of the input numeral is predetermined. Directly recognize the entered number by comparing it with the reference numeral pattern, and compare the image data of the pattern written in the six equally divided short squares with a predetermined reference rod-like pattern and recognize the representative number correspondingly. Then, in the method of reading a slip in which these directly recognized numbers are compared with correspondingly recognized numbers to recognize the entered numbers on the slip, Over data and numbers 0, 1, 2, 3,
6, 7, 8, 9 are compared with the reference numeral patterns, and the similarity of each reference numeral pattern to the image data is checked, the degree of similarity is calculated, and the pattern written in the short squares is calculated. Image data and the reference rod-shaped patterns predetermined corresponding to the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, respectively, are compared, and each of the reference rod-shaped patterns has the short mass. The similarity between each of the patterns entered in the image data is checked, the similarity is calculated, and the similarity for each of the reference numeral patterns and the similarity for each of the reference rod-shaped patterns corresponding to the respective numerals are respectively indicated by respective numerals. 0,
The sums of 1, 2, 3, 4, 5, 6, 7, 8, and 9 are added to obtain the respective sums, and of these sums, the numbers corresponding to both reference patterns having the maximum sum of the similarities are given to the slips. How to read the slip that is finally recognized as the number entered above.
JP62257384A 1987-04-17 1987-10-14 Vouchers and how to read them Expired - Fee Related JPH0792812B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP62257384A JPH0792812B2 (en) 1987-10-14 1987-10-14 Vouchers and how to read them
US07/177,595 US5059775A (en) 1987-04-17 1988-04-01 Slip and method of and apparatus for automatic reading of the slip
EP88105854A EP0288820B1 (en) 1987-04-17 1988-04-13 A slip and method of and apparatus for automatic reading of the slip
DE3850696T DE3850696T2 (en) 1987-04-17 1988-04-13 Receipt, procedure and device for automatic reading of the receipt.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62257384A JPH0792812B2 (en) 1987-10-14 1987-10-14 Vouchers and how to read them

Publications (2)

Publication Number Publication Date
JPH01100683A JPH01100683A (en) 1989-04-18
JPH0792812B2 true JPH0792812B2 (en) 1995-10-09

Family

ID=17305639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62257384A Expired - Fee Related JPH0792812B2 (en) 1987-04-17 1987-10-14 Vouchers and how to read them

Country Status (1)

Country Link
JP (1) JPH0792812B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5142413B2 (en) * 1973-06-06 1976-11-16
JPS5466729U (en) * 1977-10-19 1979-05-11
JPS60201483A (en) * 1984-03-26 1985-10-11 Sumitomo Electric Ind Ltd Reader for both ocr character and bar code

Also Published As

Publication number Publication date
JPH01100683A (en) 1989-04-18

Similar Documents

Publication Publication Date Title
EP0011388B1 (en) System and method for processing documents
EP0344742B1 (en) Courtesy amount read and transaction balancing system
EP0299383B1 (en) Method of reading identification code sheets
KR100228321B1 (en) Character date input system
US6611351B1 (en) Method of printing complete MICR checks on blank sheets from host program data using laser printers
JPH0420226B2 (en)
JP3525997B2 (en) Character recognition method
US5018883A (en) Vector font processing in a printing device
JPS5991582A (en) Character reader
JPH0792812B2 (en) Vouchers and how to read them
RU2707320C1 (en) Method of recognizing a symbol on a banknote and a coprocessor for a computing system of a banknote processing device
JP3524339B2 (en) Form information generation method for form for optical character reader
JP3663865B2 (en) Form processing apparatus and storage medium
JP7037237B1 (en) Data processing equipment, data processing methods and programs
JP2514426Y2 (en) Input sheet for OCR
JPH0420506B2 (en)
JP4597399B2 (en) Mark-type voting card recognition processing method, program, and recording medium
JP2784502B2 (en) Method and apparatus for recording and reading two-dimensional data on digital data recording paper.
JPH07129715A (en) Slip and slip read method
JP3365538B2 (en) Online character recognition method and apparatus
JP2676993B2 (en) Character reading correction device
JP2519782B2 (en) Character separation method
JPS61248181A (en) Hand-written character data processing system
JPH03296883A (en) Method for recognizing document in document recognizing device
JPS59186024A (en) Character processing device

Legal Events

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