JPS62298885A - Optical character read system - Google Patents

Optical character read system

Info

Publication number
JPS62298885A
JPS62298885A JP61142619A JP14261986A JPS62298885A JP S62298885 A JPS62298885 A JP S62298885A JP 61142619 A JP61142619 A JP 61142619A JP 14261986 A JP14261986 A JP 14261986A JP S62298885 A JPS62298885 A JP S62298885A
Authority
JP
Japan
Prior art keywords
character
reading
read
symbol
numbers
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.)
Pending
Application number
JP61142619A
Other languages
Japanese (ja)
Inventor
Kazumi Suzuki
和美 鈴木
Kiyomichi Kurino
栗野 清道
Toshihiro Hananoi
花野井 歳弘
Yoshihito Ohara
大原 義仁
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61142619A priority Critical patent/JPS62298885A/en
Publication of JPS62298885A publication Critical patent/JPS62298885A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make a high-accuracy read with the read character kind of only numbers and to detect and correct a defective document by reading a symbol 'Yen'as a head character at the time of reading a money amount field. CONSTITUTION:Numbers and the symbol 'Yen' are set in a character kind selec tion table 17 and a one-character recognition part 16 recognizes the head charac ter read by a scanning part; when the character is the symbol 'Yen', a read control part 12 erases the 'Yen' from the character kind selection table 17 to leave only numbers. Then, numbers are read one after another and it is checked whether or not a final number is read at every time a number is read; when so, a minus symbol is added to the character kind selection table 17.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明は、光学文字読取り方式に関し、特に¥記号を記
入することが義務付けられた金額フィールドを高精度で
読取るための光学文字読取り方式%式% 〔従来の技術〕 従来、金額を取扱う業務、例えば銀行業務等では、帳票
に記入する金額の頭部に¥記号を記入して、金額の改ざ
んを防止している。従って、光学文字読取装置では、数
字と¥記号を読取り文字種に混在させて2文字の認識を
行う必要があった。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an optical character reading method, and in particular, to highly accurate reading of an amount field in which it is mandatory to enter a ¥ symbol. Optical character reading method % type % [Conventional technology] Traditionally, in businesses that handle amounts, such as banking, a ¥ symbol is written at the beginning of the amount entered on a form to prevent falsification of the amount. . Therefore, in the optical character reading device, it is necessary to recognize two characters by mixing numbers and the ¥ symbol in the read character types.

しかし、¥記号を混在させると、その分だけ読取り文字
種が増加するため、数字の読取り精度が数字単独のとき
よ・りも低下してしまう。そこで、例えば、特開昭60
−103488号公報に記載された方法では、特定の記
号を読取ることにより、それ以後の読取り文字種を切換
えて読取る方法や、記入された文字種に対応した文字種
指定行を別途設けることにより、読取り文字種を切換え
て読取る方法が示されている。すなわち、前者の方法で
は、文字記入欄の読取り文字を数字と指定し、これらの
中に混入される文字種を「カタカナ」と指定し、読取り
文字種切換え記号が読取られると、それ以降は「カタカ
ナ」で読取りを行い、再度文字種切換え記号が読取られ
ると、それ以降は数字で読取るものである。また、後者
の方法では、文字記入欄の他に読取り文字種切換え指定
欄を設け、先ず読取り文字種切換え指定欄を読むことに
より、次行の文字記入欄の各文字ごとの読取り文字種を
決定するものである。読取り行と対応する読取り文字種
指定行が別途設けられるので2特別の文字種切換え起呼
は不要となり、かつ複数の文字種切換えが簡単にできる
However, when the ¥ symbol is mixed, the number of character types that can be read increases accordingly, and the accuracy of reading numbers becomes lower than when only numbers are used. Therefore, for example,
In the method described in Publication No. 103488, by reading a specific symbol, the type of characters to be read after that is switched and read, and by separately providing a character type specification line corresponding to the written character type, the type of characters to be read can be changed. A method of switching and reading is shown. In other words, in the former method, the characters to be read in the character entry field are specified as numbers, the character type mixed in these is specified as "Katakana", and once the reading character type switching symbol is read, from then on, it is changed to "Katakana". When the character type switching symbol is read again, numbers are read from then on. In addition, in the latter method, a reading character type switching specification field is provided in addition to the character entry field, and by first reading the reading character type switching specification field, the reading character type for each character in the character entry field on the next line is determined. be. Since a reading character type designation line corresponding to the reading line is provided separately, two special character type switching calls are not required, and a plurality of character types can be easily switched.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、従来の方法のうち、前者つまり特殊記号による
動的な読取り文字種の切換え方法では、読取り文字種を
切換えるための特殊記号を常に読取り文字種に混在して
読取る必要がある。そして、読取り文字種に特殊記号を
混在することによる読取り率の低下については、考慮さ
れていない。
However, among the conventional methods, in the former method, that is, the method of dynamically switching read character types using special symbols, it is necessary to always read the special symbols for switching the read character types mixed with the read character types. Further, no consideration is given to the reduction in reading rate due to the mixture of special symbols in the readable character types.

また、後者、つまり読取り文字種を切換えるための文字
種指定行を別途設ける方法では、文字種指定行を設け、
別にその文字種指定行に記入する手数がかかるという問
題がある。
In addition, in the latter method, that is, a method of separately providing a character type specification line for switching the reading character type, a character type specification line is provided,
Another problem is that it takes time and effort to fill in the character type specification line.

本発明の目的は、これら従来の問題を改善し、金額フィ
ールドに¥記号を記入することが義務付=3= けられている場合に、数字に対して高精度で読取ること
ができ、かつ¥記号の有無もチェックできる光学文字読
取り方式を提供することにある。
The purpose of the present invention is to improve these conventional problems, and to make it possible to read numbers with high precision when the ¥ symbol is required to be entered in the amount field. An object of the present invention is to provide an optical character reading method that can also check the presence or absence of symbols.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するため、本発明の光学文字読取り方式
は、帳票上の文字記入位置や記入欄の読取り文字種等の
情報を与えるフォーマットプログラムにより、文字読取
りを制御する光学文字読取り方式において、読取るべき
数字の前後に特定の記号が記入されているフィールドで
あることを示す情報が上記フォーマットプログラムに付
加されているか否かをチェックし、該情報が付加されて
いるときには、最初の特定記号を読取るまでは、数字と
該特定記号を混在させた読取り文字種で読取り、最初の
特定記号を読取った後は、数字のみの読取り文字種によ
り読取りを行うことに特徴がある。また、数字の前のみ
に特定記号が付加される場合には、数字と特定記号が混
在した文字種により全フィールドを読取り、さらに数字
のみの文字種により全フィールドを読取った後、両読取
り結果を合成することに特徴がある。
In order to achieve the above object, the optical character reading method of the present invention controls character reading using a format program that provides information such as the character entry position on the form and the readable character type in the entry field. Check whether information indicating that the field has a specific symbol before and after the number is added to the above format program. is characterized in that it is read using a readable character type that includes numbers and the specific symbol, and after reading the first specific symbol, it is read using a readable character type that includes only numbers. In addition, if a specific symbol is added only before a number, all fields are read using a character type that includes numbers and specific symbols, and then all fields are read using a character type that only includes numbers, and then the results of both readings are combined. There are certain characteristics.

〔作  用〕[For production]

本発明においては、¥記号が金額の先頭にしか記入され
ていないという規則に着目し、先頭の文字のみ¥記号と
数字の混在で読取り、次の文字以降は数字のみの文字種
で読取るようにする。すなわち、金額フィールドである
ことを示す情報がフォーマットプログラムに付加されて
いるか否かを先ずチェックし、付加されていなければ通
常の読取りを行い、また付加されていれば、読取り文字
種に¥記号を混在させて読取りを行う。そして。
In the present invention, we focus on the rule that the ¥ symbol is only written at the beginning of the amount, and only the first character is read as a mixture of the ¥ symbol and numbers, and the next characters and subsequent characters are read as only numbers. . In other words, it is first checked whether information indicating that it is an amount field is added to the format program, and if it is not added, normal reading is performed, and if it is added, the ¥ symbol is mixed in the read character type. to perform reading. and.

最初に¥記号を読取ったならば、それ以降は、読取り文
字種からY記号を除外して、数字のみで読取る。これに
より、先頭の文字および最後の文字以外は、数字のみの
文字種指定により読取ることになるため、高精度な読取
り率が得られる。
After reading the ¥ symbol for the first time, the Y symbol is excluded from the character types to be read, and only numbers are read. As a result, characters other than the first character and the last character are read by specifying the character type using only numbers, so that a highly accurate reading rate can be obtained.

〔実施例〕〔Example〕

以下、本発明の実施例を、図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は、本発明の光学文字読取り方式を適用した読取
り装置のブロック図である。光学文字読取り装置が帳票
上に記入された文字を読取るためには、帳票上の文字記
入位置やその記入欄の読取り文字種等の情報が必要とな
る。これらは、フォーマットプログラムにより装置に伝
えられる。
FIG. 2 is a block diagram of a reading device to which the optical character reading method of the present invention is applied. In order for an optical character reading device to read characters written on a form, information such as the position where characters are written on the form and the type of character to be read in the entry field is required. These are communicated to the device by the format program.

第2図のフォーマットプログラム11は、読取る帳票の
帳票サイズ、帳票の厚さ、読取る文字の記入位置、その
記入欄の枠サイズ、および読取り文字種等の情報を、読
取制御部12に与える。読取制御部12は、走査部13
.光電変換部14.前処理部15.および1文字認識部
16を制御する。
The format program 11 in FIG. 2 provides the reading control unit 12 with information such as the size of the form to be read, the thickness of the form, the writing position of the characters to be read, the frame size of the writing field, and the type of characters to be read. The reading control section 12 has a scanning section 13.
.. Photoelectric conversion section 14. Pre-processing section 15. and controls the single character recognition unit 16.

走査部13は、帳票に光を照射しながらこの帳票を搬送
する。また、光電変換部14は、帳票からの反射光を受
光して、これを電気信号に変換する。
The scanning unit 13 conveys the form while irradiating the form with light. Further, the photoelectric conversion unit 14 receives reflected light from the form and converts it into an electrical signal.

帳票からの反射光は、帳票上の文字や図形のパターンの
濃淡情報を反映したものであり、電気信号はそのパター
ン(以下、単1こ文字と呼ぶ)の形態に応じた信号であ
る。次に、前処理部15は、電気信号の2値化およびそ
の結果を内部のパターンメモリに格納する処理を行う。
The reflected light from the form reflects the shading information of the pattern of characters and figures on the form, and the electrical signal is a signal corresponding to the form of the pattern (hereinafter referred to as single character). Next, the preprocessing unit 15 performs a process of binarizing the electrical signal and storing the result in an internal pattern memory.

さらに、前処理部15は、パターンメモリから1文字分
のパターンを切出し、これを1文字認識部16に送出す
る。
Furthermore, the preprocessing section 15 cuts out a pattern for one character from the pattern memory and sends it to the one character recognition section 16.

1文字認識部16は、1文字分の入カバターンに対して
特徴抽出を行い、文字種選択テーブル17にセットされ
ているカテゴリのみの辞書とマツチングを行い、1文字
認識を行う。この場合1文字種選択テーブル17にセッ
トされている文字種が少ない程、高精度で読取ることが
できる。文字種選択テーブル17は、読取制御部12に
より前述した各種情報がセットされ、その中に文字種も
含まれる。
The single character recognition unit 16 performs feature extraction on the input cover pattern for one character, performs matching with a category-only dictionary set in the character type selection table 17, and performs single character recognition. In this case, the fewer character types are set in the one character type selection table 17, the more accurately the characters can be read. The character type selection table 17 is set with the various information described above by the reading control unit 12, and includes character types.

第3図は、本発明の光学文字読取装置により読取られる
金額フィールドを示す図であり、第4図は第3図の金額
フィールドを従来の方式および本発明の方式により読取
ったときの読取り結果を示す比較図である。
FIG. 3 is a diagram showing the amount field read by the optical character reading device of the present invention, and FIG. 4 shows the reading results when the amount field of FIG. 3 is read by the conventional method and the method of the present invention. FIG.

先ず、第3図に示すフィールド31の読取り動作を詳述
する。第3図番;は、金額の改ざんを防止するために、
金額の頭に¥記号34を付加するとともに、金額の後尾
に一記号36を付加することを義務付けたフィールド(
以下、金額フィールドと呼ぶ)が示されている。なお、
第3図の32゜33は空欄であって、読取りの結果、濃
淡がないことにより空欄であることが判別される。
First, the reading operation of the field 31 shown in FIG. 3 will be described in detail. Figure 3: To prevent falsification of amounts,
A field that requires adding the ¥ symbol 34 to the beginning of the amount and adding the 1 symbol 36 to the end of the amount (
(hereinafter referred to as the amount field). In addition,
32.degree. 33 in FIG. 3 is a blank field, and as a result of reading, it is determined that the field is blank because there is no shading.

第3図に示す金額フィールド31を読取る場合、従来の
方式では、読取制御部12は文字種テーブル17に数字
と¥記号と一記号をセットし、1文字認識部16に対し
て全文字を1字ずつ認識させる。その読取り結果は、第
4図(a)に示すように、スペース、スペース、¥記号
、l、2,3.不明または¥記号、−記号、スペースと
判断される。
When reading the monetary amount field 31 shown in FIG. Make them recognize each other. The reading results are as shown in FIG. 4(a): space, space, ¥ symbol, l, 2, 3, . It is judged as unknown, ¥ symbol, - symbol, or space.

すなわち、第3図に示す文字35は、変形が著しく、¥
記号に類似しており、「4」の字形には似ていないため
、判別結果41に示すように、¥記号と区別できず不読
、または¥記号に誤読してしまうことになる。
In other words, the character 35 shown in FIG.
Since it resembles a symbol and does not resemble the shape of a "4", it cannot be distinguished from the ¥ symbol and is either unreadable or misread as a ¥ symbol, as shown in determination result 41.

そこで1本実施例においては、金額フィールドを読取る
場合に、フォーマットプログラムに金額フィールドであ
ることを示す情報を付加して、読取制御部12はフォー
マットプログラムに前記情報が付加されているか否かを
チェックする。付加されていない場合には、通常の数字
のみの読取り処理を行い、付加されていた場合には、本
実施例における読取り処理、つまり最初の読取り文字種
が¥記号であったならば、文字種選択テーブル17から
¥記号を除去して、それ以降は数字のみの読取りを行い
、読取り精度を向上させる。これによって、第4図(b
)に示すように、¥記号に類似する[4」も、読取り結
果42に示すように、「4」と判別できるようになる。
Therefore, in this embodiment, when reading an amount field, information indicating that it is an amount field is added to the format program, and the reading control unit 12 checks whether or not the above information is added to the format program. do. If it is not added, the normal number reading process is performed, and if it is added, the reading process in this embodiment is performed. In other words, if the first read character type is the \ symbol, the character type selection table is used. The ¥ symbol is removed from 17 and only numbers are read after that to improve reading accuracy. As a result, as shown in Fig. 4 (b)
As shown in ), [4], which is similar to the ¥ symbol, can also be determined as "4", as shown in the reading result 42.

第1図は、本発明の一実施例を示す1フイールド認識制
御処理のフローチャートである。第1図は、フォーマッ
トプログラムに金額を示す情報が付加していることを、
読取制御部12が判別した場合の1フイ一ルド認識動作
を示している。先ず、読取制御部12は文字種選択テー
ブル17に数字と¥記号をセットする(ステップ21)
。読取制御部12は、前処理部15を制御して、左端か
ら1文字パターンを切出し、1文字認識部16により1
文字認識を行わせる(ステップ22)。次に、読取りフ
ィールドの読取り文字数のチェックを行い、実際に読取
った文字数が読取り文字数を満たしているならば、1フ
イールド認識処理を終了する(ステップ23)。ここで
は、まだ最初の文字の読取りであるため、次に進む。次
に、ステップ22で認識した結果が¥記号であるか否か
をチェックし、¥記号でないときには、ステップ22に
戻って、次の文字の切出しとその文字の認識を行う。
FIG. 1 is a flowchart of one-field recognition control processing showing one embodiment of the present invention. Figure 1 shows that information indicating the amount is added to the format program.
It shows one field recognition operation when the reading control unit 12 makes a determination. First, the reading control unit 12 sets numbers and the ¥ symbol in the character type selection table 17 (step 21).
. The reading control unit 12 controls the preprocessing unit 15 to cut out one character pattern from the left end, and the one character recognition unit 16 cuts out one character pattern.
Character recognition is performed (step 22). Next, the number of read characters in the read field is checked, and if the number of characters actually read satisfies the number of read characters, the one field recognition process is ended (step 23). At this point, the first character is still being read, so proceed to the next step. Next, it is checked whether the recognition result in step 22 is a ¥ symbol or not. If it is not a ¥ symbol, the process returns to step 22 to cut out the next character and recognize that character.

第3図のフィールドの場合には、文字32.33は空白
であり、文字34を読取った時に¥記号であることを判
別して、次に進む(ステップ24)。
In the case of the field shown in FIG. 3, characters 32 and 33 are blank, and when character 34 is read, it is determined that it is a ¥ symbol, and the process proceeds to the next step (step 24).

ここで、フローには省略されているが、¥記号が読取ら
れなかった場合には、金額フィールドの定義である「先
頭文字が¥記号である」ということに違反しているため
、出力としてエラーフラグを付ける。このエラーフラグ
を解読することにより、オペレータ等の介入を要求する
処理を行う。また、この処理は、フォーマットプログラ
ム等の指示により、スキップして読取りを継続させるこ
ともできる。
Here, although it is omitted in the flow, if the ¥ symbol is not read, it violates the definition of the amount field that "the first character is the ¥ symbol", so an error is output. flag. By decoding this error flag, processing is performed to request intervention by an operator or the like. Further, this process can be skipped and reading can be continued based on instructions from a formatting program or the like.

第1図に戻って、最初の文字を読取った結果、それが¥
記号であるならば、読取制御部12は、ステップ21で
セットした文字種選択テーブル17から¥記号を消去し
、数字のみにする(ステップ25)。次に、読取った文
字が、空白を除いて最後の文字であるか否かをチェック
しくステップ26)、最後の文字であればステップ28
に進む。また、まだ読取るべき文字が残っている場合に
は、文字種選択テーブル17により第3図に示す文字3
5まで読取り(ステップ27)、ステップ26に戻って
最後の文字であるか否かチェックする。ここで、第3図
の文字35は、¥記号に非常に類似しており、従来の方
式では、文字種選択テーブル17に¥記号が付加されて
いるため、第4図(a)の読取り結果41に示すように
、不読、または¥記号と誤読してしまう。しかし、本実
施例では、文字種選択テーブル17は数字のみであるた
め、第4図(b)の読取り結果42に示すように、数字
の中で最も近い字形の「4」に正読される。
Returning to Figure 1, we read the first character and found that it was ¥
If it is a symbol, the reading control unit 12 deletes the ¥ symbol from the character type selection table 17 set in step 21, leaving only numbers (step 25). Next, check whether the read character is the last character excluding spaces (step 26), and if it is the last character, step 28)
Proceed to. If there are still characters to be read, the character 3 shown in FIG.
5 is read (step 27), and the process returns to step 26 to check whether it is the last character. Here, the character 35 in FIG. 3 is very similar to the ¥ symbol, and in the conventional method, the ¥ symbol is added to the character type selection table 17, so the reading result 41 in FIG. As shown in the figure, it is either unreadable or misread as a \ sign. However, in this embodiment, since the character type selection table 17 contains only numbers, the character is correctly read as "4", which is the closest character shape among the numbers, as shown in the reading result 42 of FIG. 4(b).

第5図は、本発明の他の実施例を示す光学文字読取り方
式の読取り結果の説明図であり、第6図−11= は第5図の読取り方式の動作ブローチヤードである。
FIG. 5 is an explanatory diagram of the reading results of an optical character reading method showing another embodiment of the present invention, and FIG. 6-11 is an operational brooch yard of the reading method of FIG.

第5図(1)は、本実施例における金額フィールドを示
す図であり、この場合には最初に¥記号を付加し、数字
の後尾には記号が記入されない。このように、数字の後
に記号が記入されない場合には、読取り文字種を途中で
切換えず、2つの読取り結果から1つの読取り結果を合
成する方法を用いる。第5図(2)は数字と¥記号の混
在した文字種で読取った結果であり、第5図(3)は数
字のみの文字種で読取った結果であり、第5@(4)は
(2)と(3)とを合成した結果である。
FIG. 5(1) is a diagram showing the amount field in this embodiment. In this case, a ¥ symbol is added at the beginning, and no symbol is written at the end of the number. In this way, when a symbol is not written after a number, a method is used in which one reading result is synthesized from two reading results without switching the reading character type midway. Figure 5 (2) is the result of reading with a character type that includes numbers and the ¥ symbol, Figure 5 (3) is the result of reading with a character type that contains only numbers, and No. 5 @ (4) is the result of reading with (2). This is the result of combining and (3).

第6図により、動作を詳述する。先ず一数字と¥記号の
混在した文字種選択テーブル17を作成しくステップ6
1)、1文字認識部16により最初の文字を読取る(ス
テップ62)。最終文字であるか否かをチェックする(
ステップ63)。まだ、読取るべき文字があれば、ステ
ップ62に戻って順次読取る。このようにして、第5図
(1)の金額フィールドを読取ると、第5図(2)の結
果が得られ=12− る。最後の文字は、¥記号と類似しているため、不読ま
たは¥記号であると判断する。読取った結果を、第ルジ
スタに格納する(ステップ64)。
The operation will be explained in detail with reference to FIG. First, create a character type selection table 17 that includes a mixture of single digits and ¥ symbols.Step 6
1) The first character is read by the single character recognition unit 16 (step 62). Check if it is the last character (
Step 63). If there are still characters to be read, the process returns to step 62 and the characters are read one after another. In this way, when the amount field in FIG. 5(1) is read, the result shown in FIG. 5(2) is obtained =12-. Since the last character is similar to the ¥ symbol, it is determined that it is illegible or a ¥ symbol. The read result is stored in the first register (step 64).

次に、数字のみの文字種選択テーブル17としくステッ
プ65)、第5図(1)の金額フィールドを読取る(ス
テップ66)。最後まで読取った結果が、第5図(3)
である。この結果を、第2レジスタに格納する(ステッ
プ68)。ここで、読取制御部12は、第5図(2)の
結果から、空白を除く先頭の文字が¥記号であることを
知り、それ以後の読取り結果は第5図(3)の読取り結
果を用いることとする。すなわち、¥記号を読取るまで
は第5図(2)に示す太線内の文字を用い、¥記号を読
取った後は、第5図(3)に示す太線内の文字を用いる
ものとする。このような規則により、第ルジスタと第2
レジスタの内容を合成し、第5図(4)に示す読取り結
果を得る(ステップ69)。
Next, the character type selection table 17 containing only numbers is read (step 65), and the amount field shown in FIG. 5(1) is read (step 66). The result of reading to the end is shown in Figure 5 (3).
It is. This result is stored in the second register (step 68). Here, the reading control unit 12 knows from the result of FIG. 5 (2) that the first character excluding the blank is a ¥ symbol, and the reading results after that are based on the reading results of FIG. 5 (3). We will use it. That is, until the ¥ symbol is read, the characters within the thick line shown in FIG. 5(2) are used, and after the ¥ symbol is read, the characters within the thick line shown in FIG. 5(3) are used. According to such rules, the first Rujista and the second
The contents of the registers are combined to obtain the read result shown in FIG. 5(4) (step 69).

なお、上記の例では、数字と¥記号の混在する文字種選
択テーブルを用いて金額フィールド51全体を読取った
後、次に数字のみの文字種選択テ−プルを用いて金額フ
ィールド51を読取っているが、1文字ごとに数字と¥
記号の混在読取り、および数字のみの読取りを行っても
、全く同じ結果が得られることは明らかである。
In the above example, after reading the entire amount field 51 using the character type selection table that includes numbers and the ¥ symbol, the amount field 51 is then read using the character type selection table that only includes numbers. , a number and ¥ for each character
It is clear that mixed reading of symbols and reading of only numbers will give exactly the same result.

第7図は、本発明のさらに他の実施例を示す光学文字読
取り方式の動作説明図である。
FIG. 7 is an explanatory diagram of the operation of an optical character reading system showing still another embodiment of the present invention.

第7図(、)では、数字の前に極性を定める十の記号が
、第7図(b)では、数字の前に極性を定める−の記号
が、それぞれ記入されている。これらは、士の記号でも
同じである。このような数値フィールドを光学文字読取
り装置で読取る場合でも、本発明の第1図の実施例およ
び第6図の実施例に示す方法がそのまま利用できる。
In FIG. 7(,), a 10 symbol for determining polarity is written in front of the number, and in FIG. 7(b), a - symbol for determining polarity is written in front of the number. These are the same symbols for samurai. Even when reading such a numerical field with an optical character reading device, the method shown in the embodiment of FIG. 1 and the embodiment of FIG. 6 of the present invention can be used as is.

一般に、読取り文字種の数が多い程、読取り率が低下す
ることが知られている。本実施例においては、¥記号が
数字列の最初に付加されるということに着目して、¥記
号を読取るまでは混在して読取りを行い、¥記号を読取
った後は、数字のみの文字種で読取ることにより、読取
り率を向上させている。すなわち、必要最小限のフィー
ルドのみ混在した文字種で読取り、残りの部分、つまり
フィールドの殆んどの部分を高精度の読取り率で読取る
ものである。
It is generally known that the greater the number of character types that can be read, the lower the reading rate. In this embodiment, focusing on the fact that the ¥ symbol is added to the beginning of the number string, reading is performed in a mixed manner until the ¥ symbol is read, and after the ¥ symbol is read, character types containing only numbers are read. By reading, the reading rate is improved. That is, only the minimum necessary fields are read using mixed character types, and the remaining parts, that is, most of the fields, are read at a high precision reading rate.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、金額フィールド
の読取りに際して、先頭の文字に¥記号が記入されてい
る場合には、数字は数字のみの読取り文字種で読取るこ
とができるので、きわめて高精度で読取ることができ、
かつ先頭の文字が¥記号であるか否かもチェックできる
ので、記入不良の帳票を検出して訂正することが可能で
ある。
As explained above, according to the present invention, when reading an amount field, if a ¥ symbol is written as the first character, the number can be read with a character type that only has numbers, resulting in extremely high accuracy. can be read with,
Furthermore, since it is also possible to check whether the first character is a ¥ symbol, it is possible to detect and correct incorrectly filled out forms.

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

第1図は本発明の一実施例を示す光学文字読取り方式の
動作フローチャート、第2図は本発明の読取り方式を適
用した光学文字読取装置のブロック図、第3図は本発明
に適用される金額フィールドの図、第4図は第1図によ
る読取り結果と従来の結果との比較図、第5図は本発明
の他の実施例を示す光学文字読取り方式の読取り結果を
示す図、第6図は第5図の読取り方式の動作ブローチャ
ート、第7図は本発明のさらに他の実施例を示す光学文
字読取り方式の説明図である。 11:フォーマットプログラム、12:読取制御部、1
3:走査部、14:光電変換部、15:前処理部、16
:1文字認識部、17二文字種選択テーブル。 =16= 第     1     図 開  始 文字種選択テープ ルに数字と¥記号 をセット 1文字認識 了か?   7 N  □F%、h、9 第     2     図 第3図 第     4    図 第    5    図 第     6     図 始 チー と¥記号セ・ト   1 1文字認識 了か 第ルジスタ格納 数字のみの文字種 をテーブルにセット 1文字認識 第    7    図
Fig. 1 is an operation flowchart of an optical character reading system showing an embodiment of the present invention, Fig. 2 is a block diagram of an optical character reading device to which the reading system of the present invention is applied, and Fig. 3 is applied to the present invention. Figure 4 is a diagram comparing the reading result in Figure 1 with the conventional result; Figure 5 is a diagram showing the reading result of an optical character reading method showing another embodiment of the present invention; Figure 6 is a diagram of the amount field; This figure is an operation flowchart of the reading method shown in FIG. 5, and FIG. 7 is an explanatory diagram of an optical character reading method showing still another embodiment of the present invention. 11: Format program, 12: Reading control section, 1
3: Scanning section, 14: Photoelectric conversion section, 15: Preprocessing section, 16
: 1 character recognition section, 17 2 character type selection tables. =16= Figure 1 Start Set a number and \ symbol in the starting character type selection table. Is one character recognized? 7 N □F%, h, 9 Fig. 2 Fig. 3 Fig. 4 Fig. 5 Fig. 6 At the beginning of the figure Chi and ¥ symbol set 1 One character has been recognized or set the character type containing only digits stored in the LUGISTA in the table 1 Character recognition Figure 7

Claims (1)

【特許請求の範囲】 1、帳票上の文字記入位置や記入欄の読取り文字種等の
情報を与えるフォーマットプログラムにより、文字読取
りを制御する光学文字読取り方式において、読取るべき
数字の前後に特定の記号が記入されているフィールドで
あることを示す情報が上記フォーマットプログラムに付
加されているか否かをチェックし、該情報が付加されて
いるときには、最初の特定記号を読取るまでは、数字と
該特定記号を混在させた読取り文字種で読取り、最初の
特定記号を読取った後は、数字のみの読取り文字種によ
り読取りを行うことを特徴とする光学文字読取り方式。 2、上記数字の後に付加された特定記号は、空白を徐く
最後の文字を、数字と特定記号を混在した文字種により
読取ることを特徴とする特許請求の範囲第1項記載の光
学文字読取り方式。 3、上記特定記号が数字の前のみに付加された場合には
、数字と該特定記号が混在した文字種により全フィール
ドを読取り、次に数字のみの文字種により全フィールド
を読取り、両読取り結果を合成して最終読取り結果を得
る場合に、両者の優先度を該特定記号を読取るまでと、
読取った後とで切換えることを特徴とする特許請求の範
囲第1項記載の光学文字読取り方式。 4、上記混在した文字種による読取りでは、特定記号が
記入されていない場合、記入エラーと判定して、出力コ
ードにエラーフラグを付加することを特徴とする特許請
求の範囲第1項記載の光学文字読取り方式。
[Scope of Claims] 1. In an optical character reading method that controls character reading by a format program that provides information such as the position of writing characters on a form and the type of characters to be read in entry fields, specific symbols are placed before and after the number to be read. Check whether information indicating that the field is filled in has been added to the above format program, and if this information has been added, the numbers and the specific symbol are not read until the first specific symbol is read. An optical character reading method characterized by reading a mixture of character types, and after reading the first specific symbol, reading is performed using a numeric character type only. 2. The optical character reading system according to claim 1, wherein the specific symbol added after the numeral is read by reading the last character excluding a blank space using a character type that is a mixture of numerals and specific symbols. . 3. If the above specific symbol is added only before a number, read all fields with a character type that includes numbers and the specific symbol, then read all fields with a character type that only includes numbers, and combine the results of both readings. When obtaining the final reading result, set the priority of both until the specific symbol is read.
2. The optical character reading method according to claim 1, wherein the optical character reading method is switched after reading. 4. Optical characters according to claim 1, characterized in that in reading the mixed character types, if a specific symbol is not written, it is determined as a writing error and an error flag is added to the output code. Reading method.
JP61142619A 1986-06-18 1986-06-18 Optical character read system Pending JPS62298885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61142619A JPS62298885A (en) 1986-06-18 1986-06-18 Optical character read system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61142619A JPS62298885A (en) 1986-06-18 1986-06-18 Optical character read system

Publications (1)

Publication Number Publication Date
JPS62298885A true JPS62298885A (en) 1987-12-25

Family

ID=15319545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61142619A Pending JPS62298885A (en) 1986-06-18 1986-06-18 Optical character read system

Country Status (1)

Country Link
JP (1) JPS62298885A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992006447A2 (en) * 1990-09-28 1992-04-16 Unisys Corporation Character recognition methods including separating and extractingparticular portions from extracted data
JP2014191825A (en) * 2013-03-27 2014-10-06 Fujitsu Ltd Image processing method and image processing device
JP2015043222A (en) * 2012-01-31 2015-03-05 東芝テック株式会社 Adhered object
JP2016177349A (en) * 2015-03-18 2016-10-06 グローリー株式会社 Business form processing system, business form processing method and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5878278A (en) * 1981-11-05 1983-05-11 Toshiba Corp Optical character reader
JPS5935466A (en) * 1982-08-24 1984-02-27 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5878278A (en) * 1981-11-05 1983-05-11 Toshiba Corp Optical character reader
JPS5935466A (en) * 1982-08-24 1984-02-27 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992006447A2 (en) * 1990-09-28 1992-04-16 Unisys Corporation Character recognition methods including separating and extractingparticular portions from extracted data
JP2015043222A (en) * 2012-01-31 2015-03-05 東芝テック株式会社 Adhered object
US9177217B2 (en) 2012-01-31 2015-11-03 Toshiba Tec Kabushiki Kaisha Information detection apparatus and information detection method
JP2016173859A (en) * 2012-01-31 2016-09-29 東芝テック株式会社 Sticker
JP2014191825A (en) * 2013-03-27 2014-10-06 Fujitsu Ltd Image processing method and image processing device
JP2016177349A (en) * 2015-03-18 2016-10-06 グローリー株式会社 Business form processing system, business form processing method and program

Similar Documents

Publication Publication Date Title
USRE36581E (en) Character reader and recognizer with a specialized editing function
JPH07121664A (en) Automatic decision apparatus of european language
JPS62298885A (en) Optical character read system
JPH10177623A (en) Document recognizing device and language processor
JPH0991371A (en) Character display device
JPH0157837B2 (en)
JP2784004B2 (en) Character recognition device
JPH06251187A (en) Method and device for correcting character recognition error
JP2851102B2 (en) Character extraction method
JPS59197971A (en) Character cutting-out device
JPS60205780A (en) Method and device for data read
JPH03185582A (en) Dictionary correction system for character recognizing device
JPS6336392A (en) Threshold setting system
JPH0291785A (en) Character recognizing device
JP2000057265A (en) Character reader
JPH07296102A (en) Data input system
JPH07120396B2 (en) Document reader
JPH0357506B2 (en)
JPH04256194A (en) System for processing character recognition
JPH0475184A (en) Input device
JPH0496882A (en) Full size/half size discriminating method
JPH0362280A (en) Character reading device
JPH04346189A (en) Character string type identification device
JPS63113787A (en) On-slip data input system for character recognition device
JPH03252697A (en) Bold face forming system