JPH08315072A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH08315072A
JPH08315072A JP7115529A JP11552995A JPH08315072A JP H08315072 A JPH08315072 A JP H08315072A JP 7115529 A JP7115529 A JP 7115529A JP 11552995 A JP11552995 A JP 11552995A JP H08315072 A JPH08315072 A JP H08315072A
Authority
JP
Japan
Prior art keywords
image
character
unit
light
optical
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.)
Withdrawn
Application number
JP7115529A
Other languages
Japanese (ja)
Inventor
Noritsugu Kajita
昇嗣 梶田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP7115529A priority Critical patent/JPH08315072A/en
Publication of JPH08315072A publication Critical patent/JPH08315072A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE: To provide an optical character reader capable of eliminating the necessity of previously registering format data and preventing the generation of abnormal reading. CONSTITUTION: The optical character reader is provided with a light source 14, a CCD sensor 15 for receiving reflected light from a document 11 and generating a picture signal, an image entering part 21 for entering the picture signal as a picture image, an image separating part 16 for separating the picture image into a character frame image and a character image in accordance with differences among the spectral characteristics of RGB, a character position detecting part 17 for detecting a character position based upon a character frame image, a character segmenting part 18 for segmenting a character from a character image on the detected character position, and a recognition part 19 for recognizing the segmented character. The detecting part 17 detects the character position based upon the character frame image and the segmenting part 18 segements the character from the character image on the detected character position.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、光学式文字読取装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical character reader.

【0002】[0002]

【従来の技術】従来、光学式文字読取装置においては、
帳票に書き込まれた文字を光学系によってイメージセン
サに結像させ、該イメージセンサによって発生させられ
た画像信号を画像イメージに変換し、該画像イメージを
メモリに書き込むようになっている。そして、前記画像
イメージから切り出された文字の特徴を抽出することに
よって文字が認識される。
2. Description of the Related Art Conventionally, in an optical character reader,
The characters written on the form are imaged on an image sensor by an optical system, the image signal generated by the image sensor is converted into an image image, and the image image is written in a memory. Then, the character is recognized by extracting the characteristics of the character cut out from the image image.

【0003】そのために、帳票に赤系又は青系のドロッ
プアウトカラーによって文字枠が印刷され、該文字枠内
に黒色の筆記具で文字が書き込まれるようになってい
る。そして、前記光学式文字読取装置は、帳票に光を照
射する光源、前記帳票からの反射光の中のドロップアウ
トカラーに対応する周波数の光が通過するのを阻止する
フィルタ、該フィルタを通過した光を受けて画像信号を
発生させるCCDセンサ、前記画像信号を画像イメージ
として取り込むイメージ取込部、あらかじめ帳票ごとに
設定されたフォーマットに従って文字を切り出す文字切
出し部、及び切り出された文字を認識する認識部を有す
る。
Therefore, a character frame is printed on a form by a red or blue dropout color, and a character is written in the character frame by a black writing instrument. Then, the optical character reader passes through the light source that irradiates the form, a filter that blocks light of a frequency corresponding to the dropout color in the reflected light from the form, and the filter. A CCD sensor that receives light to generate an image signal, an image capturing unit that captures the image signal as an image image, a character cutting unit that cuts out a character according to a format preset for each form, and recognition that recognizes the cut out character. Parts.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記従
来の光学式文字読取装置においては、帳票ごとに設定さ
れたフォーマットに従って文字を切り出すようになって
いるので、すべての帳票について文字位置、文字数等の
フォーマットデータをあらかじめ登録しておかなければ
ならない。
However, in the above-mentioned conventional optical character reader, characters are cut out in accordance with the format set for each form, so that the character position, the number of characters, etc. of all the forms can be determined. Format data must be registered in advance.

【0005】また、帳票が斜行したり蛇行したりする
と、文字を適切に切り出すことができないので、不読、
誤読等の読取異常が発生してしまう。さらに、帳票が薄
紙であって、表面及び裏面のいずれにも文字が書き込ま
れていると、表面の文字と裏面の文字とを同時に読み取
ってしまい、不読、誤読等の読取異常が発生してしま
う。
Further, if the form is skewed or meandering, the characters cannot be cut out properly, so it is unreadable.
Reading error such as erroneous reading occurs. Furthermore, if the form is thin paper and characters are written on both the front and back sides, the characters on the front side and the characters on the back side are read at the same time, and reading errors such as unread and misread occur. I will end up.

【0006】本発明は、前記従来の光学式文字読取装置
の問題点を解決して、フォーマットデータをあらかじめ
登録しておく必要がなく、読取異常が発生することがな
い光学式文字読取装置を提供することを目的とする。
The present invention provides an optical character reading device which solves the problems of the conventional optical character reading device described above and does not need to register format data in advance and does not cause a reading error. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】そのために、本発明の光
学式文字読取装置においては、帳票に光を照射する光源
と、前記帳票からの反射光を受け、画像信号を発生させ
るCCDセンサと、前記画像信号を画像イメージとして
取り込むイメージ取込部と、前記画像イメージをRGB
の分光特性の差異によって文字枠イメージと文字イメー
ジとに分離するイメージ分離部と、前記文字枠イメージ
に基づいて文字位置を検出する文字位置検出部と、検出
された文字位置における文字イメージから文字を切り出
す文字切出し部と、切り出された文字を認識する認識部
とを有する。
Therefore, in the optical character reading device of the present invention, a light source for irradiating the form with light, a CCD sensor for receiving the reflected light from the form and generating an image signal, An image capturing section for capturing the image signal as an image image, and
An image separation unit that separates a character frame image and a character image according to the difference in spectral characteristics of the character position, a character position detection unit that detects the character position based on the character frame image, and a character from the character image at the detected character position. It has a character cutout unit for cutting out and a recognition unit for recognizing the cut out characters.

【0008】本発明の他の光学式文字読取装置において
は、帳票に光を照射する光源と、前記帳票からの反射光
を受け、画像信号を発生させるCCDセンサと、前記画
像信号を画像イメージとして取り込むイメージ取込部
と、前記画像イメージをRGBの分光特性の差異によっ
て文字枠イメージと文字イメージとに分離するイメージ
分離部と、前記文字枠イメージに基づいて帳票の傾きを
検出する傾き検出部と、あらかじめ登録されたフォーマ
ットデータの文字位置を、検出された帳票の傾きに基づ
いて補正し、補正された文字位置における文字イメージ
から文字を切り出す文字切出し部と、切り出された文字
を認識する認識部とを有する。
In another optical character reading apparatus of the present invention, a light source for irradiating a form with light, a CCD sensor for receiving an reflected light from the form and generating an image signal, and the image signal as an image image. An image capturing unit that captures the image, an image separation unit that separates the image image into a character frame image and a character image based on a difference in RGB spectral characteristics, and an inclination detection unit that detects the inclination of the form based on the character frame image. , The character position of the format data registered in advance is corrected based on the detected inclination of the form, and the character cutout part for cutting out the character from the character image at the corrected character position and the recognition part for recognizing the cut out character Have and.

【0009】本発明の更に他の光学式文字読取装置にお
いては、帳票に光を照射する光源と、前記帳票からの反
射光を受け、画像信号を発生させるCCDセンサと、前
記画像信号を画像イメージとして取り込むイメージ取込
部と、前記画像イメージをRGBの分光特性の差異によ
って表面の文字イメージと裏面の文字イメージとに分離
するイメージ分離部と、前記裏面の文字イメージを反転
させるイメージ反転部と、各文字イメージから文字を切
り出す文字切出し部と、切り出された文字を認識する認
識部とを有する。
In still another optical character reading device of the present invention, a light source for irradiating a form with light, a CCD sensor for receiving an reflected light from the form and generating an image signal, and an image image of the image signal. An image capturing unit that captures the image image as an image, an image separation unit that separates the image image into a character image on the front side and a character image on the back side due to a difference in RGB spectral characteristics, and an image inverting unit that reverses the character image on the back side. A character cutout unit that cuts out a character from each character image and a recognition unit that recognizes the cutout character are provided.

【0010】[0010]

【作用】本発明によれば、前記のように光学式文字読取
装置においては、帳票に光を照射する光源と、前記帳票
からの反射光を受け、画像信号を発生させるCCDセン
サと、前記画像信号を画像イメージとして取り込むイメ
ージ取込部と、前記画像イメージをRGBの分光特性の
差異によって文字枠イメージと文字イメージとに分離す
るイメージ分離部と、前記文字枠イメージに基づいて文
字位置を検出する文字位置検出部と、検出された文字位
置における文字イメージから文字を切り出す文字切出し
部と、切り出された文字を認識する認識部とを有する。
According to the present invention, as described above, in the optical character reading apparatus, the light source for irradiating the form, the CCD sensor for receiving the reflected light from the form and generating the image signal, and the image An image capturing unit that captures a signal as an image image, an image separating unit that separates the image image into a character frame image and a character image according to a difference in RGB spectral characteristic, and a character position is detected based on the character frame image. A character position detection unit, a character cutout unit that cuts out a character from a character image at the detected character position, and a recognition unit that recognizes the cut out character.

【0011】この場合、光学式文字読取装置内に吸入さ
れた帳票に光が照射されると、CCDセンサは反射光を
受けて画像信号を発生させ、イメージ取込部は前記画像
信号を画像イメージとして取り込む。そして、イメージ
分離部が画像イメージを文字枠イメージと文字イメージ
とに分離すると、文字位置検出部は前記文字枠イメージ
に基づいて文字位置を検出し、文字切出し部は検出され
た文字位置における文字イメージから文字を切り出す。
In this case, when the form sucked into the optical character reading device is irradiated with light, the CCD sensor receives the reflected light to generate an image signal, and the image capturing section displays the image signal as an image. Take in as. When the image separation unit separates the image image into the character frame image and the character image, the character position detection unit detects the character position based on the character frame image, and the character cutout unit detects the character image at the detected character position. Cut out characters from.

【0012】本発明の他の光学式文字読取装置において
は、帳票に光を照射する光源と、前記帳票からの反射光
を受け、画像信号を発生させるCCDセンサと、前記画
像信号を画像イメージとして取り込むイメージ取込部
と、前記画像イメージをRGBの分光特性の差異によっ
てを文字枠イメージと文字イメージとに分離するイメー
ジ分離部と、前記文字枠イメージに基づいて帳票の傾き
を検出する傾き検出部と、あらかじめ登録されたフォー
マットデータの文字位置を、検出された帳票の傾きに基
づいて補正し、補正された文字位置における文字イメー
ジから文字を切り出す文字切出し部と、切り出された文
字を認識する認識部とを有する。
In another optical character reading device of the present invention, a light source for irradiating a form with light, a CCD sensor for receiving an reflected light from the form and generating an image signal, and the image signal as an image image. An image capturing unit that captures the image, an image separating unit that separates the image image into a character frame image and a character image based on a difference in RGB spectral characteristics, and an inclination detection unit that detects the inclination of the form based on the character frame image. And the character position of the pre-registered format data is corrected based on the detected inclination of the form, and the character cutout part that cuts out the character from the character image at the corrected character position and the recognition that recognizes the cut out character And a department.

【0013】この場合、光学式文字読取装置内に吸入さ
れた帳票に光が照射されると、CCDセンサは反射光を
受けて画像信号を発生させ、イメージ取込部は、前記画
像信号を画像イメージとして取り込む。そして、イメー
ジ分離部が画像イメージを文字枠イメージと文字イメー
ジとに分離すると、傾き検出部は前記文字枠イメージに
基づいて帳票の傾きを検出し、文字切出し部はフォーマ
ットデータの文字位置を、検出された帳票の傾きに基づ
いて補正し、補正された文字位置における文字イメージ
から文字を切り出す。
In this case, when the form sucked into the optical character reading device is irradiated with light, the CCD sensor receives the reflected light to generate an image signal, and the image capturing section displays the image signal as an image. Capture as an image. Then, when the image separation unit separates the image image into the character frame image and the character image, the inclination detection unit detects the inclination of the form based on the character frame image, and the character cutout unit detects the character position of the format data. The correction is performed based on the tilt of the formed form, and the character is cut out from the character image at the corrected character position.

【0014】本発明の更に他の光学式文字読取装置にお
いては、帳票に光を照射する光源と、前記帳票からの反
射光を受け、画像信号を発生させるCCDセンサと、前
記画像信号を画像イメージとして取り込むイメージ取込
部と、前記画像イメージをRGBの分光特性の差異によ
って表面の文字イメージと裏面の文字イメージとに分離
するイメージ分離部と、前記裏面の文字イメージを反転
させるイメージ反転部と、各文字イメージから文字を切
り出す文字切出し部と、切り出された文字を認識する認
識部とを有する。
In still another optical character reading device of the present invention, a light source for irradiating a form with light, a CCD sensor for receiving an reflected light from the form and generating an image signal, and an image image of the image signal. An image capturing unit that captures the image image as an image, an image separation unit that separates the image image into a character image on the front side and a character image on the back side due to a difference in RGB spectral characteristics, and an image inverting unit that reverses the character image on the back side. A character cutout unit that cuts out a character from each character image and a recognition unit that recognizes the cutout character are provided.

【0015】この場合、光学式文字読取装置内に吸入さ
れた帳票に光が照射されると、CCDセンサは反射光を
受けて画像信号を発生させ、イメージ取込部は前記画像
信号を画像イメージとして取り込む。そして、イメージ
分離部が画像イメージを表面の文字イメージと裏面の文
字イメージとに分離すると、イメージ反転部は前記裏面
の文字イメージを反転させ、文字切出し部は表面の文字
イメージ及び裏面の文字イメージから文字を切り出す。
In this case, when the form sucked into the optical character reading device is irradiated with light, the CCD sensor receives the reflected light to generate an image signal, and the image capturing section forms an image of the image signal. Take in as. Then, when the image separation unit separates the image image into the front side character image and the back side character image, the image reversing unit inverts the back side character image, and the character cutting section separates the front side character image and the back side character image. Cut out characters.

【0016】[0016]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の第1の実施例に
おける光学式文字読取装置のブロック図である。図に示
すように、光学式文字読取装置は、帳票11を吸入して
読取位置に送る送りローラ12、該送りローラ12を回
転させる機構部13、前記帳票11に光を照射する光源
14、前記帳票11からの反射光を受け、画像信号を発
生させるCCDセンサ15、前記画像信号をカラーのイ
メージデータに変換し、画像イメージとして取り込むイ
メージ取込部21、前記画像イメージをRGB(赤、
緑、青)の分光特性の差異によって文字枠イメージと文
字イメージとに分離するイメージ分離部16、前記文字
枠イメージから文字位置を検出する文字位置検出部1
7、検出された文字位置における前記文字イメージから
文字を切り出す文字切出し部18、切り出された文字を
認識する認識部19、及び光学式文字読取装置の全体を
制御する制御部20から成る。
Embodiments of the present invention will now be described in detail with reference to the drawings. 1 is a block diagram of an optical character reader according to a first embodiment of the present invention. As shown in the figure, the optical character reading device includes a feed roller 12 that sucks the form 11 and sends it to a reading position, a mechanism unit 13 that rotates the feed roller 12, a light source 14 that irradiates the form 11 with light, A CCD sensor 15 which receives reflected light from the form 11 and generates an image signal, an image capturing section 21 which converts the image signal into color image data and captures it as an image image, and the image image into RGB (red, red,
An image separation unit 16 that separates a character frame image into a character image and a character position detection unit 1 that detects a character position from the character frame image according to the difference in spectral characteristics of green and blue).
7, a character cutout unit 18 for cutting out a character from the character image at the detected character position, a recognition unit 19 for recognizing the cut out character, and a control unit 20 for controlling the entire optical character reading device.

【0017】次に、前記構成の光学式文字読取装置の動
作について説明する。図2は本発明の第1の実施例にお
ける光学式文字読取装置の動作を示すフローチャートで
ある。まず、機構部13(図1)は、制御部20の帳票
吸入命令に従って送りローラ12を回転させると、該送
りローラ12は帳票11を吸入し、読取位置に送る。該
読取位置において、光源14は帳票11に光を照射し、
該帳票11からの反射光をCCDセンサ15が受けて画
像信号を発生させる。そして、イメージ取込部21は前
記画像信号をカラーのイメージデータに変換し、画像イ
メージとして取り込む。
Next, the operation of the optical character reader having the above construction will be described. FIG. 2 is a flow chart showing the operation of the optical character reader according to the first embodiment of the present invention. First, when the mechanism unit 13 (FIG. 1) rotates the feed roller 12 according to the form suction command of the control unit 20, the feed roller 12 sucks the form 11 and sends it to the reading position. At the reading position, the light source 14 irradiates the form 11 with light,
The CCD sensor 15 receives the reflected light from the form 11 and generates an image signal. Then, the image capturing section 21 converts the image signal into color image data and captures it as an image.

【0018】ところで、帳票11上に書き込まれた文字
の色とあらかじめ印刷された文字枠の色とが異なる場
合、RGBの分光特性の差異が生じる。そこで、イメー
ジ分離部16において、前記分光特性の差異によって前
記画像イメージを文字イメージと文字枠イメージとに分
離する。次に、文字位置検出部17は文字枠イメージに
基づいて文字位置を検出する。そして、文字切出し部1
8が、検出された文字位置における文字イメージから文
字を切り出し、認識部19によって文字を認識する。 ステップS1 帳票11を吸入する。 ステップS2 イメージ取込部21によってカラーのイ
メージデータを画像イメージとして取り込む。 ステップS3 イメージ分離部16によって画像イメー
ジを文字イメージと文字枠イメージとに分離する。 ステップS4 文字位置検出部17によって文字位置を
検出する。 ステップS5 文字切出し部18によって文字イメージ
から文字を切り出す。 ステップS6 認識部19によって文字を認識する。
By the way, when the color of the character written on the form 11 is different from the color of the character frame printed in advance, a difference in the spectral characteristics of RGB occurs. Therefore, the image separation unit 16 separates the image image into a character image and a character frame image according to the difference in the spectral characteristic. Next, the character position detection unit 17 detects the character position based on the character frame image. And the character cutout unit 1
8 cuts out a character from the character image at the detected character position, and the recognition unit 19 recognizes the character. Step S1 Inhale the form 11. In step S2, the image capturing section 21 captures color image data as an image. In step S3, the image separation unit 16 separates the image image into a character image and a character frame image. In step S4, the character position detector 17 detects the character position. In step S5, the character cutout unit 18 cuts out a character from the character image. In step S6, the recognition unit 19 recognizes the character.

【0019】このように、文字枠イメージに基づいて文
字位置を検出することができるので、フォーマットデー
タをあらかじめ登録しておく必要がない。次に、本発明
の第2の実施例について説明する。図3は本発明の第2
の実施例における光学式文字読取装置のブロック図であ
る。なお、第1の実施例と同じ構造を有するものについ
ては、同じ符号を付与することによってその説明を省略
する。
As described above, since the character position can be detected based on the character frame image, it is not necessary to register the format data in advance. Next, a second embodiment of the present invention will be described. FIG. 3 shows the second aspect of the present invention.
FIG. 3 is a block diagram of an optical character reader in the embodiment of FIG. It should be noted that the same reference numerals are given to those having the same structure as the first embodiment, and the description thereof will be omitted.

【0020】この場合、第1の実施例の文字位置検出部
17(図1)に代えて、帳票11の傾きを検出する傾き
検出部23が配設される。したがって、光学式文字読取
装置には、各帳票11ごとのフォーマットデータがあら
かじめ登録されている。そして、文字切出し部18は、
前記傾き検出部23によって検出された帳票11の傾き
に基づいてフォーマットデータの文字位置を補正し、補
正された文字位置における文字イメージから文字を切り
出し、認識部19によって文字を認識する。
In this case, instead of the character position detector 17 (FIG. 1) of the first embodiment, an inclination detector 23 for detecting the inclination of the form 11 is provided. Therefore, the format data for each form 11 is registered in advance in the optical character reading device. Then, the character cutout unit 18
The character position of the format data is corrected based on the inclination of the form 11 detected by the inclination detection unit 23, a character is cut out from the character image at the corrected character position, and the recognition unit 19 recognizes the character.

【0021】次に、前記構成の光学式文字読取装置の動
作について説明する。図4は本発明の第2の実施例にお
ける光学式文字読取装置の動作を示すフローチャートで
ある。まず、機構部13(図3)は、制御部20の帳票
吸入命令に従って送りローラ12を回転させると、該送
りローラ12は帳票11を吸入し、読取位置に送る。該
読取位置において、光源14は帳票11に光を照射し、
その反射光をCCDセンサ15が受けて画像信号を発生
させる。そして、イメージ取込部21は前記画像信号を
カラーのイメージデータに変換し、画像イメージとして
取り込む。
Next, the operation of the optical character reader having the above construction will be described. FIG. 4 is a flow chart showing the operation of the optical character reader according to the second embodiment of the present invention. First, when the mechanism unit 13 (FIG. 3) rotates the feed roller 12 according to the form suction command of the control unit 20, the feed roller 12 sucks the form 11 and sends it to the reading position. At the reading position, the light source 14 irradiates the form 11 with light,
The CCD sensor 15 receives the reflected light and generates an image signal. Then, the image capturing section 21 converts the image signal into color image data and captures it as an image.

【0022】ところで、帳票11上に書き込まれた文字
の色とあらかじめ印刷された文字枠の色とが異なる場
合、RGBの分光特性の差異が生じる。そこで、イメー
ジ分離部16において、前記分光特性の差異によって前
記イメージデータを文字イメージと文字枠イメージとに
分離する。次に、傾き検出部23は前記文字枠イメージ
に基づいて帳票11の傾きを各行ごとに検出する。そし
て、フォーマットデータの文字位置を帳票11の傾きの
分だけ補正し、補正された文字位置における文字イメー
ジから文字を切り出し、認識部19によって文字を認識
する。 ステップS11 帳票11を吸入する。 ステップS12 イメージ取込部21によってカラーの
イメージデータを画像イメージとして取り込む。 ステップS13 イメージ分離部16によって画像イメ
ージを文字イメージと文字枠イメージとに分離する。 ステップS14 傾き検出部23によって文字枠イメー
ジに基づいて帳票11の傾きを検出する。 ステップS15 文字切出し部18によって文字位置を
帳票11の傾きの分だけ補正し、補正された文字位置に
おける文字イメージから文字を切り出す。 ステップS16 認識部19によって文字を認識する。
By the way, when the color of the character written on the form 11 and the color of the character frame printed in advance are different, a difference in the spectral characteristics of RGB occurs. Therefore, the image separation unit 16 separates the image data into a character image and a character frame image according to the difference in the spectral characteristic. Next, the inclination detection unit 23 detects the inclination of the form 11 for each line based on the character frame image. Then, the character position of the format data is corrected by the inclination of the form 11, a character is cut out from the character image at the corrected character position, and the recognition unit 19 recognizes the character. Step S11 Inhale the form 11. In step S12, the image capturing unit 21 captures color image data as an image. In step S13, the image separation unit 16 separates the image image into a character image and a character frame image. Step S14 The tilt detection unit 23 detects the tilt of the form 11 based on the character frame image. In step S15, the character cutting unit 18 corrects the character position by an amount corresponding to the inclination of the form 11, and the character is cut out from the character image at the corrected character position. Step S16 The recognition unit 19 recognizes the character.

【0023】このように、帳票11が斜行したり蛇行し
たりしても、適切に文字を切り出すことができるので、
不読、誤読等の読取異常が発生することがない。次に、
本発明の第3の実施例について説明する。図5は本発明
の第3の実施例における光学式文字読取装置のブロック
図である。
As described above, even if the form 11 is skewed or meandered, the characters can be appropriately cut out.
No reading error such as unread or erroneous reading occurs. next,
A third embodiment of the present invention will be described. FIG. 5 is a block diagram of an optical character reader according to the third embodiment of the present invention.

【0024】図に示すように、光学式文字読取装置は、
帳票11を吸入して読取位置に送る送りローラ12、該
送りローラ12を回転させる機構部13、前記帳票11
に光を照射する光源14、前記帳票11からの反射光を
受け、画像信号を発生させるCCDセンサ15、前記画
像信号をカラーのイメージデータに変換し、画像イメー
ジとして取り込むイメージ取込部21、前記画像イメー
ジをRGBの分光特性の差異によって帳票11の表面の
文字イメージと裏面の文字イメージとに分離するイメー
ジ分離部24、前記帳票11の裏面の文字イメージを反
転させるイメージ反転部27、あらかじめ登録されたフ
ォーマットデータの文字位置における文字イメージから
文字を切り出す文字切出し部28、切り出された文字を
認識する認識部19、及び光学式文字読取装置の全体を
制御する制御部20から成る。
As shown in the figure, the optical character reader is
A feed roller 12 that sucks the form 11 and sends it to the reading position, a mechanism unit 13 that rotates the feed roller 12, and the form 11 described above.
A light source 14 for irradiating light, a CCD sensor 15 for generating an image signal by receiving reflected light from the form 11, an image capturing section 21 for converting the image signal into color image data and capturing as an image image, An image separation unit 24 that separates the image image into a character image on the front side and a character image on the back side of the form 11 according to the difference in the RGB spectral characteristics, an image inverting unit 27 that inverts the character image on the back side of the form 11, and is registered in advance. The format data includes a character cutout unit 28 that cuts out a character from a character image at a character position, a recognition unit 19 that recognizes the cut out character, and a control unit 20 that controls the entire optical character reading device.

【0025】次に、前記構成の光学式文字読取装置の動
作について説明する。図6は本発明の第3の実施例にお
ける光学式文字読取装置の動作を示すフローチャートで
ある。まず、機構部13(図5)は、制御部20の帳票
吸入命令に従って送りローラ12を回転させると、該送
りローラ12は帳票11を吸入し、読取位置に送る。該
読取位置において、光源14は帳票11に光を照射し、
該帳票11からの反射光をCCDセンサ15が受けて画
像信号を発生させる。そして、イメージ取込部21は前
記画像信号をカラーのイメージデータに変換し、画像イ
メージとして取り込む。
Next, the operation of the optical character reader having the above construction will be described. FIG. 6 is a flow chart showing the operation of the optical character reader according to the third embodiment of the present invention. First, when the mechanism unit 13 (FIG. 5) rotates the feed roller 12 according to the form suction command of the control unit 20, the feed roller 12 sucks the form 11 and sends it to the reading position. At the reading position, the light source 14 irradiates the form 11 with light,
The CCD sensor 15 receives the reflected light from the form 11 and generates an image signal. Then, the image capturing section 21 converts the image signal into color image data and captures it as an image.

【0026】ところで、帳票11が薄紙である場合、光
が照射されると、帳票11の表面に書き込まれた文字、
及び帳票11の裏面に書き込まれた文字のいずれについ
ても、画像信号が発生させられることがある。そこで、
本実施例においては、帳票11の表面に書き込まれた文
字と裏面に書き込まれた文字とを区別して読み取ること
ができるようになっている。そのために、帳票11の表
面に書き込む文字の色と、裏面に書き込む文字の色とを
変えておくか、又は、帳票11を無色透明以外の色を有
する素材にする。
By the way, when the form 11 is thin paper, when it is irradiated with light, the characters written on the surface of the form 11,
An image signal may be generated for any of the characters written on the back surface of the form 11. Therefore,
In the present embodiment, the characters written on the front surface and the characters written on the back surface of the form 11 can be read separately. Therefore, the color of characters written on the front side of the form 11 and the color of characters written on the back side are changed, or the form 11 is made of a material having a color other than colorless and transparent.

【0027】ところで、帳票11の表面に書き込まれた
文字の色と裏面に書き込まれた文字の色とが異なると、
RGBの分光特性の差異が生じる。一方、帳票11を無
色透明以外の色を有する素材にすると、表面の文字と裏
面の文字とで、RGBの分光特性の差異が生じる。そこ
で、イメージ分離部24において、前記分光特性の差異
によって前記画像イメージを帳票11の表面の文字イメ
ージと裏面の文字イメージとに分離する。
By the way, when the color of the character written on the front surface of the form 11 and the color of the character written on the rear surface are different,
Differences in RGB spectral characteristics occur. On the other hand, when the form 11 is made of a material having a color other than colorless and transparent, the difference in the spectral characteristics of RGB occurs between the characters on the front surface and the characters on the back surface. Therefore, the image separation unit 24 separates the image image into a character image on the front surface and a character image on the back surface of the form 11 according to the difference in the spectral characteristic.

【0028】この場合、分離された裏面の文字イメージ
は左右が逆になる。そこで、イメージ反転部27によっ
て帳票11の裏面の文字イメージだけを左右に反転させ
る。次に、前記文字切出し部28は、あらかじめ登録さ
れたフォーマットデータの文字位置における表面の文字
イメージ及び裏面の文字イメージから文字を切り出し、
認識部19によって文字を認識する。 ステップS21 帳票11を吸入する。 ステップS22 イメージ取込部21によってカラーの
イメージデータを画像イメージとして取り込む。 ステップS23 イメージ分離部24によって画像イメ
ージを帳票11の表面の文字イメージと裏面の文字イメ
ージとに分離する。 ステップS24 イメージ反転部27によって帳票11
の裏面の文字イメージだけを左右に反転させる。 ステップS25 文字切出し部28によって表面の文字
イメージ及び裏面の文字イメージから文字を切り出す。 ステップS26 認識部19によって文字を認識する。
In this case, the left and right character images of the separated back surface are reversed. Therefore, the image reversing unit 27 reverses only the character image on the back surface of the form 11 left and right. Next, the character cutout unit 28 cuts out a character from the character image on the front surface and the character image on the back surface at the character position of the pre-registered format data,
The recognition unit 19 recognizes the character. In step S21, the form 11 is inhaled. In step S22, the image capturing unit 21 captures color image data as an image. In step S23, the image separation unit 24 separates the image image into a character image on the front side and a character image on the back side of the form 11. In step S24, the image inversion unit 27 causes the form 11
Only the character image on the back of is flipped left and right. In step S25, the character cutout unit 28 cuts out characters from the character image on the front surface and the character image on the back surface. In step S26, the recognition unit 19 recognizes the character.

【0029】このように、光学式文字読取装置の構造を
複雑にすることなく、帳票11の表面に書き込まれた文
字と裏面に書き込まれた文字とを区別して読み取ること
ができるので、不読、誤読等の読取異常が発生すること
がない。なお、本発明は前記実施例に限定されるもので
はなく、本発明の趣旨に基づいて種々変形させることが
可能であり、これらを本発明の範囲から排除するもので
はない。
As described above, the characters written on the front surface and the characters written on the back surface of the form 11 can be distinguished and read without complicating the structure of the optical character reading device, and No reading error such as erroneous reading occurs. It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made based on the spirit of the present invention, and these are not excluded from the scope of the present invention.

【0030】[0030]

【発明の効果】以上詳細に説明したように、本発明によ
れば、光学式文字読取装置においては、帳票に光を照射
する光源と、前記帳票からの反射光を受け、画像信号を
発生させるCCDセンサと、前記画像信号を画像イメー
ジとして取り込むイメージ取込部と、前記画像イメージ
をRGBの分光特性の差異によって文字枠イメージと文
字イメージとに分離するイメージ分離部と、前記文字枠
イメージに基づいて文字位置を検出する文字位置検出部
と、検出された文字位置における文字イメージから文字
を切り出す文字切出し部と、切り出された文字を認識す
る認識部とを有する。
As described in detail above, according to the present invention, in the optical character reader, the light source for irradiating the form and the reflected light from the form generate the image signal. A CCD sensor, an image capturing unit that captures the image signal as an image image, an image separation unit that separates the image image into a character frame image and a character image according to the difference in RGB spectral characteristics, and based on the character frame image A character position detecting unit that detects a character position by using a character image, a character cutting unit that cuts a character from a character image at the detected character position, and a recognition unit that recognizes the cut character.

【0031】この場合、文字位置検出部は文字枠イメー
ジに基づいて文字位置を検出し、文字切出し部は検出さ
れた文字位置における文字イメージから文字を切り出
す。したがって、フォーマットデータをあらかじめ登録
しておく必要がない。本発明の他の光学式文字読取装置
においては、帳票に光を照射する光源と、前記帳票から
の反射光を受け、画像信号を発生させるCCDセンサ
と、前記画像信号を画像イメージとして取り込むイメー
ジ取込部と、前記画像イメージをRGBの分光特性の差
異によって文字枠イメージと文字イメージとに分離する
イメージ分離部と、前記文字枠イメージに基づいて帳票
の傾きを検出する傾き検出部と、あらかじめ登録された
フォーマットデータの文字位置を、検出された帳票の傾
きに基づいて補正し、補正された文字位置における文字
イメージから文字を切り出す文字切出し部と、切り出さ
れた文字を認識する認識部とを有する。
In this case, the character position detection unit detects the character position based on the character frame image, and the character cutout unit cuts out the character from the character image at the detected character position. Therefore, it is not necessary to register the format data in advance. In another optical character reader of the present invention, a light source that irradiates a form with light, a CCD sensor that receives reflected light from the form and generates an image signal, and an image capturing device that captures the image signal as an image image. An input unit, an image separation unit that separates the image image into a character frame image and a character image based on the difference in RGB spectral characteristics, an inclination detection unit that detects the inclination of the form based on the character frame image, and pre-registered. The character position of the formatted data is corrected based on the detected inclination of the form, and a character cutting unit that cuts a character from the character image at the corrected character position and a recognition unit that recognizes the cut character .

【0032】この場合、文字切出し部はフォーマットデ
ータの文字位置を、検出された帳票の傾きに基づいて補
正し、補正された文字位置における文字イメージから文
字を切り出す。したがって、帳票が斜行したり蛇行した
りしても、適切に文字を切り出すことができるので、不
読、誤読等の読取異常が発生することがない。本発明の
更に他の光学式文字読取装置においては、帳票に光を照
射する光源と、前記帳票からの反射光を受け、画像信号
を発生させるCCDセンサと、前記画像信号を画像イメ
ージとして取り込むイメージ取込部と、前記画像イメー
ジをRGBの分光特性の差異によって表面の文字イメー
ジと裏面の文字イメージとに分離するイメージ分離部
と、前記裏面の文字イメージを反転させるイメージ反転
部と、各文字イメージから文字を切り出す文字切出し部
と、切り出された文字を認識する認識部とを有する。
In this case, the character cutout unit corrects the character position of the format data based on the detected inclination of the form, and cuts out the character from the character image at the corrected character position. Therefore, even if the form is skewed or meandering, the characters can be appropriately cut out, so that no reading error such as unread or misread occurs. In still another optical character reading device of the present invention, a light source that irradiates a form with light, a CCD sensor that receives reflected light from the form and generates an image signal, and an image that captures the image signal as an image image A capture unit, an image separation unit that separates the image image into a front side character image and a back side character image according to the difference in RGB spectral characteristics, an image reversing unit that reverses the back side character image, and each character image It has a character cutout part for cutting out a character from and a recognition part for recognizing the cut out character.

【0033】この場合、イメージ分離部は画像イメージ
を表面の文字イメージと裏面の文字イメージとに分離
し、文字切出し部は表面の文字イメージ及び裏面の文字
イメージから文字を切り出す。したがって、帳票反転機
構、両面画像取込機構等の複雑な機構を設けることな
く、帳票の表面に書き込まれた文字と裏面に書き込まれ
た文字とを区別して読み取ることができる。
In this case, the image separation unit separates the image image into a front-side character image and a back-side character image, and the character cutting unit cuts out a character from the front-side character image and the back-side character image. Therefore, the characters written on the front surface and the characters written on the back surface of the form can be distinguished and read without providing a complicated mechanism such as a form reversing mechanism and a double-sided image capturing mechanism.

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

【図1】本発明の第1の実施例における光学式文字読取
装置のブロック図である。
FIG. 1 is a block diagram of an optical character reader according to a first embodiment of the present invention.

【図2】本発明の第1の実施例における光学式文字読取
装置の動作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation of the optical character reading device according to the first embodiment of the present invention.

【図3】本発明の第2の実施例における光学式文字読取
装置のブロック図である。
FIG. 3 is a block diagram of an optical character reader according to a second embodiment of the present invention.

【図4】本発明の第2の実施例における光学式文字読取
装置の動作を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of the optical character reading device according to the second embodiment of the present invention.

【図5】本発明の第3の実施例における光学式文字読取
装置のブロック図である。
FIG. 5 is a block diagram of an optical character reading device according to a third embodiment of the present invention.

【図6】本発明の第3の実施例における光学式文字読取
装置の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of the optical character reading device according to the third embodiment of the present invention.

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

11 帳票 14 光源 15 CCDセンサ 16、24 イメージ分離部 17 文字位置検出部 18、28 文字切出し部 19 認識部 21 イメージ取込部 23 傾き検出部 27 イメージ反転部 11 Form 14 Light Source 15 CCD Sensor 16, 24 Image Separation Unit 17 Character Position Detection Unit 18, 28 Character Cutout Unit 19 Recognition Unit 21 Image Capture Unit 23 Tilt Detection Unit 27 Image Inversion Unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 (a)帳票に光を照射する光源と、
(b)前記帳票からの反射光を受け、画像信号を発生さ
せるCCDセンサと、(c)前記画像信号を画像イメー
ジとして取り込むイメージ取込部と、(d)前記画像イ
メージをRGBの分光特性の差異によって文字枠イメー
ジと文字イメージとに分離するイメージ分離部と、
(e)前記文字枠イメージに基づいて文字位置を検出す
る文字位置検出部と、(f)検出された文字位置におけ
る文字イメージから文字を切り出す文字切出し部と、
(g)切り出された文字を認識する認識部とを有するこ
とを特徴とする光学式文字読取装置。
1. A light source for irradiating a form with light,
(B) a CCD sensor that receives the reflected light from the form and generates an image signal; (c) an image capturing section that captures the image signal as an image image; and (d) the image image of RGB spectral characteristics. An image separation unit that separates the character frame image and the character image according to the difference,
(E) a character position detection unit that detects a character position based on the character frame image, and (f) a character cutout unit that cuts out a character from the character image at the detected character position,
(G) An optical character reader having a recognition unit for recognizing cut-out characters.
【請求項2】 (a)帳票に光を照射する光源と、
(b)前記帳票からの反射光を受け、画像信号を発生さ
せるCCDセンサと、(c)前記画像信号を画像イメー
ジとして取り込むイメージ取込部と、(d)前記画像イ
メージをRGBの分光特性の差異によって文字枠イメー
ジと文字イメージとに分離するイメージ分離部と、
(e)前記文字枠イメージに基づいて帳票の傾きを検出
する傾き検出部と、(f)あらかじめ登録されたフォー
マットデータの文字位置を、検出された帳票の傾きに基
づいて補正し、補正された文字位置における文字イメー
ジから文字を切り出す文字切出し部と、(g)切り出さ
れた文字を認識する認識部とを有することを特徴とする
光学式文字読取装置。
2. A light source for irradiating a form with light,
(B) a CCD sensor that receives the reflected light from the form and generates an image signal; (c) an image capturing section that captures the image signal as an image image; and (d) the image image of RGB spectral characteristics. An image separation unit that separates the character frame image and the character image according to the difference,
(E) An inclination detection unit that detects the inclination of the form based on the character frame image, and (f) the character position of the pre-registered format data is corrected based on the detected inclination of the form and corrected. An optical character reading device comprising: a character cutout unit that cuts out a character from a character image at a character position; and (g) a recognition unit that recognizes the cut out character.
【請求項3】 (a)帳票に光を照射する光源と、
(b)前記帳票からの反射光を受け、画像信号を発生さ
せるCCDセンサと、(c)前記画像信号を画像イメー
ジとして取り込むイメージ取込部と、(d)前記画像イ
メージをRGBの分光特性の差異によって表面の文字イ
メージと裏面の文字イメージとに分離するイメージ分離
部と、(e)前記裏面の文字イメージを反転させるイメ
ージ反転部と、(f)各文字イメージから文字を切り出
す文字切出し部と、(g)切り出された文字を認識する
認識部とを有することを特徴とする光学式文字読取装
置。
3. A light source for irradiating a form with light,
(B) a CCD sensor that receives the reflected light from the form and generates an image signal; (c) an image capturing section that captures the image signal as an image image; and (d) the image image of RGB spectral characteristics. An image separation unit that separates a front-side character image and a back-side character image according to a difference, (e) an image reversing unit that reverses the back-side character image, and (f) a character cutting unit that cuts out a character from each character image. , (G) a recognition unit for recognizing the cut-out character, and an optical character reading device.
JP7115529A 1995-05-15 1995-05-15 Optical character reader Withdrawn JPH08315072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7115529A JPH08315072A (en) 1995-05-15 1995-05-15 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7115529A JPH08315072A (en) 1995-05-15 1995-05-15 Optical character reader

Publications (1)

Publication Number Publication Date
JPH08315072A true JPH08315072A (en) 1996-11-29

Family

ID=14664792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7115529A Withdrawn JPH08315072A (en) 1995-05-15 1995-05-15 Optical character reader

Country Status (1)

Country Link
JP (1) JPH08315072A (en)

Similar Documents

Publication Publication Date Title
JP2007208617A (en) Image reading apparatus and image reading method
JPH11341229A (en) Device and method for picture processing
JP7104650B2 (en) Image reader, image processing system, control method and control program
JP2724926B2 (en) Microfilm reader printer and microfilm
JPH08315072A (en) Optical character reader
JP2006072506A (en) Photographic processor
JPH08265563A (en) Image reader
JPH06339007A (en) Picture reader
JP3126407B2 (en) Apparatus for registering an image in a storage medium
US11979540B2 (en) Image reading system, image reading method, non-transitory computer-readable storage medium for correcting a size and position of an image to be displayed
JP3264547B2 (en) Micro film reader and image reading method thereof
JPH06233112A (en) Black frame detecting method for microfilm reader
JPH0678133A (en) Photographing stand type input device
JPH01144181A (en) Optical character reader
JP2000043356A (en) Apparatus for printing paper sheet or the like
JPH02128292A (en) Optical character reader
JPH0235869A (en) Picture reader
JP2002368932A (en) Image processor
JPH03190360A (en) Picture reader
JPH08204911A (en) Original size detector
JPH05298484A (en) Optical character reader
JP2000163511A (en) Optical character reader
JPS61144968A (en) Numerical information readout system using facsimile
JPH06266883A (en) Character reader
JP2000307842A (en) Image input device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020806