JPH02272689A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH02272689A
JPH02272689A JP1092997A JP9299789A JPH02272689A JP H02272689 A JPH02272689 A JP H02272689A JP 1092997 A JP1092997 A JP 1092997A JP 9299789 A JP9299789 A JP 9299789A JP H02272689 A JPH02272689 A JP H02272689A
Authority
JP
Japan
Prior art keywords
character information
character
line
photoelectric conversion
memory
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
JP1092997A
Other languages
Japanese (ja)
Inventor
Kashio Kondo
近藤 甲子男
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP1092997A priority Critical patent/JPH02272689A/en
Publication of JPH02272689A publication Critical patent/JPH02272689A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To shorten processing time required for character recognition by controlling a switch so that character information is applied from a photoelectric conversion part to a slice selection part when the photoelectric conversion part outputs the character information for the initial line. CONSTITUTION:Characters written on paper e.g. to be read out are read out by the photoelectric conversion part 1, the conversion part 1 converts the characters into an electric signal indicating the density of the characters and outputs the signal as character information. A page memory 3 successively stores the character information outputted from the conversion part 1. At that time, a control part 2 controls the switch 4 so that the character information from the conversion part 1 is applied to a slice selection part 5 at the time of outputting character information for the 1st line from the conversion part 1, and at the time of outputting the character information for the 2nd line or after from the conversion part 1, character information from the page memory 3 is applied to the selection part 5. Consequently, the processing time necessary for character recognition can be shortened as a whole.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、光学的文字読取装置に関し、特に文字情報を
読み取った後、直ちに文字認識を開始できるようにして
処理時間を短縮した光学的文字読取装置に関するもので
ある。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an optical character reading device, and in particular to an optical character reading device that can start character recognition immediately after reading character information to shorten processing time. This relates to a reading device.

〔従来の技術〕[Conventional technology]

従来、この種の光学的文字認識装置は、文字を光学的に
読み取ってその濃淡を表す電気信号に変換し、文字情報
として出力する光電変換部と、この光電変換部が出力す
る読取対象用紙の1ページ分の文字情報を記憶するペー
ジメモリと、このページメモリが記憶する文字情報を所
定の濃淡レベルで2値化するスライス選択部と、このス
ライス選択部が2値化した文字情報を行単位で記憶する
ラインメモリと、このラインメモリが記憶する文字情報
にもとついて1文字ごとに文字認識を行う文字認識部と
により構成されている。そして、光電変換部が文字情報
を出力し、ページメモリに最初の1行分、またはそれ以
上の文字情報が格納された段階で最初の1行分の文字情
報がページメモリからスライス選択部に読み出される。
Conventionally, this type of optical character recognition device consists of a photoelectric conversion section that optically reads characters, converts them into electrical signals representing their shading, and outputs them as character information, and a sheet of paper to be read that is output by this photoelectric conversion section. A page memory that stores one page of character information, a slice selection unit that binarizes the character information stored in this page memory at a predetermined gray level, and a slice selection unit that converts the binarized character information into rows by line. It is composed of a line memory that stores data in the line memory, and a character recognition section that performs character recognition for each character based on the character information stored in the line memory. Then, when the photoelectric conversion unit outputs character information and the first line or more of character information is stored in the page memory, the first line of character information is read from the page memory to the slice selection unit. It will be done.

スライス選択部は文字情報を順次、2値化してラインメ
モリに出力し、ラインメモリは2値化された文字情報を
1行分記憶した後、順次読み出して文字認識部に出力す
る。
The slice selection section sequentially binarizes the character information and outputs it to the line memory, and the line memory stores one line of the binarized character information, then sequentially reads it out and outputs it to the character recognition section.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このような従来の光学的文字読取装置では、光電変換部
が出力する文字情報は必ずページメモリに一旦、格納さ
れ、その後ページメモリから読み出されて以降の処理が
行われる。そして、ページメモリに最初の1行分の文字
情報、またはそれ以上の文字情報が格納された段階で、
始めてページメモリから文字情報が読み出されるので、
その間、スライス選択部およびそれに続く各部は待機す
ることになり、その待ち時間に相当する時間だけ文字認
識部による文字認識動作の開始は遅れる。特にこの遅れ
は、ページメモリへの文字情報の格納と文字認識動作と
を並列的に行い、処理時間を短縮させようとする場合に
は、その効果を低下させる。
In such conventional optical character reading devices, the character information output by the photoelectric conversion section is always temporarily stored in a page memory, and then read out from the page memory and subjected to subsequent processing. Then, when the first line of character information or more character information is stored in the page memory,
Since character information is read from page memory for the first time,
During this time, the slice selection section and the sections following it are on standby, and the start of the character recognition operation by the character recognition section is delayed by a time corresponding to the waiting time. In particular, this delay reduces the effectiveness of an attempt to shorten the processing time by performing the storage of character information in the page memory and the character recognition operation in parallel.

本発明の目的は、このような欠点を除去し、文字情報を
読み取った後、直ちに文字認識を開始できるようにして
処理時間を短縮した光学的文字読取装置を提供すること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an optical character reading device that eliminates such drawbacks and can start character recognition immediately after reading character information, thereby reducing processing time.

〔課題を解決するための手段] 本発明は、文字を光学的に読み取ってその濃淡を表す電
気信号に変換し、文字情報として出力する光電変換部と
、この光電変換部が出力する1ページ分の前記文字情報
を記憶するページメモリと、このページメモリが記憶す
る前記文字情報を所定の濃淡レベルで2値化するスライ
ス選択部と、このスライス選択部が2値化した文字情報
を行単位で記憶するラインメモリと、このラインメモリ
が記憶する前記文字情報にもとづいて文字認識を行う文
字認識部とを備えた光学的文字読取装置において、 前記光電変換部が出力する文字情報、または前記ページ
メモリが記憶する文字情報のいずれかを選択して前記ス
ライス選択部に与える切換器と、前記光電変換部が最初
の1行分の文字情報を出力するとき、前記光電変換部か
らの文字情報を前記スライス選択部に与えるよう前記切
換器を制御する制御部とを備えたことを特徴とする。
[Means for Solving the Problems] The present invention provides a photoelectric conversion unit that optically reads characters, converts them into electrical signals representing the shading, and outputs the converted text as character information, and a photoelectric conversion unit that outputs one page of text. a page memory that stores the character information; a slice selection unit that binarizes the character information stored in the page memory at a predetermined gray level; In an optical character reading device comprising a line memory for storing, and a character recognition unit for performing character recognition based on the character information stored in the line memory, the character information output by the photoelectric conversion unit or the page memory a switching device that selects any of the character information stored in the photoelectric conversion unit and supplies it to the slice selection unit; and when the photoelectric conversion unit outputs the first line of character information, the character information from the photoelectric conversion unit The present invention is characterized by comprising a control section that controls the switching device so as to provide the information to the slice selection section.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明による光学的文字読取装置の一実施例を
示すブロック図である。この装置は、文字を光学的に読
み取ってその濃淡を表す電気信号に変換し、文字情報と
して出力する光電変換部lと、この光電変換部が出力す
る1ページ分の文字情報を記憶するページメモリ3と、
このページメモリが記憶する文字情報を所定の濃淡レベ
ルで2値化するスライス選択部5と、このスライス選択
部5が2値化した文字情報を行単位で記憶するラインメ
モリ6と、このラインメモリが記憶する文字情報にもと
づいて文字認識を行う文字認識部7とを備え、さらに、
光電変換部1が出力する文字情報あるいは、ページメモ
リが記憶する文字情報のいずれかを選択して前記スライ
ス選択部に与える切換器4と、光電変換部1が最初の1
行分の文字情報を出力するとき、光電変換部からの文字
情報をスライス選択部5に与えるよう切換器4を制御す
る光電変換制御部2とを備えている。なお、ラインメモ
リ6は2つのラインメモリを備えたダブルバッファ構造
となっており、一方のメモリに文字情報を書き込みつつ
、他方のメモリから文字情報を読み出すようになってい
る。
FIG. 1 is a block diagram showing an embodiment of an optical character reading device according to the present invention. This device consists of a photoelectric conversion unit l that optically reads characters, converts them into electrical signals representing their shading, and outputs them as character information, and a page memory that stores one page of character information output by this photoelectric conversion unit. 3 and
A slice selection unit 5 that binarizes the character information stored in this page memory at a predetermined density level, a line memory 6 that stores the character information binarized by this slice selection unit 5 in units of lines, and this line memory a character recognition unit 7 that performs character recognition based on character information stored in the character recognition unit 7;
A switch 4 selects either the character information output by the photoelectric conversion unit 1 or the character information stored in the page memory and supplies it to the slice selection unit;
The apparatus includes a photoelectric conversion control section 2 that controls a switch 4 so as to provide the text information from the photoelectric conversion section to the slice selection section 5 when outputting character information for a line. Note that the line memory 6 has a double buffer structure including two line memories, and while writing character information into one memory, character information is read from the other memory.

次に動作を説明する。例えば読取対象としての紙面に書
かれた文字は、光電変換部1によって読み取られ、光電
変換部1は文字をその濃淡を表す電気信号に変換し、文
字情報として出力する。ページメモリ3は光電変換部I
が出力する文字すn報を順次取り込み、記憶する。その
際、制御部2は切換器4を制御し、光電変換部1が最初
の1行分の文字情報を出力するときは光電変換部1から
の文字情報をスライス選択部5に与え、光電変換部1が
2行目以降の文字情報を出力するときはページメモリ3
からの文字情報をスライス選択部5に与えるようにさせ
る。
Next, the operation will be explained. For example, characters written on a sheet of paper to be read are read by the photoelectric conversion unit 1, and the photoelectric conversion unit 1 converts the characters into electrical signals representing the shading of the characters and outputs them as character information. Page memory 3 is photoelectric conversion unit I
It sequentially captures and stores the character information output by the machine. At this time, the control unit 2 controls the switch 4, and when the photoelectric conversion unit 1 outputs character information for the first line, it gives the character information from the photoelectric conversion unit 1 to the slice selection unit 5, and When section 1 outputs character information from the second line onward, page memory 3
The slice selection unit 5 is made to give the character information from .

従って、光電変換部lから最初の1行分の文字情報が出
力されると、それは直ちにスライス選択部5で2値化さ
れ、ラインメモリ6に格納される。
Therefore, when the first line of character information is output from the photoelectric conversion section 1, it is immediately binarized by the slice selection section 5 and stored in the line memory 6.

この1行分の文字情報の格納が終了すると、文字認識部
7はラインメモリ6から文字情報を読み出し、文字認識
処理を開始する。
When the storage of character information for one line is completed, the character recognition unit 7 reads the character information from the line memory 6 and starts character recognition processing.

次に、光電変換部1から2行目以降の文字情報が出力さ
れると、スライス選択部5にはページメモリ3からの文
字情報が与えられ、スライス選択部5はページメモリ3
からの文字情報を2値化してラインメモリ6に出力する
。ここで、ラインメモリ6は、スライス選択部5からの
文字情報を、現在、文字認識部7に文字情報を出力して
いない方のメモリに格納する。そして、文字認識部7は
1行目の文字情報の文字認識処理を終了すると、ライン
メモリ6から次の行の文字情報を読み出し、同様に文字
認識処理を行う。以後、ラインメモリ6の2つのメモリ
には1行分の文字情報が順次、格納され、文字認識部7
は最終行に至るまで、それらを次々に処理する。
Next, when the character information from the second line onward is output from the photoelectric conversion unit 1, the character information from the page memory 3 is given to the slice selection unit 5, and the slice selection unit 5
The character information from is binarized and output to the line memory 6. Here, the line memory 6 stores the character information from the slice selection section 5 in the memory that is not currently outputting character information to the character recognition section 7. After completing the character recognition process for the character information on the first line, the character recognition unit 7 reads out the character information on the next line from the line memory 6 and similarly performs the character recognition process. Thereafter, character information for one line is sequentially stored in the two memories of the line memory 6, and the character information is stored in the character recognition unit 7.
processes them one after another until it reaches the last line.

このように本発明の光学的文字読取装置では、最初の1
行目の文字情報はページメモリに格納されることなく直
ちに2値化され、ラインメモリを通じて直接文字認識部
に与えられるので、従来のページメモリに文字情報が書
き込まれることによる待ち時間が削除され、文字認識に
必要な処理時間を全体として短縮できる。
In this way, in the optical character reading device of the present invention, the first one
The character information in the row is immediately binarized without being stored in the page memory, and is directly given to the character recognition unit through the line memory, eliminating the waiting time that would otherwise occur when character information is written to the page memory. The overall processing time required for character recognition can be reduced.

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

以上説明したように本発明は、文字を光学的に読み取っ
てその濃淡を表す電気信号に変換し、文字情報として出
力する光電変換部と、この光電変換部が出力する1ペー
ジ分の文字情報を記憶するページメモリと、このページ
メモリが記憶する文字情報を所定の濃淡レベルで2値化
するスライス選択部と、このスライス選択部が2値化し
た文字情報を行単位で記憶するラインメモリと、このラ
インメモリが記憶する文字情報にもとづいて文字認識を
行う文字認識部とを備えた光学的文字読取装置において
、光電変換部が出力する文字情報、またはページメモリ
が記憶する文字情報のいずれかを選択してスライス選択
部に与える切換器と、光電変換部が最初の1行分の文字
情報を出力するとき、光電変換部からの文字情報をスラ
イス選択部に与えるよう切換器を制御する制御部とを備
えている。
As explained above, the present invention includes a photoelectric conversion unit that optically reads characters, converts them into electrical signals representing their shading, and outputs them as character information, and a photoelectric conversion unit that outputs one page of character information. A page memory for storing, a slice selection unit that binarizes the character information stored in the page memory at a predetermined gray level, and a line memory that stores the character information binarized by the slice selection unit line by line. In an optical character reading device equipped with a character recognition unit that performs character recognition based on character information stored in the line memory, either the character information output by the photoelectric conversion unit or the character information stored in the page memory is a switch that selects and supplies the text information to the slice selection unit; and a control unit that controls the switch to supply the text information from the photoelectric conversion unit to the slice selection unit when the photoelectric conversion unit outputs the first line of text information. It is equipped with

従って本発明の光学的文字読取装置では、最初の1行目
の文字情報はページメモリに格納されることな(直ちに
2値化され、ラインメモリを通じて直接文字認識部に与
えられるので、従来のページメモリに文字情報が書き込
まれることによる待ち時間が削除され、文字認識に必要
な処理時間を全体として短縮できる。
Therefore, in the optical character reading device of the present invention, the character information on the first line is not stored in the page memory (it is immediately binarized and given directly to the character recognition section through the line memory, so The waiting time caused by writing character information into memory is eliminated, and the processing time required for character recognition can be reduced overall.

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

第1図は本発明による光学的文字読取装置の一実施例を
示すブロック図である。 1・・・・・光電変換部 2・・・・・光電変換制御部 ページメモリ 切換器 スライス選択部 ラインメモリ 文字認識部
FIG. 1 is a block diagram showing an embodiment of an optical character reading device according to the present invention. 1...Photoelectric conversion unit 2...Photoelectric conversion control unit Page memory switcher Slice selection unit Line memory character recognition unit

Claims (1)

【特許請求の範囲】[Claims] (1)文字を光学的に読み取ってその濃淡を表す電気信
号に変換し、文字情報として出力する光電変換部と、こ
の光電変換部が出力する1ページ分の前記文字情報を記
憶するページメモリと、このページメモリが記憶する前
記文字情報を所定の濃淡レベルで2値化するスライス選
択部と、このスライス選択部が2値化した文字情報を行
単位で記憶するラインメモリと、このラインメモリが記
憶する前記文字情報にもとづいて文字認識を行う文字認
識部とを備えた光学的文字読取装置において、前記光電
変換部が出力する文字情報、または前記ページメモリが
記憶する文字情報のいずれかを選択して前記スライス選
択部に与える切換器と、前記光電変換部が最初の1行分
の文字情報を出力するとき、前記光電変換部からの文字
情報を前記スライス選択部に与えるよう前記切換器を制
御する制御部とを備えたことを特徴とする光学的文字読
取装置。
(1) A photoelectric conversion unit that optically reads characters, converts them into electrical signals representing their shading, and outputs them as character information; and a page memory that stores one page of the character information output by this photoelectric conversion unit. , a slice selection unit that binarizes the character information stored in this page memory at a predetermined gray level, a line memory that stores the character information binarized by this slice selection unit line by line, and this line memory In an optical character reading device comprising a character recognition unit that performs character recognition based on the stored character information, selecting either the character information output by the photoelectric conversion unit or the character information stored in the page memory and a switch for supplying character information from the photoelectric conversion unit to the slice selection unit when the photoelectric conversion unit outputs character information for a first line. 1. An optical character reading device comprising: a control unit for controlling an optical character.
JP1092997A 1989-04-14 1989-04-14 Optical character reader Pending JPH02272689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1092997A JPH02272689A (en) 1989-04-14 1989-04-14 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1092997A JPH02272689A (en) 1989-04-14 1989-04-14 Optical character reader

Publications (1)

Publication Number Publication Date
JPH02272689A true JPH02272689A (en) 1990-11-07

Family

ID=14070005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1092997A Pending JPH02272689A (en) 1989-04-14 1989-04-14 Optical character reader

Country Status (1)

Country Link
JP (1) JPH02272689A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6336391A (en) * 1986-07-30 1988-02-17 Toshiba Corp Character reader

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6336391A (en) * 1986-07-30 1988-02-17 Toshiba Corp Character reader

Similar Documents

Publication Publication Date Title
KR950004854B1 (en) Semiconductor memory device
US4922437A (en) Image information processing apparatus
JPH02272689A (en) Optical character reader
TW327227B (en) Data reading method and memory control device
JPH0246490A (en) Memory circuit
JP2595979B2 (en) High-speed image reader
JPS63113725A (en) Picture information processor
JP2570815B2 (en) Optical character recognition device
JPS6336391A (en) Character reader
JPS6464073A (en) Image memory
JP2917367B2 (en) Character recognition device
JP2545795B2 (en) Image recording control device
KR960036534A (en) High speed data transmission device for image processing
JPH0373913B2 (en)
JPS59226984A (en) Feature extractor
JPS6028431B2 (en) Facsimile signal encoding method
JPS59114655A (en) Data transfer device
JPH0142022B2 (en)
JPH05120060A (en) Fault data extraction system
JPS62297153A (en) Controller of page printer
JPH0811451B2 (en) Control device for plotter
JPH0612329A (en) Ram rewriting system
JPH05207264A (en) Picture memory device for longitudinal lateral size conversion
JPH0135383B2 (en)
JPS60147992A (en) Memory circuit