JPH0132555B2 - - Google Patents

Info

Publication number
JPH0132555B2
JPH0132555B2 JP56013759A JP1375981A JPH0132555B2 JP H0132555 B2 JPH0132555 B2 JP H0132555B2 JP 56013759 A JP56013759 A JP 56013759A JP 1375981 A JP1375981 A JP 1375981A JP H0132555 B2 JPH0132555 B2 JP H0132555B2
Authority
JP
Japan
Prior art keywords
screen
circuit
feature code
screen feature
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.)
Expired
Application number
JP56013759A
Other languages
Japanese (ja)
Other versions
JPS57130180A (en
Inventor
Koji Sato
Akihiro Oooka
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP56013759A priority Critical patent/JPS57130180A/en
Publication of JPS57130180A publication Critical patent/JPS57130180A/en
Publication of JPH0132555B2 publication Critical patent/JPH0132555B2/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)
  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明はセンサの視野よりも横幅が大きい文
字、記号等でも読取可能な光学的文字読取装置に
関する。 一般の光学的文字読取装置においては、第1図
に示す如く用紙1上の文字、記号等(以下単に文
字という)2を光学系5に通して光電変換素子か
らなるイメージセンサ6に結像させ、イメージセ
ンサ6からのアナログ信号を2値化回路7で用紙
の背景領域の白と文字の黒とに対応させて2値化
信号に変換し、識別回路8で文字の認識を行なう
ものである。この場合イメージセンサ6には1次
元センサまたは2次元センサが用いられ、1次元
センサの場合、用紙1の横方向4には光学系5あ
るいは用紙1が機械的に移動されて文字2を読取
る。また2次元センサを用いた場合には横方向4
には電気的に走査されると共に光学系5あるいは
用紙1が機械的に移動されて文字2を読取る。上
記1次元センサ、2次元センサはともに用紙1の
縦方向3には電気的に走査されて文字2を読取る
ものである。 しかしながら、上述したように光学的に文字を
読取る場合、1次元センサにより文字を2次元的
にとらえるためには、用紙の横方向4にイメージ
センサ6を用紙1と相対的に一定速度で移動させ
る必要がある。更に用紙1に対するイメージセン
サ6の移動速度が既知でない場合には、文字全域
に亘つて白/黒パターンを記憶することが必要と
なり、この場合記憶容量を大きくしなければなら
ないので高価となる。 又、2次元センサを用いても用紙に対する移動
速度が変化する場合には、第2図aに示す如く、
センサの視野9内に読取ろうとする文字2の全体
が入る場合にしか適用できなかつた。このため、
第2図bに示す如くセンサの視野9の横幅よりも
大きな文字2を読取り対象とするときには、1次
元センサ使用時と同様に用紙に対して一定速度で
移動させるか、又は文字全域に亘つて白/黒パタ
ーンを記憶させる必要があり、しかもそのように
記憶させる場合には、記憶容量を1次元センサ使
用の場合よりも更に大きくする必要がある。 又、横幅の大きい文字に対して大きなビツト構
成の2次元センサで処理しようとする考え方につ
いては、 (i) 2次元センサで大きなサイズのものは高価と
なる、 (ii) 識別処理に要する時間が多くなる 等の欠点がある。 このようなことから、従来はセンサの視野より
も大きい文字を読取ることが困難且つ経済的に不
利であつた。 そこで本発明は上記従来の欠点を解消して2次
元センサの視野よりも大きい文字でも用紙の移動
速度に関係なく読取識別を可能とすると共にセン
サと文字の相対的位置関係による読取不良が減少
する光学的文字読取装置を提供することを目的と
し、かかる目的を達成するための本発明装置の構
成は、文字・符号等を走査してこれに対応したア
ナログ電気信号を送出する光電変換素子を有する
2次元センサ部と、上記アナログ電気信号を文字
領域と背景領域とに対応する2値化信号に変換す
る2値化回路と、上記2値化信号に基づいて文字
の認識を行なう識別回路とを具えた光学的文字読
取装置において、上記2値化信号を用い走査され
た上記センサ部の視野内の左端部に被読取文字等
の左端が位置したときに左画面検出信号を送出す
ると共に上記センサ部の視野内の右端部に被読取
文字等の右端が位置したときに右画面検出信号を
送出する左右画面検出回路と、上記2値化信号に
よる画面パターンから画面形状を分類する画面特
徴コード抽出回路と、上記左画面検出信号を受け
て上記画面特徴コード抽出回路により得られる左
画面および該左画面の前後の画面を含む複数個の
左画面特徴コードを記憶する左画面特徴コード記
憶回路と、上記右画面検出信号を受けて上記画面
特徴コード抽出回路により得られる右画面および
該右画面の前後の画面を含む複数個の右画面特徴
コードを記憶する右画面特徴コード記憶回路と、
上記左画面特徴コードと上記右画面特徴コードか
ら一つの文字の画面特徴コードを出力する処理回
路とを具えたことを特徴とする。 以下に本発明装置の一実施例を図面に基づいて
詳細に説明する。 本発明の光学的文字読取装置は第3図の原理説
明図に示すように光学系5を通してイメージセン
サ6に文字2を結像させ、このイメージセンサ6
からのアナログ信号を背景領域である用紙を白
に、文字領域を黒に2値化回路7によりデイジタ
ル信号に変換された2値化信号を用い、読取対象
とする文字2の左端部がセンサの視野10Lの左
端部に到達したときの白/黒パターン、及び文字
2の右端部がセンサの視野10Rの右端部に到達
したときの白/黒パターンを取出し、これらの2
画面の白/黒パターンを用いて、文字を認識する
ものである。このため、読取り対象である文字2
の横軸がセンサ6の視野10R(または10L)
より大きい場合でも読取可能となり、更に第3図
bに示す左画面11Lおよび第3図cに示す右画
面11Rが用紙1の移動速度に関係なく取出すこ
とができる。 一方、左・右画面11L,11Rを用いて文字
識別をする場合、一個の左側面11Lと一個の右
画面11Rだけを用いて読取る際には例えば第3
図bの左側面11L0と第3図cの右側面11R0
とを用いた場合センサ6内の光電変換素子の各セ
ル15と文字要素16の結像の相対的位置関係に
よつては2値化信号に文字要素16の一部の欠落
部13および14等が生ずることがあり読取不良
になる場合がある。即ち、2値化信号はセンサ6
の視野10L(または10R)内に設けられた縦
横に複数個配列されたセル15により電気信号に
変換されるため、文字要素16とセル15との位
置関係を拡大して示す第4図bのように文字要素
16の線幅が各セル15の面積内で文字要素の占
める領域として狭い場合第4図cに示すように白
(以後白セルという)に2値化されるため文字の
線域が切断されてしまい読取不良となる。一方、
上記第4図bで示した移動直後の画面11L+1
は第4図dに示すように、同一セル内に占める文
字要素16の領域が拡大するため第4図eに示す
ように黒(以下黒セルという)に2値化されるこ
とから文字の線域が切断せず読取可能となる。 そこで本実施例においては文字画面の読取りを
確実にするために光電変換素子の電気的動作速度
が用紙1および文字2の相対移動速度に比べ充分
に早いことから多数の画面データが得られること
を利用して、左端面検出においては少なくとも左
画面11L0およびその前後の画面11L−1、
11L+1を用い、同様に右画面検出においても
少なくとも右画面11R0およびその前後の画面
11R−1、11R+1を用いて、文字の線域が
欠落していない2値化信号を得て文字画面の識別
を行なうものである。 本発明の光学的文字読取装置は第5図のブロツ
ク図に示すようにセンサ6の光電変換素子によつ
て得られた白黒のアナログ信号を2値化回路7に
より変換されるデイジタルの2値化信号19を用
い、左右画面検出回路20において文字の左端お
よび右端を検出して左画面検出信号26aおよび
右画面検出信号26bを出力する。また、同じ2
値化信号19を用いる画面特徴コード抽出回路2
1においては、複数の行および列に区分された文
字画面の2列毎に列特徴コード52を抽出し、更
に列特徴コード52を用いて文字画面全体に亘る
画面特徴コード27を次々に抽出し、複数個の画
面特徴コード27を左画面特徴コードメモリ22
および右画面特徴コードメモリ23に各々上記左
画面検出信号26aおよび右画面検出信号26b
によりそれぞれに記憶する。左画面特徴コードメ
モリ22および右画面特徴コードメモリ23に格
納された左・右画面特徴コード27L,27Rは
左右画面検出回路20の合成処理実行指示信号2
6cにより合成処理回路24において合成されて
複数個の識別結果候補が求められ、更にこの識別
結果候補の中から識別文字決定回路25において
識別結果を決定して文字の認識を行なうものであ
る。 以下に上記各々の回路について詳述する。 上記左右画面検出回路20は第6図のブロツク
線図に示すように光電変換素子が2次元配列され
てなる2次元センサ6により読取られたアナログ
信号を2値化回路7によつて2値化信号19に変
換され、この2値化信号19が上記光電変換素子
の各セルのうち、垂直方向の各列の黒セルの存在
を検出する列別黒セル検出回路28に入力され
る。列別黒セル検出回路28では、左端の列の黒
セルを検出したとき左端黒セル検知信号30を出
力し、上記左端の列を除いた左側の数ラインに亘
つて黒セルが連続して存在しているとき左側文字
要素検知信号31を出力する。又、右端の列を除
いた右側の数ラインに亘つて黒セルが連続して存
在しているとき右側文字要素検知信号32を出力
し、右端の列の黒セルを検出した右端黒セル検知
信号33を出力する。なお、ここでいう数ライン
とは、読取対象の文字の最小横幅に相当するライ
ン数である。 上記の列別黒セル検出回路28を更に具体的に
説明すると第7図に示す構成であり、以下に2値
化信号が行単位でパラレル(横方向nビツト)に
入力される場合について説明する。 列別黒セル検出回路28には垂直方向の各列に
対応した2値化信号BW1〜BWoの外に、横方向
の行(1〜m)毎の2値化信号に同期したライン
クロツクCK1、1画面の処理に同期したフレーム
クロツクCK2及びフレームクロツクCK2から少し
遅れたクリア信号CL1が入力されるようにし、
又、黒セル検知のため、各列毎に1ビツトのレジ
スタ28aと論理和回路28bとを組合せた構成
にし、又ラインクロツクCK1によつてレジスタ2
8aのデータが更新されるようにしておくもので
ある。又28cは出力レジスタ、28dは論理積
回路である。 このような構成において第5図の各信号を第8
図に示すタイムチヤートに従つて説明する。 2値化信号BW1〜BWoに於ける第1行のデー
タが論理和回路28bに加わると、ラインクロツ
クCK1によりその第1行のデータがレジスタ28
aにセツトされ、以後第m行のデータまで、論理
和回路28bでレジスタ28aに記憶しているデ
ータとの論理和をとつて、ラインクロツクCK1
にレジスタ28aにセツトする。従つて、列に黒
セツトが存在するときには、レジスタ28aの内
容が“1”となる。そして両端の列ではフレーム
クロツクCK2によりレジスタ28aの内容が対応
する出力レジスタ28cに対して直接にセツトさ
れるので、左端黒セル検知信号30及び右端黒セ
ル検知信号33が対応する出力レジスタ28cに
セツトされる。又両端を除く両側の数ラインのレ
ジスタ28aの内容が左側、右側の各々で論理積
回路28dに加わり、この論理積回路28dの出
力がフレームクロツクCK2により対応する出力レ
ジスタ28cにセツトされるので、左側文字要素
検知信号31、右側文字要素検知信号32が対応
する出力レジスタ28cにセツトされる。又、こ
のように、フレームクロツクCK2によつて出力レ
ジスタ28cに画面のデータがセツトされた後、
レジスタ28aはクリア信号CL1によつてクリア
される。 上述に於いて、センサ上の白/黒パターンと、
垂直方向の各列の黒セル分布との関係は、センサ
を水平方向に移動させることにより、例えば第9
図aから順次、第9図b、第9図c、第9図dの
ように変化されるものである。 但し、第9図a〜dに於いて、x1〜x4はセンサ
の視野10と文字2との関係による白/黒パター
ンを示し、y1〜y4は垂直方向の各列に黒セルが存
在しない部分36と、その黒セルが存在する部分
37との関係による黒セルの分布を示す。 また、第9図aに於ける白/黒パターンx1は左
端黒セル検知信号LBF30が“0”、左側文字要
素検知信号LCF31が“1”となる場合であり、
用紙あるいは被観測物である文字2の移動速度が
遅いと何回でも同一の位置関係の画面が連続して
得られる。このためある文字に対して最初に上記
のLBFが“0”、LCFが“1”の条件を満たした
画面を、左画面として検出するため次のような処
理を行なう。 上記の条件を満たす場合に、左画面フラグLF
を“1”とし、他の場合は“0”とする。又、今
検出処理が行なわわれる直前の画面の左画面フラ
グをBLFとすると、このBLFの補数とLFと
が・LF=1の時に左画面検出信号26aを
出力する。 同様に右画面においても、第9図cに於ける
白/黒パターンx3は右側文字要素検知信号RCF
32が“1”、右端黒セル検知信号RBF33が
“0”となる場合であり、この条件を満す場合に、
右画面フラグRFを“1”とし、他の場合は“0”
とする。又、今、検出処理が行なわれる直前の画
面の右画面フラグをBRFとすると、このBRFの
補数とRFとが・RF=1の時に右画面
検出信号26bを出力する。左画面検出信号26
aは左画面特徴コードメモリ22に、右画面検出
信号26bは右画面特徴コードメモリ23に入力
され各々の画面特徴コードを格納するように指示
する。 次に画面特徴コード抽出回路について説明す
る。 画面特徴コード抽出回路21の原理を第10図
に示すように、例えば1文字を一画面として、こ
の1画面の行方向(行の長手方向)にnビツト
(n列)、列方向(列の長手方向)にmビツト(m
行)のn×mビツトの白/黒パターンで構成され
ている場合について説明する。まず左端の2列
V1,V2を一組とした白/黒パターンを列方向に
みた列特徴コード内容L1を抽出し、続いて右に
一列ずらした2列V2,V3を一組にした白/黒パ
ターンの列特徴コード内容L2を抽出し、以後同
様にして右端の列Vo-1、Voまでの(n−1)組
の列特徴コード内容L1〜Lo-1を抽出し、これらの
列特徴コード内容L1〜Lo-1を生起順序に配列して
全体の画面特徴コード内容G1を求めるものであ
る。 画面特徴コード抽出回路21は第11図ブロツ
ク線図に示すように列特徴コード抽出部と画面特
徴コード抽出部により構成されている。以下に2
値化回路7により行単位の2値化信号が列方向に
パラレルに得られる場合について説明する。 上記列特徴コード抽出部は2値化回路7による
パラレル入力の2値化信号19をシリアルに読出
すパラシリ変換器42と、このパラシリ変換器4
2の出力により2列分ごとの列特徴コード内容
L1〜Lo-1を抽出する列特徴抽出状態遷移回路44
と、列数分の中間状態遷移アドレスが記憶できる
一時記憶回路45とを有しており、列特徴抽出状
態遷移回路44と一時記憶回路45とで順序回路
が構成されている。 上記パラシリ変換器42は2値化回路7により
得られる2値化信号19がパラレルであるため、
この信号をそのまま用いると(n−1)個の列特
徴回路が必要になるので簡素化するために用いる
ものである。 またパラシリ変換器42より得られたシリアル
な2値化信号48を列特徴抽出状態遷移回路44
にシリアル信号一ビツト分遅延させて入力する一
時遅れ回路43を具え、これにより画面の各行の
二列分の2値化信号が一組として列特徴抽出遷移
回路44に入力される。またパラシリ変換器42
は2値化信号の出力に同期したクロツクCK1によ
り書込動作を行ない、このクロツクCK1をn分割
したクロツクCK3により読出し動作を行なう。一
時遅れ回路43はクロツクCK3により動作する。
したがつて、例えば2列V2、V1の一組の2値化
信号が列特徴抽出状態遷移回路44に入力され、
次の状態ではクロツクCK3により列V3、V2の一
組の2値化信号が入力され、順次列Vo、Vo-1
で入力される。更に次のクロツクCK3では次の行
の左端の列V1の2値化信号が出力されるため列
V1、Voの2値化信号が、続いて列V2、V1の2値
化信号が入力される。 列特徴抽出状態遷移回路44は2列の2値化信
号48,49と一時記憶回路45に記憶された対
応する2列の中間状態アドレスデータ51とによ
りアクセスされ、その出力50は再び一時記憶回
路45に記憶される。続いて他の列Vi、Vi-1の列
データについても同様の処理が行なわれ、同一の
2列分の2値化信号がデータライン48,49に
入力されると対応する中間状態アドレスデータ5
1もデータライン51aに読出されて列特徴抽出
状態遷移回路44をアクセスする。これらの処理
をm回(m行分)行なうことにより2列分の列画
面の列特徴コードL1〜Lo-1がm回目の2値化信号
の入力後に得られる。 例えば、中間状態遷移アドレスの内容は第12
図の状態遷移図に示すように初期状態aで一行2
列分の2ビツト2値化信号入力が共に白であれば
初期状態aのままであり、2ビツト2値化信号入
力が共に黒であると状態bに遷移し、次に2ビツ
ト2値化信号入力が共に白であると状態cに遷移
し、次に2ビツト2値化信号入力が共に黒である
と状態dに遷移し、次に2ビツト2値化信号入力
が共に白であると状態eに遷移し、次に2ビツト
2値化信号入力が共に黒であると状態fに遷移
し、その2ビツト2値化信号入力が最終段であれ
ば状態fが列特徴コード52として次段の画面特
徴抽出状態遷移部に入力される。上記a〜f等の
中間状態アドレスは一時記憶回路45に記憶さ
れ、これに対応する各行2列分の2値化信号が入
力される毎に順次変化して最終の列特徴コード内
容L1〜Lo-1が得られる。 一方、画面特徴抽出部は上記列特徴抽出部によ
り得られた列特徴コード内容L1〜Lo-1によつて順
次遷移しながら一文字の画面特徴を抽出する画面
特徴抽出状態遷移回路46とラツチ回路47とで
順序回路を構成し、画面全体の特徴を抽出するも
のである。 画面特徴抽出状態遷移回路46は上記一時記憶
回路45から順次列特徴コード内容L1〜Lo-1
(n−1)回入力され、その列特徴コード内容L1
〜Lo-1とラツチ回路47の内容とによりアクセス
され、出力はラツチ回路47にラツチされる。従
つて、ラツチ回路47の内容は例えば第13図に
示すように順次変化し、列特徴コード52の入力
が最終段であれば画面特徴コード27として画面
検出信号26a,26bにより左画面特徴コード
メモリ22および右画面特徴コードメモリ23の
何れかに入力される。 第13図に於いては、初期状態a′で2列1組の
列特徴コード入力a′−1があると状態b′に遷移
し、次に入力b′−1があると状態c′に遷移し、こ
の状態c′以降に重なり合う入力c′−1のみであれ
ば遷移せずに最終段となり、状態c′が画面特徴コ
ード信号27として左側面コードメモリ22或は
右画面コードメモリ23に書込みされる。但し、
画面特徴は、読取対象とする文字の一部あるいは
全体の形状に対し、コードを与えたもので、1つ
の文字に複数のコードが与えられる。また異なる
文字の一部に同一のコードが与えられる場合も存
在する。このようにして画面特徴コード27は第
13図にA、B、C等に示す状態遷移で抽出され
るものである。 次に合成処理回路について説明する。ここでは
左画面11L、右画面11Rにつき各々の3個の
画面特徴コードを使用する場合について説明す
る。 上記左画面特徴コードメモリ22は3段のシフ
トレジスタで構成され、画面特徴コード抽出回路
21の出力が1画面の処理終了毎に入力され、記
憶済のデータは順次シフトされる。左画面特徴コ
ードメモリ22の書込およびシフト処理は左画面
検出信号26aにより停止し、左画面特徴コード
メモリ22には左画面とその前後の画面の画面特
徴コードが記憶された状態となり、合成処理実行
まで画面特徴コード27は保持される。右画面特
徴コードメモリ23についても同様の構成を有
し、同様の処理が行なわれる。合成処理回路24
は左画面特徴コード27Lと右画面特徴コード2
7Rを組合せることにより識別結果候補を出力す
るものであり、左画面11Lおよび右画面11R
が検出されたとき入力される合成処理実行指示信
号26cにより合成処理を行なう。例えば第1表
に示すように左画面特徴コード27LがAのと
き、右画面特徴コード27RがBであれば、「5」
と識別され、又その右画面特徴コード27RがC
であれば、「9」と識別される。又、左画面特徴
コード27LがB或いはCのとき、右画面特徴コ
ード27RがCであれば、「3」と識別される。
このような合成処理が左画面および右画面特徴コ
ードメモリ22,23の各々3個のデータで実施
されて、3個の識別結果候補が、「3」、「5」、
「9」、「?(リジエクト)」等の中から得られる。
The present invention relates to an optical character reading device that is capable of reading characters, symbols, etc. whose width is larger than the field of view of a sensor. In a general optical character reading device, as shown in FIG. 1, characters, symbols, etc. (hereinafter simply referred to as characters) 2 on a sheet of paper 1 are passed through an optical system 5 and imaged on an image sensor 6 consisting of a photoelectric conversion element. The analog signal from the image sensor 6 is converted into a binary signal by a binary conversion circuit 7 in correspondence with the white background area of the paper and the black of the characters, and the recognition circuit 8 performs character recognition. . In this case, a one-dimensional sensor or a two-dimensional sensor is used as the image sensor 6, and in the case of a one-dimensional sensor, the optical system 5 or the paper 1 is mechanically moved in the lateral direction 4 of the paper 1 to read the characters 2. In addition, when using a two-dimensional sensor, four
The characters 2 are read by being electrically scanned and the optical system 5 or paper 1 being moved mechanically. Both the one-dimensional sensor and the two-dimensional sensor are electrically scanned in the longitudinal direction 3 of the paper 1 to read the characters 2. However, when reading characters optically as described above, in order to capture the characters two-dimensionally with a one-dimensional sensor, the image sensor 6 must be moved in the lateral direction 4 of the paper at a constant speed relative to the paper 1. There is a need. Further, if the moving speed of the image sensor 6 with respect to the paper 1 is not known, it is necessary to store the black/white pattern over the entire character area, and in this case, the storage capacity must be increased, which is expensive. In addition, even if a two-dimensional sensor is used, if the moving speed relative to the paper changes, as shown in Figure 2a,
This method could only be applied when the entire character 2 to be read falls within the field of view 9 of the sensor. For this reason,
When a character 2 larger than the width of the field of view 9 of the sensor is to be read as shown in FIG. It is necessary to store a black/white pattern, and in such a case, the storage capacity needs to be larger than that when a one-dimensional sensor is used. Furthermore, regarding the idea of using a two-dimensional sensor with a large bit configuration to process large-width characters, (i) large-sized two-dimensional sensors are expensive, and (ii) the time required for identification processing is high. There are disadvantages such as increasing the number of For this reason, conventionally it has been difficult and economically disadvantageous to read characters larger than the field of view of the sensor. Therefore, the present invention eliminates the above-mentioned conventional drawbacks, makes it possible to read and identify even characters larger than the field of view of a two-dimensional sensor, regardless of the paper movement speed, and reduces reading errors due to the relative positional relationship between the sensor and characters. The purpose of the present invention is to provide an optical character reading device, and the configuration of the device of the present invention to achieve this purpose includes a photoelectric conversion element that scans characters, codes, etc. and sends analog electrical signals corresponding to the scans. A two-dimensional sensor section, a binarization circuit that converts the analog electrical signal into a binarized signal corresponding to a character area and a background area, and an identification circuit that recognizes characters based on the binarized signal. In the optical character reading device, when the left end of the character to be read is located at the left end within the field of view of the sensor unit scanned using the binary signal, a left screen detection signal is sent out, and the sensor unit sends a left screen detection signal. a left and right screen detection circuit that sends out a right screen detection signal when the right edge of a character to be read is located at the right edge of the field of view of the camera; and a screen feature code extraction circuit that classifies the screen shape from the screen pattern based on the binarized signal. a left screen feature code storage circuit that stores a plurality of left screen feature codes including a left screen and screens before and after the left screen obtained by the screen feature code extraction circuit in response to the left screen detection signal; a right screen feature code storage circuit that stores a plurality of right screen feature codes including a right screen obtained by the screen feature code extraction circuit in response to the right screen detection signal and screens before and after the right screen;
The present invention is characterized by comprising a processing circuit that outputs a screen feature code of one character from the left screen feature code and the right screen feature code. An embodiment of the apparatus of the present invention will be described in detail below with reference to the drawings. The optical character reading device of the present invention forms an image of the character 2 on an image sensor 6 through an optical system 5, as shown in the principle explanatory diagram of FIG.
The background area of the paper is white and the character area is black. Using the binary signal converted into a digital signal by the binarization circuit 7, the left end of the character 2 to be read is set to the sensor. The white/black pattern when the left end of the field of view 10L is reached and the white/black pattern when the right end of character 2 reaches the right end of the sensor's field of view 10R are extracted, and these two are extracted.
Characters are recognized using the black and white pattern on the screen. For this reason, the character 2 to be read
The horizontal axis is the field of view 10R (or 10L) of the sensor 6
Even if the paper is larger, it can be read, and furthermore, the left screen 11L shown in FIG. 3b and the right screen 11R shown in FIG. 3c can be taken out regardless of the moving speed of the paper 1. On the other hand, when character identification is performed using the left and right screens 11L and 11R, when reading using only one left screen 11L and one right screen 11R, for example, the third
Left side 11L 0 in Figure b and right side 11R 0 in Figure 3 c
If this is used, depending on the relative positional relationship between each cell 15 of the photoelectric conversion element in the sensor 6 and the image formation of the character element 16, missing portions 13 and 14 of the character element 16 may appear in the binarized signal. may occur, resulting in poor reading. That is, the binary signal is sent to the sensor 6.
Since it is converted into an electrical signal by a plurality of cells 15 arranged vertically and horizontally provided within the field of view 10L (or 10R), the positional relationship between the character element 16 and the cell 15 is shown in Fig. If the line width of the character element 16 is narrow as the area occupied by the character element within the area of each cell 15 as shown in FIG. is cut off, resulting in poor reading. on the other hand,
Screen 11L+1 immediately after movement shown in Figure 4b above
As shown in Fig. 4d, the area occupied by the character element 16 in the same cell expands and is binarized to black (hereinafter referred to as black cell) as shown in Fig. 4e, so that the line of the character The area can be read without being cut. Therefore, in this embodiment, in order to ensure the reading of the character screen, the electrical operation speed of the photoelectric conversion element is sufficiently faster than the relative movement speed of paper 1 and character 2, so that a large amount of screen data can be obtained. In the left end face detection, at least the left screen 11L0 and the screens 11L-1 before and after it,
Similarly, when detecting the right screen, at least the right screen 11R0 and the screens 11R- 1 and 11R+1 before and after it are used to obtain a binarized signal with no missing character line areas and identify the character screen. This is what we do. As shown in the block diagram of FIG. 5, the optical character reading device of the present invention converts a black and white analog signal obtained by a photoelectric conversion element of a sensor 6 into a digital binary signal by a binary conversion circuit 7. Using the signal 19, a left and right screen detection circuit 20 detects the left and right ends of the characters and outputs a left screen detection signal 26a and a right screen detection signal 26b. Also, the same 2
Screen feature code extraction circuit 2 using valued signal 19
1, column feature codes 52 are extracted for every two columns of a character screen divided into a plurality of rows and columns, and further screen feature codes 27 covering the entire character screen are extracted one after another using the column feature codes 52. , a plurality of screen feature codes 27 are stored in the left screen feature code memory 22.
The left screen detection signal 26a and the right screen detection signal 26b are stored in the right screen feature code memory 23, respectively.
are stored separately. The left and right screen characteristic codes 27L and 27R stored in the left screen characteristic code memory 22 and the right screen characteristic code memory 23 are the combination processing execution instruction signal 2 of the left and right screen detection circuit 20.
6c, the combination processing circuit 24 synthesizes a plurality of identification result candidates, and from among the identification result candidates, the identification character determination circuit 25 determines the identification result to perform character recognition. Each of the above circuits will be explained in detail below. The left and right screen detection circuit 20 converts analog signals read by a two-dimensional sensor 6, which is a two-dimensional array of photoelectric conversion elements, into a binary signal by a binarization circuit 7, as shown in the block diagram of FIG. This binary signal 19 is input to a column-by-column black cell detection circuit 28 that detects the presence of black cells in each column in the vertical direction among the cells of the photoelectric conversion element. The column-by-column black cell detection circuit 28 outputs a leftmost black cell detection signal 30 when it detects a black cell in the leftmost column, and black cells continuously exist over several lines on the left side excluding the leftmost column. When this is the case, the left side character element detection signal 31 is output. Also, when black cells exist continuously over several lines on the right side excluding the rightmost column, a right side character element detection signal 32 is output, and a rightmost black cell detection signal is output when a black cell in the rightmost column is detected. Outputs 33. Note that the several lines mentioned here are the number of lines corresponding to the minimum width of the characters to be read. The above-mentioned column-by-column black cell detection circuit 28 will be described in more detail with the configuration shown in FIG. 7, and the case where the binarized signal is input in parallel (n bits in the horizontal direction) row by row will be described below. . In addition to the binary signals BW 1 to BW o corresponding to each column in the vertical direction, the column-by-column black cell detection circuit 28 also receives a line clock CK synchronized with the binary signal for each row (1 to m) in the horizontal direction. 1. Frame clock CK 2 synchronized with the processing of one screen and clear signal CL 1 slightly delayed from frame clock CK 2 are input.
In addition, in order to detect black cells, a 1-bit register 28a and an OR circuit 28b are combined for each column.
The data in 8a is updated. Further, 28c is an output register, and 28d is an AND circuit. In such a configuration, each signal in FIG.
The explanation will be given according to the time chart shown in the figure. When the first row data in the binary signals BW 1 to BW o is applied to the OR circuit 28b, the first row data is sent to the register 28 by the line clock CK 1 .
After that, the logical sum circuit 28b calculates the logical sum with the data stored in the register 28a up to the data of the mth row, and sets the data in the register 28a every line clock CK1. Therefore, when a black set exists in a column, the contents of register 28a become "1". In both end columns, the content of the register 28a is directly set to the corresponding output register 28c by the frame clock CK2 , so the left end black cell detection signal 30 and the right end black cell detection signal 33 are set to the corresponding output register 28c. is set to Also, the contents of the registers 28a on several lines on both sides excluding both ends are added to the AND circuit 28d on the left and right sides, and the output of this AND circuit 28d is set to the corresponding output register 28c by the frame clock CK2. Therefore, the left character element detection signal 31 and the right character element detection signal 32 are set in the corresponding output register 28c. Also, after the screen data is set in the output register 28c by the frame clock CK2 in this way,
Register 28a is cleared by clear signal CL1 . In the above, the white/black pattern on the sensor and
The relationship with the black cell distribution in each column in the vertical direction can be determined by moving the sensor in the horizontal direction, for example, in the 9th column.
9b, 9c, and 9d sequentially from FIG. 9a. However, in Figures 9 a to d, x 1 to x 4 indicate a white/black pattern based on the relationship between the sensor field of view 10 and character 2, and y 1 to y 4 indicate black cells in each vertical column. The distribution of black cells is shown according to the relationship between a portion 36 where there is no black cell and a portion 37 where the black cell is present. Further, the white/black pattern x1 in FIG. 9a is a case where the leftmost black cell detection signal LBF30 is "0" and the left side character element detection signal LCF31 is "1".
If the moving speed of the paper or the character 2, which is the object to be observed, is slow, a screen with the same positional relationship can be continuously obtained any number of times. For this reason, the following processing is performed to detect as the left screen the screen that first satisfies the above conditions of LBF being "0" and LCF being "1" for a certain character. If the above conditions are met, the left screen flag LF
is set to "1", and set to "0" in other cases. Further, if the left screen flag of the screen immediately before the current detection process is performed is BLF, the left screen detection signal 26a is output when the complement of BLF and LF are .LF=1. Similarly, on the right screen, the white/black pattern x 3 in Figure 9c is the right character element detection signal RCF.
32 is "1" and the rightmost black cell detection signal RBF33 is "0", and when these conditions are met,
Set the right screen flag RF to “1”, otherwise “0”
shall be. Furthermore, if the right screen flag of the screen immediately before the detection process is performed is BRF, the right screen detection signal 26b is output when the complement of BRF and RF are .RF=1. Left screen detection signal 26
a is input to the left screen feature code memory 22, and the right screen detection signal 26b is input to the right screen feature code memory 23, instructing them to store the respective screen feature codes. Next, the screen feature code extraction circuit will be explained. The principle of the screen characteristic code extraction circuit 21 is shown in FIG. m bits (m
A case will be explained in which the pattern is composed of an n×m bit white/black pattern in a row). First, the two rows on the left
Extract the column feature code content L 1 of the white/black pattern with V 1 and V 2 as a set viewed in the column direction, and then extract the white/black pattern with V 2 and V 3 as a set of two columns shifted one row to the right. Extract the column feature code content L 2 of the black pattern, and then similarly extract the (n-1) set of column feature code content L 1 to L o-1 up to the rightmost columns V o-1 and V o . , these column feature code contents L 1 to L o-1 are arranged in the order of occurrence to obtain the entire screen feature code contents G 1 . The screen feature code extraction circuit 21 is composed of a column feature code extraction section and a screen feature code extraction section, as shown in the block diagram of FIG. Below are 2
A case where binarized signals for each row are obtained in parallel in the column direction by the digitizing circuit 7 will be described. The column feature code extracting section includes a parallel-to-serial converter 42 for serially reading out the binary signal 19 input in parallel by the binarization circuit 7, and the parallel-to-serial converter 4
Column feature code contents for every 2 columns by the output of 2
Column feature extraction state transition circuit 44 that extracts L 1 to L o-1
and a temporary storage circuit 45 capable of storing intermediate state transition addresses for the number of columns, and the column feature extraction state transition circuit 44 and the temporary storage circuit 45 constitute a sequential circuit. Since the above-mentioned parallel-to-serial converter 42 has a parallel binary signal 19 obtained by the binarization circuit 7,
If this signal is used as it is, (n-1) column characteristic circuits will be required, so it is used for simplicity. Further, the serial binary signal 48 obtained from the parallel-to-serial converter 42 is transferred to the column feature extraction state transition circuit 44.
A temporary delay circuit 43 is provided which delays the serial signal by one bit and inputs the same, thereby inputting the binarized signals for two columns of each row of the screen as one set to the column feature extraction transition circuit 44. Also, the parallel-to-serial converter 42
A write operation is performed by a clock CK1 synchronized with the output of a binary signal, and a read operation is performed by a clock CK3 obtained by dividing this clock CK1 by n. The temporary delay circuit 43 is operated by the clock CK3 .
Therefore, for example, a set of binary signals of two columns V 2 and V 1 is input to the column feature extraction state transition circuit 44,
In the next state, a set of binary signals from columns V 3 and V 2 are input by clock CK 3 , and sequentially input up to columns V o and V o-1 . Furthermore, at the next clock CK 3 , the binarized signal of the leftmost column V 1 of the next row is output, so the column
The binarized signals of V 1 and V o are inputted, followed by the binarized signals of columns V 2 and V 1 . The column feature extraction state transition circuit 44 is accessed by the two columns of binary signals 48 and 49 and the corresponding two columns of intermediate state address data 51 stored in the temporary storage circuit 45, and its output 50 is again sent to the temporary storage circuit. 45. Subsequently, the same processing is performed for the column data of other columns V i and V i-1 , and when the binarized signals for the same two columns are input to the data lines 48 and 49, the corresponding intermediate state address data 5
1 is also read out to data line 51a to access column feature extraction state transition circuit 44. By performing these processes m times (for m rows), column characteristic codes L 1 to L o-1 of the column screen for two columns are obtained after inputting the m-th binarized signal. For example, the content of the intermediate state transition address is the 12th
As shown in the state transition diagram in the figure, one line 2 in the initial state a.
If the 2-bit binary signal inputs for the column are both white, the state remains in the initial state a, and if the 2-bit binary signal inputs are both black, the state transitions to state b, and then the 2-bit binary signal is converted. If both signal inputs are white, the state transitions to state c. Next, if both 2-bit binary signal inputs are black, the state transitions to state d. Next, if both 2-bit binary signal inputs are white, the state transitions to state c. Transition to state e, then transition to state f if both 2-bit binary signal inputs are black, and if the 2-bit binary signal input is the final stage, state f is the next column feature code 52. It is input to the screen feature extraction state transition section of the second stage. The intermediate state addresses such as a to f are stored in the temporary storage circuit 45, and each time the corresponding binary signals for each row and two columns are input, they are sequentially changed to the final column characteristic code contents L 1 to L o-1 is obtained. On the other hand, the screen feature extraction section latches with a screen feature extraction state transition circuit 46 that extracts the screen feature of one character while sequentially transitioning according to the column feature code contents L 1 to L o-1 obtained by the column feature extraction section. The circuit 47 constitutes a sequential circuit, and extracts the characteristics of the entire screen. The screen feature extraction state transition circuit 46 receives the column feature code contents L 1 to L o-1 sequentially from the temporary storage circuit 45 (n-1) times, and stores the column feature code contents L 1 .
~L o-1 and the contents of latch circuit 47, and the output is latched into latch circuit 47. Therefore, the contents of the latch circuit 47 change sequentially, for example, as shown in FIG. 22 and right screen feature code memory 23. In Fig. 13, in the initial state a', if there is a column feature code input a'-1 for one set of two columns, the state transitions to state b', and then when there is input b'-1, the state changes to c'. If there is only input c'-1 that overlaps after this state c', the state does not transition and becomes the final stage, and state c' is stored as the screen feature code signal 27 in the left side code memory 22 or the right screen code memory 23. Will be written. however,
The screen feature is a code given to a part or the entire shape of a character to be read, and a plurality of codes are given to one character. There are also cases where the same code is given to some of the different characters. In this way, the screen feature code 27 is extracted at the state transitions shown as A, B, C, etc. in FIG. Next, the synthesis processing circuit will be explained. Here, a case will be described in which three screen characteristic codes are used for the left screen 11L and the right screen 11R. The left screen feature code memory 22 is composed of a three-stage shift register, and the output of the screen feature code extraction circuit 21 is input every time the processing of one screen is completed, and the stored data is sequentially shifted. The writing and shift processing of the left screen feature code memory 22 is stopped by the left screen detection signal 26a, and the left screen feature code memory 22 stores the screen feature codes of the left screen and the screens before and after it, and the synthesis process begins. The screen feature code 27 is held until execution. The right screen feature code memory 23 also has a similar configuration and performs similar processing. Synthesis processing circuit 24
is left screen feature code 27L and right screen feature code 2
By combining 7R, identification result candidates are output, and the left screen 11L and right screen 11R
The combining process is performed in accordance with the combining process execution instruction signal 26c that is input when is detected. For example, as shown in Table 1, when the left screen feature code 27L is A and the right screen feature code 27R is B, "5"
, and the right screen characteristic code 27R is C.
If so, it is identified as "9". Further, when the left screen characteristic code 27L is B or C, and the right screen characteristic code 27R is C, it is identified as "3".
Such compositing processing is performed on three pieces of data in each of the left screen and right screen feature code memories 22 and 23, and the three identification result candidates are "3", "5",
It can be obtained from "9", "? (reject)", etc.

【表】 次に識別文字決定回路25について説明する。 識別文字決定回路25は上記合成回路24によ
り得られた3個の識別結果候補の中からイメージ
センサで走査した文字2の識別結果を決定するも
のであり、合成処理実行信号26cにより動作す
る。例えば、識別結果候補のうち、2つの結果が
「3」で、他の1つの結果が“リジエクト”の場
合に識別結果を「3」とするものである。このよ
うにして1つの識別結果では読取不良となる場合
でも他の2つの識別結果で認識することができ
る。また、識別文字決定回路25は例えばマイク
ロコンピユータ等で構成し、上記処理をプログラ
ム命令として指定して実行すればよい。 このようにして本発明の光学的文字読取装置は
センサの視野よりも横幅の大きい文字を用紙の移
動速度に関係なく読取ることができる。 次に他の実施例について説明する。上記実施例
においては先に合成処理を行ない、この合成成処
理により得られた複数の識別結果候補の中から識
別結果を決定するものであるが、本実施例におい
ては画面特徴コード抽出回路により得られた複数
個の左画面或いは右画面の画面特徴コードの中か
ら左画面、右画面のそれぞれにおいて1個づつ最
適な画面特徴コードを決定する処理を行ない、得
られた最適な左画面、右画面の画面特徴コードを
合成することにより識別結果を得るものである。
尚、先の実施例と同一部分には同一番号を付しそ
れらの説明は省略する。 本実施例の装置は第14図に示すように左画面
特徴コードメモリ22に格納された複数個の左画
面特徴コード27Lの中から左画面特徴コード識
別決定回路62において左画面について最適な一
個の左画面特徴コード64を決定し、同様に右画
面特徴コード識別決定回路63においても右画面
特徴コードメモリ23に格納された複数個の右画
面特徴コード27Rの中から最適な一個の右画面
特徴コード65を決定する。さらにこの左画面お
よび右画面特徴コード識別決定回路62,63に
より得られた最適な左画面特徴コード64および
右画面特徴コード65を左右画面特徴コード合成
回路66において合成処理を行ない識別結果を得
るものである。 上記左・右画面特徴コード識別決定回路62,
63における最適な左画面および右画面の特徴コ
ードの決定はコンピユータ70内に予め内蔵され
ている各文字についての左画面および右画面の特
徴コードと照合しながら判断するものである。 左側面、右側面について各々最適な画面特徴コ
ードの決定する方法は、例えば得られた画面特
徴コードの中で不良な画面特徴コードを省いて最
適な画面特徴コードを決定する方法、画面特徴
コードに優先順位をつけて決定する方法、或いは
上記との方法を組合せて決定する方法等が
ある。 上記の方法を第3図b,cのパターンを例に
説明すると、左画面においては、11L0では欠
落部13のため画面特徴コードが正しく得られず
画面特徴コードとして「リジエクト」のコードが
得られる。これをPとする。ところが11L−
1、11L+1では正しいパターンが得られるた
め画面特徴コードとして「〓」の形状に相当する
コードが得られる。これをTをする。同様にして
右画面においても11R0では画面特徴コードは
「リジエクト」のコードPとなり、11R−1、
11R+1では「〓」の形状に相当するコード
(これをUとする。)が得られる。このようにして
最適な左画面特徴コードとしてPを省いたTが、
最適な右画面特徴コードとしてPを省いたUが得
られる。 上記の方法は画面特徴コードそのものに予め
優先順位を指定しておくものである。例えば、左
画面においては11L−1のパターンに相当する
コードをTとして、11L+1のパターンに相当
するコードがT′として得られ、その他のパター
ンや「リジエクト」に相当するコードが得られた
場合、T>T′………Pという優先順位を指定し、
最優先順位として指定されたTが左画面特徴コー
ドとして決定される。同様にして右画面特徴コー
ドをUとして決定するものである。 上記の方法は左右それぞれの画面に予め優先
順位を指定しておき、最優先順位の画面の特徴コ
ードが「リジエクト」に相当するコードであつた
場合、次の順位の画面のコードを最適な画面特徴
コードとして決定するものである。例えば、11
L−1のパターンに相当するコードがTとして、
11L+1のパターンに相当するコードがT′、
11L0およびその他に相当するパターンのコー
ドが得られたとする。この場合優先順位を11
L0>11L−1>11L+1………と指定して
おき、11L0のコードがP(リジエクト)のと
き、11L−1のコードがTとして最適な左画面
特徴コードとして決定するものである。右画面に
おいても同様にして最適な右画面特徴コードが決
定される。 このような画面特徴コードを決定する方法は
種々考えられるが具体的な回路としてはマイクロ
コンピユータでプログラム化すると簡単に行なう
ことができる。 次に左右画面特徴コード合成回路について説明
する。上記左画面特徴コード識別決定回路におい
て第2表に示すようにQ、R、S、T、U、Pの
コードが得られ、これらの中から左画面として最
適な左画面コードTとして得られ、一方右画面と
してUが右画面特徴コードとして得られたとする
と、左右画面特徴コード合成回路65において左
画面と右画面の特徴コードが合成され、「2」と
して識別結果が得られる。
[Table] Next, the identification character determination circuit 25 will be explained. The identification character determination circuit 25 determines the identification result of the character 2 scanned by the image sensor from among the three identification result candidates obtained by the synthesis circuit 24, and is operated by the synthesis processing execution signal 26c. For example, if two results among the identification result candidates are "3" and the other result is "reject", the identification result is set as "3". In this way, even if one identification result results in poor reading, it can be recognized based on the other two identification results. Further, the identification character determination circuit 25 may be constituted by, for example, a microcomputer or the like, and the above processing may be designated and executed as a program command. In this way, the optical character reading device of the present invention can read characters whose width is wider than the field of view of the sensor, regardless of the paper moving speed. Next, other embodiments will be described. In the above embodiment, a synthesis process is first performed, and the identification result is determined from among the plurality of identification result candidates obtained by this synthesis process, but in this embodiment, the screen feature code extraction circuit determines the identification result. A process is performed to determine one optimal screen feature code for each of the left screen and right screen from among the screen feature codes of the left screen or right screen that have been obtained, and the obtained optimal left screen and right screen are The identification result is obtained by synthesizing the screen feature codes.
Incidentally, the same parts as in the previous embodiment are given the same numbers, and their explanation will be omitted. As shown in FIG. 14, in the apparatus of this embodiment, the left screen feature code identification and determination circuit 62 selects the optimal one for the left screen from among the plurality of left screen feature codes 27L stored in the left screen feature code memory 22. The left screen feature code 64 is determined, and similarly, the right screen feature code identification and determination circuit 63 selects an optimal right screen feature code from among the plurality of right screen feature codes 27R stored in the right screen feature code memory 23. 65 is determined. Further, the optimal left screen feature code 64 and right screen feature code 65 obtained by the left screen and right screen feature code identification determination circuits 62 and 63 are combined in a left and right screen feature code synthesis circuit 66 to obtain an identification result. It is. The left/right screen feature code identification determination circuit 62,
The optimum characteristic codes for the left screen and right screen in step 63 are determined by comparing them with the characteristic codes for the left screen and right screen for each character that are stored in the computer 70 in advance. The method of determining the optimal screen feature code for the left side and the right side is, for example, a method of determining the optimal screen feature code by omitting defective screen feature codes from the obtained screen feature codes, or a method of determining the optimal screen feature code for the screen feature code. There are a method of prioritizing and determining, a method of determining by combining the above methods, etc. To explain the above method using the patterns shown in Fig. 3 b and c as an example, in the left screen, in 11L 0 , the screen feature code cannot be obtained correctly due to the missing part 13, and the code "Reject" is obtained as the screen feature code. It will be done. Let this be P. However, 11L-
1 and 11L+1, since a correct pattern is obtained, a code corresponding to the shape of "〓" is obtained as a screen feature code. Do this T. Similarly, on the right screen, the screen feature code for 11R 0 is code P for "Reject", and 11R-1,
In 11R+1, a code corresponding to the shape of "〓" (this is designated as U) is obtained. In this way, T with P omitted as the optimal left screen feature code is
U is obtained by omitting P as the optimal right screen feature code. In the above method, a priority order is specified in advance for the screen feature code itself. For example, on the left screen, the code corresponding to the pattern 11L-1 is obtained as T, the code corresponding to the pattern 11L+1 is obtained as T', and if other patterns or codes corresponding to "reject" are obtained, Specify the priority order of T>T′……P,
T, which is designated as the highest priority, is determined as the left screen feature code. Similarly, the right screen feature code is determined as U. The above method specifies the priority order for the left and right screens in advance, and if the feature code of the screen with the highest priority is a code corresponding to "reject", the code of the screen with the next priority is set as the optimal screen. This is determined as a feature code. For example, 11
Assuming that the code corresponding to the pattern of L-1 is T,
The code corresponding to the pattern 11L+1 is T′,
Assume that codes of patterns corresponding to 11L 0 and others are obtained. In this case, set the priority to 11
L0 >11L-1>11L+1...... is specified, and when the code of 11L0 is P (reject), the code of 11L-1 is determined as the optimal left screen characteristic code for T. The optimum right screen feature code is determined in the same way for the right screen. Various methods can be considered for determining such screen characteristic codes, but it can be easily done by programming a specific circuit with a microcomputer. Next, the left and right screen characteristic code synthesis circuit will be explained. In the left screen characteristic code identification and determination circuit, the codes Q, R, S, T, U, and P are obtained as shown in Table 2, and from among these, the left screen code T that is optimal for the left screen is obtained, On the other hand, if U is obtained as the right screen characteristic code for the right screen, the left and right screen characteristic codes are combined in the left and right screen characteristic code synthesis circuit 65, and an identification result of "2" is obtained.

【表】 尚、上記実施例においては2次元光電変換素子
のアナログ信号が縦方向(列方向)にパラレルに
出力される場合について説明したが、横方向(行
方向)にパラレルに出力される場合についても同
様の処理を行なうこともできる。更に、アナログ
信号がシリアル出力される場合についても、左右
画面検出回路20および画面特徴コード抽出回路
21の入力部にシリパラ変換器等のバツフアを設
けることにより同様の処理が可能となる。 以上実施例を挙げて具体的に説明したように本
発明の光学的文字読取装置は文字全域に亘る記憶
容量を必要とせず、センサの視野よりも横幅が大
きい文字においても移動速度に関係なく文字の読
取りが可能となり、またセンサと文字の相対的位
置関係による読取不良が減少し、さらに径済的に
有利となる。
[Table] In the above embodiment, the case where the analog signals of the two-dimensional photoelectric conversion element are outputted in parallel in the vertical direction (column direction) was explained, but the case where they are outputted in parallel in the horizontal direction (row direction) is explained. Similar processing can also be performed for . Furthermore, even when analog signals are serially output, similar processing is possible by providing a buffer such as a serial-to-parallel converter at the input section of the left and right screen detection circuit 20 and the screen feature code extraction circuit 21. As specifically explained above with reference to the embodiments, the optical character reading device of the present invention does not require a memory capacity covering the entire character area, and even if the width of the character is larger than the field of view of the sensor, it can read the character regardless of the moving speed. It is possible to read the characters, and reading errors due to the relative positional relationship between the sensor and the characters are reduced, which is further advantageous in terms of cost.

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

第1図は従来の装置構成の概略を示すブロツク
図、第2図a,bは文字とセンサ視野との関係を
示す図、第3図〜第14図は本発明装置の一実施
例に係り、第3図aはセンサ視野より横幅が大き
い文字を同一センサで読取る説明図、第3図bは
左画面の、第3図cは右画面で文字を読取る状態
を示す説明図、第4図a〜eは光電変換素子の各
セルと文字要素との位置関係の一例を示す説明
図、第5図は本発明装置のブロツク図、第6図は
左右画面検出回路のブロツク線図、第7図は列別
黒セル検出回路のブロツク線図、第8図は左右画
面検出回路の各信号のタイムチヤート、第9図a
〜dはセンサ上の白/黒パターンと各列の黒セル
の分布の関係を示す説明図、第10図は画面特徴
コード抽出回路の処理動作を示す原理説明図、第
11図は画面特徴コード抽出回路のブロツク線
図、第12図は列特徴コード抽出部における状態
遷移図、第13図は画面特徴コード抽出部におけ
る状態遷移図、第14図は本発明装置の他の実施
例の要部のブロツク線図である。 図面中、11L,11Rは左画面および右画
面、13,14は文字要素欠落部、19は2値化
信号、20は左右画面検出回路、21は画面特徴
コード抽出回路、22,23は左画面および右画
面特徴コードメモリ、24は合成処理回路、25
は識別文字決定回路、26a,26bは左画面お
よび右画面検出信号、26cは合成処理実行指示
信号、27は画面特徴コード、27L,27Rは
左画面および右画面特徴コード、28は列別黒セ
ル検出回路、28aはレジスタ、28bは論理和
回路、28cは出力レジスタ、28dは論理積回
路、30,33は左端および右端黒セル検知信
号、31,32は左側および右側文字要素検知信
号、42はパラシリ変換器、43は一時遅れ回
路、44は列特徴抽出状態遷移回路、45は一時
記憶回路、46は画面特徴抽出状態遷移回路、4
7はラツチ回路、48はシリアルな2値化信号、
49は48の一時遅れ信号、51は列特徴コード
の中間状態アドレスコード、51aはデータライ
ン、52は列特徴コード、54は画面特徴コード
の中間状態アドレスコード、62,63は左画面
および右画面特徴コード識別決定回路、64,6
5は左、および右画面決定コード、66は左右画
面特徴コード合成回路、70はコンピユータ、a
〜fは列特徴コードの中間状態アドレス、a′〜
c′は画面特徴コードの中間状態アドレス、nは一
画面の列数、mは一画面の行数、L1〜Loは形状
に分類された2列分の列特徴コードの内容、V1
〜Voは一画面の各列における特徴コード内容、
BW1〜BWoは各行における1列分の2値化信号、
LF,RFは左および右画面フラグ、BLF,BRF
は検出処理直前の左および右画面フラグ、CK1
行毎の2値化信号に同期したラインクロツク、
CK2は一画面の処理に同期したフレームクロツ
ク、CK3はCK1をn分割したクロツク、CL1
CK2のクリア信号である。
FIG. 1 is a block diagram showing an outline of the configuration of a conventional device, FIGS. 2 a and b are diagrams showing the relationship between characters and the sensor field of view, and FIGS. 3 to 14 are diagrams showing one embodiment of the device of the present invention. , FIG. 3a is an explanatory diagram showing how the same sensor reads characters whose width is larger than the sensor field of view, FIG. a to e are explanatory diagrams showing an example of the positional relationship between each cell of the photoelectric conversion element and the character element, FIG. 5 is a block diagram of the device of the present invention, FIG. 6 is a block diagram of the left and right screen detection circuit, and FIG. The figure is a block diagram of the column-by-column black cell detection circuit, Figure 8 is a time chart of each signal of the left and right screen detection circuits, and Figure 9a
~d is an explanatory diagram showing the relationship between the white/black pattern on the sensor and the distribution of black cells in each column, Fig. 10 is an explanatory diagram showing the processing operation of the screen feature code extraction circuit, and Fig. 11 is the screen feature code. A block diagram of the extraction circuit, FIG. 12 is a state transition diagram in the column feature code extraction section, FIG. 13 is a state transition diagram in the screen feature code extraction section, and FIG. 14 is a main part of another embodiment of the device of the present invention. FIG. In the drawing, 11L and 11R are left and right screens, 13 and 14 are missing text elements, 19 is a binary signal, 20 is a left and right screen detection circuit, 21 is a screen feature code extraction circuit, and 22 and 23 are left screens. and right screen feature code memory, 24 is a synthesis processing circuit, 25
26a, 26b are left screen and right screen detection signals, 26c is a synthesis processing execution instruction signal, 27 is a screen feature code, 27L, 27R are left screen and right screen feature codes, 28 is a black cell by column Detection circuit, 28a is a register, 28b is an OR circuit, 28c is an output register, 28d is an AND circuit, 30, 33 are left end and right end black cell detection signals, 31, 32 are left and right side character element detection signals, 42 is a detection circuit. Para-serial converter, 43 is a temporary delay circuit, 44 is a column feature extraction state transition circuit, 45 is a temporary storage circuit, 46 is a screen feature extraction state transition circuit, 4
7 is a latch circuit, 48 is a serial binary signal,
49 is the temporary delay signal of 48, 51 is the intermediate state address code of the column feature code, 51a is the data line, 52 is the column feature code, 54 is the intermediate state address code of the screen feature code, 62 and 63 are the left screen and right screen Feature code identification determination circuit, 64,6
5 is a left and right screen determination code, 66 is a left and right screen characteristic code synthesis circuit, 70 is a computer, a
~f is the intermediate state address of the column feature code, a′~
c′ is the intermediate state address of the screen feature code, n is the number of columns in one screen, m is the number of rows in one screen, L 1 to L o are the contents of the column feature code for two columns classified by shape, V 1
~V o is the feature code content in each column of one screen,
BW 1 to BW o are binary signals for one column in each row,
LF, RF are left and right screen flags, BLF, BRF
are the left and right screen flags immediately before the detection process, CK 1 is the line clock synchronized with the binarized signal for each row,
CK 2 is a frame clock synchronized with the processing of one screen, CK 3 is a clock obtained by dividing CK 1 into n parts, and CL 1 is a
This is the clear signal for CK 2 .

Claims (1)

【特許請求の範囲】 1 文字・符号等を走査してこれに対応したアナ
ログ電気信号を送出する光電変換素子を有する2
次元センサ部と、上記アナログ電気信号を文字領
域と背景領域とに対応する2値化信号に変換する
2値化回路と、上記2値化信号に基づいて文字の
認識を行なう識別回路とを具えた光学的文字読取
装置において、上記2値化信号を用い走査された
上記センサ部の視野内の左端部に被読取文字等の
左端が位置したときに左画面検出信号を送出する
と共に上記センサ部の視野内の右端部に被読取文
字等の右端が位置したときに右画面検出信号を送
出する左右画面検出回路と、上記2値化信号によ
る画面パターンから画面形状を分類する画面特徴
コード抽出回路と、上記左画面検出信号を受けて
上記画面特徴コード抽出回路により得られる左画
面および該左画面の前後の画面を含む複数個の左
画面特徴コードを記憶する左画面特徴コード記憶
回路と、上記右画面検出信号を受けて上記画面特
徴コード抽出回路により得られる右画面および該
右画面の前後の画面を含む複数個の右画面特徴コ
ードを記憶する右画面特徴コード記憶回路と、上
記複数の左画面特徴コードと上記複数の右画面特
徴コードから一個の文字を識別する処理回路とを
具えたことを特徴とする光学的文字読取装置。 2 上記処理回路が、上記複数個の左画面特徴コ
ードと複数個の右画面特徴コードとを用いて合成
して複数個の識別結果候補を求める合成処理回路
と、該合成回路により得られた複数個の識別結果
候補の中から一個の識別結果を決定する識別文字
決定回路とを具えたことを特徴とする特許請求の
範囲第1項記載の光学的文字読取装置。 3 上記処理回路が、上記左画面特徴コード記憶
回路に記載された複数個の左画面特徴コードの中
から1個の左画面特徴コードを決定する左画面特
徴コード識別決定回路と、上記右画面特徴コード
記憶回路に記憶された複数個の右画面特徴コード
の中から1個の右画面特徴コードを決定する右画
面特徴コード識別決定回路と、上記1個の左画面
特徴コードと上記1個の右画面特徴コードとを合
成して1個の識別結果を出力する左右画面特徴コ
ード合成回路とを具えたことを特徴とする特許請
求の範囲第1項記載の光学的文字読取装置。
[Claims] 1. A photoelectric conversion element that scans characters, codes, etc. and sends out analog electrical signals corresponding thereto. 2.
A dimensional sensor section, a binarization circuit that converts the analog electrical signal into a binary signal corresponding to a character area and a background area, and an identification circuit that recognizes characters based on the binarized signal. In the optical character reading device, when the left edge of the character to be read is located at the left edge within the field of view of the sensor unit scanned using the binary signal, a left screen detection signal is sent and the sensor unit a left and right screen detection circuit that sends out a right screen detection signal when the right edge of a character to be read is located at the right edge of the field of view; and a screen feature code extraction circuit that classifies the screen shape from the screen pattern based on the binarized signal. and a left screen feature code storage circuit that stores a plurality of left screen feature codes including a left screen and screens before and after the left screen obtained by the screen feature code extraction circuit in response to the left screen detection signal; a right screen feature code storage circuit that stores a plurality of right screen feature codes including a right screen obtained by the screen feature code extraction circuit in response to a right screen detection signal and screens before and after the right screen; An optical character reading device comprising a screen feature code and a processing circuit for identifying one character from the plurality of right screen feature codes. 2. A synthesis processing circuit in which the processing circuit obtains a plurality of identification result candidates by synthesizing the plurality of left screen characteristic codes and the plurality of right screen characteristic codes, and a plurality of identification result candidates obtained by the synthesis circuit. 2. The optical character reading device according to claim 1, further comprising an identification character determining circuit for determining one identification result from among the identification result candidates. 3. The processing circuit includes a left screen feature code identification and determination circuit that determines one left screen feature code from among a plurality of left screen feature codes written in the left screen feature code storage circuit; a right screen feature code identification and determination circuit that determines one right screen feature code from among the plurality of right screen feature codes stored in the code storage circuit; 2. The optical character reading device according to claim 1, further comprising a left and right screen feature code synthesis circuit for synthesizing left and right screen feature codes with a screen feature code and outputting one identification result.
JP56013759A 1981-02-03 1981-02-03 Optical character reader Granted JPS57130180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56013759A JPS57130180A (en) 1981-02-03 1981-02-03 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56013759A JPS57130180A (en) 1981-02-03 1981-02-03 Optical character reader

Publications (2)

Publication Number Publication Date
JPS57130180A JPS57130180A (en) 1982-08-12
JPH0132555B2 true JPH0132555B2 (en) 1989-07-05

Family

ID=11842172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56013759A Granted JPS57130180A (en) 1981-02-03 1981-02-03 Optical character reader

Country Status (1)

Country Link
JP (1) JPS57130180A (en)

Also Published As

Publication number Publication date
JPS57130180A (en) 1982-08-12

Similar Documents

Publication Publication Date Title
US4003024A (en) Two-dimensional binary data enhancement system
US3541511A (en) Apparatus for recognising a pattern
US4136332A (en) Device for detecting displacement between patterns
US4442542A (en) Preprocessing circuitry apparatus for digital data
US4980923A (en) Dilation/erosion conversion circuit
US4809343A (en) Maximum/minimum value conversion circuit for image processing
US4364023A (en) Optical character reading system
US6337926B2 (en) Image recognition method, image recognition apparatus, and recording medium
JPH0132555B2 (en)
JPS6141030B2 (en)
US4115760A (en) Figure pre-processing device
GB2072912A (en) Optical character reading system
US6356656B1 (en) Contour-information extraction apparatus and method
JP2570815B2 (en) Optical character recognition device
JPS61165187A (en) Noise removing method
JPS596418B2 (en) Character reading method
JPH0750504B2 (en) Pattern recognition device
JP4519272B2 (en) Pattern inspection apparatus and pattern inspection method
JP3061830B2 (en) Image processing device
JPH0225553B2 (en)
JPH0142195Y2 (en)
JP2000172984A (en) Number plate position extraction system
JPS5815829B2 (en) Character/figure recognition method
JPH0137793B2 (en)
JPH0193899A (en) Character recognizing device