JPH06282683A - Character recognizing device - Google Patents

Character recognizing device

Info

Publication number
JPH06282683A
JPH06282683A JP5072087A JP7208793A JPH06282683A JP H06282683 A JPH06282683 A JP H06282683A JP 5072087 A JP5072087 A JP 5072087A JP 7208793 A JP7208793 A JP 7208793A JP H06282683 A JPH06282683 A JP H06282683A
Authority
JP
Japan
Prior art keywords
image
tilt
recording medium
original
document
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
JP5072087A
Other languages
Japanese (ja)
Inventor
Yuji Miura
勇二 三浦
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP5072087A priority Critical patent/JPH06282683A/en
Publication of JPH06282683A publication Critical patent/JPH06282683A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Character Input (AREA)

Abstract

PURPOSE:To detect the tilt of the image of a recording medium before the image is read. CONSTITUTION:When an original ST is inserted through a slit and the tip of the original reaches a tilt detection point P1, a tilt sensor 20 reacts to the original and outputs a detection signal in accordance with the tilt of the original. Thus the tilt of the original ST is detected by the detection signal, and the main scanning direction set by a light source 18 and a photoelectric conversion sensor 19 is tilted by a tilting angle of the original ST. Furthermore, the original ST is moved in the secondary scanning direction. When the original ST reaches an image input point P2, the light source 18 irradiates the light in the main scanning direction of the original ST. Then the sensor 19 receives the light reflected on the original surface and transduces the received light into an electric signal. Thus the image of the character information on the original ST is read for each line.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は原稿等の記録媒体に印
刷又は記入された文字,数字,記号等の文字情報の画像
を読み取って文字認識する文字認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition device for recognizing characters by reading an image of character information such as characters, numbers and symbols printed or entered on a recording medium such as an original.

【0002】[0002]

【従来の技術】原稿等の記録媒体上に手書き又は印刷さ
れた文字,数字,記号等の文字情報を読み取って認識す
る文字認識装置では、その記録媒体に対して、画像読み
取り部を主走査方向と副走査方向に移動させて画像を読
み取り、その読み取った画像のイメージデータから文字
情報部分のドットパターンを抽出し、その抽出されたド
ットパターンより文字情報を認識している。
2. Description of the Related Art In a character recognition device for reading and recognizing character information such as characters, numbers and symbols handwritten or printed on a recording medium such as a manuscript, an image reading unit is arranged on the recording medium in the main scanning direction. The image is read while moving in the sub-scanning direction, the dot pattern of the character information portion is extracted from the image data of the read image, and the character information is recognized from the extracted dot pattern.

【0003】ところが、記録媒体が画像読み取り部に対
して傾いた状態でセットされたり、画像読み取り時に副
走査方向の読み取り動作によって画像読み取り部と記録
媒体と間に傾きが生じてしまったような場合、その記録
媒体から読み取った画像のイメージデータも傾いたもの
になり、そのイメージデータによる文字認識を正確に行
なえなくなってしまうことがあった。つまり、読み取っ
たイメージデータの傾きによってその後の文字認識率に
悪影響を及ぼし、文字情報の認識率の低下を招いてい
た。
However, when the recording medium is set in an inclined state with respect to the image reading section, or when the image reading section tilts between the image reading section and the recording medium due to the reading operation in the sub-scanning direction. In some cases, the image data of the image read from the recording medium also becomes inclined, and the character recognition by the image data cannot be performed accurately. That is, the inclination of the read image data adversely affects the subsequent character recognition rate, resulting in a decrease in the character information recognition rate.

【0004】そこで従来、原稿等の記録媒体上から文字
情報の画像を読み取った後、その画像のイメージデータ
を基にして文字情報の画像の傾きを検出し、その検出さ
れた傾きを補正する文字認識装置があった。
Therefore, conventionally, after an image of character information is read from a recording medium such as a document, the inclination of the image of character information is detected based on the image data of the image, and the detected inclination is corrected. There was a recognizer.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
文字認識装置では、記録媒体から文字情報の画像を読み
取った後にその画像の傾きを補正していたので、画像読
み取り後の傾き検出とその傾き補正の処理に時間がかか
り、文字認識を素早く且つ正確に行なえないという問題
があった。
However, in the conventional character recognition device, the inclination of the image is corrected after the image of the character information is read from the recording medium. Therefore, the inclination detection and the inclination correction after the image reading are performed. However, there is a problem in that character recognition cannot be performed quickly and accurately.

【0006】この発明は上記の点に鑑みてなされたもの
であり、記録媒体の画像読み取り前に傾きを検出できる
ようにすることと、記録媒体が傾いているときにはその
傾きを補正しながら画像を読み取れるようにすること
と、記録媒体が傾いていることをオペレータに知らせる
ことを目的とする。
The present invention has been made in view of the above points, and it is possible to detect an inclination before reading an image on a recording medium, and to correct the inclination when the recording medium is inclined to form an image. The purpose is to make it readable and to inform the operator that the recording medium is tilted.

【0007】[0007]

【課題を解決するための手段】この発明の文字認識装置
は、上記の目的を達成するため、原稿等の記録媒体に印
刷又は記入された文字,数字,記号等の文字情報の画像
を読み取って光学的なイメージデータとして入力する画
像入力手段と、その手段によって入力されたイメージデ
ータから文字情報部分のドットパターンを抽出するドッ
トパターン抽出手段と、その手段によって抽出されたド
ットパターンより文字情報を認識する文字情報認識手段
を備えている。
In order to achieve the above object, a character recognition device of the present invention reads an image of character information such as characters, numbers and symbols printed or entered on a recording medium such as a manuscript. Image input means for inputting as optical image data, dot pattern extracting means for extracting a dot pattern of a character information portion from image data input by the means, and character information recognized by the dot pattern extracted by the means It is provided with a character information recognizing means.

【0008】さらに、上記画像入力手段に、記録媒体の
挿入方向に直交する方向に対して円弧状に複数のセンサ
を配設した傾きセンサと、記録媒体が挿入された時のそ
の傾きセンサの複数のセンサによる記録媒体検出信号に
よって記録媒体の傾き角度を検出する傾き検出手段を設
けたものである。
Further, in the image input means, a tilt sensor having a plurality of sensors arranged in an arc shape in a direction orthogonal to the insertion direction of the recording medium, and a plurality of tilt sensors when the recording medium is inserted Inclination detecting means for detecting the inclination angle of the recording medium by the recording medium detection signal from the sensor is provided.

【0009】また、上記傾き検出手段によって挿入され
た記録媒体の傾き角度が検出された時に、記録媒体の画
像を読み取る際の主走査方向をその検出された傾き角度
だけ傾ける手段を設けるとよい。さらに、上記主走査方
向を傾けて読み取ったイメージデータに対して、ライン
毎にその傾きを補正する手段を設けるとよい。そして、
上記傾き検出手段によって記録媒体の傾き角度が検出さ
れたことを通知する手段を設けてもよい。
Further, when the tilt angle of the recording medium inserted by the tilt detecting means is detected, it is preferable to provide means for tilting the main scanning direction when reading an image on the recording medium by the detected tilt angle. Further, it is preferable to provide a means for correcting the inclination of the image data read by inclining the main scanning direction for each line. And
A means for notifying that the tilt angle of the recording medium is detected by the tilt detecting means may be provided.

【0010】[0010]

【作用】この発明による文字認識装置は、原稿等の記録
媒体に印刷又は記入された文字,数字,記号等の文字情
報の画像を読み取って光学的なイメージデータとして入
力し、その入力されたイメージデータから文字情報部分
のドットパターンを抽出し、その抽出されたドットパタ
ーンより文字情報を認識する際、記録媒体の挿入方向に
直交する方向に対して円弧状に複数のセンサを配設した
傾きセンサによる記録媒体検出信号によって記録媒体が
挿入された時の傾き角度を検出するので、画像読み取り
前に記録媒体の傾きを検出することができる。
The character recognition device according to the present invention reads an image of character information such as characters, numbers and symbols printed or entered on a recording medium such as a manuscript, inputs it as optical image data, and inputs the input image. When a dot pattern of a character information portion is extracted from data and character information is recognized from the extracted dot pattern, a tilt sensor in which a plurality of sensors are arranged in an arc shape in a direction orthogonal to the insertion direction of a recording medium Since the tilt angle when the recording medium is inserted is detected by the recording medium detection signal of, the tilt of the recording medium can be detected before the image is read.

【0011】また、挿入された原稿の傾き角度が検出さ
れた時に、原稿の画像を読み取る際の主走査方向をその
検出された傾き角度だけ傾けるようにすれば、記録媒体
の傾きを補正しながら画像を読み取ることができる。
Further, when the tilt angle of the inserted document is detected, the main scanning direction at the time of reading the image of the document is tilted by the detected tilt angle while the tilt of the recording medium is corrected. The image can be read.

【0012】さらに、その主走査方向を傾けて読み取っ
たイメージデータに対して、ライン毎にその傾きを補正
するようにすれば、副走査方向の傾きも補正しながら画
像を読み取ることができる。そして、記録媒体の傾き角
度が検出されたことを通知するようにすれば、オペレー
タに記録媒体が傾いていることを知らせることができ
る。
Further, if the inclination of the image data read by tilting the main scanning direction is corrected line by line, the image can be read while correcting the tilt in the sub scanning direction. By notifying that the tilt angle of the recording medium is detected, the operator can be notified that the recording medium is tilted.

【0013】[0013]

【実施例】以下この発明の実施例を図面に基づいて具体
的に説明する。図2はこの発明の一実施例である文字認
識装置を備えたデータ処理システムの構成を示すブロッ
ク図である。このデータ処理システムは、ホストコンピ
ュータ1と文字認識装置3とからなり、そのホストコン
ピュータ1に通信線2を介して文字認識装置3が接続さ
れている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 2 is a block diagram showing the configuration of a data processing system including a character recognition device according to an embodiment of the present invention. This data processing system comprises a host computer 1 and a character recognition device 3, and the character recognition device 3 is connected to the host computer 1 via a communication line 2.

【0014】また、ホストコンピュータ1はキーボード
やマウス等の入力装置4とCRT,LCD等の表示装置
5とこのシステムの本体である中央処理装置6を備えて
おり、その中央処理装置6にはケーブルを介して入力装
置4と表示装置5とが接続されている。
The host computer 1 is also provided with an input device 4 such as a keyboard and a mouse, a display device 5 such as a CRT and LCD, and a central processing unit 6 which is the main body of this system. The input device 4 and the display device 5 are connected via the.

【0015】そして、文字認識装置3は、原稿等の記録
媒体に記載された文字,数字,記号等の文字情報を光学
的に読み取って文字認識し、その認識した文字情報を通
信線2を介してホストコンピュータ1へ送出し、ホスト
コンピュータ1は入力装置4から入力される操作情報や
文字認識装置3から受け取った文字情報によって文書作
成や文書登録等の各種の処理を行ない、その処理結果や
各種メッセージ等を表示装置に表示する。
The character recognition device 3 optically reads character information such as characters, numbers, and symbols written on a recording medium such as an original to recognize the character, and the recognized character information is transmitted via the communication line 2. To the host computer 1, and the host computer 1 performs various processes such as document creation and document registration according to the operation information input from the input device 4 and the character information received from the character recognition device 3, and the processing results and various Display messages etc. on the display device.

【0016】次に、ホストコンピュータ1の中央処理装
置6と文字認識装置3の内部構成について説明する。中
央処理装置6は入力装置4,表示装置5,及び文字認識
装置3とのインタフェース部や各種の処理部を備えてお
り、その各部はCPU,ROM,及びRAM等からなる
マイクロコンピュータによって実現される。
Next, the internal configurations of the central processing unit 6 and the character recognition unit 3 of the host computer 1 will be described. The central processing unit 6 includes an interface unit with the input unit 4, the display unit 5, and the character recognition unit 3 and various processing units, and each unit is realized by a microcomputer including a CPU, a ROM, a RAM and the like. .

【0017】図3は図2に示した文字認識装置3の内部
構成を示すブロック図である。文字認識装置3は内部に
画像入力部7,文字部分抽出部8,文字認識部9,及び
ホストインタフェース(I/F)部10を備えている。
画像入力部7は原稿等の記録媒体に印刷又は記入された
文字,数字,記号等の文字情報の画像を読み取って光学
的なイメージデータとして入力する。
FIG. 3 is a block diagram showing the internal structure of the character recognition device 3 shown in FIG. The character recognition device 3 includes an image input unit 7, a character portion extraction unit 8, a character recognition unit 9, and a host interface (I / F) unit 10 inside.
The image input unit 7 reads an image of character information such as characters, numbers and symbols printed or entered on a recording medium such as an original and inputs it as optical image data.

【0018】文字部分抽出部8は画像入力部7によって
入力されたイメージデータから文字情報部分のドットパ
ターンを抽出する。文字認識部9は文字部分抽出部8に
よって抽出されたドットパターンより文字情報を認識す
る。ホストI/F部10は文字認識部9によって認識さ
れた文字情報を通信線2を介してホストコンピュータ1
へ送出する。
The character portion extraction unit 8 extracts the dot pattern of the character information portion from the image data input by the image input unit 7. The character recognition unit 9 recognizes character information from the dot pattern extracted by the character portion extraction unit 8. The host I / F unit 10 sends the character information recognized by the character recognition unit 9 to the host computer 1 via the communication line 2.
Send to.

【0019】図4は図3に示した文字認識装置3の画像
入力部7のハード構成を示すブロック図である。その画
像入力部7はCPU11,制御用メモリ12,主走査制
御部13,副走査制御部14,画像用メモリ15,傾き
制御部16,データ転送制御部17,光源18,光電変
換センサ19,傾きセンサ20,及び内部バス21から
なる。
FIG. 4 is a block diagram showing a hardware configuration of the image input unit 7 of the character recognition device 3 shown in FIG. The image input unit 7 includes a CPU 11, a control memory 12, a main scanning control unit 13, a sub-scanning control unit 14, an image memory 15, an inclination control unit 16, a data transfer control unit 17, a light source 18, a photoelectric conversion sensor 19, and an inclination. It is composed of a sensor 20 and an internal bus 21.

【0020】CPU11は記録媒体上の文字情報のイメ
ージデータの入力、記録媒体の挿入時の傾き角度の検
出、挿入された記録媒体の傾き角度だけ主走査方向を傾
けた画像の読み取り、主走査方向を傾けて読み取ったイ
メージデータの傾きのライン毎の補正、記録媒体の傾き
の通知等に係わる各種の制御処理を行なう。制御用メモ
リ12はCPU11が各種の制御処理を行なうためのプ
ログラムを格納する。
The CPU 11 inputs image data of character information on a recording medium, detects an inclination angle when the recording medium is inserted, reads an image in which the main scanning direction is inclined by the inclination angle of the inserted recording medium, and the main scanning direction. Various control processes related to the correction of the inclination of the image data read by inclining the line, the notification of the inclination of the recording medium, and the like are performed. The control memory 12 stores programs for the CPU 11 to perform various control processes.

【0021】主走査制御部13は光学的に記録媒体上の
文字情報の画像をライン毎のイメージデータとして読み
取る制御や、挿入された記録媒体の傾き角度が検出され
たときに記録媒体の画像を読み取る際の主走査方向を検
出された記録媒体の傾き角度だけ傾ける制御を行なう。
副走査制御部14は記録媒体をライン毎に副走査させる
制御や、主走査方向を傾けて読み取ったイメージデータ
をライン毎にその傾きを補正する制御を行なう。
The main scanning control unit 13 controls to optically read the image of the character information on the recording medium as image data for each line and to display the image of the recording medium when the tilt angle of the inserted recording medium is detected. Control is performed to tilt the main scanning direction during reading by the detected tilt angle of the recording medium.
The sub-scanning control unit 14 performs control for sub-scanning the recording medium line by line and control for correcting the line-by-line inclination of the image data read by inclining the main scanning direction.

【0022】画像用メモリ15は主走査制御部13によ
って読み取られたイメージデータを格納する。傾き制御
部16は記録媒体が挿入された時の傾きセンサ20の複
数のセンサによる記録媒体検出信号をCPU11へ送る
制御を行なう。データ転送制御部17は画像用メモリ1
5に格納されたイメージデータを通信線2を介して出力
するデータ転送の制御を行なう。
The image memory 15 stores the image data read by the main scanning controller 13. The tilt control unit 16 controls to send a recording medium detection signal from a plurality of sensors of the tilt sensor 20 to the CPU 11 when the recording medium is inserted. The data transfer control unit 17 uses the image memory 1
The image data stored in 5 is output through the communication line 2 and the data transfer is controlled.

【0023】光源18は記録媒体上の文字情報の画像を
読み取るために記録媒体に光を照射する。光電変換セン
サ19は記録媒体からの反射光を電気信号に変換する。
傾きセンサ20は記録媒体の挿入方向に直交する方向に
対して円弧状に配設された複数のセンサ(例えば、フォ
トセンサ)を備えており、記録媒体が挿入された時の複
数のセンサによる記録媒体検出信号を出力する。内部バ
ス21は上記各部間のデータの遣り取りを行なう通信線
である。
The light source 18 irradiates the recording medium with light in order to read an image of character information on the recording medium. The photoelectric conversion sensor 19 converts the reflected light from the recording medium into an electric signal.
The tilt sensor 20 includes a plurality of sensors (for example, photosensors) arranged in an arc shape in a direction orthogonal to the insertion direction of the recording medium, and recording by the plurality of sensors when the recording medium is inserted. Outputs the medium detection signal. The internal bus 21 is a communication line for exchanging data between the above units.

【0024】次にこの文字認識装置3の内部の各部間の
作用について説明する。まず、画像入力部7のCPU1
1によって制御用メモリ12内のプログラムを実行し、
主走査制御部13,副走査制御部14,傾き制御部16
に指示を送る。そして、副走査制御部13によって記録
媒体をライン毎に副走査させると共に、主走査制御部1
3によって記録媒体の主走査方向に光源18の光を照射
する。
Next, the operation between the respective parts inside the character recognition device 3 will be described. First, the CPU 1 of the image input unit 7
1 executes the program in the control memory 12,
Main scanning control unit 13, sub-scanning control unit 14, tilt control unit 16
Send instructions to. The sub-scanning control unit 13 sub-scans the recording medium line by line, and the main scanning control unit 1
The light from the light source 18 is emitted in the main scanning direction of the recording medium by means of 3.

【0025】光電変換センサ19によって記録媒体から
の反射光を電気信号に変換し、主走査制御部13によっ
てその電気信号によるライン毎のイメージデータに変換
して画像用メモリ15に格納する。また、傾きセンサ2
0の各センサによって挿入された記録媒体の記録媒体検
出信号を傾き制御部16へ送り、傾き制御部16によっ
てその記録媒体検出信号に対応するデータをCPU11
へ送り、CPU11によって記録媒体の傾き角度を検出
する。
The photoelectric conversion sensor 19 converts the reflected light from the recording medium into an electric signal, and the main scanning controller 13 converts the electric signal into image data for each line and stores it in the image memory 15. Also, the tilt sensor 2
The recording medium detection signal of the recording medium inserted by each sensor of 0 is sent to the tilt control unit 16, and the tilt control unit 16 sends data corresponding to the recording medium detection signal to the CPU 11
The CPU 11 detects the tilt angle of the recording medium.

【0026】つまり、CPU11は傾き制御部16を介
して傾きセンサ20を監視し、副走査制御部14によっ
て挿入された記録媒体が傾きセンサ20の各センサにさ
しかかると、記録媒体の傾きに対応するセンサが反応す
るので、その反応したセンサに対応するデータに基づい
て記録媒体の傾きの有無と傾き角度とを検出し、記録媒
体の傾きを走査前に検知する。
That is, the CPU 11 monitors the tilt sensor 20 via the tilt control unit 16, and when the recording medium inserted by the sub-scanning control unit 14 reaches each sensor of the tilt sensor 20, it corresponds to the tilt of the recording medium. Since the sensor reacts, the presence or absence of the inclination of the recording medium and the inclination angle are detected based on the data corresponding to the sensor that has reacted, and the inclination of the recording medium is detected before scanning.

【0027】さらに、CPU11によって記録媒体の傾
き角度を検出すると、主走査制御部13によって主走査
方向をその傾き角度と同じ角度に設定して画像読み取り
を行なう。つまり、記録媒体が挿入されてCPU11に
よってその傾き角度が検出されると、主走査制御部13
によって主走査方向を記録媒体の傾き角度と同じ角度に
設定して走査し、記録媒体の水平方向と画像入力部7に
おける主走査方向とのずれのないイメージデータを画像
用メモリ15に格納する。
Further, when the tilt angle of the recording medium is detected by the CPU 11, the main scanning control section 13 sets the main scanning direction to the same angle as the tilt angle and reads the image. That is, when the recording medium is inserted and the tilt angle is detected by the CPU 11, the main scanning control unit 13
The main scanning direction is set to the same angle as the tilt angle of the recording medium to perform scanning, and image data having no deviation between the horizontal direction of the recording medium and the main scanning direction in the image input unit 7 is stored in the image memory 15.

【0028】さらにまた、主走査制御部13によって主
走査方向をその傾き角度と同じ角度に設定して画像読み
取りを行なうと、CPU11によって主走査方向を傾け
て読み取ったイメージデータの傾きをライン毎に補正す
る。つまり、主走査制御部13によって主走査方向を記
録媒体の傾き角度と同じだけ傾けて読み取ったライン毎
のイメージデータの副走査方向を補正する。
Furthermore, when the main scanning control unit 13 sets the main scanning direction at the same angle as the tilt angle and reads an image, the CPU 11 tilts the main scanning direction and the tilt of the image data read is tilted line by line. to correct. That is, the main scanning control unit 13 corrects the sub-scanning direction of the image data for each line read by inclining the main scanning direction by the same angle as the tilt angle of the recording medium.

【0029】次に記録媒体(原稿)の画像読み取りにつ
いて説明する。図1は図3に示した画像入力部7の内部
の構造の概略を示す図であり、同図の(a)はその側面
図、同図の(b)はその上面図である。
Next, the image reading of the recording medium (original) will be described. 1A and 1B are diagrams showing the outline of the internal structure of the image input unit 7 shown in FIG. 3, in which FIG. 1A is a side view thereof, and FIG. 1B is a top view thereof.

【0030】画像入力部7の内部には、原稿台22に相
対して原稿の挿入口側から傾きセンサ20と光源18と
光電変換センサ19がそれぞれこの順番で所定の間隔を
持ち、且つ、その光源18の照射した光の反射光を受光
する位置に光電変換センサ19が配設されている。ま
た、傾きセンサ20は複数のフォトセンサがそれぞれ原
稿の傾き角度に対応する位置に、挿入口に対して円弧状
に配置されている。
Inside the image input unit 7, the tilt sensor 20, the light source 18, and the photoelectric conversion sensor 19 are arranged in this order at predetermined intervals from the document insertion port side relative to the document table 22, and their The photoelectric conversion sensor 19 is arranged at a position where the reflected light of the light emitted from the light source 18 is received. Further, in the tilt sensor 20, a plurality of photo sensors are arranged in an arc shape with respect to the insertion opening at positions corresponding to the tilt angle of the document.

【0031】まず、図示しない副走査方向に移動させる
機構によって、原稿STが挿入口から挿入され、原稿の
先端が傾き検出ポイントP1に到達すると、傾きセンサ
20が反応して原稿の傾きに応じた検出信号を出力す
る。この検出信号によって原稿の傾きが検出されたら、
その傾き角度だけ光源18と光電変換センサ19の主走
査方向を傾かせる。
First, when a document ST is inserted from the insertion opening by a mechanism (not shown) for moving in the sub-scanning direction and the leading edge of the document reaches the tilt detection point P1, the tilt sensor 20 reacts and responds to the tilt of the document. Output the detection signal. If the tilt of the document is detected by this detection signal,
The main scanning direction of the light source 18 and the photoelectric conversion sensor 19 is tilted by the tilt angle.

【0032】その後、さらに原稿を副走査方向に移動さ
せて画像入力ポイントP2に到達したら、光源18によ
って原稿の主走査方向に光を照射し、その原稿面からの
反射光を光電変換センサ19が受光して電気信号に変換
することにより、原稿上の文字情報の画像を1ライン毎
に読み取る。
After that, when the document is further moved in the sub-scanning direction and reaches the image input point P2, the light source 18 irradiates light in the main scanning direction of the document, and the photoelectric conversion sensor 19 reflects the light reflected from the document surface. By receiving the light and converting it into an electric signal, the image of the character information on the document is read line by line.

【0033】次に原稿の画像読み取りの処理について説
明する。図5はその処理を示すフローチャートである。
まず、オペレータによって画像の読み取りが開始される
と、記録媒体である原稿を副走査方向への動作によって
挿入しながら、傾きセンサが反応したか否かを判断し、
反応するまで原稿の挿入動作を行なう。
Next, the image reading process of the original will be described. FIG. 5 is a flowchart showing the processing.
First, when the image reading is started by the operator, it is determined whether or not the tilt sensor has reacted while inserting the document as the recording medium by the operation in the sub-scanning direction,
The document is inserted until it responds.

【0034】傾きセンサが反応したら、原稿の傾きとそ
の傾き角度を検知(検出)する処理を行ない、原稿に傾
きがあるか否かを判断して、傾きがなければそのまま原
稿に対する主走査方向の1ラインの画像の読み取りを行
なう。また、原稿に傾きがあれば既に検知された傾き角
度を基にして原稿の画像読み取りの際の主走査方向を傾
ける処理を行ない、副走査方向の動作によって原稿をさ
らに挿入し、原稿に対する主走査方向の1ラインの画像
の読み取りを行なう。
When the tilt sensor responds, a process for detecting (detecting) the tilt of the document and its tilt angle is performed, and it is determined whether the document is tilted. The image of one line is read. If the document is tilted, the process of tilting the main scanning direction when reading the image of the document is performed based on the already detected tilt angle, the document is further inserted by the operation in the sub-scanning direction, and the main scanning of the document is performed. The image of one line in the direction is read.

【0035】1ラインの画像の読み取りを行なったら、
先の検知による原稿に傾きがあるか否かを判断し、なけ
れば原稿を副走査方向に移動させる動作によってさらに
挿入し、原稿の画像の読み取り領域が終了したか否かを
判断する。一方、原稿に傾きがあれば主走査方向の読み
取った1ラインのイメージデータの傾きを補正する処理
を行ない、原稿を副走査方向に移動させる動作によって
さらに挿入し、原稿の画像の読み取り領域が終了したか
否かを判断する。
After reading the image of one line,
It is determined whether or not the document is tilted by the previous detection, and if not, the document is further inserted by the operation of moving in the sub-scanning direction, and it is determined whether or not the image reading area of the document is completed. On the other hand, if there is an inclination in the original, a process of correcting the inclination of the image data of one line read in the main scanning direction is performed, and the original is further inserted by the operation of moving the original in the sub-scanning direction, and the reading area of the image of the original ends. Judge whether or not.

【0036】そして、原稿の読み取り領域が終了しなけ
れば再び原稿に対する主走査方向の1ラインの画像の読
み取りを行なう処理に戻って、原稿の読み取り領域が終
了するまで原稿を副走査方向に移動させながら主走査方
向の1ライン毎の画像の読み取りを行ない、原稿の読み
取り領域が終了したらこの処理を終了する。
If the reading area of the original is not finished, the process returns to the process of reading the image of one line in the main scanning direction on the original again, and the original is moved in the sub-scanning direction until the reading area of the original is finished. However, the image is read line by line in the main scanning direction, and when the reading area of the document is finished, this process is finished.

【0037】次に原稿の傾き及びその傾き角度の検知に
ついて説明する。まず、図4に示した傾きセンサ20に
ついて説明する。図6はその傾きセンサ20の一構成例
を傾き制御部16と共に示す図である。この場合の傾き
センサ20は11個のセンサS1〜S11を備えてい
る。
Next, the detection of the inclination of the original and the inclination angle will be described. First, the tilt sensor 20 shown in FIG. 4 will be described. FIG. 6 is a diagram showing an example of the configuration of the tilt sensor 20 together with the tilt controller 16. The tilt sensor 20 in this case includes eleven sensors S1 to S11.

【0038】各センサS1〜S11は記録媒体の挿入方
向に直交する方向に対して円弧状に、それぞれ記録媒体
の傾き角度に対応する位置に配設されている。そして、
いずれかのセンサS1〜S11が記録媒体を検出すると
記録媒体検出信号を傾き制御部16へ送出する。
Each of the sensors S1 to S11 is arranged in an arc shape with respect to a direction orthogonal to the insertion direction of the recording medium, at positions corresponding to the inclination angle of the recording medium. And
When any of the sensors S1 to S11 detects the recording medium, a recording medium detection signal is sent to the tilt controller 16.

【0039】例えば、センサS6を記録媒体が傾き角度
0゜で挿入されたときの位置に、センサS5を記録媒体
が傾き角度+5゜で、つまり挿入方向の向かって右側に
傾き角度5゜で挿入されたときの位置に、センサS7を
記録媒体が傾き角度−5゜で、つまり挿入方向の向かっ
て左側に傾き角度5゜で挿入されたときの位置にそれぞ
れ配設する。
For example, the sensor S6 is inserted at a position when the recording medium is inserted at an inclination angle of 0 °, and the sensor S5 is inserted at an inclination angle of + 5 °, that is, the sensor S5 is inserted at the inclination angle of 5 ° to the right side in the inserting direction. The sensor S7 is arranged at the position when the recording medium is inserted at an inclination angle of −5 °, that is, at the position when the recording medium is inserted at the inclination angle of 5 ° to the left in the insertion direction.

【0040】同様にして、センサS4,S8をそれぞれ
記録媒体が傾き角度+10゜,−10゜で挿入されたと
きの位置に、センサS3,S9をそれぞれ記録媒体が傾
き角度+15゜,−15゜で挿入されたときの位置に、
センサS2,S10をそれぞれ記録媒体が傾き角度+2
0゜,−20゜で挿入されたときの位置に、センサS
1,S11をそれぞれ記録媒体が傾き角度+25゜,−
25゜で挿入されたときの位置に配設する。
Similarly, the sensors S4 and S8 are placed at the positions when the recording medium is inserted at inclination angles + 10 ° and -10 °, respectively, and the sensors S3 and S9 are inserted at the recording medium inclination angles + 15 ° and -15 °, respectively. At the position when it was inserted with
The recording mediums of the sensors S2 and S10 are tilted by +2
At the position when inserted at 0 ° and -20 °, the sensor S
1 and S11 are the recording medium tilt angles of + 25 ° and −, respectively.
Place it at the position when it was inserted at 25 °.

【0041】したがって、センサS6によって記録媒体
が検出されると、記録媒体の傾き角度は0゜であり、セ
ンサS2によって記録媒体が検出されると、記録媒体が
挿入方向の向かって左側に20゜傾いていることが検出
でき、センサS10によって記録媒体が検出されると、
記録媒体が挿入方向の向かって右側に20゜傾いている
ことが検出できる。
Therefore, when the recording medium is detected by the sensor S6, the inclination angle of the recording medium is 0 °, and when the recording medium is detected by the sensor S2, the recording medium is left 20 ° toward the insertion direction. When it is possible to detect that the recording medium is tilted and the recording medium is detected by the sensor S10,
It can be detected that the recording medium is tilted to the right by 20 ° in the insertion direction.

【0042】次にさらに原稿の傾き検出方法について説
明する。図7は原稿に傾きがない場合の説明図である。
まず、同図の(a)に示すように、傾きがない状態で原
稿STが挿入されて図中の破線枠の位置まで到達する
と、図中の丸枠23内を拡大した同図の(b)に示すよ
うに、傾きセンサ20のセンサS6が反応して検出信号
を出力する。このセンサS6は原稿の傾きが0゜に対応
するものであるから、その検出信号によって原稿の傾き
がないことを検出することができる。
Next, the method for detecting the inclination of the original will be described. FIG. 7 is an explanatory diagram when the original has no inclination.
First, as shown in (a) of the same figure, when the document ST is inserted and reaches the position of the broken line frame in the figure as shown in (b) of the figure, the circular frame 23 in the figure is enlarged. ), The sensor S6 of the tilt sensor 20 responds and outputs a detection signal. Since the sensor S6 corresponds to a document inclination of 0 °, it can be detected from the detection signal that the document is not inclined.

【0043】図8は原稿に傾きがある場合の説明図であ
る。まず、同図の(a)に示すように、例えば、原稿S
Tがある傾きをもって挿入されて図中の破線枠の位置ま
で到達すると、図中の丸枠24内を拡大した同図の
(b)に示すように、傾きセンサ20のセンサS7が反
応して検出信号を出力する。このセンサS7は原稿の傾
き角度が+5゜に対応するものであるから、その検出信
号によって原稿が挿入方向に向かって左側に5゜傾いて
いることを検出することができる。
FIG. 8 is an explanatory diagram when the original has an inclination. First, as shown in (a) of FIG.
When T is inserted with a certain inclination and reaches the position of the broken line frame in the drawing, the sensor S7 of the tilt sensor 20 reacts as shown in FIG. Output the detection signal. Since the sensor S7 corresponds to the document inclination angle of + 5 °, it is possible to detect from the detection signal that the document is inclined 5 ° leftward in the insertion direction.

【0044】次に上述した原稿の傾き検出方法の原理に
ついて説明する。図9はその説明図である。この原稿の
傾き検出方法は円とその円の接線との関係を利用したも
のであり、同図の(a)に示すように、円25とその中
心Oを通る基準線Lとが交わるポイントaを通る接線L
aは基準線Lとは垂直になり、この対応関係は1対1対
応である。
Next, the principle of the above-described document inclination detection method will be described. FIG. 9 is an explanatory diagram thereof. This document inclination detection method uses the relationship between a circle and a tangent to the circle, and as shown in FIG. 7A, a point a where the circle 25 and a reference line L passing through the center O intersect with each other. Tangent line L passing through
a becomes perpendicular to the reference line L, and this correspondence is one-to-one correspondence.

【0045】したがって、基準線Lの伸びる方向を原稿
の挿入方向に、接線Laを原稿の挿入側の端部に、ポイ
ントaをセンサの位置にそれぞれ置き換えれば、接線L
aが最初にポイントaに到達した場合は基準線Lに対し
て接線Laは垂直であり傾きがないことが検出できる。
Therefore, if the reference line L extends in the original insertion direction, the tangent line La is replaced by the end of the original insertion side, and the point a is replaced by the sensor position, the tangent line L is replaced.
When a first reaches the point a, it can be detected that the tangent line La is perpendicular to the reference line L and there is no inclination.

【0046】一方、図9の(b)に示すように、円25
のポイントbにおける接線Lbは基準線Lに対して所定
の角度に傾いており、その傾き角度は円25の中心Oか
ら接線Lbに伸ばした垂線Lcと基準線Lとの為す角度
Rで示すことができる。この角度Rは接線Lbが基準線
Lに対してなす角度と1対1対応の関係にある。
On the other hand, as shown in FIG. 9B, a circle 25
The tangent line Lb at the point b is inclined at a predetermined angle with respect to the reference line L, and the inclination angle is indicated by an angle R formed by the perpendicular line Lc extending from the center O of the circle 25 to the tangent line Lb and the reference line L. You can The angle R has a one-to-one correspondence with the angle formed by the tangent line Lb with respect to the reference line L.

【0047】したがって、接線Lbを原稿の挿入側の端
部に、ポイントbをセンサの位置にそれぞれ置き換えれ
ば、原稿の挿入側の端部が最初にポイントbに到達した
場合には原稿の挿入方向に対して原稿の端部が角度Rに
傾いていることを検出することができる。
Therefore, if the tangent line Lb is replaced with the end of the document on the insertion side and the point b is replaced with the position of the sensor, when the end on the insertion side of the document first reaches the point b, the insertion direction of the document is changed. On the other hand, it can be detected that the edge of the document is inclined at the angle R.

【0048】次に原稿の傾き及びその傾き角度の検知処
理について説明する。図10はその処理を示すフローチ
ャートである。まず、原稿の用紙が挿入されると、CP
U11によって方向き制御部16を通じて傾きセンサ2
0の反応を監視し、傾きセンサ20の各センサのいずれ
かが反応したか否かを判断して、反応するまで傾きセン
サ20の監視を続ける。
Next, the process of detecting the inclination of the original and the inclination angle will be described. FIG. 10 is a flowchart showing the processing. First, when the original paper is inserted, the CP
The tilt sensor 2 through the direction control unit 16 by U11
The response of 0 is monitored, it is judged whether or not any of the sensors of the tilt sensor 20 has reacted, and the tilt sensor 20 is continuously monitored until it responds.

【0049】そのいずれかのセンサが反応したら、CP
U11によって傾き制御部16を通じていずれの反応セ
ンサであるかを識別し、その識別された反応センサに対
応する傾き角度を認知(検出)して、この処理を終了す
る。
When either of the sensors responds, CP
U11 identifies which reaction sensor it is through the tilt control unit 16, recognizes (detects) the tilt angle corresponding to the identified reaction sensor, and ends this processing.

【0050】次に原稿の画像を読み取るときに主走査方
向を傾ける傾き設定について説明する。図11はその説
明図である。同図の(a)に示すように、原稿STが挿
入方向に対して傾いていない場合は、図中に破線枠で示
すように、副走査方向に原稿STが移動しても主走査ラ
イン26をそのままにして原稿STの画像を読み取れば
よい。
Next, the tilt setting for tilting the main scanning direction when reading the image of the original will be described. FIG. 11 is an explanatory diagram thereof. When the document ST is not tilted with respect to the insertion direction as shown in (a) of the figure, the main scanning line 26 is moved even if the document ST moves in the sub-scanning direction, as indicated by a broken line frame in the figure. It is sufficient to read the image of the document ST while keeping the above.

【0051】一方、図11の(b)に示すように、原稿
STが挿入方向に対して傾き角度Rだけ傾いて挿入され
た場合は、主走査ライン26を図中に破線枠で示す主走
査ライン27まで傾ける。つまり、主走査ライン26を
傾き角度R′まで傾けて原稿STに正対するようにす
る。
On the other hand, as shown in FIG. 11B, when the document ST is inserted with an inclination angle R with respect to the insertion direction, the main scanning line 26 is indicated by a broken line frame in the drawing. Tilt to line 27. That is, the main scanning line 26 is tilted to the tilt angle R ′ so as to face the document ST.

【0052】そして、原稿STを副走査方向に移動させ
て主走査ライン27によって原稿のSTの画像を読み取
る。したがって、その画像の読み取りによって原稿ST
の水平方向と画像入力部7における主走査方向のずれの
ないイメージデータを格納することができる。
Then, the document ST is moved in the sub-scanning direction, and the image of the document ST is read by the main scanning line 27. Therefore, by reading the image, the original ST
It is possible to store image data having no deviation between the horizontal direction and the main scanning direction in the image input unit 7.

【0053】次に原稿の画像を読み取るときに主走査方
向を傾ける傾き設定の処理について説明する。図12は
その処理を示すフローチャートである。まず、オペレー
タによって原稿の読み取が開始されると、原稿の傾きを
検出し、傾きがあるか否かを判断して、傾いていなけれ
ばそのまま原稿の画像の読み取りを開始してこの処理を
終了する。一方、原稿に傾きがあった場合は、その傾き
角度と同じ角度に主走査を傾けて原稿の画像の読み取り
を開始してこの処理を終了する。
Next, a description will be given of the inclination setting process for inclining the main scanning direction when reading the image of the original. FIG. 12 is a flowchart showing the processing. First, when the operator starts reading the original, the inclination of the original is detected, it is determined whether the original is tilted, and if the original is not tilted, the reading of the image of the original is started as it is and the processing is terminated. . On the other hand, if the document is tilted, the main scanning is tilted at the same angle as the tilt angle, the reading of the image of the document is started, and the process is ended.

【0054】次に上述のようにして原稿から読み取った
画像のイメージデータの傾き補正について説明する。図
13は原稿から読み取られた画像のイメージデータの画
像用メモリ15における展開例を示す図である。傾きの
ない原稿の画像を読み取った場合、同図の(a)に示す
ように、画像用メモリエリア28内に傾きのない原稿か
ら読み取られたイメージデータ28が格納される。
Next, the inclination correction of the image data of the image read from the original as described above will be described. FIG. 13 is a diagram showing an example of development of image data of an image read from a document in the image memory 15. When an image of a document without tilt is read, image data 28 read from the document without tilt is stored in the image memory area 28, as shown in FIG.

【0055】一方、傾いた状態の原稿の画像を読み取っ
た場合、図13の(b)に示すように、画像用メモリエ
リア28内に傾きのない原稿から読み取られたイメージ
データ30が格納され、そのイメージデータ30は原稿
の傾き角度R″と同じ傾き角度で格納される。そこで、
イメージデータ30の副走査方向の傾きを補正する。
On the other hand, when an image of a document in a tilted state is read, as shown in FIG. 13B, the image data 30 read from the document without a tilt is stored in the image memory area 28. The image data 30 is stored at the same inclination angle as the original inclination angle R ″.
The inclination of the image data 30 in the sub-scanning direction is corrected.

【0056】図14は原稿から読み取った画像のイメー
ジデータの傾き補正方法の説明図である。これは、画像
用メモリ15内に格納された傾き角度Rで読み取られた
原稿の複数のライン毎のイメージデータNであり、例え
ば、ラインNbの副走査方向の補正をする場合、まず、
ラインNbまでのライン数Mと、原稿が傾いていたこと
によってラインNbに生じたずれの距離であるポイント
B−B′間のドット数とを求める。
FIG. 14 is an explanatory diagram of a method for correcting inclination of image data of an image read from a document. This is the image data N for each of a plurality of lines of the document read at the tilt angle R stored in the image memory 15, and for example, when correcting the line Nb in the sub-scanning direction, first,
The number M of lines up to the line Nb and the number of dots between points BB ′, which is the distance of deviation caused on the line Nb due to the document being tilted, are obtained.

【0057】そのポイントB−B′間のドット(ビッ
ト)数Xは、X=M×tanRで求められる。そして、
原稿から読み取られたラインNbのイメージデータを主
走査方向にXドットずらして補正する。同様にして、各
ラインNについても、その読み取った後にそれぞれのず
れを算出し、そのずれを補正して格納する。
The number X of dots (bits) between the points B and B'is obtained by X = M × tanR. And
The image data of line Nb read from the document is corrected by shifting X dots in the main scanning direction. Similarly, for each line N, the deviation is calculated after the reading, and the deviation is corrected and stored.

【0058】このようにして、原稿の主走査時にはライ
ン毎に傾き角度と副走査ライン数より補正値Xを計算
し、その補正値Xよって読み取ったラインのイメージデ
ータのずれを補正しする。この際、制御プログラムをラ
イン毎に傾き角度と副走査ライン数による補正値の計算
をして補正を実施しながら主走査を行なうように設定す
る。
In this way, the correction value X is calculated from the tilt angle and the number of sub-scanning lines for each line during the main scanning of the document, and the correction value X corrects the deviation of the image data of the read line. At this time, the control program is set to perform main scanning while performing correction by calculating a correction value based on the tilt angle and the number of sub-scanning lines for each line.

【0059】次に原稿から読み取った画像のイメージデ
ータの傾き補正処理について説明する。図15はその処
理を示すフローチャートである。まず、原稿の傾き角度
Rを求め、原稿から読み取った画像の主走査方向のライ
ン数Mを求めると、補正値計算式X=M×tanRによ
ってライン毎の補正値Xを算出する。
Next, the inclination correction processing of the image data of the image read from the original will be described. FIG. 15 is a flowchart showing the processing. First, the inclination angle R of the document is obtained, and the number of lines M in the main scanning direction of the image read from the document is obtained. Then, the correction value X for each line is calculated by the correction value calculation formula X = M × tanR.

【0060】その後、原稿の傾きは挿入方向に対して右
側と左側のいずれであるかを、つまり、傾き角度が
「+」と「−」のいずれであるかを判断して、「+」な
ら原稿の読み取りイメージデータを右側にXビットシフ
トさせ、また、「−」なら原稿の読み取りイメージデー
タを左側にXビットシフトさせてこの処理を終了する。
After that, it is judged whether the inclination of the document is on the right side or the left side with respect to the inserting direction, that is, whether the inclination angle is "+" or "-", and if it is "+". The read image data of the original is shifted to the right by X bits, and if "-", the read image data of the original is shifted to the left by X bits, and this processing is ended.

【0061】したがって、原稿が挿入されてその傾きが
検出され、主走査方向を原稿の傾き角度と同じ角度に傾
かせて読み取りを開始し、その主走査毎のイメージデー
タを画像用メモリ15に格納する。この時点では画像用
メモリ15の各ラインのイメージデータは原稿の傾き角
度に応じて副走査方向にずれて格納されている。
Therefore, the document is inserted and its inclination is detected, the main scanning direction is inclined at the same angle as the inclination angle of the original to start reading, and the image data for each main scanning is stored in the image memory 15. To do. At this time, the image data of each line of the image memory 15 is stored with being shifted in the sub-scanning direction according to the inclination angle of the document.

【0062】そして、各ラインのイメージデータを上述
した補正処理によって補正すると、画像用メモリ15に
は読み取った画像のイメージデータが副走査方向にずれ
のない状態で格納されることになる。
When the image data of each line is corrected by the above-described correction processing, the image data of the read image is stored in the image memory 15 without any deviation in the sub-scanning direction.

【0063】次に原稿の傾きを検出した際の通知手段に
ついて説明する。図16は図4に示した傾き制御部16
に原稿の傾きを通知する手段を設けたときの構成を示す
図であり、必要な部分以外は省略している。この場合、
傾き制御部16に警告ランプ31を設けており、CPU
11によって原稿の傾きを検出したときには傾き制御部
16を介して警告ランプ31を点灯させ、オペレータに
原稿が傾いていることを通知する。
Next, the notification means when the inclination of the original is detected will be described. FIG. 16 shows the tilt controller 16 shown in FIG.
FIG. 3 is a diagram showing a configuration when a means for notifying the inclination of the document is provided, and the necessary parts are omitted. in this case,
The tilt control unit 16 is provided with a warning lamp 31,
When the tilt of the document is detected by 11, the warning lamp 31 is turned on via the tilt control unit 16 to notify the operator that the document is tilted.

【0064】図17は原稿の傾きを通知するときの処理
を示すフローチャートである。まず、挿入された原稿に
傾きがあるか否かを判断して、傾きがなければ画像の読
み取りを開始してこの処理を終了する。また、原稿に傾
きがあれば予め設定された基準値を基にしてその傾きが
大きいか小さいかを判断して、大きいときには原稿の読
み込みを停止した後に警告ランプを点灯して、その原稿
を排出してこの処理を終了する。
FIG. 17 is a flow chart showing the processing for notifying the inclination of the document. First, it is determined whether or not the inserted document has a tilt, and if there is no tilt, image reading is started and this process ends. If the original is skewed, it is judged whether the inclination is large or small based on the preset reference value. If it is large, the reading of the original is stopped, the warning lamp is turned on, and the original is ejected. Then, this process ends.

【0065】一方、原稿の傾きが小さいときには、原稿
の画像の読み取りの主走査方向を原稿の傾き角度だけ傾
かせて読み取りを開始し、その読み取った画像の副走査
方向の傾きを補正してこの処理を終了する。このよう
に、原稿の傾きが大きい場合には読み取った画像を補正
しても不完全な場合が多いので、改めて読み取りを行な
えば文字認識の際に誤認識を防止することができる。
On the other hand, when the inclination of the original is small, the main scanning direction of reading the image of the original is tilted by the inclination angle of the original to start the reading, and the inclination of the read image in the sub-scanning direction is corrected. The process ends. As described above, when the document is largely tilted, the read image is often incomplete even if the read image is corrected. Therefore, if the document is read again, it is possible to prevent erroneous recognition during character recognition.

【0066】なお、上述した実施例では原稿の傾きを警
告ランプで通知する場合を説明したが、原稿の傾きを検
出したときに音声等の他の通知手段を用いるようにして
も良い。
In the above-described embodiment, the case where the inclination of the document is notified by the warning lamp has been described, but other notification means such as voice may be used when the inclination of the document is detected.

【0067】このようにして、原稿の画像の読み取り時
の傾き発生を読み取り前の段階にて効率的に検出し、原
稿の傾きが検出された時には、その傾き角度に傾けた主
走査方向で画像を読み取ると共にその傾き補正を行なう
ことができる。また、原稿の傾きの小さい画像のイメー
ジデータによる文字認識処理ができ、読み取り後の傾き
検出及び傾き補正処理を不要にすることによって、文字
認識率を高精度に且つ高速で行なえる。
In this way, the occurrence of tilt when the image of the original is read is efficiently detected before the reading, and when the tilt of the original is detected, the image is tilted at the tilt angle in the main scanning direction. Can be read and its inclination can be corrected. Further, the character recognition processing can be performed by the image data of the image of the original having a small inclination, and the inclination detection and the inclination correction processing after the reading are unnecessary, so that the character recognition rate can be performed with high accuracy and at high speed.

【0068】次にこの実施例の文字認識装置の効果を列
挙する。 (1)原稿の挿入方向に複数のセンサを円弧状に配置し
た傾き検出センサによって原稿の先端部で傾きを検出す
るだけでなく、その傾き角度まで即座に検出することが
できる。また、原稿の読み取り走査をする前に原稿の傾
き検出を実施するので、原稿の画像入力時には走査と同
時に傾き補正が可能になり、画像入力及び傾き補正処理
に要する時間を短縮することができる。
Next, the effects of the character recognition device of this embodiment will be listed. (1) Not only the tilt can be detected at the front end of the document by the tilt detection sensor in which a plurality of sensors are arranged in an arc shape in the document insertion direction, but also the tilt angle can be immediately detected. Further, since the inclination of the original is detected before the scanning of reading the original, the inclination can be corrected simultaneously with the scanning when the image of the original is input, and the time required for the image input and the inclination correction processing can be shortened.

【0069】(2)原稿の傾き角度と同じ角度に主走査
方向を傾けることにより、原稿の傾きに対して主走査方
向の補正が画像入力と同時に可能になり、画像入力及び
傾き補正処理に要する時間を短縮することができる。
(2) By tilting the main scanning direction at the same angle as the tilt angle of the document, correction of the tilt of the document in the main scanning direction can be performed simultaneously with image input, which is necessary for image input and tilt correction processing. The time can be shortened.

【0070】(3)事前に傾き検知済みの原稿の傾き角
度を用いて原稿を副走査させながら主走査方向の傾き補
正を実施することができ、画像入力及び傾き補正処理に
要する時間を短縮することができるだけでなく、傾きの
ないイメージデータを文字認識に使用することによっ
て、文字認識率を向上させることができる。
(3) Tilt correction in the main scanning direction can be performed while the document is sub-scanned using the tilt angle of the document whose tilt has been detected in advance, and the time required for image input and tilt correction processing can be shortened. In addition to that, the character recognition rate can be improved by using the image data without inclination for character recognition.

【0071】(4)事前に傾き検知済みの原稿の傾き角
度を用いて、その傾き角度が大きい場合にはオペレータ
に通知し、その場で再度原稿を挿入し直して認識処理を
行なわせることができる。したがって、傾きの小さい原
稿のみを文字認識装置によって読み取らせて傾き補正の
精度及び処理効率を向上させることができ、文字認識率
も向上させることができる。
(4) It is possible to use the tilt angle of the document whose tilt has been detected in advance, notify the operator when the tilt angle is large, and insert the document again on the spot to perform the recognition process. it can. Therefore, it is possible to improve the accuracy and processing efficiency of the inclination correction by causing only the original having a small inclination to be read by the character recognition device, and it is also possible to improve the character recognition rate.

【0072】次にこの発明による文字認識装置の他の実
施例について説明する。図18はこの実施例における文
字認識装置の機能構成をその文字認識装置が接続されて
いるシステム装置と共に示すブロック図であり、このデ
ータ処理装置は、文字認識装置3がキーボードインタフ
ェース(I/F)ケーブル32を介して、文書作成機能
やデータ処理機能等を備えたシステム装置33に接続さ
れている。
Next, another embodiment of the character recognition device according to the present invention will be described. FIG. 18 is a block diagram showing the functional configuration of the character recognition device in this embodiment together with the system device to which the character recognition device is connected. In this data processing device, the character recognition device 3 has a keyboard interface (I / F). It is connected via a cable 32 to a system device 33 having a document creating function, a data processing function and the like.

【0073】そして、文字認識装置3が挿入口から挿入
される原稿上に印刷又は手書きされた文字,数字,記号
等の文字情報を光学的に読み取って、それをキーボード
信号に変換処理する機能を持ち、原稿から読み取った文
字情報に対応するキーボード信号をシステム装置33へ
出力することができる。
The character recognition device 3 has a function of optically reading character information such as characters, numbers and symbols printed or handwritten on a document inserted through the insertion opening and converting it into a keyboard signal. A keyboard signal corresponding to the character information read from the original document can be output to the system device 33.

【0074】その文字認識装置3は、画像入力部7,文
字認識部9,キーボード操作コード作成部36,キーボ
ード操作コード作成情報格納部37,キーボード信号作
成部38,キーボード信号作成情報格納部39,及びキ
ーボード信号出力部40の各機能を備えている。
The character recognition device 3 includes an image input section 7, a character recognition section 9, a keyboard operation code creation section 36, a keyboard operation code creation information storage section 37, a keyboard signal creation section 38, a keyboard signal creation information storage section 39, Also, each function of the keyboard signal output unit 40 is provided.

【0075】画像入力部7は、原稿に印刷又は手書きさ
れた文字,数字,記号等の文字情報の画像を光学的に読
み取り、その情報を二値化して文字認識部5へ送る。そ
の画像読み取りの際に原稿の傾きを検出し、その傾き角
度に主走査方向を傾けて読み取りを開始し、その読み取
った画像の副走査方向のずれを補正した後に文字認識部
5へ送出する。
The image input unit 7 optically reads an image of character information such as characters, numbers and symbols printed or handwritten on an original, binarizes the information and sends it to the character recognition unit 5. When the image is read, the inclination of the document is detected, the main scanning direction is inclined to the inclination angle to start the reading, and the deviation of the read image in the sub scanning direction is corrected and then sent to the character recognition unit 5.

【0076】文字認識部9は、OCRによって画像入力
部7から受け取った二値化された情報から文字情報部分
のドットパターンを抽出し、そのドットパターンより文
字情報認識処理を行ない、その認識コードをキーボード
操作コード作成部36へ送出する。
The character recognition unit 9 extracts the dot pattern of the character information portion from the binarized information received from the image input unit 7 by OCR, performs character information recognition processing from the dot pattern, and outputs the recognition code. It is sent to the keyboard operation code creation unit 36.

【0077】キーボード操作コード作成部36は、キー
ボード操作コード作成情報格納部37に格納されている
情報を基にして、文字認識部9から送られた認識コード
をキーボード操作コード(キー操作に対応するコード)
に変換してキーボード信号作成部38へ送る。
The keyboard operation code creation unit 36 uses the information stored in the keyboard operation code creation information storage unit 37 to recognize the recognition code sent from the character recognition unit 9 as a keyboard operation code (corresponding to a key operation. code)
And is sent to the keyboard signal creation unit 38.

【0078】キーボード操作コード作成情報格納部37
は、キーボード操作コード作成部36が参照する情報を
テーブル形式で格納しており、文字認識部35で認識で
きる文字,数字,記号等の全ての文字情報に対して、そ
れらの認識コードをインデックスとして対応させたキー
ボード操作コードが登録してある。
Keyboard operation code creation information storage unit 37
Stores the information referenced by the keyboard operation code creation unit 36 in a table format, and for all character information such as characters, numbers, and symbols that can be recognized by the character recognition unit 35, those recognition codes are used as indexes. The corresponding keyboard operation code is registered.

【0079】キーボード信号作成部38は、キーボード
操作コード作成部36から送られたキーボード操作コー
ドを、キーボード信号作成情報格納部39に格納されて
いる情報を基にしてキーボード信号(キーボード上のキ
ー押下時のキーコード及びそのオン・オフ信号に相当す
る)に変換してキーボード信号出力部40へ送る。
The keyboard signal creation unit 38 uses the keyboard operation code sent from the keyboard operation code creation unit 36 based on the information stored in the keyboard signal creation information storage unit 39 to input a keyboard signal (key depression on the keyboard). (Corresponding to the time key code and its ON / OFF signal) and sends it to the keyboard signal output unit 40.

【0080】キーボード信号作成情報格納部39は、キ
ーボード信号作成部38が参照する情報を格納してお
り、キーボード上の各キーボード操作コード(1キー入
力)に対応するそれぞれのキーボード信号データがテー
ブル形式で登録してある。
The keyboard signal creation information storage unit 39 stores information referred to by the keyboard signal creation unit 38, and each keyboard signal data corresponding to each keyboard operation code (1 key input) on the keyboard is in a table format. Registered at.

【0081】このキーボード信号データとは、例えば、
キーボードからシステム装置に対して文字「A」を入力
した場合、キーボードからはシステム装置に対してキー
ボード上のキー配列における文字「A」の物理的な位置
(キーコード)と共に、そのキーが押されたこと(オ
ン)と離されたこと(オフ)を示すデータを通知してお
り、キーボード上の各キー単位に決められているキー押
下及び押下解除に関する通知情報をいう。
The keyboard signal data is, for example,
When the character "A" is input to the system unit from the keyboard, the keyboard is pressed to the system unit together with the physical position (key code) of the character "A" in the keyboard layout on the keyboard. Data indicating that the key is pressed (on) and released (off) is notified, and is the notification information regarding key press and key release determined for each key on the keyboard.

【0082】キーボード信号出力部40は、システム装
置33とキーボード間のデータの遣り取りを行なうキー
ボードI/Fケーブル32を介して、キーボード信号作
成部38から受け取ったキーボード信号データをシステ
ム装置33へ出力する。
The keyboard signal output section 40 outputs the keyboard signal data received from the keyboard signal creating section 38 to the system unit 33 via the keyboard I / F cable 32 for exchanging data between the system unit 33 and the keyboard. .

【0083】図19はキーボード操作コード作成情報の
格納フォーマットの一例を示す図、図20はキーボード
信号作成情報の格納フォーマットの一例を示す図であ
る。キーボード操作コード作成情報は、認識用データと
キーボード操作データからなり、認識用データはキーボ
ード上の各キーに対応する文字や記号等の情報(例え
ば、「0」「A」「ア」等)であり、キーボード操作デ
ータは、それらの各情報を入力するためのキーボード操
作の情報である。
FIG. 19 is a diagram showing an example of a storage format of keyboard operation code creation information, and FIG. 20 is a diagram showing an example of a storage format of keyboard signal creation information. The keyboard operation code creation information is composed of recognition data and keyboard operation data. The recognition data is information such as characters and symbols corresponding to each key on the keyboard (for example, "0""A""A" etc.). Yes, the keyboard operation data is information on keyboard operation for inputting each of those pieces of information.

【0084】例えば、認識用データ「0」に対応する
‘0’を入力するキーボード操作データは、操作データ
制御情報としてキー操作数=2(2回のキー操作が必要
であることをしめす)と、‘英数’キーの操作を示すキ
ーボード信号作成情報で‘英数’キーを指すポインタ
と、‘0’キーの操作を示すキーボード信号作成情報で
‘0’キーを指すポインタとからなる。
For example, the keyboard operation data for inputting "0" corresponding to the recognition data "0" has the number of key operations = 2 (indicating that two key operations are required) as operation data control information. , A pointer pointing to the "alphanumeric" key in the keyboard signal creation information indicating the operation of the "alphanumeric" key and a pointer pointing to the "0" key in the keyboard signal creation information indicating the operation of the "0" key.

【0085】また、認識用データ「ア」に対応する
‘ア’を入力するキーボード操作データは、操作データ
制御情報としてキー操作数=2と、‘カタカナ’キーの
操作を示すキーボード信号作成情報で‘カタカナ’キー
を指すポインタと、‘3’キーの操作を示すキーボード
信号作成情報で‘3’キーを示すポインタ(‘ア’のキ
ーは‘3’のキーを兼用しているので)とからなる。
Further, the keyboard operation data for inputting "A" corresponding to the recognition data "A" is key operation number = 2 as operation data control information and keyboard signal generation information indicating operation of the "Katakana" key. From the pointer that points to the "Katakana" key and the pointer that points to the "3" key in the keyboard signal creation information that indicates the operation of the "3" key (since the "A" key also serves as the "3" key) Become.

【0086】また、キーボード信号作成情報は、図20
に示すように各キーの押下時と解放時のキーボード信号
からなる。
The keyboard signal creation information is shown in FIG.
As shown in, it consists of keyboard signals when each key is pressed and released.

【0087】次に図18に示した文字認識装置3の各部
間の作用について説明する。まず、文字認識部9は認識
した文字に対する結果としてキーボード操作コード作成
情報格納部37内にある該当文字に対応したキーボード
操作データを指すポインタを出力する。
Next, the operation between the respective parts of the character recognition device 3 shown in FIG. 18 will be described. First, the character recognition unit 9 outputs a pointer pointing to keyboard operation data corresponding to the corresponding character in the keyboard operation code creation information storage unit 37 as a result of the recognized character.

【0088】このキーボード操作データは、図21に示
したように操作データ制御情報としてのキー操作数と、
操作データとしてのキーの操作情報を持ち、そのキー操
作数とは認識した文字を実際にキーボードから入力する
場合のキー操作回数であり、操作データとは入力操作手
順に相当し、キーの操作(入力キーの種類)を入力順に
キー操作数だけ並べてある。また、キーの操作情報に
は、キーボード信号作成情報格納部39に格納されてい
る該当キーを指すポインタが設定されている。
This keyboard operation data includes the number of key operations as operation data control information, as shown in FIG.
It has key operation information as operation data, and the number of key operations is the number of key operations when the recognized character is actually input from the keyboard, and the operation data corresponds to the input operation procedure. Input key types) are arranged in the order of input by the number of key operations. A pointer pointing to the corresponding key stored in the keyboard signal creation information storage unit 39 is set in the key operation information.

【0089】キーボード操作コード作成部36は、文字
認識部9からポインタを受け取ると、そのポインタに対
応すキー操作数と操作データとを取り出し、キー操作数
だけ操作データから順にキーの操作情報(キーボード信
号作成情報へのポインタ)を入力してキーボード信号作
成部38へ出力する。
Upon receiving the pointer from the character recognizing unit 9, the keyboard operation code creating unit 36 extracts the number of key operations and the operation data corresponding to the pointer, and the key operation information (keyboard operation information for the number of key operations) (keyboard A pointer to signal creation information) is input and output to the keyboard signal creation unit 38.

【0090】キーボード信号作成部38は、キーボード
操作コード作成部36からのポインタによって該当する
キーのコードとその押下及び解放を示すキーボード信号
を順次キーボード信号出力部40へ出力する。そして、
キーボード信号出力部40は、キーボードI/Fケーブ
ル32を介してシステム装置33へそのキーボード信号
を出力する。
The keyboard signal generation unit 38 sequentially outputs the code of the corresponding key and the keyboard signal indicating the pressing and releasing of the key to the keyboard signal output unit 40 by the pointer from the keyboard operation code generation unit 36. And
The keyboard signal output unit 40 outputs the keyboard signal to the system device 33 via the keyboard I / F cable 32.

【0091】次に図22のフローチャートによって文字
認識装置3による文字情報入力の処理について説明す
る。まず、画像入力部4によって原稿上の文字情報入力
処理を行なう。この際、画像読み取り前に原稿に傾きが
あるか否かを検出し、傾いていた場合はその傾き角度だ
け主走査方向を傾けて画像読み取りを行ない、その読み
取られた画像のイメージデータの副走査方向のずれを補
正する。
Next, the process of inputting character information by the character recognition device 3 will be described with reference to the flowchart of FIG. First, the image input unit 4 performs a character information input process on a document. At this time, it is detected whether or not the document is tilted before the image is read. If the document is tilted, the main scanning direction is tilted by the tilt angle to read the image, and the image data of the read image is sub-scanned. Correct the deviation in direction.

【0092】その読み取った画像のイメージデータを文
字認識部5へ送り、文字認識部5はそのイメージデータ
から文字情報部分のドットパターンを抽出して文字情報
の認識処理を行なってキーボード操作コード作成部36
に認識された文字情報のポインタを送る。
The image data of the read image is sent to the character recognizing unit 5, and the character recognizing unit 5 extracts the dot pattern of the character information portion from the image data and performs the character information recognizing process to generate the keyboard operation code creating unit. 36
The pointer of the recognized character information is sent to.

【0093】そのポインタを受け取ったキーボード操作
コード作成部36は、そのポインタの指す該当データを
キーボード作成コード情報からキー操作数Ktを得て、
キーの操作の取り出し数Knを“0”に設定する。この
キー操作数Ktとキーの操作の取り出し数Knを比較し
て、等しければ入力完了か否かを判断してYESなら終
了するが、NOなら再び画像入力部7による文字情報入
力処理を繰り返す。
Upon receiving the pointer, the keyboard operation code creating section 36 obtains the number of key operations Kt of the corresponding data pointed to by the pointer from the keyboard creating code information,
The number Kn of key operations taken out is set to "0". The key operation number Kt is compared with the key operation extraction number Kn, and if they are equal, it is judged whether or not the input is completed. If YES, the process ends. If NO, the character information input process by the image input unit 7 is repeated again.

【0094】一方、KtとKnが等しくなければ、キー
ボード信号作成部38によってKnに1を加算して操作
データからKn番目のキーの操作を得て、それが指すポ
インタでキーボード信号作成情報から押下時キーボード
信号を得て、キーボード信号出力部40によってキーボ
ード信号を出力する。
On the other hand, if Kt and Kn are not equal, 1 is added to Kn by the keyboard signal creating section 38 to obtain the operation of the Kn-th key from the operation data, and the pointer pointed to is pressed from the keyboard signal creation information. When the keyboard signal is obtained, the keyboard signal output unit 40 outputs the keyboard signal.

【0095】さらに、Kn番目のキーの操作が指すポイ
ンタでキーボード信号作成情報から解放時キーボード信
号を得て、キーボード信号出力部40によって出力する
と、KtとKnを比較する処理に戻り、KtとKnが等
しくなるまでその処理を繰り返す。
Further, when the release-time keyboard signal is obtained from the keyboard signal generation information by the pointer pointed to by the operation of the Kn-th key and output by the keyboard signal output unit 40, the process returns to the process of comparing Kt and Kn, and Kt and Kn. The process is repeated until is equal.

【0096】次に図23のブロック図によってさらにこ
の文字認識装置3における実際の文字情報入力の処理例
について説明する。ここではカタカナ「ア」を入力する
場合について説明する。画像入力部7が原稿に記入され
たカタカナ「ア」を読み取って文字認識部9へ送ると、
その文字認識部9はカタカナ「ア」を認識してキーボー
ド操作作成情報の認識用データ「ア」を指すポインタを
キーボード操作コード作成部6へ送る。
Next, with reference to the block diagram of FIG. 23, a processing example of actual character information input in the character recognition device 3 will be further described. Here, the case of inputting the katakana "A" will be described. When the image input unit 7 reads the katakana “A” written on the manuscript and sends it to the character recognition unit 9,
The character recognition unit 9 recognizes the katakana “A” and sends a pointer pointing to the recognition data “A” of the keyboard operation creation information to the keyboard operation code creation unit 6.

【0097】すると、キーボード操作コード作成部36
は、キーボード操作コード作成情報格納部37に格納さ
れている情報中の認識用データ「ア」に対応するキーボ
ード操作データとしてキーの操作回数のデータも含ん
で、‘カタカナ’キーの操作及び‘3’キーの操作のポ
インタをキーボード信号作成部38へ送る。
Then, the keyboard operation code creating section 36
Includes the data of the number of times the key is operated as the keyboard operation data corresponding to the recognition data "A" in the information stored in the keyboard operation code creation information storage unit 37. The pointer for key operation is sent to the keyboard signal creation unit 38.

【0098】キーボード信号作成部38では、そのポイ
ンタによってキーボード信号作成情報格納部39に格納
されている情報内の‘カタカナ’キー押下時のキーボー
ド信号と‘カタカナ’キー解放時のキーボード信号、及
び‘3’キー押下時のキーボード信号と‘3’キー解放
時のキーボード信号をキーボード信号出力部40へ出力
する。
In the keyboard signal creation unit 38, the keyboard signal when the "Katakana" key is pressed, the keyboard signal when the "Katakana" key is released, and "" in the information stored in the keyboard signal creation information storage unit 39 by the pointer. The keyboard signal when the 3'key is pressed and the keyboard signal when the 3'key is released are output to the keyboard signal output unit 40.

【0099】このようにして、キー入力以外の手段によ
って入力された文字,数字,記号等の文字情報をあたか
もキーボードからキー入力されたかのようにキーボード
信号でシステム装置に出力する。したがって、システム
装置はキーボード以外からの入力情報もキーボードから
のキー操作入力と同じデータとして処理することができ
る。
In this way, character information such as characters, numbers and symbols input by means other than key input is output to the system unit as a keyboard signal as if the key input was made from the keyboard. Therefore, the system unit can process the input information from other than the keyboard as the same data as the key operation input from the keyboard.

【0100】以下この実施例の文字認識装置における効
果を列挙する。まず、マン−マシンインタフェースの向
上に関するものとして、 (1)キー配列を覚えなくてもよいので入力が容易にな
る。 (2)キー操作の熟練が不要になる。
The effects of the character recognition device of this embodiment will be listed below. First of all, as to the improvement of the man-machine interface, (1) it is not necessary to remember the key arrangement, so that the input becomes easy. (2) The skill of key operation becomes unnecessary.

【0101】(3)不慣れなキーボードを使用しなくて
も、手書き入力等によって文字,数字,及び記号だけで
なく、各種の制御情報(例えば、半角,倍角,改行,改
頁,変換等)をも、文字の組み合わせや記号,マーク等
によって素早く入力することができる。
(3) Not only characters, numbers, and symbols but also various control information (for example, half-width, double-width, line feed, page break, conversion, etc.) can be input by handwriting without using an unfamiliar keyboard. Can also be entered quickly by combining letters, symbols, marks, etc.

【0102】(4)文字等を間違えて入力しない限り誤
入力の恐れがない。 (5)日常使用する業務プログラムの起動のように、一
連の操作情報を印刷したカードを読み取らせることによ
って装置を起動させるような定形入力操作を容易に行な
える。 (6)障害者でも容易に文字等の入力を行なえるように
なる。
(4) There is no risk of erroneous input unless the character or the like is input by mistake. (5) It is possible to easily perform a fixed input operation such as activating a device by reading a card on which a series of operation information is printed, like activating a business program that is used daily. (6) Even persons with disabilities can easily input characters and the like.

【0103】また、ハード面に関して、 (7)すべての入力情報がキーボードI/Fからキーボ
ード信号で入力されるため、システム装置側で入力手段
に応じて異なる認識処理を行なうような負荷の増加がな
い。 (8)一般のキーボードを使用するほとんどのデータ処
理装置にそのまま使用でき、汎用性がある。
Regarding the hardware, (7) Since all the input information is input by the keyboard signal from the keyboard I / F, the load of different recognition processing on the system device side depending on the input means is increased. Absent. (8) It can be used as it is for most data processing devices using a general keyboard and has versatility.

【0104】(9)操作性を低下させることなく小型化
を容易にできる。 (10)ファイリング装置に適用すれば、ファイリング
処理の際にイメージではなくコードで入力できるためデ
ータ量が少なくて済み、システム装置におけるメモリ等
の資源を有効に活用することができる。
(9) The size can be easily reduced without deteriorating the operability. (10) When applied to a filing device, the amount of data can be small because a code can be input instead of an image in the filing process, and resources such as a memory in the system device can be effectively used.

【0105】[0105]

【発明の効果】以上説明してきたように、この発明によ
る文字認識装置によれば、記録媒体の挿入方向に直交す
る方向に対して円弧状に複数のセンサを配設した傾きセ
ンサによる記録媒体検出信号によって記録媒体が挿入さ
れた時の傾き角度を検出するので、画像読み取り前に記
録媒体の傾きを検出することができる。
As described above, according to the character recognition device of the present invention, the recording medium detection by the tilt sensor in which a plurality of sensors are arranged in an arc shape with respect to the direction orthogonal to the insertion direction of the recording medium is performed. Since the tilt angle when the recording medium is inserted is detected by the signal, the tilt of the recording medium can be detected before the image is read.

【0106】また、挿入された原稿の傾き角度が検出さ
れた時に、原稿の画像を読み取る際の主走査方向をその
検出された傾き角度だけ傾けるようにすれば、記録媒体
の傾きを補正しながら画像を読み取ることができる。さ
らに、その主走査方向を傾けて読み取ったイメージデー
タに対して、ライン毎にその傾きを補正するようにすれ
ば、副走査方向の傾きも補正しながら画像を読み取るこ
とができる。
When the tilt angle of the inserted document is detected, the main scanning direction at the time of reading the image of the document is tilted by the detected tilt angle while the tilt of the recording medium is corrected. The image can be read. Further, if the inclination of the image data read by inclining the main scanning direction is corrected for each line, the image can be read while correcting the inclination in the sub-scanning direction.

【0107】そして、記録媒体の傾き角度が検出された
ことを通知するようにすれば、オペレータに記録媒体が
傾いていることを知らせることができる。したがって、
記録媒体の画像を読み取る前に傾きを検出して補正する
ことによって、文字認識を素早く且つ正確に行なえるよ
うになる。
By notifying that the tilt angle of the recording medium is detected, the operator can be notified that the recording medium is tilted. Therefore,
By detecting and correcting the inclination before reading the image on the recording medium, character recognition can be performed quickly and accurately.

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

【図1】この発明の一実施例の文字認識装置における画
像入力部の内部の構造の概略を示す図である。
FIG. 1 is a diagram showing an outline of an internal structure of an image input unit in a character recognition device according to an embodiment of the present invention.

【図2】この発明の一実施例である文字認識装置を備え
たデータ処理システムの構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a data processing system including a character recognition device according to an embodiment of the present invention.

【図3】この発明の一実施例である文字認識装置の内部
のハード構成を示すブロック図である。
FIG. 3 is a block diagram showing an internal hardware configuration of a character recognition device according to an embodiment of the present invention.

【図4】図3の文字認識装置3における画像入力部7の
ハード構成を示すブロック図である。
4 is a block diagram showing a hardware configuration of an image input unit 7 in the character recognition device 3 of FIG.

【図5】図3の文字認識装置における原稿の画像読み取
りの処理を示すフローチャートである。
5 is a flowchart showing a process of reading an image of a document in the character recognition device of FIG.

【図6】図4の画像入力部7における傾きセンサ20の
一構成例を傾き制御部16と共に示す図である。
6 is a diagram showing a configuration example of a tilt sensor 20 in the image input section 7 of FIG. 4 together with a tilt control section 16. FIG.

【図7】図3の画像入力部4による原稿の画像読取時に
原稿に傾きがない場合の説明図である。
FIG. 7 is an explanatory diagram when a document is not tilted when an image of the document is read by the image input unit 4 of FIG.

【図8】図3の画像入力部4による原稿の画像読取時に
原稿に傾きがある場合の説明図である。
FIG. 8 is an explanatory diagram when a document is tilted when an image of the document is read by the image input unit 4 of FIG.

【図9】図3の画像入力部4による原稿の傾き検出方法
の原理の説明図である。
9 is an explanatory diagram of the principle of the method for detecting the inclination of a document by the image input unit 4 in FIG.

【図10】図3の画像入力部7における原稿の傾き及び
その傾き角度の検知処理を示すフローチャートである。
10 is a flowchart showing a process of detecting an inclination of a document and an inclination angle of the document in the image input unit 7 of FIG.

【図11】図3の画像入力部7によって原稿の画像を読
み取るときに主走査方向を傾ける傾き設定の説明図であ
る。
11 is an explanatory diagram of tilt setting for tilting the main scanning direction when reading an image of a document by the image input unit 7 of FIG.

【図12】図3の画像入力部7における原稿の画像を読
み取るときに主走査方向を傾ける傾き設定の処理を示す
フローチャートである。
12 is a flowchart showing a tilt setting process of tilting the main scanning direction when reading an image of a document in the image input section 7 of FIG.

【図13】図4の画像用メモリ15における原稿から読
み取られた画像のイメージデータの展開例を示す図であ
る。
13 is a diagram showing an example of development of image data of an image read from a document in the image memory 15 of FIG.

【図14】図3の画像入力部7によって原稿から読み取
られた画像のイメージデータの傾き補正方法の説明図で
ある。
14 is an explanatory diagram of a tilt correction method of image data of an image read from a document by the image input unit 7 of FIG.

【図15】図3の画像入力部7における原稿から読み取
った画像のイメージデータの傾き補正処理を示すフロー
チャートである。
FIG. 15 is a flowchart showing an inclination correction process of image data of an image read from a document in the image input section 7 of FIG.

【図16】図4の傾き制御部16に原稿の傾きを通知す
る手段を設けたときの構成を示す図である。
16 is a diagram showing a configuration in which the tilt control unit 16 of FIG. 4 is provided with means for notifying the tilt of a document.

【図17】図3の画像入力部7における原稿の傾きを通
知するときの処理を示すフローチャートである。
FIG. 17 is a flowchart showing a process of notifying the inclination of a document in the image input section 7 of FIG.

【図18】この発明の他の実施例における文字認識装置
の機能構成をその文字認識装置が接続されているシステ
ム装置と共に示すブロック図である。
FIG. 18 is a block diagram showing a functional configuration of a character recognition device according to another embodiment of the present invention together with a system device to which the character recognition device is connected.

【図19】図18のキーボード操作コード作成情報格納
部37におけるキーボード操作コード作成情報の格納フ
ォーマットの一例を示す図である。
19 is a diagram showing an example of a storage format of keyboard operation code creation information in the keyboard operation code creation information storage unit 37 of FIG.

【図20】図18のキーボード信号作成情報格納部39
におけるキーボード信号作成情報の格納フォーマットの
一例を示す図である。
FIG. 20 is a keyboard signal creation information storage unit 39 of FIG.
6 is a diagram showing an example of a storage format of keyboard signal creation information in FIG.

【図21】図19のキーボード操作コード作成情報格納
部37におけるキーボード操作データの格納フォーマッ
トの一例を示す図である。
21 is a diagram showing an example of a storage format of keyboard operation data in the keyboard operation code creation information storage section 37 of FIG.

【図22】図18の文字認識装置における文字情報入力
の処理を示すフローチャートである。
22 is a flowchart showing a character information input process in the character recognition device of FIG.

【図23】図18の文字認識装置による実際の文字情報
入力処理例について説明するためのブロック図である。
23 is a block diagram for describing an example of actual character information input processing by the character recognition device in FIG. 18.

【符号の説明】[Explanation of symbols]

1 ホストコンピュータ 2 通信線 3 文字認識装置 4 入力装置 5 表示装置 6 中央処理装置 7 画像入力部 8 文字部分抽出部 9 文字認識部 10 ホストインタ
フェース(I/F)部 11 CPU 12 制御用メモリ 13 主走査制御部 14 副走査制御部 15 画像用メモリ 16 傾き制御部 17 データ転送制御部 18 光源 19 光電変換センサ 20 傾きセンサ 21 内部バス 22 原稿台 26,27 主走査ライン 28〜30 イメー
ジデータ 31 警告ランプ 32 キーボードインタフェース(I/F)ケーブル 33 システム装置 36 キーボード操
作コード作成部 37 キーボード操作コード作成情報格納部 38 キーボード信号作成部 39 キーボード信
号作成情報格納部 40 キーボード信号出力部 ST 原稿 P1 傾き検出ポイント P2 画像入力ポイ
ント S1〜S11 センサ
1 Host Computer 2 Communication Line 3 Character Recognition Device 4 Input Device 5 Display Device 6 Central Processing Unit 7 Image Input Unit 8 Character Part Extraction Unit 9 Character Recognition Unit 10 Host Interface (I / F) Unit 11 CPU 12 Control Memory 13 Main Scanning control unit 14 Sub-scanning control unit 15 Image memory 16 Tilt control unit 17 Data transfer control unit 18 Light source 19 Photoelectric conversion sensor 20 Tilt sensor 21 Internal bus 22 Original platen 26, 27 Main scanning line 28-30 Image data 31 Warning lamp 32 keyboard interface (I / F) cable 33 system unit 36 keyboard operation code creation unit 37 keyboard operation code creation information storage unit 38 keyboard signal creation unit 39 keyboard signal creation information storage unit 40 keyboard signal output unit ST document P1 tilt detection point 2 image input point S1~S11 sensor

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 原稿等の記録媒体に印刷又は記入された
文字,数字,記号等の文字情報の画像を読み取って光学
的なイメージデータとして入力する画像入力手段と、該
手段によって入力されたイメージデータから文字情報部
分のドットパターンを抽出するドットパターン抽出手段
と、該手段によって抽出されたドットパターンより文字
情報を認識する文字情報認識手段とを備えた文字認識装
置において、前記画像入力手段に、前記記録媒体の挿入
方向に直交する方向に対して円弧状に複数のセンサを配
設した傾きセンサと、記録媒体が挿入された時の該傾き
センサの複数のセンサによる記録媒体検出信号によって
該記録媒体の傾き角度を検出する傾き検出手段とを設け
たことを特徴とする文字認識装置。
1. An image input unit for reading an image of character information such as characters, numbers, and symbols printed or entered on a recording medium such as a manuscript and inputting it as optical image data, and an image input by the unit. In a character recognition device comprising dot pattern extraction means for extracting a dot pattern of a character information portion from data, and character information recognition means for recognizing character information from the dot pattern extracted by the means, in the image input means, An inclination sensor in which a plurality of sensors are arranged in an arc shape with respect to a direction orthogonal to the insertion direction of the recording medium, and the recording medium detection signal by the plurality of sensors of the inclination sensor when the recording medium is inserted A character recognition device, comprising: a tilt detection unit that detects a tilt angle of a medium.
【請求項2】 請求項1記載の文字認識装置において、
前記傾き検出手段によって挿入された記録媒体の傾き角
度が検出された時に、該記録媒体の画像を読み取る際の
主走査方向をその検出された傾き角度だけ傾ける手段を
設けたことを特徴とする文字認識装置。
2. The character recognition device according to claim 1, wherein
When the tilt angle of the recording medium inserted by the tilt detecting means is detected, the main scanning direction when reading an image on the recording medium is tilted by the detected tilt angle. Recognition device.
【請求項3】 請求項2記載の文字認識装置において、
前記主走査方向を傾けて読み取ったイメージデータに対
して、ライン毎にその傾きを補正する手段を設けたこと
を特徴とする文字認識装置。
3. The character recognition device according to claim 2,
A character recognition device comprising means for correcting the inclination of each line of image data read by inclining the main scanning direction.
【請求項4】 請求項1記載の文字認識装置において、
前記傾き検出手段によって記録媒体の傾き角度が検出さ
れたことを通知する手段を設けたことを特徴とする文字
認識装置。
4. The character recognition device according to claim 1,
A character recognition device comprising means for notifying that the tilt angle of the recording medium has been detected by the tilt detecting means.
JP5072087A 1993-03-30 1993-03-30 Character recognizing device Pending JPH06282683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5072087A JPH06282683A (en) 1993-03-30 1993-03-30 Character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5072087A JPH06282683A (en) 1993-03-30 1993-03-30 Character recognizing device

Publications (1)

Publication Number Publication Date
JPH06282683A true JPH06282683A (en) 1994-10-07

Family

ID=13479275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5072087A Pending JPH06282683A (en) 1993-03-30 1993-03-30 Character recognizing device

Country Status (1)

Country Link
JP (1) JPH06282683A (en)

Similar Documents

Publication Publication Date Title
JP4148441B2 (en) Image scanner and optical character recognition apparatus using the same
JPH10301701A (en) Device for inputting handwritten data and program storing medium for the same
JPH06282683A (en) Character recognizing device
JP2004504650A (en) Methods and systems for form recognition and digitized image processing
JP2000331115A (en) Image processing method and device and storage medium
JPH0589280A (en) Input device
JPH0660053A (en) Input device
JPH0612403A (en) Input device
JPH11250179A (en) Character reocognition device and its method
JPH11345280A (en) Image processing method, image processor and storage medium
JPS62123579A (en) Character recognizing device
JPS61226883A (en) Character recognizing device
JP3310063B2 (en) Document processing device
JPH0652347A (en) Input device
JPH0628519A (en) Input device
JPH0668067A (en) Input device
JPH06131092A (en) Input device
JPH0619879A (en) Input device
JPH01248287A (en) Sheet for character recognition and character recognition device using recording information of relevant sheet
JPH0612522A (en) Character recognizing device
JPH0844822A (en) Character recognizing device
JPH0954666A (en) Printer with print position determining function
JPH02297687A (en) Character recognizing device
JPH01206479A (en) Optical character reading system
JPH06259594A (en) Method an device for processing optical read data