JPH01310495A - Optical character recognizing device - Google Patents

Optical character recognizing device

Info

Publication number
JPH01310495A
JPH01310495A JP63142326A JP14232688A JPH01310495A JP H01310495 A JPH01310495 A JP H01310495A JP 63142326 A JP63142326 A JP 63142326A JP 14232688 A JP14232688 A JP 14232688A JP H01310495 A JPH01310495 A JP H01310495A
Authority
JP
Japan
Prior art keywords
image
page buffer
signal
buffer
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63142326A
Other languages
Japanese (ja)
Other versions
JP2570815B2 (en
Inventor
Kazuhide Tosaka
登坂 和秀
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP63142326A priority Critical patent/JP2570815B2/en
Publication of JPH01310495A publication Critical patent/JPH01310495A/en
Application granted granted Critical
Publication of JP2570815B2 publication Critical patent/JP2570815B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To shorten an image fetching time by having both route to fetch a slip image inputted from an image scanner part as it is into a page buffer, and route to fetch the slip image into the page buffer with counter-clockwise rotating by 90 deg.. CONSTITUTION:An image signal 101 is directly sent to a serial/parallel converting part 24, and by accumulating an image signal 104 for an eight-mesh portion in order to increase a processing speed, the signal 104 is sent to a page buffer 26 as a signal 105. Next, when the slip image 101 from a scanner part 1 is outputted by counter-clockwise rotating by 90 deg., the image signal 101 is sent to an A line buffer 22, and it is accumulated for an eight-line portion. A switching means SW2 is connected to a contact point C. Thereafter, by an address signal 107 controlled by a line buffer address control part 21, an image signal 102 is read from the A line buffer 22. The signal 105, whose eight-mesh portion is accumulated by the serial/parallel converting part 24, is successively accumulated into the page buffer 26 according to an address signal 109 controlled by a page buffer address control part 25.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は光学式文字認識装置に関し、特に時計方向に9
0度回転して入力される帳票をも専用ファームウェアを
必要とせずに認識可能な光学式文字認識装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an optical character recognition device, and in particular,
The present invention relates to an optical character recognition device that can recognize even a form input with 0 degree rotation without requiring dedicated firmware.

〔従来の技術〕[Conventional technology]

従来、この種の光学式文字認識装置は、帳票のイメージ
をその搬送方向に対して90度回転させて入力し、次に
認識処理を行っていた。そのだめのイメージ入力方法は
、第4図(a)および(b)に示すように2方法が実施
されている。
Conventionally, this type of optical character recognition apparatus inputs an image of a form after rotating it by 90 degrees with respect to its conveying direction, and then performs recognition processing. As an alternative image input method, two methods have been implemented as shown in FIGS. 4(a) and 4(b).

まず第1の方法は、第4図(a)に示すように帳票イメ
ージ61をページバッファにそのまま取り込み、ページ
バッファからラインバッファに転送するときに文字認識
を必要とする行ごとに反時計方向に90度回転させて、
得られたイメージをラインバッファに貯え1行ごとまた
は複数行ごとに文字の認識処理を行っている。
The first method is to import the form image 61 as it is into the page buffer as shown in FIG. Rotate 90 degrees,
The obtained image is stored in a line buffer, and character recognition processing is performed for each line or multiple lines.

第2の方法は、第4図(b)に示すようにページバッフ
ァの帳票イメージ80Aを、スキャナで得られたイメー
ジのメツシュ81・82・83−−− 、!:順次lメ
ツシュごとに反時計方向に90度回転させ、90度回転
させたベージバッファの位置ニ取込む。こうしたイメー
ジをラインバッファに貯え1行ごとまたは複数行ごとに
文字の認識処理を行っている。
In the second method, as shown in FIG. 4(b), the document image 80A in the page buffer is scanned by a mesh of images 81, 82, 83 ---, !, obtained by a scanner. : Sequentially rotate 90 degrees counterclockwise every 1 meshes and capture the position of the page buffer rotated 90 degrees. These images are stored in a line buffer and character recognition processing is performed for each line or multiple lines.

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

上述した従来の光学式文字認識装置は、その中で必要と
する時計方向に90度回転されて入力される帳票のイメ
ージ入力方法のうち第1の方法では帳票イメージをペー
ジバッファに全部入力終了するまでラインバッファには
転送できず、その間認識部はウェイト状態が続くので時
間がかかり、効率が悪くなるという欠点があり、第2の
方法ではスキャナ部からのイメージデータのサンプル時
間がページバッファに使用するメモリのアクセス時間に
制約を受はページバッファへのイメージ取り込み時間が
長くなるという欠点がある。
In the above-mentioned conventional optical character recognition device, among the necessary methods for inputting a form image rotated 90 degrees clockwise, the first method involves inputting the entire form image into a page buffer. The image data cannot be transferred to the line buffer until the end of the image data is transferred to the line buffer, and the recognition unit remains in a wait state during that time, which takes time and reduces efficiency.In the second method, the sample time of image data from the scanner unit is used for the page buffer. However, if the access time of the memory is limited, it takes a long time to read the image into the page buffer.

〔課題を解決するだめの手段〕[Failure to solve the problem]

本発明の光学式文字認識装置は、光学式文字認識装置に
2いて、イメージ・スキャナ部より入力した帳票イメー
ジをそのままページ・バッファに取り込む経路と前記帳
票イメージを反時計方向に90度回転させて前記ページ
・バッファに取シ込む経路とを併せもつスキャン制御部
を備えて構成される。
The optical character recognition device of the present invention has two paths in the optical character recognition device, including a path for capturing a form image input from an image scanner unit into a page buffer as it is, and a path for rotating the form image by 90 degrees counterclockwise. The scan control section also includes a scan control section that also has a path for fetching data into the page buffer.

〔実施例〕 次に、本発明について図面を参照して説明する。〔Example〕 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すプロ。FIG. 1 is a diagram showing the configuration of an embodiment of the present invention.

り図である。This is a diagram.

第1図を見るに、本発明の実施例は、スキャナ部1と、
スキャン制御部2と、前処理部3と、文字認識部4とで
構成される。
Referring to FIG. 1, the embodiment of the present invention includes a scanner section 1,
It is composed of a scan control section 2, a preprocessing section 3, and a character recognition section 4.

スキャナ部lからの帳票イメージ信号101が時計方向
に回転していない場合、スキャン制御部2の中の切換手
段SWxは接点Cと接続され、切換手段SW2は接点E
と接続されてイメージ信号101は直接シリアルパラレ
ル変換部24へ送られる。シリアルパラレル変換部24
では処理スピード向上のため、イメージ信号104を8
メツシュ分蓄えて、信号105としてページバッファ2
6へ送る。ページバッファ26でハ、ページバッファア
ドレス制御部25により、ページバッファ26の先頭ア
ドレスから順次信号105を蓄える。
When the form image signal 101 from the scanner section l is not rotating clockwise, the switching means SWx in the scan control section 2 is connected to the contact C, and the switching means SW2 is connected to the contact E.
The image signal 101 is directly sent to the serial/parallel converter 24. Serial parallel converter 24
In order to improve processing speed, the image signal 104 is
The page buffer 2 stores the mesh amount and sends the signal 105 to the page buffer 2.
Send to 6. In the page buffer 26, the page buffer address control unit 25 sequentially stores the signal 105 from the top address of the page buffer 26.

その後、ページバッファ26から文字パターン106が
呼び出され文字を切り出して正規化や細線化等を施す一
般の前処理部3でI処理された文字パターン107カ民
文字認識部4へ送られ認識される。
Thereafter, the character pattern 106 is called from the page buffer 26, and the character pattern 107 subjected to the I-processing is sent to the character recognition unit 4 for recognition by a general preprocessing unit 3 that cuts out the characters and performs normalization, line thinning, etc. .

次に、スキャナ部lからの帳票イメージ101が時計方
向に90度回転して出力される場合、スキャン制御部2
の中の切換出段8W1は、まず接点人と接続され、イメ
ージ信号101はAラインバッファ22へ送られ8ライ
ン分蓄えられる。Aラインバッファ22に8ライン分蓄
えられたならば、切換手段8W1は接点Bと接続され、
切換手段SW2は接点Cと接続される。その後ラインバ
ッファアドレス制御部21で制御されるアドレス信号1
07によジ人ラインバッファ22からイメージ信号10
2が読み出される。シリアルパラレル変換部24により
、8メツシュ分蓄えられた信号105がページバッファ
アドレス制御部25で制御されるアドレス信号109に
従って、ページバッファ26に順次蓄えられる。
Next, when the form image 101 from the scanner unit l is rotated 90 degrees clockwise and output, the scan control unit 2
The switching output stage 8W1 in the middle is first connected to the contact person, and the image signal 101 is sent to the A line buffer 22 and stored for eight lines. When 8 lines have been stored in the A line buffer 22, the switching means 8W1 is connected to the contact B,
The switching means SW2 is connected to the contact C. The address signal 1 is then controlled by the line buffer address control section 21.
07 image signal 10 from line buffer 22
2 is read out. The serial-to-parallel converter 24 sequentially stores the signals 105 for eight meshes in the page buffer 26 in accordance with the address signal 109 controlled by the page buffer address controller 25 .

上述の処理の間、イメージ信号101はBラインバッフ
ァ23へ送られて8ライン分蓄えられることになる。A
ラインバッファ22の読み出しとBラインバッファ23
の書き込みが終了したならば、切換手段SWIは再び接
点人と接続され、切換手段SW2は接点りと接続されて
、Aラインバッファ22にはイメージ信号101が8ラ
イン分蓄えられている間、Bラインバッファ23はペー
ジバッファアドレス制御部21により、制御されるアド
レス信号108によりイメージ信号103が読み出され
シリアルパラレル変換部24へ送られる(1ここで8メ
ツシュ分蓄えられた信号105がページバッファアドレ
ス制御部25によジ制御されるアドレス信号109によ
りページバッファ26に順次蓄えられる。
During the above processing, the image signal 101 is sent to the B line buffer 23 and stored for eight lines. A
Reading of line buffer 22 and B line buffer 23
When the writing of the image signal 101 is completed, the switching means SWI is connected again to the contact, and the switching means SW2 is connected to the contact, and while the image signal 101 for 8 lines is stored in the A line buffer 22, the The line buffer 23 reads out the image signal 103 according to the address signal 108 controlled by the page buffer address control section 21 and sends it to the serial/parallel conversion section 24 (1) Here, the signal 105 stored for 8 meshes is sent to the page buffer address. The data are sequentially stored in the page buffer 26 according to the address signal 109 controlled by the control unit 25.

前述の切換手段SW1・SW2がそれぞれ接点A−Dに
接続される組合せと、切換手段SWI・8W2がそれぞ
れ接点B−Cに接続される組合せとが、帳票イメージ全
てをページバッファ26に蓄え終わるまで、交互に切り
換わりながら続行される。
The above-mentioned combination in which the switching means SW1 and SW2 are connected to the contacts A-D, respectively, and the combination in which the switching means SWI and 8W2 are respectively connected to the contacts B-C are used until all the form images are stored in the page buffer 26. , continues while switching alternately.

次に、第2図(a)及び(b)並びに第3図(a)及び
(b)により、第1図のスキャン制御部2の具体的な動
作を、1ライン=4096メツシーで、前述の如くペー
ジバッファには1アドレス=8メツシ一分で蓄え、ライ
ンバッファには8ライン分蓄える場合について説明する
Next, referring to FIGS. 2(a) and (b) and FIGS. 3(a) and (b), the specific operation of the scan control unit 2 in FIG. A case will be explained in which the page buffer stores 1 address = 8 meshes for 1 minute, and the line buffer stores 8 lines.

スキャナ部lからのイメージ信号101が切換手段SW
の接点Aの時、第2図(a)の参照符号10に示すよう
に、Aラインバッファ22に、ラインバッファアドレス
制御部21の指定するアドレス信号107により左上の
メツシュ(0000)を原点として左から右(oooo
〜oFFF)へ、最右(o FFF )まで来たならば
、下へ1ライン下って左端のメツシーを原点として左か
ら右(1000〜IFFF)へ、順次下って行き右下の
メツシー(7FFF)まで制御されて8ライン分蓄えら
れる。なお上述の括弧内のメツシ一番号は16進法で表
示し、以下特に指定しない限り16進法で表示する。
The image signal 101 from the scanner section l is transferred to the switching means SW.
When the contact point A is, as shown by reference numeral 10 in FIG. to the right (oooo
~oFFF), and when you get to the rightmost (oFFF), go down one line and use the leftmost mesh as the origin and go down sequentially from left to right (1000 to IFFF) until you reach the bottom right mesh (7FFF). Up to 8 lines can be stored. Note that the above-mentioned mesh numbers in parentheses are expressed in hexadecimal notation, and will be expressed in hexadecimal notation hereinafter unless otherwise specified.

次に切換手段SW2の接点りに切シ換わったならば、第
2図(a)の参照符号20に示すようにラインバッファ
アドレス制御部21のアドレス信号107に従ってAラ
インバッファ22の右上(0000)を原点として、上
から下< oooo〜0007、−−−.7FF8〜7
 FFF )へ行きながら、右から左(oooo〜00
08〜−一−〜7FF8)へと制御されてイメージ信号
102が読み出される。
Next, when the contact of the switching means SW2 is switched, the upper right corner (0000) of the A line buffer 22 is reached according to the address signal 107 of the line buffer address control unit 21, as shown by reference numeral 20 in FIG. 2(a). From top to bottom <oooo~0007,---. 7FF8~7
FFF) while going from right to left (oooo~00
08 to -1 to 7FF8), and the image signal 102 is read out.

以上の読み出しと同時に、第2図(a)の参照符号10
に示すメツシーに従ってイメージ信号101は、切換手
段8Wlの接点Bを通してBラインバッファ23に読み
込まれる。
Simultaneously with the above reading, reference numeral 10 in FIG. 2(a)
The image signal 101 is read into the B line buffer 23 through the contact B of the switching means 8Wl according to the scheme shown in FIG.

読み出されたイメージ信号102は、シリアルパラレル
変換部24にて8メツシ一分(ooo。
The read image signal 102 is converted into 8 meshes (ooo) by the serial-parallel converter 24.

〜0007.0008〜0OOF 、−−−,7FF8
〜7FFF)蓄える。そして、第2図の30に示すよう
に、ページバッファ26の左上(oooo)を原点とし
てページバッファアドレス制御部25によるアドレス1
09によシ、上から下(0000〜0FFF、1000
〜IFFF、−一−,nQ00=n FF F 、 −
−−)へ行きながら左から右(0000〜1000〜−
−−〜no00〜−= )へと制御されて、8メ、シー
分のイメージデータ1105が順次ページバッファ26
に蓄えられる。
~0007.0008~0OOF,---,7FF8
~7FFF) Save. Then, as shown at 30 in FIG.
09, top to bottom (0000 to 0FFF, 1000
~IFFF, -1-, nQ00=n FF F, -
--) while going from left to right (0000~1000~-)
--~no00~-=), the image data 1105 for 8 pages and seas are sequentially transferred to the page buffer 26.
is stored in

上述の動作をさらに具体的に示すならば、まず、第3図
(a)の参照符号40に、スキャナ部1における時計方
向に90度可回転ている帳票イメージを示す。また、第
3図(b)の参照符号50に、第3図(a)の参照符号
40の帳票イメージを反時計方向に90度可回転せて取
り込んだページバッファ26上の帳票イメージを示す。
To illustrate the above-mentioned operation more specifically, first, reference numeral 40 in FIG. 3(a) shows a form image that can be rotated 90 degrees clockwise in the scanner section 1. Further, reference numeral 50 in FIG. 3(b) shows a form image on the page buffer 26 obtained by rotating the form image 40 in FIG. 3(a) counterclockwise by 90 degrees.

第3図(a)の参照符号40の8ライン■・■・■−−
−が、第3図(b)の参照符号50の■・■・■−−−
にそれぞれ対応する。
8 lines with reference numeral 40 in FIG. 3(a) ■・■・■---
- is indicated by the reference numeral 50 in FIG. 3(b).
correspond to each.

以上のようにして、処理スピードを損なうことなく、時
計方向に90度可回転れて入力された帳票イメージを、
反時計方向に90度可回転せて、通常の帳票イメージを
ページバッファに取り込むことができる。
In the above manner, the input form image can be rotated 90 degrees clockwise without compromising processing speed.
It can be rotated 90 degrees counterclockwise to capture a normal form image into the page buffer.

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

以上説明したように本発明は、帳票イメージとページバ
ッファとの間に、イメージ信号をnメツシー分蓄えてペ
ージバッファに格納し、n247分蓄えるラインバッフ
ァを置くことにより、時計方向に90度可回転て送られ
てくる帳票イメージを処理速度を損なうことなく反時計
方向に90度可回転せてページバッファに格納して専用
ファームウェアを開発することなく、通常の文字認識処
理ができる効果がある。
As explained above, the present invention is capable of rotating 90 degrees clockwise by placing a line buffer between the form image and the page buffer that stores the image signal for n messages and stores it in the page buffer, and stores it for n247 minutes. This has the effect that normal character recognition processing can be performed without developing dedicated firmware by rotating the form image sent by the user by 90 degrees counterclockwise and storing it in a page buffer without impairing the processing speed.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図(a)および(b)は第1図のライン・バッファア
ドレス制御部およびページ・バッファアドレス制御部を
示す説明図、第3図(a)および(b)はスキャナ部か
ら送られる帳票イメージとページ・バッファの格納結果
とを示す説明図、第4図(a)および(b)は従来の技
術による帳票イメージとページ・バッファの格納結果と
の一例を示す説明図。 1・・・・・・スキャナ部、2・・・・・・スキャン制
御部、3・・・・・・前処理部、4・・・・・・文字認
識部。 代理人 弁理士  内 原   晋 茅 / 図 X−シバ゛、・、フ、26 第3〆(戊) 躬 3 図 (1:)ノ 第4図<b)
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIGS. 2(a) and (b) are explanatory diagrams showing the line buffer address control section and page buffer address control section of FIG. 1, FIGS. 3(a) and (b) are explanatory diagrams showing a form image sent from the scanner unit and the result of storage in the page buffer, and FIGS. 4(a) and (b) are form images and pages according to the conventional technology. - An explanatory diagram showing an example of a buffer storage result. 1...Scanner section, 2...Scan control section, 3...Preprocessing section, 4...Character recognition section. Agent Patent Attorney Shinkyo Uchihara / Figure

Claims (1)

【特許請求の範囲】[Claims] 光学式文字認識装置において、イメージ・スキャナ部よ
り入力した帳票イメージをそのままページ・バッファに
取り込む経路と前記帳票イメージを反時計方向に90度
回転させて前記ページ・バッファに取り込む経路とを併
せもつスキャン制御部を備えて成ることを特徴とする光
学式文字認識装置。
In an optical character recognition device, scanning has both a path in which a form image input from an image scanner section is taken into a page buffer as it is, and a path in which the form image is rotated 90 degrees counterclockwise and taken into the page buffer. An optical character recognition device comprising a control section.
JP63142326A 1988-06-08 1988-06-08 Optical character recognition device Expired - Fee Related JP2570815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63142326A JP2570815B2 (en) 1988-06-08 1988-06-08 Optical character recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63142326A JP2570815B2 (en) 1988-06-08 1988-06-08 Optical character recognition device

Publications (2)

Publication Number Publication Date
JPH01310495A true JPH01310495A (en) 1989-12-14
JP2570815B2 JP2570815B2 (en) 1997-01-16

Family

ID=15312743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63142326A Expired - Fee Related JP2570815B2 (en) 1988-06-08 1988-06-08 Optical character recognition device

Country Status (1)

Country Link
JP (1) JP2570815B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04148292A (en) * 1990-10-08 1992-05-21 Nec Corp Picture input circuit
JPH04168585A (en) * 1990-10-31 1992-06-16 Nec Corp Optical character recognizing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57178570A (en) * 1981-04-25 1982-11-02 Toshiba Corp Optical character reader
JPS5813816A (en) * 1981-07-20 1983-01-26 Tsurusaki Fume Kk Divider for flowing water on sloped ground
JPS58140881A (en) * 1982-02-15 1983-08-20 Fujitsu Ltd Picture processing system
JPS59140587A (en) * 1983-01-31 1984-08-11 Ricoh Co Ltd Pattern reading device
JPS6174456A (en) * 1984-09-20 1986-04-16 Fujitsu Ltd Block line memory control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57178570A (en) * 1981-04-25 1982-11-02 Toshiba Corp Optical character reader
JPS5813816A (en) * 1981-07-20 1983-01-26 Tsurusaki Fume Kk Divider for flowing water on sloped ground
JPS58140881A (en) * 1982-02-15 1983-08-20 Fujitsu Ltd Picture processing system
JPS59140587A (en) * 1983-01-31 1984-08-11 Ricoh Co Ltd Pattern reading device
JPS6174456A (en) * 1984-09-20 1986-04-16 Fujitsu Ltd Block line memory control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04148292A (en) * 1990-10-08 1992-05-21 Nec Corp Picture input circuit
JPH04168585A (en) * 1990-10-31 1992-06-16 Nec Corp Optical character recognizing device

Also Published As

Publication number Publication date
JP2570815B2 (en) 1997-01-16

Similar Documents

Publication Publication Date Title
JPH01310495A (en) Optical character recognizing device
JPH01161588A (en) Character recognizing device
JPH03139784A (en) Optical character recognition device
JPS6039988A (en) Picture signal converter
JP3346916B2 (en) Image rotation device
JP2917367B2 (en) Character recognition device
JP3788566B2 (en) Density converter
JPH06231302A (en) Image read control system
JPS60197069A (en) Document display converting system
JP2737932B2 (en) Image data reduction device
JPH02272689A (en) Optical character reader
JPH06208614A (en) Image processor
JPH0765121A (en) Optical character reader
JPH05128241A (en) Picture processor
JPS61251275A (en) Processing circuit for picture signal
JPS59226984A (en) Feature extractor
JPH0256071A (en) Optical disk filing device
JPH0142022B2 (en)
JPS62111566A (en) Image reader
JPH06259552A (en) Drawing input device
JPH02266660A (en) Picture reader
JPH011370A (en) Reciprocating image reading method of line image scanner
JPH0343880A (en) Optical character recognizing device
JPH04148292A (en) Picture input circuit
JPH02113767A (en) Scanner input control system

Legal Events

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