JPS61187086A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPS61187086A
JPS61187086A JP60025141A JP2514185A JPS61187086A JP S61187086 A JPS61187086 A JP S61187086A JP 60025141 A JP60025141 A JP 60025141A JP 2514185 A JP2514185 A JP 2514185A JP S61187086 A JPS61187086 A JP S61187086A
Authority
JP
Japan
Prior art keywords
frame
characters
information
detected
read
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
JP60025141A
Other languages
Japanese (ja)
Inventor
Masao Michino
道野 正雄
Kiyomichi Kurino
栗野 清進
Toshihiro Hananoi
花野井 歳弘
Kenichi Takagi
賢一 高木
Yasuaki Nakano
中野 康明
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 JP60025141A priority Critical patent/JPS61187086A/en
Publication of JPS61187086A publication Critical patent/JPS61187086A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To read only characters to be read out of characters on a form without format information and with an inexpensively produced form by inputting optically various patterns on the form where a frame is printed in a non-dropout color and recognizing patterns existing in the detected frame and outputting them together with information. CONSTITUTION:A form 1 is irradiated with a lamp 2, and a pattern on the form 1 is detected by a CCD sensor 3. The detected pattern is stored in a memory after being converted to a digital signal by a photoelectric converting part 4. A frame detecting part 6 detects the frame from the pattern on the form 1 which is stored n the memory 5. A recognizing part 7 cuts out characters existing in the frame detected by the frame detecting part 6 and recognizes characters and outputs frame information and read character information to an output device 8. Characters 22 to be read are surrounded with a frame 20 printed preliminarily in the non-dropout color.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、光学文字読取装置に係り、特にフォーマット
情報を用いずに文字の読取りを行なうのに好適な光学文
字読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an optical character reading device, and particularly to an optical character reading device suitable for reading characters without using format information.

〔発明の背景〕[Background of the invention]

従来のフォーマット情報の省力化を図った光学文字読取
装置としては、特開昭58−8385号公報に開示され
ている様に、帳票上の読取対象領域を鉛筆等の筆記具で
囲み、これによってフォーマット情報を光学文字読取装
置に認識させ、文字の読取りを行なうものが知られてい
る。しがし、この光学文字読取装置は、結局フォーマッ
ト情報を必要とするもので1人手によって帳票上の読取
対象領域を囲むという煩わしさがある。また、この光学
文字読取装置に用いる帳票は、光学文字読取装置が感じ
ない色(以下、ドロップアウトカラーと称する。)を用
いて印刷する必要があり、帳票が高価になるという問題
点がある。
As disclosed in Japanese Patent Application Laid-Open No. 58-8385, an optical character reading device that saves the labor of conventional formatting information is disclosed in Japanese Patent Application Laid-open No. 58-8385, in which the area to be read on a form is surrounded with a writing instrument such as a pencil, and thereby the formatting is performed. 2. Description of the Related Art Devices are known that allow an optical character reader to recognize information and read characters. However, this optical character reading device requires format information, and it is troublesome that one person manually encloses the area to be read on the form. In addition, forms used in this optical character reading device must be printed using colors that the optical character reading device cannot detect (hereinafter referred to as dropout colors), which poses a problem in that the forms are expensive.

また、特公昭59−21076号公報に開示されている
ように、文字列行を検出することにより、フォーマット
情報を全く用いずに、文字の読取りを行なう光学文字読
取装置も提案されている。しがし、この光学文字読取装
置は、帳票上の全ての文字を読んでしまい、読取りたい
文字だけを読取るという処理ができないという問題点が
ある。
Furthermore, as disclosed in Japanese Patent Publication No. 59-21076, an optical character reading device has been proposed which reads characters by detecting character string lines without using any format information. However, this optical character reading device has a problem in that it reads all the characters on the form and cannot read only the characters that are desired to be read.

〔発明の目的〕[Purpose of the invention]

本発明は、上記した従来技術の問題点に鑑みなされたも
ので、フォーマット情報を用いず、かつ安価に作製でき
る帳票を用い、帳票上の文字のうち読取りを行ないたい
文字だけを読取ることができる光学文字読取装置を提供
することを目的としている。
The present invention was made in view of the problems of the prior art described above, and it is possible to read only the desired characters from among the characters on the form without using format information and using a form that can be produced at low cost. The purpose is to provide an optical character reading device.

〔発明の概要〕[Summary of the invention]

本発明の光学文字読取装置は、黒色等の光学文字読取装
置が感じることができる色(以下、非ドロップアウトカ
ラーと称する。)で枠を印刷した帳票を用いるもので、
非ドロップアウトカラーで枠を印刷した帳票上の各種パ
ターンを光学的に入力し、入力されたパターンを記憶し
、記憶されたパターンから上記非ドロップアウトカラー
で印刷された枠を検出して、枠情報として出力し、更に
上記検出された枠内に存在するパターンを認識して上記
枠情報と共に出力することを特徴としてい゛る。
The optical character reading device of the present invention uses a form with a frame printed in a color that the optical character reading device can sense, such as black (hereinafter referred to as non-dropout color).
Various patterns on a form with frames printed in non-dropout colors are optically input, the input patterns are memorized, frames printed in the above non-dropout colors are detected from the stored patterns, and the frames are printed in the non-dropout colors. It is characterized in that it is output as information, and furthermore, a pattern existing within the detected frame is recognized and output together with the frame information.

〔発明の実施例〕[Embodiments of the invention]

以下、添付の図面を用いて更に詳細に本発明について説
明する。
Hereinafter, the present invention will be explained in more detail using the accompanying drawings.

第1図は本発明の光学文字読取装置の一実施例を示すブ
ロック図である。図示する様に、帳票1はランプ2で照
射され、帳票1上のパターンがCCDセンサ3によって
検出される。検出されたパターンは、光電変換部4でデ
ィジタル信号に変換された後、メモリ5に格納される。
FIG. 1 is a block diagram showing an embodiment of the optical character reading device of the present invention. As shown, a form 1 is illuminated by a lamp 2, and a pattern on the form 1 is detected by a CCD sensor 3. The detected pattern is converted into a digital signal by the photoelectric conversion unit 4 and then stored in the memory 5.

枠検出部6は。The frame detection section 6 is.

メモリ5に格納された帳票1上のパターンから枠を検出
する。認識部7は、枠検出部6により検出された枠の内
部に存在する文字を切出し、文字認識を行い、枠情報と
読取った文字情報を出力装置8に出力する。この出力装
置8としては2例えば、フロッピーディスク装置や回線
等が考えられる。
A frame is detected from a pattern on a form 1 stored in a memory 5. The recognition unit 7 cuts out the characters existing inside the frame detected by the frame detection unit 6, performs character recognition, and outputs the frame information and the read character information to the output device 8. This output device 8 may be, for example, a floppy disk device or a line.

第2図は、本実施例で用いる帳票1の一例を示す図であ
り、帳票1上には読取りを行なう文字22と読取りを行
なわない文字30が存在している。図示する様に、読取
りを行なう文字22は、あらかじめ非ドロップアウトカ
ラーで印刷された枠2oで囲まれている。
FIG. 2 is a diagram showing an example of the form 1 used in this embodiment. On the form 1, there are characters 22 to be read and characters 30 not to be read. As shown, the characters 22 to be read are surrounded by a frame 2o printed in advance in a non-dropout color.

次に、第1図に示す枠検出部6と認識部7の動作につい
て、第3図と第4図を用いて説明する。
Next, the operations of the frame detection section 6 and recognition section 7 shown in FIG. 1 will be explained using FIGS. 3 and 4.

第3図は枠検出部6と認識部7の動作を示すフローチャ
ートであり、第4図は第2図に示す帳票1の一部を抜き
出して拡大した図である。帳票1上の枠20は、次の様
にして検出される。即ち、第3図に示す様に、ステップ
10において、帳票1の横方向に所定長以上の画素が存
在することを検出し、横線検出を行なう。次に、ステッ
プ11において、検出された複数の横線の右端部と左端
部を照合して、枠20を形成する2本の横線の対応づけ
を行ない、対応する横線の間をデコードする。デコード
する範囲は、第4図に点線21で示す様に、横方向に横
線をlll1ffl延長し、かつ縦方向については0.
5m111内側にずらした範囲とする。横方向に横線を
1mm延長するのは、横線端部に存在する縦線を確実に
検出するためであり、縦方向に関して内側に0 、5n
uoずらすのは、すでに検出した2本の横線を再度検出
するのを防止するためである。点g(21の内側をデコ
ードした結果を用いることにより、ステップ12におい
て縦線検出を行なう。ステップ12で検出された縦線か
ら縦線まで、及びステップ10で検出された横線から横
線までの範囲、即ち枠20の内側が、読取りを実行する
領域となる。ステップ13において、枠20の内側から
公知の手段で文字22の文字切出しを行ない、ステップ
14で切出した文字22の認識を行なう。
FIG. 3 is a flowchart showing the operations of the frame detection section 6 and the recognition section 7, and FIG. 4 is an enlarged view of a part of the form 1 shown in FIG. 2. The frame 20 on the form 1 is detected as follows. That is, as shown in FIG. 3, in step 10, it is detected that there are pixels of a predetermined length or more in the horizontal direction of the form 1, and horizontal line detection is performed. Next, in step 11, the right end and left end of the plurality of detected horizontal lines are compared to associate the two horizontal lines forming the frame 20, and the space between the corresponding horizontal lines is decoded. The range to be decoded is as shown by the dotted line 21 in FIG. 4, extending the horizontal line by lll1ffl in the horizontal direction, and 0.
The area is shifted inward by 5m111. The reason for extending the horizontal line by 1 mm in the horizontal direction is to reliably detect the vertical line that exists at the end of the horizontal line.
The purpose of shifting uo is to prevent the two horizontal lines that have already been detected from being detected again. Vertical line detection is performed in step 12 by using the result of decoding the inside of point g (21).The range from the vertical line detected in step 12 to the vertical line and from the horizontal line detected in step 10 to the horizontal line That is, the inside of the frame 20 becomes the area where reading is performed.In step 13, characters 22 are cut out from inside the frame 20 by known means, and in step 14, the cut out characters 22 are recognized.

第5図は、第2図に示す帳票1を読取った後の出力例を
示す図であり、読取った文字情報41とアットマークで
示された枠情報40とが混在している。
FIG. 5 is a diagram showing an example of the output after reading the form 1 shown in FIG. 2, in which read character information 41 and frame information 40 indicated by an at mark are mixed.

文字情報41は、枠20内の文字22を認識した結果得
られるものである。また、枠情報40は、第2FMに示
す枠20の縦線を意味する情報であり、その結果枠情報
40が2個連続している部分は行が変ったことを意味す
る。従って、枠情報40が2個連続する部分は、いわゆ
る行のセパ−9−トマークに変更しても良い。
The character information 41 is obtained as a result of recognizing the characters 22 within the frame 20. Further, the frame information 40 is information that means a vertical line of the frame 20 shown in the second FM, and as a result, a portion where two pieces of frame information 40 are consecutive means that the line has changed. Therefore, a portion where two pieces of frame information 40 are consecutive may be changed to a so-called separate nine-line mark.

以上の実施例においては、枠20の形状を四角として説
明したが、本発明はこれに限定されるものではなく、枠
検出部6の機能を変えることにより、丸でも、点線でも
、任意の形状にすることができる。また、一度枠情報4
0を検出すれば、他の帳票の読取り時に、読取る必要の
ない文字やパターンが枠で囲まれていたとしても、これ
を読飛ばすことができる。また、本実施例によれば、第
5図に示す枠情報40と文字情報41を処理する場合、
枠情報40をキーデータとして文字情報41を捜すこと
が可能になる。
In the above embodiments, the shape of the frame 20 has been described as a square, but the present invention is not limited to this, and by changing the function of the frame detection unit 6, it can be formed into any shape, such as a circle or a dotted line. It can be done. Also, once frame information 4
If 0 is detected, even if characters or patterns that do not need to be read are surrounded by a frame when reading other forms, they can be skipped. Furthermore, according to this embodiment, when processing the frame information 40 and character information 41 shown in FIG.
It becomes possible to search for character information 41 using frame information 40 as key data.

また、第6図に示す様に、1つの枠20内の文字数をフ
ィールド文字数情報50として出力することにより、文
字情報41を連続して出力させることもできる。また、
この場合、フィールド文字数情報50のかわりに、枠2
0の読取り結果の相対アドレスを出力しても、同様の効
果を得ることができる。
Further, as shown in FIG. 6, by outputting the number of characters in one frame 20 as field character number information 50, character information 41 can be output continuously. Also,
In this case, instead of field character count information 50, frame 2
A similar effect can be obtained by outputting the relative address of the read result of 0.

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

以上の説明から明らかな様に、本発明によれば、フォー
マット情報を必要とせず、かつ非ドロップアウトカラー
で印刷した安価な帳票を用い、しかも帳票上の文字等の
うち読取りたいものだけを任意に読取ることができる光
学文字読取装置を提供することができる。
As is clear from the above description, according to the present invention, an inexpensive form that does not require format information and is printed in non-dropout color is used, and only the characters that are desired to be read from among the characters on the form can be freely read. It is possible to provide an optical character reading device that can read characters.

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

第1図は本発明の光学文字読取装置の一実施例を示すブ
ロック図、第2図は本発明の光学文字読取装置で使用す
る帳票の一例を示す平面図、第3図は第1図に示す実施
例の動作を示すフローチャート、第4図は第2図に示す
帳票の部分拡大図、第5図及び第6図は第1図に示す実
施例における出力例を示す説明図である。 1・・・帳票、2・・・ランプ、3・・・CCDセンサ
、4・・・光電変換部、5・・・メモリ、6・・・枠検
出部、7・・・認識部、8・・・出力装置、20・・・
枠、22・・・読取る文字。 30・・・読取らない文字、40・・・枠情報、41・
・・文字情報、50・・・フィールド文字数情報。
FIG. 1 is a block diagram showing an embodiment of the optical character reading device of the present invention, FIG. 2 is a plan view showing an example of a form used in the optical character reading device of the present invention, and FIG. 3 is similar to FIG. FIG. 4 is a partially enlarged view of the form shown in FIG. 2, and FIGS. 5 and 6 are explanatory diagrams showing examples of output in the embodiment shown in FIG. DESCRIPTION OF SYMBOLS 1... Form, 2... Lamp, 3... CCD sensor, 4... Photoelectric conversion section, 5... Memory, 6... Frame detection section, 7... Recognition section, 8. ...Output device, 20...
Frame, 22... Characters to be read. 30... Characters that cannot be read, 40... Frame information, 41.
...Character information, 50...Field character number information.

Claims (1)

【特許請求の範囲】[Claims] 非ドロップアウトカラーで枠を印刷した帳票上の各種パ
ターンを光学的に入力する第1の手段と、入力したパタ
ーンを記憶する第2の手段と、記憶されたパターンから
上記非ドロップアウトカラーで印刷された枠を検出し、
枠情報として出力する第3の手段と、上記検出された枠
内に存在するパターンを認識し、枠情報と共に出力する
第4の手段を備えていることを特徴とする光学文字読取
装置
a first means for optically inputting various patterns on a form with a frame printed in a non-dropout color; a second means for storing the inputted patterns; and printing from the stored pattern in the above-mentioned non-dropout color. Detect the frame that is
An optical character reading device comprising: a third means for outputting frame information; and a fourth means for recognizing a pattern existing within the detected frame and outputting it together with the frame information.
JP60025141A 1985-02-14 1985-02-14 Optical character reader Pending JPS61187086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60025141A JPS61187086A (en) 1985-02-14 1985-02-14 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60025141A JPS61187086A (en) 1985-02-14 1985-02-14 Optical character reader

Publications (1)

Publication Number Publication Date
JPS61187086A true JPS61187086A (en) 1986-08-20

Family

ID=12157703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60025141A Pending JPS61187086A (en) 1985-02-14 1985-02-14 Optical character reader

Country Status (1)

Country Link
JP (1) JPS61187086A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5557973A (en) * 1978-10-24 1980-04-30 Nec Corp Character segmentation device
JPS5622177A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Character reading system
JPS5977577A (en) * 1982-10-25 1984-05-04 Ricoh Co Ltd Frame extracting method
JPS59158477A (en) * 1983-02-28 1984-09-07 Toshiba Corp Optical character reader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5557973A (en) * 1978-10-24 1980-04-30 Nec Corp Character segmentation device
JPS5622177A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Character reading system
JPS5977577A (en) * 1982-10-25 1984-05-04 Ricoh Co Ltd Frame extracting method
JPS59158477A (en) * 1983-02-28 1984-09-07 Toshiba Corp Optical character reader

Similar Documents

Publication Publication Date Title
JPH0452510B2 (en)
JPS61187086A (en) Optical character reader
JPH0373914B2 (en)
JPS6141029B2 (en)
JPH07230525A (en) Method for recognizing ruled line and method for processing table
JPS61289476A (en) Format forming system for character reader
JPH06251192A (en) Optical character reader
JPH0528314A (en) Optical character reader
JP3162575B2 (en) Character recognition device
JPH01180081A (en) Optical character reader
JPS58101378A (en) Manuscript document reading method
JPS63137383A (en) Character reader
JPH0475557B2 (en)
JPS6160184A (en) Optical character reader
JPS6045884A (en) Character frame delecting device for character recognizer
JPS5831028B2 (en) character recognition device
JPS6224378A (en) Deciding system for character area
JPS56105572A (en) Circuit drawing inputting system
JPH04239989A (en) Electronic dictionary
JPS62160590A (en) Format generating system for character reader
JPS61206090A (en) Character reading device
JPS60160481A (en) Reader of character
JPH06295359A (en) Character recognition device
JPS61289479A (en) Character recognizing device for reading out connected characters
JPH04192090A (en) Optical character reader