JPS62160593A - Character reader - Google Patents

Character reader

Info

Publication number
JPS62160593A
JPS62160593A JP61002490A JP249086A JPS62160593A JP S62160593 A JPS62160593 A JP S62160593A JP 61002490 A JP61002490 A JP 61002490A JP 249086 A JP249086 A JP 249086A JP S62160593 A JPS62160593 A JP S62160593A
Authority
JP
Japan
Prior art keywords
character
area
detected
picture information
circuit
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
JP61002490A
Other languages
Japanese (ja)
Inventor
Yoshikatsu Nakamura
中村 好勝
Masato Suda
正人 須田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP61002490A priority Critical patent/JPS62160593A/en
Publication of JPS62160593A publication Critical patent/JPS62160593A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve identifying accuracy by detecting a character area from the picture information, comparing the number of picture elements of high level with that of picture elements of low level finding the former and the latter from the picture information at a detected character area, and outputting them as an identifying parameter adding on a recognized result. CONSTITUTION:The picture information stored on a multivalue picture memory 4 is inputted to a spatial differentiation circuit 5. The spatial differentiation circuit 5 generates differential patterns of the above-mentioned picture information in a lateral and a longitudinal directions. The differential pattern is binary pattern in which patterns of positive polarity and negative polarity generated as multivalue differential patterns are binary-coded with an optional absolute threshold value. The height of a character string 1a is detected from a projecting quantity in the lateral direction, and the character width of the character string 1a is detected from the projecting quantity in the longitudinal direction. And based on an obtained area height and area width, an area detection circuit 7 extracts the character area. In this way, the detected picture information at the character area is inputted to a histogram generation circuit 8. The histogram generation circuit 8 generates the histogram for the number of picture elements from the inputted picture information.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、任意の認識対象物の文字を識別する文字読取
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a character reading device that identifies characters of an arbitrary recognition target.

〔発明の技術的背景とその問題点) 生産ライン上の生産物に刻印された文字や一般生活に存
在する様々な文字を読取るための文字読取装置は、予め
定められた帳票上の文字を読取る汎用文字読取装置(○
OR)とは異なり、種々雑多な背景から文字を見つけだ
し、文字認識を行なう必要がある。
[Technical background of the invention and its problems] A character reading device for reading characters engraved on products on a production line and various characters that exist in everyday life reads characters on a predetermined form. General-purpose character reader (○
Unlike OR), it is necessary to find characters from various miscellaneous backgrounds and perform character recognition.

一方、このようなH1対象を同定する場合、単に認識さ
れた文字コードの情報に止まらず、文字とその背景とを
比べたときにどちらの濃度レベルが高いかという濃淡情
報も重要になることが多い。
On the other hand, when identifying such an H1 target, it is important not only to have information about the recognized character code, but also to understand which density level is higher when comparing the character and its background. many.

身近な例として自動車のナンバープレートの読取を例に
とると、下地と文字の濃淡レベル情報は、白地に緑文字
の自家用車と緑地に白文字の営業車とを区別する重要な
ファクターになる。
Taking the reading of a car license plate as a familiar example, information on the shading level of the background and letters is an important factor in distinguishing between a private car with green letters on a white background and a commercial car with white letters on a green background.

〔発明の目的] 本発明は、このような点に基づきなされたもので、その
目的とするところは、同定パラメータとして文字とその
背景の濃淡情報を追加することにより、認識対象の同定
精度の向上化に寄与し得る文字読取装置を提供すること
にある。
[Objective of the Invention] The present invention has been made based on the above points, and its purpose is to improve the identification accuracy of recognition targets by adding shading information of characters and their backgrounds as identification parameters. The objective is to provide a character reading device that can contribute to the

〔発明の概要〕[Summary of the invention]

本発明は、観測手段によって得られた画像情報から文字
領域を検出し、検出された上記文字領域の画像情報から
文字を認識するとともに、検出された文字領域の画像情
報から高レベル画素数と低レベル画素数とを求め両画素
数の大小を比較し、この比較結果を上記認識結果に加え
て同定パラメータとして出力するようにしたことを特徴
としている。
The present invention detects a character area from image information obtained by an observation means, recognizes a character from the image information of the detected character area, and also detects a high-level pixel count and a low-level pixel count from the image information of the detected character area. The present invention is characterized in that the level pixel number is determined, the magnitude of both pixel numbers is compared, and the result of this comparison is output as an identification parameter in addition to the above-mentioned recognition result.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、!識対象を同定するに際し、文字認識
結果だけではなく文字と背景との間の濃淡情報をも同定
情報として利用できるので、同定精度の向上化を図るこ
とができる。
According to the invention! When identifying a recognition target, not only the character recognition result but also the shading information between the character and the background can be used as identification information, so it is possible to improve the identification accuracy.

(発明の実施例) 以下、図面を参照しなから本発明の一実施例について説
明する。
(Embodiment of the Invention) An embodiment of the present invention will be described below with reference to the drawings.

第1図に、本実施例に係る文字認識装置の構成を示す。FIG. 1 shows the configuration of a character recognition device according to this embodiment.

認識対象である車両1には、ナンバプレートに車両登録
番号である文字列1aが刻印されている。テレビジョン
カメラ2は、この車両1上を走査して上記文字列1aを
読取る。テレビジョンカメラ2からの信号は、A/D変
換回路3でA/D変換される。これが画像情報として多
値画像メモリ4に格納される。多値画像メモリ4に格納
された画像情報は空間微分回路5に入力される。
A vehicle 1 to be recognized has a character string 1a, which is a vehicle registration number, stamped on its license plate. The television camera 2 scans the vehicle 1 and reads the character string 1a. A signal from the television camera 2 is A/D converted by an A/D conversion circuit 3. This is stored in the multivalued image memory 4 as image information. The image information stored in the multilevel image memory 4 is input to the spatial differentiation circuit 5.

空間微分回路5は、上記画像情報の横方向および縦方向
の微分パターンを作成する。この微分パターンは、多値
の微分パターンとして生成した王権性、負極性のパター
ンを任意の絶対しきい値で2値化した2値パターンであ
る。射影回路6は、これら各方向の微分パターンについ
て、その方向の射影量を求める。領域検出回路7は、得
られた射影量を所定のしきい値で量子化する。そして、
横方向の射影量から文字列1aの高さを検出し、縦方向
の射影量から文字列1aの文字幅を検出する。
The spatial differentiation circuit 5 creates horizontal and vertical differentiation patterns of the image information. This differential pattern is a binary pattern obtained by binarizing a pattern of royal authority and negative polarity generated as a multi-value differential pattern using an arbitrary absolute threshold value. The projection circuit 6 calculates the amount of projection in each direction for the differential pattern in each of these directions. The area detection circuit 7 quantizes the obtained projection amount using a predetermined threshold. and,
The height of the character string 1a is detected from the horizontal projection amount, and the character width of the character string 1a is detected from the vertical projection amount.

そして、得られた領域高さと領域幅とによって、領域検
出回路7は、文字領域を抽出する。
Then, the area detection circuit 7 extracts a character area based on the obtained area height and area width.

このようにして検出された文字領域の画像情報は、ヒス
トグラム作成回路8に入力される。ヒストグラム作成回
路8は、入力された画像情報から濃度値に対する画素数
のヒストグラムを生成する。
The image information of the character area detected in this way is input to the histogram creation circuit 8. The histogram creation circuit 8 creates a histogram of the number of pixels relative to the density value from the input image information.

つまり、文字領域内における文字を構成する画素数と背
景を構成する画素数とを比べると、背景の方が文字に比
べて多いという一般的条件を当てはめると、このヒスト
グラムのパターンを見ることにより背景レベルと文字レ
ベルのどちらの反射率が高いかがわかる。たとえば、第
2図の例は、高濃度(高反射率)側の画素数が低濃度(
低反射率)側の画素数よりも多く、同図(a)に示すよ
うに背景が文字よりも明るい場合の例を示している。
In other words, if we compare the number of pixels that make up a character in a character area with the number of pixels that make up the background, and if we apply the general condition that the number of pixels in the background is greater than the number of pixels in the background, then by looking at the pattern of this histogram, we can You can see which reflectance is higher, level or character level. For example, in the example in Figure 2, the number of pixels on the high density (high reflectance) side is
This example shows a case where the number of pixels is greater than the number of pixels on the low reflectance side, and the background is brighter than the characters, as shown in FIG.

また、第2図は、低濃度側の画素数が高濃度側の画素数
よりも多く、同図(a>に示すように背景が文字よりも
明るい場合の例を示している。作成されたヒストグラム
は、しきい値判定回路9におけるしきい値算出に使用さ
れる。しきい値算出は、背景部と文字部の境目と考えら
れるヒストグラムの谷部を検出して、この地点をしきい
値とするモード法を用いて行なう。モード法は、ヒスト
グラムが双峰的特性(この場合には文字線分と文字背景
領vi、>を持つものとし、一定の距離以上離れた2つ
の局所的最大値を求め、その2つの最大値の間であって
最小値を取る濃度値を最適しきい値2とするものである
。この結果、第2図(a)では濃度の低い方に、また、
同図(b)では濃度の高い方にしきい値2が設定される
。しきい値2が求まったら、しきい値2よりも高レベル
の画素数を高レベル画素数格納回路10に格納し、同低
レベルの画素数を低レベル画素数格納回路11に格納す
る。これら両画素数格納−回路10.11に格納された
画素数は、比較回路12で比較される。比較回路12は
、高レベル画素数が低レベル画素数を上回るときには、
1°′を出力し、その逆の場合には11011を出力す
る。したがって、例えば、第2図(a)では高レベル画
素数が低レベル画素数を上回るので、比較回路12の出
力が1″となり、車両1が自家用車であることがわかる
。また、第3図(a)では高レベル画素数が低レベル画
素数を下回るので、比較回路12の出力がO″となり、
車両1が営業車であることがわかる。
Also, Figure 2 shows an example where the number of pixels on the low density side is greater than the number of pixels on the high density side, and the background is brighter than the characters as shown in Figure (a). The histogram is used for calculating the threshold value in the threshold value judgment circuit 9. In the threshold calculation, the valley part of the histogram that is considered to be the boundary between the background part and the character part is detected, and this point is set as the threshold value. The modal method assumes that the histogram has bimodal characteristics (in this case, a character line segment and a character background area vi, >), and that two local maxima separated by a certain distance The density value that is between the two maximum values and takes the minimum value is set as the optimal threshold value 2.As a result, in FIG.
In FIG. 4B, threshold 2 is set for the higher density. Once the threshold value 2 is determined, the number of pixels with a higher level than the threshold value 2 is stored in the high level pixel number storage circuit 10, and the number of pixels with the same lower level is stored in the low level pixel number storage circuit 11. The pixel numbers stored in both pixel number storage circuits 10 and 11 are compared by a comparison circuit 12. When the number of high-level pixels exceeds the number of low-level pixels, the comparison circuit 12
1°' is output, and in the opposite case, 11011 is output. Therefore, for example, in FIG. 2(a), the number of high-level pixels exceeds the number of low-level pixels, so the output of the comparison circuit 12 becomes 1'', indicating that the vehicle 1 is a private car. In (a), the number of high-level pixels is less than the number of low-level pixels, so the output of the comparison circuit 12 becomes O'',
It can be seen that vehicle 1 is a commercial vehicle.

一方、文字領域の多値画像情報は、2値化回路13にも
与えられている。この2m化回路13は、しきい値判定
回路9で算出されたしきい値を用いて上記多値画像情報
を2値化する。2値化された文字領域の画像情報と、前
述した比較回路12からの出力とは、排他的論理和回路
14に入力される。排他的論理和回路14は、比較結果
がO”の時のみ2値化回路13からの出力を反転させる
On the other hand, the multivalued image information of the character area is also provided to the binarization circuit 13. The 2m conversion circuit 13 converts the multivalued image information into two values using the threshold value calculated by the threshold value determination circuit 9. The binarized image information of the character area and the output from the comparison circuit 12 described above are input to an exclusive OR circuit 14. The exclusive OR circuit 14 inverts the output from the binarization circuit 13 only when the comparison result is O''.

したがって、例えば背景の反射率が文字のそれよりも高
い場合には、高レベル画素数が低レベル画素数を上回る
ので、比較回路12の出力が“1゛となり、2値化出力
はそのまま出力される。一方、背景の反射率が文字のそ
れよりも低い場合には、高レベル画素数が低レベル画素
数を下回るので、比較回路12の出力が“0”となり、
2値化出力は反転されて出力される。認識回路15は、
入力された文字イメージと予め用意されている標準パタ
ーンとの照合を行ない、領域内の文字列の認識結果を図
示しない外部装置に出力する。一方、前述した比較回路
12からの出力も上記認識結果と一対のデータとして外
部装置に出力される。従って、外部装置は単に認識文字
コードのみならず、m淡情報をも同定のための情報とし
て利用することができ、この例においては営業車と自家
用車との区別が可能になるという効果を得ることができ
る。
Therefore, for example, when the reflectance of the background is higher than that of the characters, the number of high-level pixels exceeds the number of low-level pixels, so the output of the comparator circuit 12 becomes "1", and the binarized output is output as is. On the other hand, when the reflectance of the background is lower than that of the characters, the number of high-level pixels is less than the number of low-level pixels, so the output of the comparison circuit 12 becomes "0".
The binarized output is inverted and output. The recognition circuit 15 is
The input character image is compared with a standard pattern prepared in advance, and the recognition result of the character string within the area is output to an external device (not shown). On the other hand, the output from the comparison circuit 12 described above is also output to an external device as a pair of data with the recognition result. Therefore, the external device can use not only the recognition character code but also the m-light information as information for identification, and in this example, it is possible to distinguish between commercial cars and private cars. be able to.

なお、上記実施例では、背景と文字線分の濃淡比の検出
を行なうことについてのみ説明したが、人間が直接確認
する場合には、得られた濃淡情報を用いて認識結果をカ
ラー表示するようにしても良い。
In addition, in the above embodiment, only the detection of the shading ratio of the background and the character line segment was explained, but when a human being directly checks the recognition result, the obtained shading information can be used to display the recognition result in color. You can also do it.

また、上記実施例では白黒の濃淡情報を用いたが、カラ
ーの2次元センサを用いることにより、同定精度を更に
向上させることも可能である。
Further, although black and white shading information is used in the above embodiment, it is also possible to further improve identification accuracy by using a color two-dimensional sensor.

さらには、上記実施例では文字線分と背景領域の面積に
よって検出したが、文字線分の一部、背景領域の部分を
用いて比較しても同様の効果を得ることができる。
Furthermore, in the above embodiment, detection was performed using the area of the character line segment and the background area, but the same effect can be obtained by comparing a part of the character line segment and a part of the background area.

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

第1図は本発明の一実施例に係る文字認識装置のブロッ
ク図、第2図および第3図は同装置で認識される対象と
これに対応して同装置で得られるヒストグラムとを示す
図である。 1・・・車両、2・・・テレビジョンカメラ。 出願人代理人 弁理士 鈴江武彦 (a)                (b)第2図 1      、、l贋 (a)        (1)) 第3図
FIG. 1 is a block diagram of a character recognition device according to an embodiment of the present invention, and FIGS. 2 and 3 are diagrams showing objects recognized by the device and corresponding histograms obtained by the device. It is. 1... Vehicle, 2... Television camera. Applicant's agent Patent attorney Takehiko Suzue (a) (b) Figure 2 1 ,,l fake (a) (1)) Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)観測手段によって得られた画像情報から文字領域
を検出する文字検出手段と、この文字検出手段で検出さ
れた文字領域の画像情報から文字を認識する文字認識手
段と、前記文字検出手段で検出された文字領域の画像情
報から高レベル画素数と低レベル画素数とを求め両画素
数の大小を比較する比較手段と、この比較手段の比較結
果と前記認識手段での認識結果とを一対のデータとして
出力する手段とを具備したことを特徴とする文字読取装
置。
(1) a character detection means for detecting a character area from image information obtained by the observation means; a character recognition means for recognizing a character from the image information of the character area detected by the character detection means; a comparison means for determining the number of high-level pixels and the number of low-level pixels from the image information of the detected character area and comparing the magnitude of both numbers of pixels, and pairing the comparison result of this comparison means with the recognition result of the recognition means. 1. A character reading device comprising: means for outputting data as data.
(2)比較手段は、文字領域の画像情報から濃度に対す
る画素数のヒストグラムを作成するヒストグラム作成手
段と、上記ヒストグラムから濃度しきい値を求める手段
とを具備したものであることを特徴とする特許請求の範
囲第1項記載の文字読取装置。
(2) A patent characterized in that the comparison means is equipped with a histogram creation means for creating a histogram of the number of pixels with respect to density from image information of a character area, and means for determining a density threshold from the histogram. A character reading device according to claim 1.
JP61002490A 1986-01-09 1986-01-09 Character reader Pending JPS62160593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61002490A JPS62160593A (en) 1986-01-09 1986-01-09 Character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61002490A JPS62160593A (en) 1986-01-09 1986-01-09 Character reader

Publications (1)

Publication Number Publication Date
JPS62160593A true JPS62160593A (en) 1987-07-16

Family

ID=11530802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61002490A Pending JPS62160593A (en) 1986-01-09 1986-01-09 Character reader

Country Status (1)

Country Link
JP (1) JPS62160593A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008299673A (en) * 2007-05-31 2008-12-11 Sharp Corp Image processor, image processing program and computer readable recording medium recording image processing program and image processing method
JP2012239518A (en) * 2011-05-16 2012-12-10 Hoya Corp Electronic endoscope system, image processing method and software

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008299673A (en) * 2007-05-31 2008-12-11 Sharp Corp Image processor, image processing program and computer readable recording medium recording image processing program and image processing method
JP2012239518A (en) * 2011-05-16 2012-12-10 Hoya Corp Electronic endoscope system, image processing method and software

Similar Documents

Publication Publication Date Title
CN106067023B (en) Container number and truck number identification system and method based on image processing
CN109101856A (en) A kind of image in 2 D code recognition methods and device
KR880702027A (en) Binarization processing method for images with multiple luminance levels
JPS63262778A (en) Method and device for pattern recognition from variable density picture
JP6890427B2 (en) Car number recognition device
CN108304749A (en) The recognition methods of road speed line, device and vehicle
CN113688838A (en) Red handwriting extraction method and system, readable storage medium and computer equipment
KR101769741B1 (en) Method and apparatus for recognizing iris through pupil detection
CN111414779A (en) Anti-counterfeit label identification method and device
CN104268509A (en) Method and system for detecting license plate of dump truck
CN107066929B (en) Hierarchical recognition method for parking events of expressway tunnel integrating multiple characteristics
CN113435219A (en) Anti-counterfeiting detection method and device, electronic equipment and storage medium
JPS62160593A (en) Character reader
JP2001222680A (en) License plate number reader
CN113569859B (en) Image processing method and device, electronic equipment and storage medium
CN111160080A (en) Intelligent automobile appearance consistency detection system based on image recognition
Pacheco et al. A new approach to real time traffic sign recognition based on colour information
KR20190055479A (en) Sytem for marker recognition and method therefor
JPH1166490A (en) Vehicle detecting method
CN111311696A (en) License plate authenticity detection method based on hyperspectral unmixing technology
JPS62147584A (en) Character reader
JPH10302074A (en) Device for detecting position of number plate
JPH0365780A (en) Picture processor
Anusha et al. Vehicle identification and authentication system
JP3850488B2 (en) Character extractor