JPH03161887A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH03161887A
JPH03161887A JP1301313A JP30131389A JPH03161887A JP H03161887 A JPH03161887 A JP H03161887A JP 1301313 A JP1301313 A JP 1301313A JP 30131389 A JP30131389 A JP 30131389A JP H03161887 A JPH03161887 A JP H03161887A
Authority
JP
Japan
Prior art keywords
size
sheet
reading
read
control information
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
JP1301313A
Other languages
Japanese (ja)
Inventor
Masao Katsumi
勝見 正雄
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1301313A priority Critical patent/JPH03161887A/en
Publication of JPH03161887A publication Critical patent/JPH03161887A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the degree of freedom of reading by comparing the size of a measured sheet with the size set up by a size setting means and deciding the size and reading direction of the sheet. CONSTITUTION:A sheet size measuring part 7 measures the physically lateral and longitudinal sizes of a read sheet based on image data stored in an image memory 6 and a sheet size deciding part 5 compares the size of the measured sheet with sheet size information in a sheet size table 2. When both sizes coincide with each other, a sheet size deciding part 5 decides that the reading direction of the sheet read out by a scanner part 8 is the positive direction. When the measured lateral size coincides with the longitudinal size in the table 2 and the measured longitudinal size coincides with the lateral size in the table 2, the reading direction of the sheet is decided as a 90 deg.-rotated direction. Consequently, the degree of freedom of reading can be improved.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野〉 本発明は各種サイズのシート内容を読み取ることができ
る光学的文字読取装置(OCR)に関する。
DETAILED DESCRIPTION OF THE INVENTION OBJECTS OF THE INVENTION (Industrial Field of Application) The present invention relates to an optical character reader (OCR) capable of reading sheet contents of various sizes.

(従来の技術) 従来、この種の光学的文字読取装置はサイズの異なるシ
ートの内容を読み取ることができ、シートの横幅方向の
違いによりシートのサイズを識別していた。このため、
光学的文字読取装置へのシートの挿入方向は、シートの
横方向がスキャナのラインセンサと平行になる正方向し
か許されなかった。また、シートの縦サイズが違ってい
ても、横サイズが同一のシートではサイズの違いを識別
して読み取ることが出来なかった。更に、シートの横サ
イズが前記ラインセンサの視野から外れる大きさであっ
た場合は、このシートを読み取ることはできなかった。
(Prior Art) Conventionally, this type of optical character reading device can read the contents of sheets of different sizes, and the size of the sheet can be identified based on the difference in the width direction of the sheet. For this reason,
The only direction in which a sheet can be inserted into an optical character reading device is the forward direction in which the lateral direction of the sheet is parallel to the line sensor of the scanner. Further, even if the sheets have different vertical sizes, it is not possible to distinguish and read the difference in size between sheets of the same horizontal size. Furthermore, if the horizontal size of the sheet was outside the field of view of the line sensor, the sheet could not be read.

また、上記理由により当然ではあるが、正方向は読み取
れるシートを90度回転させて前記光学的読取装置に挿
入して読み収らせることは出来なかった。
Further, for the above-mentioned reason, it is obvious that a sheet that can be read in the forward direction cannot be rotated 90 degrees and inserted into the optical reading device to be read.

従って、従来の光学的読取装置はサイズの異なるシート
を混在して読み取ることができるといっても、その読み
取り自由度は低く、使いがってが悪かった。
Therefore, even though conventional optical reading devices can read a mixture of sheets of different sizes, their degree of freedom in reading is low and they are difficult to use.

(発明が解決しようとする課題〉 上記の如く従来の光学的文字読取装置は、異なるサイズ
のシートを読み取ることができるが、シートのサイズの
識別をシートの横幅の違いのみによって行っているため
シートサイズの混在読み取り時の自由度が低く使いがっ
てが悪いという欠点があった。
(Problems to be Solved by the Invention) As described above, the conventional optical character reading device can read sheets of different sizes, but since the sheet size is identified only by the difference in the width of the sheet, The drawback was that the degree of freedom when reading mixed sizes was low, making it difficult to use.

そこで本発明は上記の欠点を除去するもので、シートの
横サイズが異なるものはもちろん、シートの縦サイズが
異なるものを識別して読み込むことができ、また、シー
トの挿入方向を正方向から90度回転したものでも読み
取ることができる読み取り自由度の高い光学的文字読取
装置を提供することを目的としている。
Therefore, the present invention eliminates the above-mentioned drawbacks, and it is possible to identify and read not only sheets with different horizontal sizes but also sheets with different vertical sizes. It is an object of the present invention to provide an optical character reading device that has a high degree of freedom in reading and can read even objects rotated by degrees.

〔発明の構戒〕[Precepts of invention]

(課題を解決するための手段〉 本発明はシート上を光学的に走査して得られた画像デー
タを一旦メモリに記憶し、その後、このメモリ内の画像
データから文字データを切り出して認識する光学的文字
読取認識装置において、前記メモリ内に記憶された画像
データに基づいて前記シートの物理的縦/横のサイズを
測定するサイズ測定手段と、読み取る全シートの縦/横
のサイズ情報を設定するサイズ設定手段と、前記シート
のサイズ及び読み取り方向に対応した読取制御情報を設
定する制御情報設定手段と、前記サイズ測定手段によっ
て測定された前記シートのサイズと前記サイズ設定手段
に設定されているサイズとを比較して前記シートのサイ
ズ及び前記シートの読み込み方向を判定する判定手段と
、この判定手段の判定結果及び判定された前記シートの
サイズと読み取り方向に対応した前記制御情報設定手段
に設定されている読取り制御情報に基づいて前記メモリ
内の画像情報から文字データを切り出して認識する文字
認識手段とを具備した構或を有する。
(Means for Solving the Problems) The present invention is an optical system that stores image data obtained by optically scanning a sheet in a memory, and then cuts out and recognizes character data from the image data in the memory. In the character reading recognition device, a size measuring means for measuring the physical vertical/horizontal size of the sheet based on the image data stored in the memory and vertical/horizontal size information of all the sheets to be read are set. size setting means; control information setting means for setting reading control information corresponding to the size and reading direction of the sheet; the size of the sheet measured by the size measuring means and the size set in the size setting means; determining means for determining the size of the sheet and the reading direction of the sheet by comparing the size and the reading direction of the sheet; and a determining means for determining the size of the sheet and the reading direction of the sheet, and a control information setting means set in the control information setting means corresponding to the determination result of the determining means and the determined size and reading direction of the sheet. and character recognition means for cutting out character data from the image information in the memory and recognizing the character data based on reading control information.

(作用〉 本発明の光学的文字読取装置において、サイズ測定手段
は前記メモリ内に記憶された画像デー夕に基づいて前記
シートの物理的縦/横のサイズを測定する。サイズ設定
手段は読み取る全シートの縦/横のサイズ情報を設定す
る。制御情報設定手段は前記シートのサイズ及び読み取
り方向に対応した読取制御情報を設定する。判定手段は
前記サイズ測定手段によって測定された前記シートのサ
イズと前記サイズ設定手段に設定されているサイズとを
比較して前記シートのサイズ及び前記シートの読み込み
方向を判定する。文字認識手段は前記判定手段の判定結
果及び判定された前記シートのサイズと読み取り方向に
対応した前記制御情報設定手段に設定されている読取り
制御情報に基5 づいて前記メモリ内の画像情報から文字データを切り出
して認識する。
(Function) In the optical character reading device of the present invention, the size measuring means measures the physical length/width size of the sheet based on the image data stored in the memory. The vertical/horizontal size information of the sheet is set.The control information setting means sets reading control information corresponding to the size and reading direction of the sheet.The determining means is configured to set the size information of the sheet measured by the size measuring means and the reading control information. The size of the sheet and the reading direction of the sheet are determined by comparing the size with the size set in the size setting means.The character recognition means uses the determination result of the determination means and the determined size and reading direction of the sheet. Character data is cut out from the image information in the memory and recognized based on the reading control information set in the control information setting means corresponding to the character data.

(実施例) 以下、本発明の一実施例を図面を参照して説明する。第
1図は本発明の光学的文字読取装置の一実施例を示した
ブロック図である。1は文字読取装置の動作を制御する
制御部、2は上位制御部(コンピュータ50〉より与え
られるシ一トサイズ情報を格納するシートサイズテーブ
ル、3はシートサイズ情報及び読取制御情報(FC)に
より画像メモリ6内の読み取り文字の認識を行う文字認
識部、4は上位制御部50から与えられる読取制御情報
(FC)を格納するFCテーブル、5は読み取ったシー
トの測定サイズ情報とシ一トサイズテーブル2内の情報
を比較し、シートの読み取り方向とシートサイズを決定
し、更に対応するFCデータを決定するシートサイズ判
定部、6はスキャナ部8でスキャンしたシート全体の画
像を格納(記憶〉する画像メモリ、7は画像メモリ6内
の読み取りデータから読み取りシートの物理的6 な横及び縦のサイズを測定するシ一トザイス測定部、8
はシートを搬送すると共に、その表面を光学的に走査し
て画像データを読み取るスキャナ部である。又、50は
上記1〜8よって構或される光学的文字読取装置により
読み取られた文字情報に基づいて、各種データ処理を行
う外部の上位制御部(コンピュータ等〉である。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the optical character reading device of the present invention. 1 is a control unit that controls the operation of the character reading device; 2 is a sheet size table that stores sheet size information given from a higher-level control unit (computer 50); and 3 is a sheet size table that stores sheet size information provided by the upper control unit (computer 50); A character recognition unit that recognizes read characters in the memory 6; 4 is an FC table that stores reading control information (FC) given from the upper control unit 50; 5 is a sheet size table and measurement size information of the read sheet; A sheet size determining unit compares the information in 2, determines the sheet reading direction and sheet size, and further determines the corresponding FC data; 6 stores (memorizes) the image of the entire sheet scanned by the scanner unit 8; An image memory 7 is a sheet size measurement unit 8 that measures the physical horizontal and vertical sizes of the read sheet from the read data in the image memory 6.
is a scanner unit that conveys the sheet and optically scans the surface of the sheet to read image data. Further, 50 is an external host controller (computer, etc.) that performs various data processing based on the character information read by the optical character reading device constituted by 1 to 8 above.

次に本実施例の動作について説明する。まず、予め外部
の上位制御装置50から読み収りを行う全シートのサイ
ズ情報及び各サイズに対応した読取制御情報が制御部1
に与えられる。制御部1は与えられたシートサイズ情報
をシートサイズテーブル3に書き込み、同様に与えられ
た読取制御情報をFCテーブル4に書き込む。その後、
制御部上に上位制御部50から読み取り司令が出される
と、制御部1はスキャナ部8を起動して、シート(図示
せず〉の搬送及びスキャンを実行する。こうしてスキャ
ナ部8により言売み収られたシートの画像データは画像
メモリ6に格納される。
Next, the operation of this embodiment will be explained. First, size information of all sheets to be read and reading control information corresponding to each size are sent to the control unit 1 from the external host control device 50 in advance.
given to. The control unit 1 writes the given sheet size information into the sheet size table 3, and similarly writes the given reading control information into the FC table 4. after that,
When a reading command is issued to the control unit from the higher-level control unit 50, the control unit 1 activates the scanner unit 8 to transport and scan a sheet (not shown). The image data of the collected sheet is stored in the image memory 6.

次にシートサイズ測定部7は画像メモリ6に格納された
前記画像データに基づいて前記読み取ったシートの物理
的な横及び縦のサイズを測定し、この測定結果をシート
サイズ判定部5に送る。次にシートサイズ判定部5は測
定された前記シートのサイズとシートサイズテーブル2
内のシートサイズ情報とを比較する。この時、測定した
横サイズとシートサイズテーブル2内に格納されている
横サイズとが一致し、且つ測定した縦サイズとシートサ
イズテーブル2内の縦サイズとが一致した場合、シート
サイズ判定部5はスキャナ部8で読み取ったシートの読
み取り方向は第2図(A>で示す如く正方向で読み取ら
れたものと判定する。
Next, the sheet size measuring section 7 measures the physical horizontal and vertical sizes of the read sheet based on the image data stored in the image memory 6, and sends the measurement results to the sheet size determining section 5. Next, the sheet size determination unit 5 uses the measured sheet size and the sheet size table 2.
Compare the sheet size information within. At this time, if the measured horizontal size and the horizontal size stored in the sheet size table 2 match, and the measured vertical size and the vertical size in the sheet size table 2 match, the sheet size determination unit 5 It is determined that the reading direction of the sheet read by the scanner unit 8 is the forward direction as shown in FIG. 2 (A>).

又、測定した横サイズとシートサイズテーブル2内の縦
サイズとが一致し且つ、測定した縦サイズとシートサイ
ズ2内の横サイズとが一致した場合、シートサイズ判定
部5はスキャナ部8によって読み取ったシートの読み取
り方向は第2図(B)で示す如く正方向から90度回転
した方向であると判定する。シートサイズ判定部5は上
記の如くして判定したシートの読み取り方向及び論理的
な画像のM/横サイズ情報を文字認識部3に送ると共に
、前記シートの縦/横サイズ情報に対応する読取制御情
報をFCテーブル4から読み出して、これを文字認識部
3に送る。文字認識部3はシートサイズ判定部5から送
られてきた上記各種情報に基づいて、画像メモリ6内の
読み取り文字を認識し、その認識結果を制御部1に送る
。制御部1は文字認識部3から送られてきた文字認識結
果とシートの種別を上位制御部50に転送して、1シー
トの読み取りが完了する。
Further, if the measured horizontal size and the vertical size in the sheet size table 2 match, and the measured vertical size and the horizontal size in the sheet size 2 match, the sheet size determination section 5 uses the scanner section 8 to read the The reading direction of the sheet is determined to be a direction rotated 90 degrees from the normal direction as shown in FIG. 2(B). The sheet size determination unit 5 sends the reading direction of the sheet determined as described above and the logical image M/width size information to the character recognition unit 3, and also performs reading control corresponding to the sheet length/width size information. Information is read from the FC table 4 and sent to the character recognition section 3. The character recognition section 3 recognizes the read characters in the image memory 6 based on the various information sent from the sheet size determination section 5, and sends the recognition result to the control section 1. The control unit 1 transfers the character recognition result sent from the character recognition unit 3 and the sheet type to the upper control unit 50, and the reading of one sheet is completed.

本実施例によれば、読み取ったシートのia/横の両サ
イズに関して予め与えられた定型の読み取りシ一トのサ
イズとの一致を判定し、その判定結果により読み取りシ
ートのサイズ及び読み取った画像の回転方向を判定し、
この結果に基づいて前記読み取った画像の文字認識を行
う。このため、読み取りシートの横サイズの違いは勿論
、縦サイズの違いも識別してその内容を読み取ることが
できる。また、シートを正方向に読み込ませた場合は勿
論、前記正方向に対して90度回転した方向9 で読み取らせた場合もこれを識別して前記シートの内容
を読み取ることができる。従って、従来のシートサイズ
の混在読み取り時の自由度が高くなり、装置の取扱性を
著しく高めることができる。
According to this embodiment, it is determined whether both the ia/width sizes of the scanned sheet match the size of a predetermined standard scanned sheet, and the size of the scanned sheet and the size of the scanned image are determined based on the determination results. Determine the direction of rotation,
Based on this result, character recognition of the read image is performed. Therefore, it is possible to identify not only the difference in the horizontal size of the reading sheet but also the difference in the vertical size and read the contents. Furthermore, not only when the sheet is read in the normal direction, but also when the sheet is read in the direction 9 rotated by 90 degrees with respect to the normal direction, this can be identified and the contents of the sheet can be read. Therefore, the degree of freedom when reading mixed sheet sizes compared with the conventional method is increased, and the handling of the apparatus can be significantly improved.

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

以上記述した如く本発明の光学的文字読取装置よれば、
シートの横サイズが異なるものは勿論、シートの縦サイ
ズが異なるものも識別して読み取ることができ、また、
シートの挿入方向を正方向から90度回転したものでも
読み取ることができので、読み取り自由度を向上させる
ことができる。
As described above, according to the optical character reading device of the present invention,
It is possible to identify and read not only sheets with different horizontal sizes, but also sheets with different vertical sizes.
Since the sheet can be read even when the insertion direction of the sheet is rotated 90 degrees from the normal direction, the degree of freedom in reading can be improved.

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

第1図は本発明の光学的文字読取装置の一実旅例を示し
たブロック図、第2図は読み込んだ画像の方向例を示し
た図である。 工・・・制御部 2・・・シートサイズテーブル 3・・・文字認識部 4・・・FCテーブル 5・・・シートサイズ判定部 10 6・・・画像メモリ 7・・・シートサイズ測定部 8・・・スキャナ部
FIG. 1 is a block diagram showing an example of an optical character reading device according to the present invention, and FIG. 2 is a diagram showing an example of the direction of a read image. Engineering... Control section 2... Sheet size table 3... Character recognition section 4... FC table 5... Sheet size determination section 10 6... Image memory 7... Sheet size measuring section 8 ...Scanner section

Claims (1)

【特許請求の範囲】[Claims] シート上を光学的に走査して得られた画像データを一旦
メモリに記憶し、その後、このメモリ内の画像データか
ら文字データを切り出して認識する光学的文字読取識装
置において、前記メモリ内に記憶された画像データに基
づいて前記シートの物理的縦/横のサイズを測定するサ
イズ測定手段と、読み取る全シートの縦/横のサイズ情
報を設定するサイズ設定手段と、前記シートのサイズ及
び読み取り方向に対応した読取制御情報を設定する制御
情報設定手段と、前記サイズ測定手段によって測定され
た前記シートのサイズと前記サイズ設定手段に設定され
ているサイズとを比較して前記シートのサイズ及び前記
シートの読み込み方向を判定する判定手段と、この判定
手段の判定結果及び判定された前記シートのサイズと読
み取り方向に対応した前記制御情報設定手段に設定され
ている読取り制御情報に基づいて、前記メモリ内の画像
情報から文字データを切り出して認識する文字認識手段
とを具備したことを特徴とする光学的文字読取装置。
In an optical character reading recognition device, image data obtained by optically scanning a sheet is temporarily stored in a memory, and then character data is cut out and recognized from the image data in this memory. size measuring means for measuring the physical length/width size of the sheet based on the image data read, size setting means for setting the length/width size information of all the sheets to be read, and the size and reading direction of the sheet. control information setting means for setting reading control information corresponding to the size of the sheet; and a control information setting means for setting reading control information corresponding to the size of the sheet by comparing the size of the sheet measured by the size measuring means with the size set in the size setting means. determination means for determining the reading direction of the sheet; and read control information set in the control information setting means corresponding to the determination result of the determination means and the determined size and reading direction of the sheet. What is claimed is: 1. An optical character reading device comprising character recognition means for cutting out and recognizing character data from image information.
JP1301313A 1989-11-20 1989-11-20 Optical character reader Pending JPH03161887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1301313A JPH03161887A (en) 1989-11-20 1989-11-20 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1301313A JPH03161887A (en) 1989-11-20 1989-11-20 Optical character reader

Publications (1)

Publication Number Publication Date
JPH03161887A true JPH03161887A (en) 1991-07-11

Family

ID=17895350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1301313A Pending JPH03161887A (en) 1989-11-20 1989-11-20 Optical character reader

Country Status (1)

Country Link
JP (1) JPH03161887A (en)

Similar Documents

Publication Publication Date Title
JPH08123900A (en) Method and apparatus for decision of position for line scanning image
JPH03161887A (en) Optical character reader
JPH06103358A (en) Image input device
JP2503208B2 (en) Business card image processing method
JPS58106665A (en) Character line cutout method
JPH0228785A (en) Optical character reading device
JPH0373916B2 (en)
JPS60239884A (en) Recognizing device
JP2608943B2 (en) Optical mark reading method
JP2775735B2 (en) Barcode identification method
JPH05233874A (en) Optical character reader
JPH04251395A (en) Optical character/graphic reader
JP2925275B2 (en) Optical character reader
JPH03250387A (en) Character segmenting system
JPS62179079A (en) Character reader
JPH034386A (en) Optical character reader
JP2000099643A (en) Character recognition device and character recognition system
JPH02300987A (en) Optical character reading device
JPH0668777B2 (en) Character line detector
JPH01259472A (en) Character recognizing device
JPS59128677A (en) Optical character reader
JPS5890274A (en) Extracting device of feature point
JPH05174184A (en) Optical character reader
JPH06176192A (en) Document and its recognition device
JP2000331116A (en) Slip and its identification device and method