JPH0478981A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH0478981A
JPH0478981A JP2193485A JP19348590A JPH0478981A JP H0478981 A JPH0478981 A JP H0478981A JP 2193485 A JP2193485 A JP 2193485A JP 19348590 A JP19348590 A JP 19348590A JP H0478981 A JPH0478981 A JP H0478981A
Authority
JP
Japan
Prior art keywords
character
image
identification
circuit
inverted
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
JP2193485A
Other languages
Japanese (ja)
Inventor
Masahiro Kurakake
倉掛 雅弘
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 JP2193485A priority Critical patent/JPH0478981A/en
Publication of JPH0478981A publication Critical patent/JPH0478981A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To shorten time for reading by executing a character identification processing based on an inverted picture only in an optimum segmented state to execute character identification without fail and preventing the character identification processing based on the inverted picture from being executed in the other segmented state in which character identification is made defective. CONSTITUTION:A character identifying circuit 83 is operated both as an identifying means and as a detecting means, and when the picture is segmented in the optimum segmented state while a segmenting means 82 successively segments pictures stored in a storing means 81, this is detected by the detecting means. While receiving this detected result, the identifying means executes the identification processing based on the inverted picture prepared by inverting the picture in the optimum segmented state by a character inverting means 85. This inverted picture is in the optimum segmented state positioning a character at the center, and identification is satisfactorily executed. Therefore, the character identification processing is executed only based on the picture in the optimum segmented state concerning the inverted picture, and it is not executed concerning the inverted picture in the state that the character is not completely positioned within the segmented picture. Thus, time until obtaining an identified result can be shortened.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、漢字、かな、アルファベットおよび数字なと
の文字を光学的に読み取る光学的文字読取装置に関する
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an optical character reading device that optically reads characters such as kanji, kana, alphabets, and numbers.

〈従来の技術〉 従来から、商品の価格や商品コードなどを表した文字列
を光学的に読み取り、その読取結果をコンピュータに入
力するようにした光学的文字読取装置が流通業界等で広
く使用されており、データ入力の効率化か図られている
。このような光学的文字読取装置は、一般に、商品の包
装の表面なとの文字を形成した読取面を照明し、この読
取面からの反射光をレンズ系によってイメージセンサの
受光面に結像させることにより、上記読取面の文字の光
学像を電気信号に変換するようにしている。
<Prior Art> Optical character reading devices that optically read character strings representing product prices, product codes, etc. and input the reading results into computers have been widely used in the distribution industry and other industries. The system is designed to improve the efficiency of data entry. Such an optical character reading device generally illuminates a reading surface on which a character such as "" is formed, such as the surface of a product's packaging, and uses a lens system to image the reflected light from the reading surface on the light-receiving surface of an image sensor. By doing so, the optical image of the characters on the reading surface is converted into an electrical signal.

このイメージセンサから出力される電気信号は、適当な
閾値レベルてレベル弁別することによって二値化され、
二〇二値信号をもとに文字の識別か行われる。
The electrical signal output from this image sensor is binarized by level discrimination using an appropriate threshold level.
20 Character identification is performed based on binary signals.

文字の識別は、先ずイメージセンサて読み取られた画像
から1文字分の領域の画像を切り出し、さらに切り出さ
れた画像内の文字の特微量と予め記憶しておいた文字パ
ターンの特微量との比較を行うようにして行われる。
To identify a character, first, an image of one character is extracted from the image read by the image sensor, and then the characteristic amount of the character in the cropped image is compared with the characteristic amount of the character pattern stored in advance. It is done in such a way that

最近では、イメージセンサて読み取った画像を記憶する
メモリからの信号の続出順序を変更することにより、読
み取った画像の天地を逆転させて文字を識別するように
して、王立文字たけてなく倒立文字の読取も可能とした
装置も用いられるようになってきている。
Recently, by changing the order in which signals are output from the memory that stores images read by an image sensor, characters can be identified by reversing the top and bottom of the read image. Devices that can also read information are also coming into use.

このような装置における倒立文字の読取処理は第7図お
よび第8図に示されている。第7図に示すようにイメー
ジセンサの視野範囲1内に倒立文字の文字列か入った場
合に、イメージセンサで読み取られた画像か第7図図示
の態様で図外のメモリに記憶されている場合を想定する
。1文字か入る程度の所定領域ずつの記憶信号の続出に
よ−て、第8図fa)に示すように、上記所定領域の画
像を順に切り出し、切り出された画像と予め記憶した文
字パターンとの比較が行われる。文字パターンは正立文
字のもののみか用意されているので、この場合には該当
する文字は存在せず、したかって文字列の認識を行うこ
とかできない。
The reading process for inverted characters in such a device is shown in FIGS. 7 and 8. As shown in Fig. 7, when a string of inverted characters enters the field of view 1 of the image sensor, the image read by the image sensor is stored in a memory (not shown) in the form shown in Fig. 7. Assume a case. As shown in FIG. 8fa), by successively producing memory signals for each predetermined area that can contain one character, the image of the predetermined area is sequentially cut out, and the cut-out image and the pre-stored character pattern are combined. A comparison is made. Since character patterns are prepared only for upright characters, in this case there are no corresponding characters, and therefore the character string cannot be recognized.

次に、上記のメモリの記憶信号を逆の順序で所定領域ず
つ読み出すことにより、第8図(b)に示すように、記
憶した画像を倒立させて順に切り出していく。そして、
切り出された画像と上記文字パターンとの比較により文
字識別処理か行われる。
Next, by reading out the stored signals of the memory in the reverse order for each predetermined area, the stored image is turned upside down and cut out one by one as shown in FIG. 8(b). and,
Character identification processing is performed by comparing the cut out image and the character pattern.

この場合には、メモリからの続出順序を逆転させて行っ
た倒立処理によって、識別処理か行われる画像中には正
立文字か含まれることになるので、切り出した画像のほ
ぼ中央に文字か位置する参照行号β1〜15て示す状態
て、文字の識別か可能となる。
In this case, the image to be identified will contain upright characters due to the inverted processing performed by reversing the order of successive output from memory, so the characters will be located approximately in the center of the cut out image. Characters can be identified in the states indicated by reference lines β1 to β15.

〈発明か解決しようとする課題〉 ところか、上記の正立・倒立文字の読取か可能な読取装
置では、第8図(alに示す正立状態ての文字切出およ
び文字識別の各処理を行い、さらに第8図(b+に示す
倒立状態でも文字切出および文字識別の各処理を行うよ
うにしているので、識別結果か得られるまでの処理時間
か長く、このためデータ入力に要する時間か長くなると
いう問題かあった。
<Problem to be solved by the invention> However, in the above-mentioned reading device capable of reading upright and inverted characters, each process of character extraction and character identification in the upright state shown in FIG. Since the character extraction and character identification processes are performed even in the inverted state shown in Figure 8 (b+), it takes a long time to obtain the identification results, which reduces the time required for data input. There was a problem with it being too long.

そこで、本発明は、上述の技術的課題を解決し、識別結
果か得られるまでの時間を短縮して、データ入力の高速
化を図ることかできるようにした光学的文字読取装置を
提供することを目的とする。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an optical character reading device that solves the above-mentioned technical problems, shortens the time required to obtain an identification result, and speeds up data input. With the goal.

く課題を解決するための手段〉 上記の目的を達成するための本発明の光学的文字読取装
置は、読取面に形成された文字の光学像か受光面に結像
されるイメージセンサと、このイメージセンサで読み取
られた画像を記憶する記憶手段と、 この記憶手段から1文字分の大きさの画像を切り出す切
出手段と、 この切出手段で切り出された画像から文字を識別する識
別手段と、 この識別手段による識別結果から、正しい識別結果を抽
出して出力する編集手段とを有する光学的画像読取装置
において、 上記切出手段で切り出された画像のほぼ中央に文字か位
置している最適切出状態を検出する検出手段と、 少なくとも上記最適切出状態で切り出した画像を倒立さ
せる文字逆転手段とを備え、 上記識別手段は、上記検出手段か最適切出状態を検出し
たときには、上記文字逆転手段で上記最適切出状態の画
像を倒立させて得た画像に基ついて文字を識別するもの
であり、 上記編集手段は、上記切出手段からの画像に基っく識別
結果と上記文字逆転手段からの倒立画像に基つく識別結
果とのうちいずれか正しい識別結果を出力するものであ
ることを特徴とする。
Means for Solving the Problems> To achieve the above object, the optical character reading device of the present invention includes an image sensor that forms an optical image of a character formed on a reading surface on a light receiving surface, and an image sensor that forms an optical image of a character formed on a reading surface. A storage means for storing an image read by an image sensor, a cutting means for cutting out an image of the size of one character from the storage means, and an identification means for identifying a character from the image cut out by the cutting means. , an optical image reading device having an editing means for extracting and outputting a correct identification result from the identification result by the identification means, in which a character is located approximately in the center of the image cut out by the cutting means; The identification means includes a detection means for detecting an appropriate appearance state, and a character reversing means for inverting at least an image cut out in the optimum appearance state, and the identification means detects the above character when the detection means detects the optimum appearance state. The editing means identifies characters based on the image obtained by inverting the image in the optimal output state using the reversing means, and the editing means identifies the characters based on the identification result based on the image from the cutting means and the character inversion. The present invention is characterized in that it outputs the correct identification result among the identification results based on the inverted image from the means.

〈作用〉 上記の構成によれば、イメージセンサて読み取られた画
像は記憶手段に記憶され、その記憶画像は切出手段によ
って1文字分の大きさの画像ずつ切り出されて識別手段
で識別される。切出手段か切り出した画像は、必ずしも
そのほぼ中央に文字か位置する最適切出状態であるとは
限らず、たとえば文字か半分程度しか入っていないよう
な状態も存在する。このような切出画像に対しては、識
別手段は文字を正しく識別することかできないのである
か、誤った識別結果は編集手段で捨てられていくので、
この編集手段からは正しい識別結果だけか得られる。
<Operation> According to the above configuration, the image read by the image sensor is stored in the storage means, and the stored image is cut out into images of the size of one character by the cutting means and identified by the identification means. . The image cut out by the cutting means is not necessarily in the optimal state where the characters are located approximately in the center; for example, there may be a state in which only about half of the characters are included. For such cut-out images, the identification means is unable to correctly identify the characters, or incorrect identification results are discarded by the editing means.
Only correct identification results can be obtained from this editing means.

切出手段か記憶手段の記憶画像を順次切り出していくう
ちに、上記の最適切出状態で画像か切り出されると、こ
のことか検出手段で検出される。
While the images stored in the cutting means or the storage means are successively cut out, when the image is cut out in the above-mentioned optimum output state, this fact is detected by the detection means.

これを受けて、識別手段は、文字逆転手段で上記最適切
出状態の画像を逆転して作成した倒立画像に基ついて識
別処理を行う。この倒立画像は、当然にその中央に文字
か位置する最適切出状態の画像であり、識別手段での識
別は良好に行われる。
In response to this, the identification means performs identification processing on the inverted image created by inverting the image in the optimum appearance state using the character reversing means. This inverted image is, of course, an image in the optimal state where the characters are located in the center, and the identification by the identification means can be performed satisfactorily.

このように、倒立画像については最適切出状態の画像に
基ついてのみ文字識別処理か行われ、文字か切出画像中
に完全には入っていない状態の倒立画像については文字
識別処理は行われない。この結果、文字識別手段ての処
理を軽減できる。
In this way, for inverted images, character identification processing is performed only on images in the optimal appearance state, and character identification processing is not performed for inverted images in which characters are not completely included in the cut-out image. do not have. As a result, processing by the character identification means can be reduced.

上記編集手段は、切出手段で切り出したそのままの画像
に基づく識別結果と、上記倒立画像に基づく識別結果と
のいずれか正しい識別結果を出力するのて、読取面に形
成された文字か正立状態てあっても倒立状態であっても
、その読取を行うことができる。
The editing means outputs either the correct identification result based on the image as it is cut out by the cutting means or the identification result based on the above-mentioned inverted image, and outputs the correct identification result based on the image cut out by the cutting means and the identification result based on the inverted image. It can be read whether the device is in an upright position or in an inverted position.

〈実施例〉 以下実施例を示す添付図面によって詳細に説明する。<Example> Embodiments will be described in detail below with reference to the accompanying drawings showing embodiments.

第1図は本発明の一実施例の光学的文字読取装置の基本
的な構成を示すブロック図である。この装置は、ハンデ
ィな筐体内に、読取対象の文字を形成した読取面1を照
明する光源2および読取面lからの反射光によりその受
光面6aに形成された光学像を電気信号に変換する二次
元イメージセンサ6などを収納したスキャナ4を備えて
いる。
FIG. 1 is a block diagram showing the basic configuration of an optical character reading device according to an embodiment of the present invention. This device is housed in a handy housing and includes a light source 2 that illuminates a reading surface 1 on which characters to be read are formed, and an optical image formed on the light receiving surface 6a by reflected light from the reading surface 1, which is converted into an electrical signal. It is equipped with a scanner 4 that houses a two-dimensional image sensor 6 and the like.

スキャナ4を読取面1に当てかうと、この読取面1から
の反射光は、反射鏡3て反射され、さらにレンズ系5を
介してイメージセンサ6の受光面6aに導かれ、この受
光面6a上に読取面1に形成された文字の光学像を形成
する。イメージセンサ6はこの光学像を電気信号に変換
して、二値化回路7に与える。この二値化回路7は、イ
メージセンサ6の出力を適当な閾値レベルでレベル弁別
して、NJまたは「0」の二値信号に変換する。
When the scanner 4 is placed on the reading surface 1, the reflected light from the reading surface 1 is reflected by the reflecting mirror 3 and further guided to the light receiving surface 6a of the image sensor 6 via the lens system 5. An optical image of the characters formed on the reading surface 1 is formed thereon. The image sensor 6 converts this optical image into an electrical signal and supplies it to the binarization circuit 7. This binarization circuit 7 level-discriminates the output of the image sensor 6 using an appropriate threshold level and converts it into a binary signal of NJ or "0".

イメージセンサ6は、多数の光電変換画素を二次元的に
配列して読取面1に形成された1行または複数行の文字
列の光学像を受光面6aに一度に結像させることかでき
るように構成したもので、各画素毎に得られる電気信号
か上記の二値化回路7て二値化される。
The image sensor 6 has a large number of photoelectric conversion pixels arranged two-dimensionally so that an optical image of one or more lines of character strings formed on the reading surface 1 can be formed on the light-receiving surface 6a at once. The electrical signal obtained for each pixel is binarized by the binarization circuit 7 described above.

二値化回路7の出力信号は、コー1−9を介して本体処
理部8に与えられる。この本体処理部8はケーブル9か
らの信号を、記憶回路81に一時記憶する。二値化回路
7からの信号はNJまたは「0」の二値信号なので、記
憶回路81の記憶領域には、イメージセンサ6の受光面
6a上に形成された二値画像か記憶されていることにな
る。
The output signal of the binarization circuit 7 is given to the main body processing section 8 via lines 1-9. This main processing unit 8 temporarily stores the signal from the cable 9 in a storage circuit 81 . Since the signal from the binarization circuit 7 is a binary signal of NJ or "0", the storage area of the storage circuit 81 stores the binary image formed on the light receiving surface 6a of the image sensor 6. become.

記憶回路81に記憶された画像は、1文字か入る程度の
所定の領域ずつ1文字切出回路82によって読み出され
、このようにして切り出された画像か文字識別回路83
に与えられて、識別処理か行われる。この識別処理は、
文字識別回路83に予め記憶した正立文字の文字パター
ンの特徴量との差計算などによって行われ、1文字切出
回路82て切り出した画像のほぼ中央に文字か位置して
いれば、当該文字か認識されることになる。この認識結
果は、編集部84に与えられる。この編集部84は、識
別結果か正しいものであれば識別された情報を出力し、
誤りであればその識別結果を無視して次の読取の開始を
指示する。
The image stored in the memory circuit 81 is read out one by one by a character cutting circuit 82 in a predetermined area that can accommodate one character, and the image thus cut out is read out by a character identification circuit 83.
is given and an identification process is performed. This identification process is
This is performed by calculating the difference between the feature amount of the character pattern of the upright character stored in advance in the character identification circuit 83, and if the character is located approximately in the center of the image extracted by the single character extraction circuit 82, the character is recognized. or will be recognized. This recognition result is given to the editing section 84. This editing section 84 outputs the identified information if the identification result is correct,
If it is an error, the identification result is ignored and the start of the next reading is instructed.

1文字切出回路82によって記憶回路81から所定領域
ずつ読み出される画像は、文字逆転回路85にも与えら
れる。この文字逆転回路85には、文字識別回路83か
1文字切出回路82て切り出された画像のほぼ中央に文
字か位置している最適切出状態を検出したときに出力す
る切出信号かライン86を介して与えられている。この
ように本実施例では、文字識別回路83は識別手段とし
て機能するとともに検出手段としても機能する。
The image read out from the memory circuit 81 by each predetermined area by the character cutout circuit 82 is also provided to the character reversal circuit 85 . This character reversing circuit 85 is supplied with a cutout signal or a line that is output when the character identification circuit 83 or the single character cutout circuit 82 detects the optimal appearance state in which a character is located approximately in the center of the cutout image. 86. In this manner, in this embodiment, the character identification circuit 83 functions not only as an identification means but also as a detection means.

上記の切出信号は1文字切出回路82にも与えられてお
り、この1文字切出回路82は上記の切出信号に応答し
て上記最適切出状態の切出画像の切出位置情報(たとえ
ば当該切出画像の記憶回路81の記憶領域内での座標)
をライン87から文字逆転回路85に与える。文字逆転
回路85は、上記切出信号に応答して、上記最適切出状
態での切出画像を、この画像を構成する信号を逆の順序
で記憶回路81から読み出すことによって倒立させる。
The above cutting signal is also given to the single character cutting circuit 82, and this single character cutting circuit 82 responds to the above cutting signal to obtain the cutting position information of the cut out image in the optimum cutting state. (For example, the coordinates of the cut-out image within the storage area of the storage circuit 81)
is applied from line 87 to character reversal circuit 85. In response to the cutout signal, the character reversal circuit 85 inverts the cutout image in the optimum output state by reading out the signals constituting this image from the storage circuit 81 in the reverse order.

この倒立処理か施された画像(1文字分の領域の画像)
は、ライン88から文字識別回路83に与えられて、当
該画像中の文字か識別される。その識別結果は編集部8
4に与えられる。
An image that has been subjected to this inversion process (an image of an area for one character)
is applied from line 88 to character identification circuit 83 to identify the character in the image. The identification results are from the editorial department 8.
given to 4.

第2図は上記文字逆転回路85ての倒立処理を説明する
ための図である。1文字切出回路82か記憶回路81か
ら切り出す所定の領域S内の画素毎に記憶回路81の記
憶領域81a内での座標(x+、y+1)〜(X。、y
。)を付与することとすると、1文字切出回路82はた
とえば(Xy+)、(X2.y+)、・・、(x。、y
、)(x+ 、  y2 ) 、・・・の順て記憶回路
81から画像を読み出す。文字逆転回路85には、切出
位置情報としてたとえば座標(X+、y+)か与えられ
、これに基づいてこの文字逆転回路85は、座標(Xイ
、y。)を求め、この座標(X。、y□)から順に(x
e、yゆ)、(Xn−l+  y、)、・・・(x+、
yヨ)、(x、、y。−3)、・・・の順で記憶回路8
1から各画素の信号を読み出して倒立画像を作成する。
FIG. 2 is a diagram for explaining the inversion process of the character reversal circuit 85. Coordinates (x+, y+1) to (X., y) within the storage area 81a of the storage circuit 81 for each pixel in a predetermined area S that is extracted from the single character extraction circuit 82 or the storage circuit 81.
. ), the one-character extraction circuit 82 will, for example, (Xy+), (X2.y+), . . . , (x., y
, )(x+, y2), . . . are read out from the storage circuit 81 in this order. For example, the coordinates (X+, y+) are given to the character reversing circuit 85 as cutting position information, and based on this, the character reversing circuit 85 calculates the coordinates (Xi, y.). , y□) in order from (x
e, yyu), (Xn-l+ y,), ... (x+,
memory circuit 8 in the order of yyo), (x,,y.-3),...
1, the signals of each pixel are read out to create an inverted image.

第3図は上記の読取装置の動作を説明するためのフロー
チャートである。ステップnlで1文字切出部82は記
憶回路81から1文字分の画像を正立状態で順に切り出
してい(。そしてステップn2ては、切り出された正立
画像か文字識別回路83て順に識別される。そしてステ
ップn3て文字識別回路83か切出信号を導出しなけれ
ばステップn1に戻って正立画像の切出処理か継続され
る。
FIG. 3 is a flowchart for explaining the operation of the above reading device. In step nl, the character cutting unit 82 sequentially cuts out one character's worth of images in an erect state from the memory circuit 81 (and in step n2, the cut out erect images are sequentially identified by the character identification circuit 83). If the character identification circuit 83 does not derive a cutting signal in step n3, the process returns to step n1 and continues the cutting process of the erect image.

ステップn3て文字識別回路83か最適切出状態を検出
して切出信号を出力したときには、ステップn4で、こ
のときの切出画像に基づく文字識別回路83ての識別結
果か編集部84に与えられ、さらにステップn5ては上
記最適切出画像を逆の順序で記憶回路81から読み出す
ようにして文字逆転回路85ての倒立処理か行われる。
When the character identification circuit 83 detects the optimal output state and outputs a cutout signal in step n3, the identification result of the character identification circuit 83 based on the cutout image at this time is sent to the editing section 84 in step n4. Further, in step n5, the optimum output image is read out from the storage circuit 81 in the reverse order, and the character inversion circuit 85 performs an inversion process.

このようにして得られた倒立画像はステップn6で文字
識別回路83において識別される。このときに識別され
る切出画像は当然に最適切出状態の画像であり、このと
きの識別結果はステップn7て編集部84に与えられる
。この後の処理はステップnlに戻る。
The inverted image thus obtained is identified by the character identification circuit 83 in step n6. The cutout image identified at this time is of course the image in the optimal output state, and the identification result at this time is given to the editing section 84 in step n7. The subsequent processing returns to step nl.

編集部84は正立画像および倒立画像の各識別結果のう
ちいずれか正しい方の識別結果を出力する。いずれの出
力も誤りであるときには、引き続き読取動作を継続させ
、またいずれも正しい識別結果であるとき、すなわちた
とえば読取対象かro 690」なとのような上下対称
の文字である場合などには、たとえば図外の表示装置に
、正立画像および倒立画像の両方の識別か正しく行われ
た旨のメツセージを表示させて、操作者に注意を促す。
The editing unit 84 outputs the correct one of the identification results for the erect image and the inverted image. If any of the outputs is incorrect, the reading operation continues, and if all of the outputs are correct identification results, for example, if the character to be read is vertically symmetrical, such as "ro 690," For example, a message indicating that both an upright image and an inverted image have been correctly identified is displayed on a display device (not shown) to alert the operator.

第4図は記憶回路81からの文字の切出処理を中心とし
て倒立文字の読取動作を示した説明図である。1文字切
出回路82は1文字か入る程度の所定の領域S毎に記憶
回路81に記憶された画像を読み出すので、上記の領域
S内に文字か入らない状態や、文字の半分程度だけか入
る状態などが存在する。切り出した画像の中央に画像か
位置していない状態では、正立画像のみに基づいて文字
識別処理か行われる。そして、たとえば参照符号jl!
21〜ff25て示すように領域Sのほぼ中央に文字か
位置する最適切出状態となると、上記のように文字逆転
回路85ての倒立処理により参照符号f231〜35て
示されるように記憶回路81内の画像か倒立されて切り
出され、この倒立処理によって王立状態となった文字か
文字識別回路83て認識される。
FIG. 4 is an explanatory diagram showing the operation of reading an inverted character, centering on the processing of cutting out characters from the memory circuit 81. Since the single character cutting circuit 82 reads out the image stored in the memory circuit 81 for each predetermined area S where one character can fit, there is a situation where no character is included in the area S, or only about half of the character is included. There are states to enter. If the image is not located at the center of the cut out image, character identification processing is performed based only on the erect image. And for example the reference jl!
When the optimum appearance state is reached in which a character is located approximately in the center of the area S as shown by 21 to ff25, the character reversal circuit 85 performs the inversion process as described above, and the memory circuit 81 as shown by reference numerals f231 to f35 is reached. The image within the image is inverted and cut out, and the character recognition circuit 83 recognizes the characters that have been turned into a royal state through this inversion process.

上述のように本実施例の光学的文字読取装置では、文字
識別回路83か最適切出状態を検出して切出信号を出力
すると、これに応答して上記最適切出状態の画像を倒立
させた画像が文字識別回路83に与えられ、この倒立画
像に基づく文字の識別か行われるようにしている。すな
わち、最適切出状態以外の切出状態であって文字の識別
か不可能な場合には、その倒立画像に基づく識別処理か
無駄に行われることかない。これによって、文字識別回
路83ての処理を軽減して文字識別処理を高速化するこ
とかてきるのて、正立および倒立文字のいずれの識別も
短時間で完了させることかできる。この結果、光学的文
字読取装置を使用したデータ入力作業の作業効率を格段
に向上することかできる。
As described above, in the optical character reading device of this embodiment, when the character identification circuit 83 detects the optimal output state and outputs a cutting signal, in response to this, the image in the optimal output state is turned upside down. The inverted image is supplied to a character identification circuit 83, and characters are identified based on this inverted image. That is, if the cutout state is other than the optimum appearance state and character identification is impossible, the identification process based on the inverted image is not performed in vain. As a result, the processing of the character identification circuit 83 is reduced and the character identification processing is speeded up, and identification of both upright and inverted characters can be completed in a short time. As a result, the efficiency of data input work using the optical character reading device can be significantly improved.

さらに本実施例では、上述したように、正立および倒立
の各画像によりいずれも正しい読取結果か得られた場合
には、操作者の注意を促すこととしているので、誤った
情報かコンピュータなどに入力されることか防かれる。
Furthermore, in this embodiment, as described above, if correct reading results are obtained for both the upright and inverted images, the operator's attention is called to the operator's attention, so that the computer or the like may have received incorrect information. Prevented from being entered.

第5図は本発明の他の実施例の基本的な構成を示すブロ
ック図である。この第5図において前述の第1図に示さ
れた各部に対応する部分には同一の参照符号を付して示
す。本実施例では、記憶回路81からの信号は、遅延回
路90において、1文字切出回路82における1画像分
の切出処理に要する時間たけ遅延されて文字逆転回路9
1に与えられる。この文字逆転回路91に与えられる画
像は、上記の遅延処理か施されているか、1文字切出回
路82か切り出す画像と同しである。すなわち、文字逆
転回路91ては、1文字切出回路82か切り出して遅延
された画像を倒立させる処理を常時行っている。
FIG. 5 is a block diagram showing the basic configuration of another embodiment of the present invention. In FIG. 5, parts corresponding to those shown in FIG. 1 described above are given the same reference numerals. In this embodiment, the signal from the memory circuit 81 is delayed in the delay circuit 90 by the time required for cutting out one image in the one character cutting circuit 82, and then sent to the character reversing circuit 82.
1 is given. The image given to the character reversal circuit 91 is the same as the image that has been subjected to the above-mentioned delay processing or is cut out by the single character cutout circuit 82. That is, the character reversing circuit 91 always performs processing to invert the delayed image by cutting out the single character cutting circuit 82.

文字識別部83か出力する切出信号は、1文字切出回路
82および文字逆転回路91に与えられており、1文字
切出回路82は切出信号か与えられると1画像の切出に
要する時間たけ切出処理を停止し、また文字逆転口B9
1は上記切出信号に応答して上記倒立画像を文字識別部
83に与える。
The cutting signal output from the character recognition section 83 is given to the single character cutting circuit 82 and the character reversing circuit 91, and when the single character cutting circuit 82 is given the cutting signal, the cutting signal required to cut out one image is given to the single character cutting circuit 82 and the character reversing circuit 91. Stop the cutting process after a certain amount of time, and then
1 provides the above-mentioned inverted image to the character recognition section 83 in response to the above-mentioned cutting signal.

このようにして、切出信号か導出されるとき、すなわち
、文字か切出画像のほぼ中央に位置している最適切出状
態であるときに、上記倒立画像に基づいて文字認識処理
が行われることになる。
In this way, when the cutout signal is derived, that is, when the character is in the optimal output state where it is located approximately in the center of the cutout image, character recognition processing is performed based on the above-mentioned inverted image. It turns out.

第6図は動作を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining the operation.

ステップmlで1文字切出回路82か1文字分ずつ文字
を切り出し、この切り出された画像には、遅延回路90
ての遅延の後に、ステップm2て文字逆転回路91によ
り倒立処理か施される。一方、1文字切出回路82が切
り出した画像は、ステップm3て文字識別回路83によ
り識別される。そしてステップm4て切出信号が導出さ
れるまで上記の処理か繰り返し行われ、切出信号か導出
されると、ステップm5て文字識別回路83は文字識別
を行い、その識別結果を編集部84に与える。
In step ml, characters are cut out one character at a time by the character cutting circuit 82, and this cut out image is processed by the delay circuit 90.
After this delay, in step m2, the character reversal circuit 91 performs an inversion process. On the other hand, the image cut out by the single character cutout circuit 82 is identified by the character identification circuit 83 in step m3. The above process is repeated until the cutout signal is derived in step m4, and when the cutout signal is derived, the character identification circuit 83 performs character recognition in step m5, and sends the recognition result to the editing section 84. give.

ステップm6ては文字識別回路83は、文字逆転回路9
1からの倒立画像に基ついて文字の識別を行う。そして
ステップm7て、その識別結果か編集部84に与えられ
る。この後の処理はステップmlに戻る。遅延回路90
ての遅延処理により、文字識別回路83か切出信号を導
出した後にライン88に導出される倒立画像は、上記切
出信号に対応した最適切出状態の倒立画像となる。
In step m6, the character identification circuit 83 is connected to the character reversal circuit 9.
Characters are identified based on the inverted image from 1. Then, in step m7, the identification result is provided to the editing section 84. The subsequent processing returns to step ml. delay circuit 90
As a result of the above delay processing, the inverted image derived to line 88 after the character identification circuit 83 derives the cutout signal becomes an inverted image in the optimal output state corresponding to the cutout signal.

このような構成によっても、上記の第1実施例の場合と
同様に、無駄な文字識別処理を低減して、処理の高速化
を図ることかできる。
With this configuration, as in the case of the first embodiment, it is possible to reduce wasteful character identification processing and speed up the processing.

なお、本発明は上記の実施例に限定されるものではない
。たとえば、上記の各実施例では、スキャナ4を読取面
lに対して固定した状態で読取か行われるものを例にと
って説明したか、たとえばイメージセンサ6に代えて一
次元イメージセンサを適用してスキャナ4て読取面1を
走査するようにして文字の読取を行う構成であってもよ
い。また上記の第5図に示された実施例において、遅延
回路90は文字逆転回路91の後段に設けられてもよい
。その他本発明の要旨を変更しない範囲内において、種
々の設計変更を施すことか可能である。
Note that the present invention is not limited to the above embodiments. For example, in each of the above embodiments, reading is performed with the scanner 4 fixed relative to the reading surface l, or a one-dimensional image sensor is applied instead of the image sensor 6. 4, the reading surface 1 may be scanned to read characters. Further, in the embodiment shown in FIG. 5 above, the delay circuit 90 may be provided after the character reversing circuit 91. Various other design changes may be made without departing from the gist of the present invention.

〈発明の効果〉 以上のように本発明の光学的文字読取装置によれば、倒
立画像に基づいて文字識別処理が行われるのは、文字識
別が確実に行える最適切出状態の場合のみてあり、その
他の文字識別か不良となる切出状態では倒立画像に基づ
いては文字識別処理は行われないので、読取に要する時
間を短縮して、高速な文字読取か可能となる。これによ
り、データ入力の高速化に寄与することかできる。
<Effects of the Invention> As described above, according to the optical character reading device of the present invention, character identification processing is performed based on an inverted image only in the optimal appearance state in which character identification can be reliably performed. , in other cut-out states where character recognition is poor, character recognition processing is not performed based on the inverted image, so the time required for reading is shortened and characters can be read at high speed. This can contribute to speeding up data input.

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

第1図は本発明の一実施例の光学的文字読取装置の基本
的な構成を示すブロック図、 第2図は倒立処理を説明するだめの説明図、第3図は読
取動作を説明するだめのフローチャート、 第4図は読取動作を示す説明図、 第5図は本発明の他の実施例の基本的な構成を示すブロ
ック図、 第6図はその読取動作を説明するためのフローチャート
、 第7図および第8図は従来技術を説明するため説明図で
ある。 6・・・イメージセンサ、81・・・記憶回路(記憶手
段)、82・・・1文字切出回路(切出手段)、83・
・・文字識別回路(識別手段)、85.90・・文字逆
転回路(逆転手段)
FIG. 1 is a block diagram showing the basic configuration of an optical character reading device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining inverted processing, and FIG. 3 is an explanatory diagram for explaining reading operation. FIG. 4 is an explanatory diagram showing the reading operation; FIG. 5 is a block diagram showing the basic configuration of another embodiment of the present invention; FIG. 6 is a flowchart explaining the reading operation; 7 and 8 are explanatory diagrams for explaining the prior art. 6... Image sensor, 81... Memory circuit (memory means), 82... 1 character cutting circuit (cutting means), 83...
・Character identification circuit (identification means), 85.90 ・Character reversal circuit (reversal means)

Claims (1)

【特許請求の範囲】 1、読取面に形成された文字の光学像が受光面に結像さ
れるイメージセンサと、 このイメージセンサで読み取られた画像を記憶する記憶
手段と、 この記憶手段から1文字分の大きさの画像を切り出す切
出手段と、 この切出手段で切り出された画像から文字を識別する識
別手段と、 この識別手段による識別結果から、正しい識別結果を抽
出して出力する編集手段とを有する光学的画像読取装置
において、 上記切出手段で切り出された画像のほぼ中央に文字が位
置している最適切出状態を検出する検出手段と、 少なくとも上記最適切出状態で切り出した画像を倒立さ
せる文字逆転手段とを備え、 上記識別手段は、上記検出手段が最適切出状態を検出し
たときには、上記文字逆転手段で上記最適切出状態の画
像を倒立させて得た画像に基づいて文字を識別するもの
であり、上記編集手段は、上記切出手段からの画像に基
づく識別結果と上記文字逆転手段からの倒立画像に基づ
く識別結果とのうちいずれか正しい識別結果を出力する
ものであることを特徴とする光学的文字読取装置。
[Scope of Claims] 1. An image sensor in which an optical image of a character formed on a reading surface is formed on a light-receiving surface; a storage means for storing the image read by this image sensor; and 1 from this storage means. A cutting means for cutting out an image of the size of a character, an identification means for identifying characters from the image cut out by this cutting means, and an editing method for extracting and outputting a correct identification result from the identification result by this identification means. an optical image reading device comprising: a detection means for detecting an optimal appearance state in which characters are located approximately at the center of the image cut out by the cutting means; and character reversing means for inverting the image, and when the detecting means detects the optimal appearance state, the identification means is based on the image obtained by inverting the image of the optimal appearance state with the character reversing means. and the editing means outputs a correct identification result, either one based on the image from the cutting means or the identification result based on the inverted image from the character reversing means. An optical character reading device characterized by:
JP2193485A 1990-07-20 1990-07-20 Optical character reader Pending JPH0478981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2193485A JPH0478981A (en) 1990-07-20 1990-07-20 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2193485A JPH0478981A (en) 1990-07-20 1990-07-20 Optical character reader

Publications (1)

Publication Number Publication Date
JPH0478981A true JPH0478981A (en) 1992-03-12

Family

ID=16308819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2193485A Pending JPH0478981A (en) 1990-07-20 1990-07-20 Optical character reader

Country Status (1)

Country Link
JP (1) JPH0478981A (en)

Similar Documents

Publication Publication Date Title
JP2835274B2 (en) Image recognition device
US6575367B1 (en) Image data binarization methods enabling optical reader to read fine print indicia
JP2553608B2 (en) Optical character reader
US4797940A (en) Optical character reader
JPH0478981A (en) Optical character reader
JPH0469788A (en) Optical information reader
JP2000251010A (en) Document readout method
JP2906608B2 (en) Optical character reader
JPH0469785A (en) Optical information reader
JPH11161739A (en) Character recognizing device
JPH0469787A (en) Optical information reader
JP2734781B2 (en) Barcode reader
JP2925275B2 (en) Optical character reader
JP2002216073A (en) Device for reading readable character or the like and method for the same
JP2669434B2 (en) Optical character reader
JP2573665B2 (en) Optical character reader
JP2004013188A (en) Business form reading device, business form reading method and program therefor
JPH08171609A (en) High-speed character string extracting device
JPH0469786A (en) Optical information reader
JPH01199287A (en) Optical character reader
JPH087773B2 (en) Optical character reader
JPH04251395A (en) Optical character/graphic reader
JPH0478982A (en) Optical character reader
JPH03161888A (en) Optical character reader
JPH0731716B2 (en) Optical character reader