JPH0261065B2 - - Google Patents

Info

Publication number
JPH0261065B2
JPH0261065B2 JP56063017A JP6301781A JPH0261065B2 JP H0261065 B2 JPH0261065 B2 JP H0261065B2 JP 56063017 A JP56063017 A JP 56063017A JP 6301781 A JP6301781 A JP 6301781A JP H0261065 B2 JPH0261065 B2 JP H0261065B2
Authority
JP
Japan
Prior art keywords
photoelectric conversion
line
line buffer
conversion signal
read
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.)
Expired - Lifetime
Application number
JP56063017A
Other languages
Japanese (ja)
Other versions
JPS57178570A (en
Inventor
Tooru Suzuki
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
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP56063017A priority Critical patent/JPS57178570A/en
Publication of JPS57178570A publication Critical patent/JPS57178570A/en
Publication of JPH0261065B2 publication Critical patent/JPH0261065B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Character Discrimination (AREA)
  • Character Input (AREA)

Description

【発明の詳細な説明】 この発明は、より小さなサイズの帳票の読み取
りを行なうことができる光学的文字読取装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an optical character reading device that can read smaller-sized forms.

従来、光学的文字読取装置(以下、OCRとい
う)では、読取りを行なうことができる帳票のサ
イズは、OCRの電気的および機構的制限から自
ずと制限されている。このため、上記制限に適合
しないサイズの帳票の読み取りを上記OCRで行
なうことは不可能であつた。
Conventionally, in optical character reading devices (hereinafter referred to as OCR), the size of forms that can be read is naturally limited due to electrical and mechanical limitations of OCR. For this reason, it has been impossible for the above-mentioned OCR to read a form whose size does not meet the above-mentioned limitations.

この発明は上記のような事情に鑑みてなされた
もので、読取りを行なうことができる帳票のサイ
ズに幅をもたせることができる光学的文字読取装
置を提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide an optical character reading device that can widen the size of forms that can be read.

以下、図面を参照してこの発明の一実施例を説
明する。第1図はこの発明の一実施例の概略回路
構成図である。図中、11は光電変換部を示して
いる。この光電変換部11は、搬送される帳票を
その搬送方向と垂直な方向に走査し、白および黒
の2値化した光電変換信号VDを出力する機能を
持つている。12は書き換え可能なメモリを示し
ている。このメモリ12は、光電変換部11から
送られてくる1走査分の光電変換信号VDを書き
込み信号WRに基づき記憶する機能を持つてい
る。14はメモリ12に対するアドレスカウンタ
を示している。このアドレスカウンタ14は、ア
ドレス制御信号AD、書き込み信号WR、1走査
終了信号ESによりカウント制御されるようにな
つている。制御回路13は、この装置全体の制御
を行なう機能を持つており、アドレスカウンタ1
4から出力される信号が供給されるようになつて
おり、また適宜メモリ12の内容を読み出すこと
ができるようになつている。15はラインバツフ
アを示している。このラインバツフアメモリ15
は、光電変換部11から出力される光電変換信号
VD、あるいはメモリ12および制御回路13を
介して出力される光電変換信号VD1が供給さ
れ、帳票における少なくとも読取り行1行分の光
電変換パターンが記憶されるようになつている。
16はラインバツフア15に対するロウアドレス
カウンタを示している。このロウアドレスカウン
タ16は、制御回路13からの制御信号SCおよ
び1走査終了信号ESによりカウント制御され、
ラインバツフア15のロウアドレスを指定する機
能を持つている。17はラインアドレスカウンタ
を示している。このラインアドレスカウンタ17
は、制御回路13からの制御信号SCおよび書き
込み信号WRによりカウント制御され、ラインバ
ツフア15のラインアドレスを指定する機能を持
つている。なお、書き込み信号WRはラインバツ
フア15にも供給されている。18は認識部を示
している。この認識部18は、ラインバツフア1
5に書き込まれた1行分の光電変換された文字パ
ターンを、1文字単位の文字パターンに切り出
し、認識を行ない、認識結果を答として出力する
機能を持つている。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic circuit diagram of an embodiment of the present invention. In the figure, 11 indicates a photoelectric conversion section. The photoelectric conversion unit 11 has a function of scanning a document to be conveyed in a direction perpendicular to the direction of conveyance thereof and outputting a photoelectric conversion signal VD that is binary-coded into white and black. 12 indicates a rewritable memory. This memory 12 has a function of storing the photoelectric conversion signal VD for one scan sent from the photoelectric conversion section 11 based on the write signal WR. 14 indicates an address counter for the memory 12. The address counter 14 is controlled by an address control signal AD, a write signal WR, and a one-scan end signal ES. The control circuit 13 has the function of controlling the entire device, and has the function of controlling the entire device.
4 is supplied, and the contents of the memory 12 can be read out as appropriate. 15 indicates a line buffer. This line buffer memory 15
is a photoelectric conversion signal output from the photoelectric conversion unit 11
VD or a photoelectric conversion signal VD1 outputted via the memory 12 and control circuit 13 is supplied, and the photoelectric conversion pattern for at least one read line in the form is stored.
Reference numeral 16 indicates a row address counter for the line buffer 15. This row address counter 16 is controlled by the control signal SC and one scan end signal ES from the control circuit 13.
It has a function of specifying the row address of the line buffer 15. 17 indicates a line address counter. This line address counter 17
is count-controlled by the control signal SC and write signal WR from the control circuit 13, and has the function of specifying the line address of the line buffer 15. Note that the write signal WR is also supplied to the line buffer 15. 18 indicates a recognition section. This recognition unit 18 is connected to the line buffer 1.
It has the function of cutting out one line of photoelectrically converted character patterns written on the screen 5 into individual character patterns, recognizing them, and outputting the recognition results as answers.

次に、上記実施例の動作を説明する。第2図A
は従来読取りを行なうことができた帳票の仕様上
の最小の帳票21を示しており、横および縦の長
さがそれぞれx1,y1で示されている。また、矢
印22は光電変換部における走査方向を示し、矢
印23は帳票21の搬送方向を示している。
Next, the operation of the above embodiment will be explained. Figure 2A
shows the smallest form 21 according to the specifications of forms that can be conventionally read, and the horizontal and vertical lengths are indicated by x1 and y1, respectively. Further, an arrow 22 indicates the scanning direction in the photoelectric conversion section, and an arrow 23 indicates the conveyance direction of the form 21.

第2図Bでは従来では搬送することができず読
取りを行なうことができなかつた上記最小帳票2
1よりも小型な帳票24を示しており、横および
縦の長さがそれぞれx2(x2<x1),y2(y2<y1)
で示されている。このようなサイズの帳票24
は、第2図Cに示すように、例えば縦と横を逆に
して搬送すれば搬送できる。本願ではこのような
サイズの小さな帳票で縦と横を逆にして搬送する
ことができる帳票の読取りを行なうことができる
ようにしたものである。第2図Cにおいて、矢印
25が本願における光電変換部の走査方向を示
し、矢印26が帳票24の搬送方向を示してい
る。
In Fig. 2B, the above-mentioned minimum form 2, which could not be conveyed and read in the past.
1, the horizontal and vertical lengths are x2 (x2<x1) and y2 (y2<y1), respectively.
is shown. Form 24 of this size
can be transported, for example, by reversing the length and width as shown in FIG. 2C. In the present invention, it is possible to read such small-sized forms that can be transported with the length and width reversed. In FIG. 2C, an arrow 25 indicates the scanning direction of the photoelectric conversion unit in the present application, and an arrow 26 indicates the conveyance direction of the form 24.

第3図は、本願の動作を概略的に説明するため
のものである。帳票24は矢印27方向に搬送さ
れ、矢印28で示す方向およびその矢印の長さの
期間走査される。すなわち、走査領域を示してい
る。また、矢印29は前記メモリ12に記憶され
る一走査線の内の記憶領域を示している。
FIG. 3 is for schematically explaining the operation of the present application. The form 24 is conveyed in the direction of the arrow 27 and scanned in the direction indicated by the arrow 28 and for a period of time indicated by the arrow. That is, it shows the scanning area. Further, an arrow 29 indicates a storage area within one scanning line stored in the memory 12.

第3図に示すように、規定より小型サイズの帳
票24の場合には、搬送方向27に対して通常の
場合とは縦横を逆にして、光電変換部11に搬送
する。制御回路13は、例えば外部からのスイツ
チ信号により、縦横変換モードによるラインバツ
フア15の書き込み制御動作を実行する。即ち、
制御回路13は、メモリ12を制御して、光電変
換部11から出力される光電変換信号VDをメモ
リ12に記憶させる。メモリ12は、第3図に示
すように、光電変換部11の1走査分(28)の中
で、帳票24の横方向の長さy2より多少余裕を
有する1走査分(29)の文字パターンを格納す
る。この場合、制御回路13は、予め与えられて
いる帳票24の長さy2の情報に基づいて、アド
レスカウンタ14を制御し、所定の1走査分の文
字パターンをメモリ12に書き込む制御を行なう
(第4図の書き込みタイミング信号MMの時間t
に相当する走査分)。この書き込みがメモリ12
に対して終了すると、制御回路13は、メモリ1
2に書き込まれた内容を予め与えられているその
帳票24のフイールドデータに基づき読み出す。
読み出された光電変換信号VD1はラインバツフ
ア15に、縦横変換して書き込まれる。すなわ
ち、制御回路13は、ロウおよびラインアドレス
カウンタを次のように制御する。ラインアドレス
カウンタ17の内容を予め“0”にセツトしてお
き、ロウアドレスカウンタ16を順次カウントア
ツプすることにより、制御回路13により読み出
された光電変換信号VD1を書き込む。そして、
1走査終了信号ESによりアドレスカウンタ14
はクリアされる。次に、上記同様にしてメモリ1
2に書き込まれ制御回路13により読み出された
光電変換信号VD1は、ラインアドレスカウンタ
17が1カウントアツプされ、ロウアドレスカウ
ンタ16が順次カウントアツプされることにより
ラインバツフア15に書き込まれる。この動作を
くり返すことにより、ラインバツフア15には、
縦横変換された1行分の文字パターンが記憶され
ることになり、あたかも帳票24を通常に搬送し
たかのように格納される。また、1旦メモリ12
に書き込まれた内容の一部を制御回路13が読み
出してラインバツフア15に書き込むには時間を
要するが、前記のようなメモリ12と制御回路1
3により、規定サイズの帳票を使用する通常モー
ドの場合と比較して、ラインバツフア15に書き
込む時間は少ない。メモリ12に格納された1走
査分の光電変換信号は、通常モード時に光電変換
部11から出力される1走査分の光電変換信号よ
り、データ量が少ない。このことは、言い換えれ
ば、第4図に示すように、1走査の終了を示す信
号ESの間隔で示される通常の走査時間Tから帳
票24に対する書き込み時間tを引いた残りの時
間をあてるようにする。このタイミングは第4図
の信号TRに示されている。この時間(T―t)
は、時間Tが最大帳票の横巾分以上あり、それに
比べてtは小さいため充分にある。そして、この
ようにしてラインバツフア15に書き込まれた1
行分の光電変換された文字パターンは、認識部1
8により、1文字単位の文字パターンに切り出さ
れ、認識がなされる。
As shown in FIG. 3, if the form 24 is smaller than the specified size, it is transported to the photoelectric conversion unit 11 with its length and width reversed with respect to the transport direction 27 compared to the normal case. The control circuit 13 executes a write control operation of the line buffer 15 in the vertical/horizontal conversion mode based on, for example, a switch signal from the outside. That is,
The control circuit 13 controls the memory 12 to store the photoelectric conversion signal VD output from the photoelectric conversion section 11 in the memory 12. As shown in FIG. 3, the memory 12 stores a character pattern for one scan (29) which has a margin slightly larger than the horizontal length y2 of the form 24 in one scan (28) of the photoelectric conversion unit 11. Store. In this case, the control circuit 13 controls the address counter 14 based on information about the length y2 of the form 24 given in advance, and controls writing a predetermined one-scan character pattern into the memory 12 (the first Time t of write timing signal MM in Figure 4
). This writing is in memory 12
When the memory 1 is completed, the control circuit 13 controls the memory 1
The contents written in the form 24 are read out based on the field data of the form 24 given in advance.
The read photoelectric conversion signal VD1 is written into the line buffer 15 after vertical and horizontal conversion. That is, the control circuit 13 controls the row and line address counters as follows. By setting the contents of the line address counter 17 to "0" in advance and sequentially counting up the row address counter 16, the photoelectric conversion signal VD1 read out by the control circuit 13 is written. and,
The address counter 14 is activated by the 1-scan end signal ES.
is cleared. Next, in the same manner as above, memory 1
The photoelectric conversion signal VD1 written to the line address counter 17 and read out by the control circuit 13 is written to the line buffer 15 by incrementing the line address counter 17 by 1 and sequentially incrementing the row address counter 16. By repeating this operation, the line buffer 15 has
The character pattern for one line after vertical/horizontal conversion is stored, as if the form 24 had been transported normally. Also, once the memory 12
Although it takes time for the control circuit 13 to read out part of the contents written in the line buffer 15 and write it to the line buffer 15, the memory 12 and control circuit 1 as described above are
3, the time required to write to the line buffer 15 is shorter than in the normal mode in which a form of a specified size is used. The photoelectric conversion signal for one scan stored in the memory 12 has a smaller amount of data than the photoelectric conversion signal for one scan output from the photoelectric conversion section 11 in the normal mode. In other words, as shown in FIG. 4, the time remaining after subtracting the writing time t for the form 24 from the normal scanning time T indicated by the interval of the signal ES indicating the end of one scan is used. do. This timing is shown in signal TR in FIG. This time (T-t)
In this case, the time T is longer than the width of the maximum form, and t is small compared to that, so there is enough time. Then, 1 written to the line buffer 15 in this way
The photoelectrically converted character pattern for each line is recognized by the recognition unit 1.
8, character patterns are cut out in character units and recognized.

なお、上記実施例ではラインバツフア15には
1行分の内容しか書き込まれなかつたが、読取行
の長さが短かい場合等、ラインバツフア15の内
容のうちの何%かが余ることになる。この場合、
数行分の内容をラインバツフア15に書き込込む
ように制御してもよい。
In the above embodiment, only one line's worth of content is written into the line buffer 15, but if the length of the read line is short, some percentage of the content of the line buffer 15 will be left over. in this case,
The control may be such that the contents of several lines are written into the line buffer 15.

一方、最小帳票21よりも大きな帳票で規格に
当てはまる場合には、メモリ12およびアドレス
カウンタ14を動作させず、制御回路13はロウ
およびラインアドレスカウンタ16,17を制御
し、光電変換部11から出力される光電変換信号
VDを直接ラインバツフア15に書き込む。すな
わち、ロウアドレスカウンタ16の内容の予め
“0”にしておき、ラインアドレスカウンタ17
を順次カウントアツプさせることにより、1走査
分(第3図の走査分28)の光電変換信号VDを
ラインバツフア15に書き込む。そして、次にロ
ウアドレスカウンタ16の内容を“1”にして上
記同様にして次の1走査分の光電変換信号を書き
込む。この動作をくり返すことにより1行分のパ
ターンがラインバツフア15に書き込まれる。
On the other hand, if the standard is met with a form larger than the minimum form 21, the memory 12 and address counter 14 are not operated, the control circuit 13 controls the row and line address counters 16 and 17, and the photoelectric conversion unit 11 outputs photoelectric conversion signal
Write VD directly to line buffer 15. That is, the contents of the row address counter 16 are set to "0" in advance, and the contents of the line address counter 17 are set to "0" in advance.
By sequentially counting up the photoelectric conversion signal VD for one scan (28 scans in FIG. 3), the photoelectric conversion signal VD is written into the line buffer 15. Then, the contents of the row address counter 16 are set to "1" and the photoelectric conversion signals for the next one scan are written in the same manner as described above. By repeating this operation, a pattern for one line is written into the line buffer 15.

このようなOCRでは、最小帳票よりも小型の
帳票を縦横逆にして搬送して、1走査分の空時間
を利用して縦横変換を行なうため、従来に比較し
て時間を要することもなく効率よく処理が行なえ
る。また、本願は特に、ある程度大きな帳票しか
読取れない(搬送できない)場合、縦横逆にすれ
ば搬送できる場合に有効である。
In this type of OCR, a form that is smaller than the smallest form is transported vertically and horizontally upside down, and vertical/horizontal conversion is performed using the idle time of one scan, so it is less time consuming and more efficient than conventional methods. Can be processed well. Further, the present application is particularly effective in cases where only a reasonably large form can be read (unable to be transported) or when it can be transported by reversing the length and width.

以上述べたようにこの説明によれば、読取りを
行なうことができる帳票のサイズに幅をもたせる
ことができる光学的文字読取装置を提供すること
ができる。
As described above, according to this description, it is possible to provide an optical character reading device that can provide a wide range of document sizes that can be read.

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

第1図はこの発明の一実施例のOCRの概略回
路構成図、第2図A,B,Cはそれぞれ帳票の具
体例を示す図、第3図は同実施例の概略を説明す
るための図、第4図は同実施例のタイミングチヤ
ートである。 11…光電変換部、12…メモリ、13…制御
回路、14…アドレスカウンタ、15…ラインバ
ツフア、16…ロウアドレスカウンタ、17…ラ
インアドレスカウンタ、18…認識部。
Fig. 1 is a schematic circuit diagram of an OCR according to an embodiment of the present invention, Fig. 2 A, B, and C are diagrams each showing a specific example of a form, and Fig. 3 is a diagram for explaining the outline of the embodiment. 4 are timing charts of the same embodiment. DESCRIPTION OF SYMBOLS 11... Photoelectric conversion part, 12... Memory, 13... Control circuit, 14... Address counter, 15... Line buffer, 16... Row address counter, 17... Line address counter, 18... Recognition part.

Claims (1)

【特許請求の範囲】 1 所定の搬送方向に搬送入力される帳票の表面
を走査し光電変換信号を出力する光電変換手段
と、 規定より小型サイズの帳票が前記所定の搬送方
向に対して縦横変換した状態で搬送入力される縦
横変換モード時に、前記光電変換手段から出力さ
れる前記光電変換信号において、前記小型サイズ
の帳票の走査方向の長さに対応する1走査分の前
記光電変換信号を順次記憶するメモリ手段と、 前記光電変換手段から出力される前記光電変換
信号からなる文字パターンを、規定に基づいた通
常サイズの帳票の少なくとも1行分を格納するラ
インバツフア手段と、 前記通常サイズの帳票を使用するときには、前
記所定の搬送方向に搬送入力される前記通常サイ
ズの帳票に対応する前記光電変換信号を前記光電
変換手段から読出して前記ラインバツフア手段に
格納し、前記縦横変換モード時に前記小型サイズ
の帳票に対応する前記光電変換信号を前記メモリ
手段から読出して、前記ラインバツフア手段のラ
インアドレスおよびロウアドレスを制御すること
により前記メモリ手段から読出した光電変換信号
を縦横変換処理した状態で前記ラインバツフア手
段に格納するように制御する書き込み制御手段
と、 前記ラインバツフア手段に格納された1行分の
前記文字パターンから1文字単位の文字パターン
を切り出して、文字認識処理を実行する認識手段
とを具備したことを特徴とする光学的文字読取装
置。
[Scope of Claims] 1. A photoelectric conversion means that scans the surface of a form that is conveyed and inputted in a predetermined conveyance direction and outputs a photoelectric conversion signal; When the photoelectric conversion signal is outputted from the photoelectric conversion means during the vertical/horizontal conversion mode in which the small-sized form is conveyed and inputted, one scan of the photoelectric conversion signal corresponding to the length of the small-sized form in the scanning direction is sequentially performed. a memory means for storing the character pattern formed by the photoelectric conversion signal outputted from the photoelectric conversion means, a line buffer means for storing at least one line of a normal size form based on regulations; When in use, the photoelectric conversion signal corresponding to the normal size form conveyed in the predetermined conveyance direction is read out from the photoelectric conversion means and stored in the line buffer means, and when in the vertical/horizontal conversion mode, the small size form is The photoelectric conversion signal corresponding to the form is read from the memory means, and by controlling the line address and row address of the line buffer means, the photoelectric conversion signal read from the memory means is subjected to vertical and horizontal conversion processing, and then transferred to the line buffer means. and a recognition means for cutting out a character pattern in units of characters from the character pattern for one line stored in the line buffer means and performing character recognition processing. Characteristic optical character reading device.
JP56063017A 1981-04-25 1981-04-25 Optical character reader Granted JPS57178570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56063017A JPS57178570A (en) 1981-04-25 1981-04-25 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56063017A JPS57178570A (en) 1981-04-25 1981-04-25 Optical character reader

Publications (2)

Publication Number Publication Date
JPS57178570A JPS57178570A (en) 1982-11-02
JPH0261065B2 true JPH0261065B2 (en) 1990-12-19

Family

ID=13217125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56063017A Granted JPS57178570A (en) 1981-04-25 1981-04-25 Optical character reader

Country Status (1)

Country Link
JP (1) JPS57178570A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2570815B2 (en) * 1988-06-08 1997-01-16 日本電気株式会社 Optical character recognition device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5672783A (en) * 1979-11-20 1981-06-17 Nec Corp Character recognition system of optical character reader

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5672783A (en) * 1979-11-20 1981-06-17 Nec Corp Character recognition system of optical character reader

Also Published As

Publication number Publication date
JPS57178570A (en) 1982-11-02

Similar Documents

Publication Publication Date Title
JPH0261065B2 (en)
JP3245449B2 (en) Form reader
JP2855630B2 (en) Image input device
JP2839578B2 (en) Image data input processing device
JP2659180B2 (en) Optical character reader
JPS568958A (en) Facsimile equipment
JPH0417473B2 (en)
JPH0238547Y2 (en)
JPS6382060A (en) Image signal processing circuit for facsimile
JPH04106682A (en) Optical character reader
JPH02208790A (en) Interpolation processing system for image
JP2917367B2 (en) Character recognition device
JPS607308A (en) Detecting device of address-window
JPH02272689A (en) Optical character reader
JPS63221763A (en) Optical character reader
JPS59108173A (en) Input device of optical character picture
JPH031710B2 (en)
JPS6074089A (en) Optical character reader
JPS5932065A (en) Character reader
JPS60147881A (en) Method and device for accumulating picture information
JPS6159577A (en) Optical character mark reading device
JPS5866172A (en) Line reader
JP2000113102A (en) Method and device for testing memory for binarization circuit in ocr device
JPS5960583A (en) Recognition control method of character
JPS6249587A (en) Image buffer device