JP2004094735A - Optical character recognizing device and method for retaining image data of image buffer in same - Google Patents

Optical character recognizing device and method for retaining image data of image buffer in same Download PDF

Info

Publication number
JP2004094735A
JP2004094735A JP2002256914A JP2002256914A JP2004094735A JP 2004094735 A JP2004094735 A JP 2004094735A JP 2002256914 A JP2002256914 A JP 2002256914A JP 2002256914 A JP2002256914 A JP 2002256914A JP 2004094735 A JP2004094735 A JP 2004094735A
Authority
JP
Japan
Prior art keywords
image
image data
buffer
read
optical character
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
JP2002256914A
Other languages
Japanese (ja)
Inventor
Masaaki Masuda
増田 正昭
Masao Kurita
栗田 雅郎
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 JP2002256914A priority Critical patent/JP2004094735A/en
Publication of JP2004094735A publication Critical patent/JP2004094735A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)
  • Image Input (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical character recognizing device having a form transport-type scanner capable of constantly retaining the optimum form image even if the transport speed of the form is accelerated and the plurality of forms having different sizes and paper thicknesses are mixed and a method for retaining the image data of an image buffer in the same. <P>SOLUTION: A histogram creation section 23 creates a histogram in the transport direction of the slip P on the basis of the image data of white pixels when the image data (the white pixels) of the form is contained in the image data supplied to the image buffer 22. A form end detection section 24 detects the tip of the form P from the histogram. A buffer control section 25 instructs the ring type image buffer 22 to start writing upon receiving the detection signal of the form end from the slip end detection section 24 to write the image data of the form P to be read on the image buffer 22. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、帳票搬送型のスキャナを備えた光学的文字認識装置、および光学的文字認識装置に於けるイメージバッファの画像データ保持方法に関する。
【0002】
また、本発明は、用紙の大きさを異にする複数種の帳票を高速で搬送し読み取るスキャナ機構を実現する際に適用して好適な光学的文字認識装置、および光学的文字認識装置に於けるイメージバッファの画像データ保持方法に関する。
【0003】
【従来の技術】
帳票搬送路上で被読取帳票のイメージを読み取る帳票搬送型のスキャナを備えた光学的文字認識装置に於いては、スキャナで読み取った帳票イメージの画像データを記憶するイメージバッファを実装している。このイメージバッファは、帳票の搬送を制御する帳票搬送制御装置により、画像データを記憶する開始アドレス並びに終了アドレスが制御される。
【0004】
図3は光学的文字認識装置に於けるスキャナ部の従来の画像データ保持機構の構成を示すブロック図である。図3に於いて、スキャナ部の帳票搬送機構には、搬送路上に搬送される帳票(P)のイメージを読み取るイメージセンサ(CCD)31、上記帳票(P)の搬送方向先端および後端を検出する帳票検出センサ32、帳票(P)を搬送路上で所定の搬送方向(図示矢印方向)に所定の搬送スピードで搬送する帳票搬送モータ33等が設けられるとともに、帳票搬送モータ33を制御し、帳票検出センサ32の検出信号をもとにイメージセンサ31および後述するイメージバッファを制御する帳票搬送制御装置34が設けられる。
【0005】
更に、上記スキャナ部には、上記イメージセンサ31で読み取った帳票イメージの信号(アナログ信号)をディジタル画像化処理するA/D変換・画像処理部35、およびA/D変換・画像処理部35で処理された帳票イメージの画像データを保持するイメージバッファ36等が設けられる。
【0006】
ここで、上記帳票搬送機構の搬送路上に送り出された帳票(P)は、矢印方向に搬送され、イメージセンサ31の手前で、その先端が帳票検出センサ32により検出される。この検出信号をもとに帳票搬送制御装置34がイメージセンサ31の書き込み制御を行う。例えば帳票(P)がイメージセンサ31に到着する数mm手前で、イメージバッファ36に、画像データの書き込み開始が指示される。この指示に従い、イメージバッファ36は、イメージセンサ31で読み取った帳票イメージの画像データの書き込みを開始する。
【0007】
また、画像データの書き込み終了は、帳票検出センサ32が帳票(P)の後端を検出し、若しくは予め指定されている帳票長さを経過した後に、帳票搬送制御装置34からイメージバッファ36に書き込み終了が指示される。この際、帳票(P)の搬送速度を一定としたとき、帳票検出センサ32の検出位置(P1)とイメージセンサ31の読取位置(P2)との間の距離を適正に保つことで、イメージバッファ36に帳票イメージの全体(前端から後端まで)が保持される。
【0008】
しかしながら、上記した従来のスキャナ部に於ける画像データ保持機構に於いては、帳票(P)の搬送速度が高速化されるにつれて、更には、帳票の大きさや帳票の紙厚の混在を許容した際の帳票搬送状態により、帳票搬送制御装置34からイメージバッファ36へのイメージデータの書き込み開始や終了を適切に指示できないことがある。
【0009】
これにより、イメージバッファ36上に帳票全体の画像が正しく書き込まれず、帳票画像の位置が一定しなかったり、上端若しくは下端の切れた(欠落した)画像が書き込まれたり、極端な例では画像全体が書き込まれない場合がある。
【0010】
例えば、イメージバッファ36への書き込み開始タイミングに遅れが生じると、図4に示すように、イメージバッファ36には後端側が欠落した帳票画像が保持され、帳票画像全体を正しく保持することができないことがある。特に、大きさや紙厚を異にする複数種の帳票の混在を許すシステムに於いて、帳票搬送機構の搬送路上に設けられたイメージセンサ31の手前で帳票(P)の搬送速度を加速し高速搬送して、その帳票イメージを読み取ろうとした際に、上記した問題が顕著に現れる。
【0011】
【発明が解決しようとする課題】
上述したように、従来では、スキャナ部に於ける画像データ保持機構に於いて、帳票の搬送速度を高速化する際、更には帳票の大きさや帳票の紙厚の混在を許容する際に、帳票搬送制御装置からイメージバッファへのイメージデータの書き込み開始や終了を適切に指示できず、これによりイメージバッファ上に保持される帳票イメージの画像位置が一定しなかったり、帳票イメージの上端若しくは下端部分が欠落したり、帳票イメージの画像全体が書き込まれない等の不具合が発生するという問題があった。
【0012】
本発明は上記実情に鑑みなされたもので、帳票の搬送速度を高速化、大きさや紙厚を異にする複数種の帳票の混在化等に対しても、常に最適な帳票画像を保持することのできる帳票搬送型のスキャナを備えた光学的文字認識装置、および光学的文字認識装置に於けるイメージバッファの画像データ保持方法を提供することを目的とする。
【0013】
【課題を解決するための手段】
上記目的を達成するために、本発明の光学的文字認識装置は、被読取帳票を帳票搬送路上で読み取る帳票読み取り部と、前記帳票読み取り部で読み取った先頭の画像データから、取り込みを開始する画像データの先端を検出する先端検出手段と、前記先端検出手段の検出信号に基づいて前記画像データを記憶するリング形式のイメージバッファとを具備することを特徴とする。
【0014】
また、本発明の光学的文字認識装置は、被読取帳票を帳票搬送路上で読み取る帳票読み取り部と、前記帳票読み取り部で読み取った画像データを記憶するリング形式のイメージバッファと、前記帳票読み取り部で読み取った先頭の画像データのイメージから搬送方向のヒストグラムを生成するヒストグラム生成手段と、前記ヒストグラム生成手段で生成したヒストグラムに基づいて前記イメージバッファへの前記画像データの書き込み開始を指示する制御手段とを具備することを特徴とする。
【0015】
このように、本発明は、イメージバッファをリングバッファ形式にして、上記イメージバッファに供給される先頭の画像データからイメージバッファに取り込む画像データの先端を検出し、この検出信号に基づいて上記リングバッファに画像データを書き込む構成としたことにより、帳票の搬送状態に依らず、限られたイメージバッファ容量内で、入力された帳票イメージを適切な状態で保持し、出力することができる。
【0016】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態を説明する。
【0017】
図1は、本発明の実施形態による光学的文字認識装置のスキャナ部の画像データ保持機構の構成を示すブロック図である。
【0018】
図1に於いて、スキャナ部の帳票搬送機構には、搬送路上に搬送される被読取帳票(P)のイメージを読み取るイメージセンサ(CCD)11、上記被読取帳票(P)を搬送路上で所定の搬送方向(図示矢印方向)に所定の搬送速度で搬送する帳票搬送モータ12等が設けられるとともに、帳票搬送機構に設けられたイメージセンサ11、帳票搬送モータ12等の各機構部を制御する帳票搬送制御装置13が設けられる。
【0019】
更に、上記スキャナ部には、A/D変換・画像処理部21、リング形式のイメージバッファ22、ヒストグラム作成部23、帳票端検出部24、読み出しアドレス変換機構25aを含むバッファ制御部25等が設けられる。
【0020】
A/D変換・画像処理部21は、上記イメージセンサ11で読み取った帳票イメージの信号(アナログ信号)をディジタル画像化処理して、被読み取り帳票の画像データを出力する。リング形式のイメージバッファ22は、上記A/D変換・画像処理部21で処理された帳票の画像データを記憶する。
【0021】
ヒストグラム作成部23は、イメージバッファ22に供給される画像データから被読取帳票(P)の画像データの搬送方向のヒストグラムを作成する。帳票端検出部24は、ヒストグラム作成部23で作成されたヒストグラムに基づいてイメージバッファ22に取り込む被読取帳票(P)の画像データの先端および後端を検出する。
【0022】
バッファ制御部25は、帳票端検出部24の検出信号をもとにリング形式のイメージバッファ22を書き込み/読み出し制御する。バッファ制御部25に設けられた読み出しアドレス変換機構25aは、リング形式のイメージバッファ22に保持された画像データを読み出す際に、当該イメージバッファ22に保持された画像データの帳票先端部の物理アドレス、若しくは帳票先端より所定量手前(例えば帳票先端より10mm手前)の物理アドレス(図2に示す例ではA0000番地)を、読み出しを開始するアドレス0番地に相対アドレス変換する。
【0023】
図2は、上記実施形態による画像データ保持機構の動作説明図である。
【0024】
図2に於いて、図2(a)は、リング形式のイメージバッファ22に記憶された被読取帳票(P)の画像データと、イメージバッファ22の物理アドレスの関係を示す図である。ここでは、上記イメージバッファ22を、20桁のアドレス範囲(00000〜FFFFF)を持つ、1Mバイトのリングバッファ形式で構成し、任意のアドレスを起点に連続して(循環して)画像データを記憶することができる構成としている。
【0025】
図2(b)は、リング形式のイメージバッファ22に書き込まれる画像データを基に、ヒストグラム作成部23で作成された被読取帳票(P)の画像データの搬送方向のヒストグラムを示す図である。図2(c)は、上記ヒストグラム作成部23で作成されたヒストグラムを基に、帳票端検出部24で検出した画像データの搬送方向の先端検出信号を示す図である。
【0026】
図2(d)は、帳票端検出部24で検出した画像データの搬送方向先端の検出信号をもとに、リング形式のイメージバッファ22に保持された画像データを読出す際の読み出しアドレス変換機構25aのアドレス変換例を示す図である。ここでは、帳票のスキュー量を考慮して、帳票端検出部24で検出した帳票先端から所定量手前(例えば、帳票先端より10mm手前)のメモリ(イメージバッファ22)上の物理アドレス(A0000番地)を、読み出し開始アドレス(0番地)にアドレス変換する。
【0027】
ここで、上記図1および図2を参照して本発明の実施形態に於ける動作を説明する。
【0028】
帳票搬送機構の搬送路上に送り出された被読取帳票(P)は、搬送路によりイメージセンサ(CCD)11の読み取り位置に搬送され、被読取帳票(P)の帳票イメージが読み取られる。このイメージセンサ(CCD)11で読み取った被読取帳票(P)の帳票イメージ(アナログ信号)は、A/D変換・画像処理部21にてディジタル画像化処理され、被読取帳票(P)の画像データとしてリング形式のイメージバッファ22に供給される。
【0029】
ヒストグラム作成部23は、上記イメージバッファ22に供給された先頭の画像データに、帳票の画像データ(帳票の最上部の余白から得られる白画素)が含まれると、その白画素の画像データを基に搬送方向のヒストグラムを作成し、帳票端検出部24に送出する。帳票端検出部24は、上記ヒストグラム作成部23で作成されたヒストグラムからイメージバッファ22に取り込む被読取帳票(P)の画像データの先端を検出し、その帳票先端の検出信号をバッファ制御部25に送出する。
【0030】
バッファ制御部25は、帳票端検出部24より帳票先端の検出信号を受けると、リング形式のイメージバッファ22に書き込み開始を指示して、イメージバッファ22にA/D変換・画像処理部21から出力される被読取帳票(P)の画像データを書き込む。この際のイメージバッファ22への画像データの書き込み状態例を図2(a)に示している。ここでは、リング形式のイメージバッファ22の物理アドレスA0000〜30000番地(A0000〜FFFFF,00000〜30000)の間に、被読取帳票(P)の画像データが書き込まれる。同様にして、帳票検出部24によって被読取帳票(P)の画像データの後端を検出すると、バッファ制御部25はリング形式のイメージバッファ22へ書き込み終了を指示して、画像データの記憶を完了する。
【0031】
この際、イメージバッファ22はリング形式であることから、画像データの書き込み番地が物理アドレスFFFFF番地に達すると、続く画像データを物理アドレス00000番地から書き込む。これによって被読取帳票(P)の画像データは、限られたメモリ容量(この例では1Mバイト)のなかで、欠落が生じることなく記憶される。
【0032】
一方、リング形式のイメージバッファ22に記憶された被読取帳票(P)の画像データを読出す際、バッファ制御部25に設けられた読み出しアドレス変換機構25aは、帳票端検出部24で検出した帳票先端から所定量手前(例えば帳票先端より10mm手前)のイメージバッファ22上の物理アドレス(A0000番地)を、読み出し開始アドレス(0番地)にアドレス変換する。これにより、バッファ制御部25は、認識処理部よりイメージバッファ22の読み出し指示を受けると、物理アドレスA0000番地を読み出しアドレスの起点として画像データの読み出しを開始する。この際のアドレス変換例を図2(d)に示している。従って、認識処理部がイメージバッファ22より被読取帳票(P)の画像データを読み込む際、認識処理部は、常にアドレス0から帳票イメージをリードすれば、必ず帳票先端より数mm手前の欠落のない画像データを取得することができる。
【0033】
【発明の効果】
以上詳記したように本発明によれば、帳票搬送型のスキャナを備えた光学的文字認識装置に於いて、帳票の搬送速度を高速化、大きさや紙厚を異にする複数種の帳票の混在化等に対しても、常に最適な帳票画像を保持することができる。
【図面の簡単な説明】
【図1】本発明の実施形態による光学的文字認識装置のスキャナ部の画像データ保持機構の構成を示すブロック図。
【図2】上記実施形態による画像データ保持機構の動作説明図。
【図3】光学的文字認識装置に於けるスキャナ部の従来の画像データ保持機構の構成を示すブロック図。
【図4】従来の画像データ保持機構による画像データの欠落例を示す図。
【符号の説明】
11…イメージセンサ(CCD)
12…帳票搬送モータ
13…帳票搬送制御装置
21…A/D変換・画像処理部
22…リング形式のイメージバッファ
23…ヒストグラム作成部
24…帳票端検出部
25…バッファ制御部
25a…読み出しアドレス変換機構
P…被読取帳票
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an optical character recognition device provided with a form transport type scanner, and a method for holding image data in an image buffer in the optical character recognition device.
[0002]
Further, the present invention relates to an optical character recognition device and an optical character recognition device which are suitably applied to realize a scanner mechanism for transporting and reading a plurality of types of forms having different sizes of paper at high speed. The present invention relates to a method for holding image data in an image buffer.
[0003]
[Prior art]
2. Description of the Related Art An optical character recognition device provided with a form transport type scanner for reading an image of a form to be read on a form transport path has an image buffer for storing image data of a form image read by the scanner. In this image buffer, a form transport control device for controlling the transport of the form controls a start address and an end address for storing image data.
[0004]
FIG. 3 is a block diagram showing a configuration of a conventional image data holding mechanism of a scanner unit in the optical character recognition device. In FIG. 3, an image sensor (CCD) 31 for reading an image of a form (P) conveyed on a conveyance path, and a leading end and a rear end of the form (P) in the conveying direction are detected by a form conveying mechanism of the scanner unit. A form detection sensor 32, a form transport motor 33 for transporting the form (P) on the transport path in a predetermined transport direction (the direction of the arrow in the drawing) at a predetermined transport speed, and the like are provided, and the form transport motor 33 is controlled to A form transport control device 34 for controlling the image sensor 31 and an image buffer described later based on the detection signal of the detection sensor 32 is provided.
[0005]
Further, the scanner unit includes an A / D conversion / image processing unit 35 that converts a signal (analog signal) of a form image read by the image sensor 31 into a digital image, and an A / D conversion / image processing unit 35. An image buffer 36 for holding image data of the processed form image is provided.
[0006]
Here, the form (P) sent out on the transport path of the form transport mechanism is transported in the direction of the arrow, and the leading end thereof is detected by the form detection sensor 32 before the image sensor 31. The form transport control unit 34 controls the writing of the image sensor 31 based on the detection signal. For example, a few mm before the form (P) arrives at the image sensor 31, the image buffer 36 is instructed to start writing image data. In accordance with this instruction, the image buffer 36 starts writing image data of the form image read by the image sensor 31.
[0007]
When the writing of the image data is completed, the form detection sensor 32 detects the trailing end of the form (P) or writes the form data from the form transport control device 34 to the image buffer 36 after a predetermined form length has elapsed. Termination is instructed. At this time, when the conveyance speed of the form (P) is constant, the distance between the detection position (P1) of the form detection sensor 32 and the reading position (P2) of the image sensor 31 is appropriately maintained, so that the image buffer 36 holds the entire form image (from the front end to the rear end).
[0008]
However, in the image data holding mechanism in the above-described conventional scanner unit, as the transport speed of the form (P) is increased, the size of the form and the thickness of the form are mixed. Depending on the form transport state, the form transport control device 34 may not be able to appropriately instruct the start or end of writing the image data to the image buffer 36.
[0009]
As a result, the image of the entire form is not correctly written on the image buffer 36, the position of the form image is not fixed, an image with a cut or missing upper or lower end is written, or in an extreme case, the entire image is written. It may not be written.
[0010]
For example, if the write start timing to the image buffer 36 is delayed, as shown in FIG. 4, the image buffer 36 holds the form image with the trailing end missing, and the entire form image cannot be correctly held. There is. In particular, in a system that allows a mixture of a plurality of types of forms having different sizes and paper thicknesses, the conveyance speed of the form (P) is accelerated before the image sensor 31 provided on the conveyance path of the form conveyance mechanism to increase the speed. When the document is transported and the form image is read, the above-described problem becomes conspicuous.
[0011]
[Problems to be solved by the invention]
As described above, in the related art, in the image data holding mechanism in the scanner unit, when increasing the transport speed of a form, and when allowing the mixture of the form size and the form paper thickness, the form The transfer control device cannot appropriately instruct the start or end of writing the image data to the image buffer, and thus the image position of the form image held in the image buffer is not constant, or the top or bottom of the form image is not There has been a problem that defects such as dropout and not writing of the entire form image occur.
[0012]
The present invention has been made in view of the above circumstances, and always maintains an optimal form image even when a form is transported at a high speed and a plurality of forms having different sizes and paper thicknesses are mixed. It is an object of the present invention to provide an optical character recognizing device provided with a form-conveying type scanner and a method for holding image data in an image buffer in the optical character recognizing device.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, an optical character recognition device according to the present invention includes a form reading unit that reads a form to be read on a form transport path, and an image to start capturing from the first image data read by the form reading unit. The image processing apparatus further includes a tip detection unit that detects a tip of data, and a ring-type image buffer that stores the image data based on a detection signal of the tip detection unit.
[0014]
Further, the optical character recognition device of the present invention is a form reading unit that reads a form to be read on a form transport path, a ring-type image buffer that stores image data read by the form reading unit, and a form reading unit. Histogram generating means for generating a histogram in the transport direction from the read image of the leading image data; andcontrol means for instructing a start of writing the image data to the image buffer based on the histogram generated by the histogram generating means. It is characterized by having.
[0015]
As described above, according to the present invention, the image buffer is formed into a ring buffer format, and the leading end of the image data to be taken into the image buffer is detected from the leading image data supplied to the image buffer. With this configuration, the input form image can be held and output in an appropriate state within a limited image buffer capacity regardless of the form transport state.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0017]
FIG. 1 is a block diagram illustrating a configuration of an image data holding mechanism of a scanner unit of an optical character recognition device according to an embodiment of the present invention.
[0018]
In FIG. 1, a form transport mechanism of a scanner unit includes an image sensor (CCD) 11 for reading an image of a form (P) to be read conveyed on a transport path, and a predetermined form on the form (P) to be read on the transport path. A form transport motor 12 and the like for transporting the document at a predetermined transport speed in the transport direction (the direction of the arrow shown in the figure) are provided, and a form for controlling each mechanism such as the image sensor 11 and the form transport motor 12 provided in the form transport mechanism. A transfer control device 13 is provided.
[0019]
Further, the scanner unit includes an A / D conversion / image processing unit 21, a ring-type image buffer 22, a histogram creation unit 23, a form edge detection unit 24, a buffer control unit 25 including a read address conversion mechanism 25a, and the like. Can be
[0020]
The A / D conversion / image processing unit 21 converts the signal (analog signal) of the form image read by the image sensor 11 into a digital image, and outputs image data of the form to be read. The ring type image buffer 22 stores the image data of the form processed by the A / D conversion / image processing unit 21.
[0021]
The histogram creating unit 23 creates a histogram of the image data of the form to be read (P) in the transport direction from the image data supplied to the image buffer 22. The form edge detection unit 24 detects the leading edge and the trailing edge of the image data of the form to be read (P) to be loaded into the image buffer 22 based on the histogram created by the histogram creating unit 23.
[0022]
The buffer control unit 25 controls writing / reading of the ring type image buffer 22 based on the detection signal of the form edge detection unit 24. When reading out the image data held in the ring type image buffer 22, the read address conversion mechanism 25 a provided in the buffer control unit 25 reads the physical address of the leading end of the form of the image data held in the image buffer 22, Alternatively, the physical address (for example, address A0000 in the example shown in FIG. 2) a predetermined amount before the form leading end (for example, 10 mm before the form leading end) is converted to an address 0 for starting reading.
[0023]
FIG. 2 is an operation explanatory diagram of the image data holding mechanism according to the embodiment.
[0024]
2A is a diagram showing a relationship between image data of a form to be read (P) stored in the ring-type image buffer 22 and a physical address of the image buffer 22. FIG. Here, the image buffer 22 is configured in a 1-Mbyte ring buffer format having a 20-digit address range (0000 to FFFFF), and stores (circulates) image data continuously starting from an arbitrary address. It has a configuration that can be used.
[0025]
FIG. 2B is a diagram showing a histogram in the transport direction of the image data of the form to be read (P) created by the histogram creating unit 23 based on the image data written into the image buffer 22 in the ring format. FIG. 2C is a diagram illustrating a leading edge detection signal in the transport direction of the image data detected by the form edge detecting unit 24 based on the histogram created by the histogram creating unit 23.
[0026]
FIG. 2D shows a read address conversion mechanism for reading the image data held in the ring type image buffer 22 based on the detection signal of the leading end in the transport direction of the image data detected by the form edge detection unit 24. It is a figure which shows the example of address conversion of 25a. Here, in consideration of the skew amount of the form, the physical address (address A0000) on the memory (image buffer 22) a predetermined amount (for example, 10 mm before the form front) from the top of the form detected by the form end detection unit 24. Is converted to a read start address (address 0).
[0027]
Here, the operation in the embodiment of the present invention will be described with reference to FIGS.
[0028]
The form to be read (P) sent out on the conveyance path of the form conveyance mechanism is conveyed to the reading position of the image sensor (CCD) 11 by the conveyance path, and the form image of the form to be read (P) is read. The form image (analog signal) of the form to be read (P) read by the image sensor (CCD) 11 is digitized by the A / D conversion / image processing unit 21 to obtain an image of the form to be read (P). The data is supplied to the ring-type image buffer 22 as data.
[0029]
If the top image data supplied to the image buffer 22 includes the image data of the form (white pixels obtained from the top margin of the form), the histogram creating unit 23 uses the image data of the white pixels as a basis. Then, a histogram in the transport direction is created and sent to the form edge detection unit 24. The form edge detection unit 24 detects the leading end of the image data of the read form (P) to be taken into the image buffer 22 from the histogram created by the histogram creating unit 23, and sends a detection signal of the leading end of the form to the buffer control unit 25. Send out.
[0030]
When receiving the detection signal of the leading end of the form from the form end detecting section 24, the buffer control section 25 instructs the ring-type image buffer 22 to start writing and outputs the image buffer 22 from the A / D conversion / image processing section 21. The image data of the read form (P) to be read is written. FIG. 2A shows an example of the state of writing image data to the image buffer 22 at this time. Here, the image data of the form to be read (P) is written between the physical addresses A0000 to 30000 (A0000 to FFFFF, 0000 to 30000) of the ring-type image buffer 22. Similarly, when the form detection unit 24 detects the trailing end of the image data of the form to be read (P), the buffer control unit 25 instructs the end of writing to the ring-type image buffer 22 and completes the storage of the image data. I do.
[0031]
At this time, since the image buffer 22 has a ring format, when the write address of the image data reaches the physical address FFFFF, the subsequent image data is written from the physical address 00000. As a result, the image data of the form to be read (P) is stored in the limited memory capacity (1 Mbytes in this example) without any loss.
[0032]
On the other hand, when reading the image data of the form to be read (P) stored in the ring-type image buffer 22, the read address conversion mechanism 25 a provided in the buffer control unit 25 uses the form detected by the form end detection unit 24. The physical address (address A0000) on the image buffer 22 that is a predetermined amount before the leading edge (for example, 10 mm before the leading edge of the form) is converted into a read start address (address 0). Thus, when the buffer control unit 25 receives an instruction to read the image buffer 22 from the recognition processing unit, the buffer control unit 25 starts reading image data with the physical address A0000 as the starting point of the read address. FIG. 2D shows an example of address conversion at this time. Therefore, when the recognition processing unit reads the image data of the form to be read (P) from the image buffer 22, if the recognition processing unit always reads the form image from the address 0, the recognition processing unit does not have a missing part several mm before the leading end of the form. Image data can be obtained.
[0033]
【The invention's effect】
As described above in detail, according to the present invention, in an optical character recognition device equipped with a form transport type scanner, a form transport speed is increased, and a plurality of types of forms having different sizes and thicknesses are used. It is possible to always keep the optimal form image even for the mixture or the like.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an image data holding mechanism of a scanner unit of an optical character recognition device according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram of an operation of the image data holding mechanism according to the embodiment.
FIG. 3 is a block diagram showing a configuration of a conventional image data holding mechanism of a scanner unit in the optical character recognition device.
FIG. 4 is a diagram showing an example of missing image data by a conventional image data holding mechanism.
[Explanation of symbols]
11 ... Image sensor (CCD)
Reference numeral 12: a form transport motor 13 ... a form transport control device 21 ... an A / D conversion / image processing unit 22 ... a ring-type image buffer 23 ... a histogram creation unit 24 ... a form end detection unit 25 ... a buffer control unit 25a ... a read address conversion mechanism P ... read form

Claims (7)

被読取帳票を帳票搬送路上で読み取る帳票読み取り部と、
前記帳票読み取り部で読み取った先頭の画像データから、取り込みを開始する画像データの先端を検出する先端検出手段と、
前記先端検出手段の検出信号に基づいて前記画像データを記憶するリング形式のイメージバッファと
を具備することを特徴とする光学的文字認識装置。
A form reading unit that reads a form to be read on a form transport path;
From the leading image data read by the form reading unit, a leading edge detecting means for detecting a leading edge of image data to start capturing,
An optical character recognition device, comprising: a ring-type image buffer that stores the image data based on a detection signal of the tip detection unit.
被読取帳票を帳票搬送路上で読み取る帳票読み取り部と、
前記帳票読み取り部で読み取った画像データを記憶するリング形式のイメージバッファと、
前記帳票読み取り部で読み取った先頭の画像データのイメージから搬送方向のヒストグラムを生成するヒストグラム生成手段と、
前記ヒストグラム生成手段で生成したヒストグラムに基づいて前記イメージバッファへの前記画像データの書き込み開始を指示する制御手段と
を具備することを特徴とする光学的文字認識装置。
A form reading unit that reads a form to be read on a form transport path;
A ring-type image buffer for storing the image data read by the form reading unit,
Histogram generation means for generating a histogram in the transport direction from the image of the leading image data read by the form reading unit,
An optical character recognition device, comprising: control means for instructing the start of writing of the image data into the image buffer based on the histogram generated by the histogram generation means.
前記制御手段は、
前記ヒストグラム生成手段で生成したヒストグラムに基づいて前記画像データの先端を検出する先端検出手段と、
前記先端検出手段の検出信号をもとに前記イメージバッファの書き込みおよび読み出しを制御するバッファ制御手段と
を具備することを特徴とする請求項2記載の光学的文字認識装置。
The control means includes:
Tip detection means for detecting the tip of the image data based on the histogram generated by the histogram generation means,
3. The optical character recognition device according to claim 2, further comprising: a buffer control unit that controls writing and reading of the image buffer based on a detection signal of the tip detection unit.
前記バッファ制御手段は、前記イメージバッファの読み出し制御時に於いて、前記イメージバッファの書き込み開始アドレスと読み出し開始アドレスとの相対的なアドレス変換を行う読み出しアドレス変換機構を具備することを特徴とする請求項3記載の光学的文字認識装置。2. The image processing apparatus according to claim 1, wherein the buffer control unit includes a read address conversion mechanism that performs a relative address conversion between a write start address and a read start address of the image buffer during read control of the image buffer. 3. The optical character recognition device according to 3. 光学的文字認識装置に於けるイメージバッファの画像データ保持方法に於いて、
前記イメージバッファをリングバッファにより構成し、
帳票読み取り部で読み取った先頭の画像データから、取り込みを開始する画像データの先端を検出し、
その先端検出に基づいて前記画像データを前記リングバッファに記憶する
ことを特徴とする光学的文字認識装置に於けるイメージバッファの画像データ保持方法。
In a method of holding image data in an image buffer in an optical character recognition device,
The image buffer is constituted by a ring buffer,
From the top image data read by the form reading unit, the leading end of the image data to start loading is detected,
And storing the image data in the ring buffer based on the detection of the leading edge.
光学的文字認識装置に於けるイメージバッファの画像データ保持方法に於いて、
前記イメージバッファをリングバッファにより構成し、
帳票読み取り部で読み取った先頭の画像データのイメージから搬送方向のヒストグラムを生成し、
この生成されたヒストグラムに基づいて前記画像データの先端を検出し、
この先端の検出をもとに、前記リングバッファへの前記画像データの書き込みタイミングを制御する
ことを特徴とする光学的文字認識装置に於けるイメージバッファの画像データ保持方法。
In a method of holding image data in an image buffer in an optical character recognition device,
The image buffer is constituted by a ring buffer,
Generate a histogram in the transport direction from the image of the first image data read by the form reading unit,
Detecting the tip of the image data based on the generated histogram,
A method for holding image data in an image buffer in an optical character recognition device, wherein the timing of writing the image data to the ring buffer is controlled based on the detection of the leading end.
前記リングバッファに記憶された前記画像データの読み出し時に、前記リングバッファに保持された画像データの先端位置より所定量手前の記憶位置を起点に読み出しを開始することを特徴とする請求項6記載の光学的文字認識装置に於けるイメージバッファの画像データ保持方法。7. The image forming apparatus according to claim 6, wherein when reading the image data stored in the ring buffer, reading is started from a storage position that is a predetermined amount before a leading end position of the image data stored in the ring buffer. A method for holding image data in an image buffer in an optical character recognition device.
JP2002256914A 2002-09-02 2002-09-02 Optical character recognizing device and method for retaining image data of image buffer in same Pending JP2004094735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002256914A JP2004094735A (en) 2002-09-02 2002-09-02 Optical character recognizing device and method for retaining image data of image buffer in same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002256914A JP2004094735A (en) 2002-09-02 2002-09-02 Optical character recognizing device and method for retaining image data of image buffer in same

Publications (1)

Publication Number Publication Date
JP2004094735A true JP2004094735A (en) 2004-03-25

Family

ID=32061996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002256914A Pending JP2004094735A (en) 2002-09-02 2002-09-02 Optical character recognizing device and method for retaining image data of image buffer in same

Country Status (1)

Country Link
JP (1) JP2004094735A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774504B2 (en) * 2005-01-19 2010-08-10 Truecontext Corporation Policy-driven mobile forms applications
JP2014121016A (en) * 2012-12-18 2014-06-30 Canon Inc Image processor and image processing method
US8885203B2 (en) 2011-03-09 2014-11-11 Seiko Epson Corporation Optical reading device and control method for an optical reading device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774504B2 (en) * 2005-01-19 2010-08-10 Truecontext Corporation Policy-driven mobile forms applications
US8885203B2 (en) 2011-03-09 2014-11-11 Seiko Epson Corporation Optical reading device and control method for an optical reading device
JP2014121016A (en) * 2012-12-18 2014-06-30 Canon Inc Image processor and image processing method

Similar Documents

Publication Publication Date Title
JP5576707B2 (en) Image reading apparatus and image reading method
JPH08242366A (en) Image reader
JP2004094735A (en) Optical character recognizing device and method for retaining image data of image buffer in same
JP2001160887A5 (en)
JP6467845B2 (en) Image reading device
EP1387245A3 (en) Printer control method in a apparatus for processing post mail
JP2020123796A (en) Image reading device, image reading device control method, and program
JP2011077872A (en) Image scanning device
JP2001077985A (en) Image reader, control method and recording medium thereof
JP2007243441A (en) Image reader, its control method and program
JP2005184101A (en) Image reader
JP2001045236A (en) Image reader
US7460257B2 (en) Technique for transferring image information from a scanning apparatus
JP2002027253A (en) Method for processing picture and device for the same
JP2008199155A (en) Image reading apparatus
JP3066904B2 (en) Image reading device
JPS63114367A (en) Picture inputting device
JP3695582B2 (en) Image reading apparatus, image reading method, and control program
JP2006246410A (en) Image reader system
JP2003177892A (en) Printing device, paper supply control method, print data generating method, printer driver, printing system and copying device
JPH0543083A (en) Document carrying control method for image reader
JP2009182563A (en) Image output apparatus, its method, and program for image output apparatus
JP2000209402A (en) Digital image reader
JPH01296765A (en) Picture reader
JPS6356062A (en) Picture reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050823

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060606