JPH0765118A - Device and method for driver's license image processing - Google Patents

Device and method for driver's license image processing

Info

Publication number
JPH0765118A
JPH0765118A JP5209341A JP20934193A JPH0765118A JP H0765118 A JPH0765118 A JP H0765118A JP 5209341 A JP5209341 A JP 5209341A JP 20934193 A JP20934193 A JP 20934193A JP H0765118 A JPH0765118 A JP H0765118A
Authority
JP
Japan
Prior art keywords
image
driver
license
processed
license image
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
JP5209341A
Other languages
Japanese (ja)
Inventor
Mariko Takenouchi
磨理子 竹之内
Ichiro Nakao
一郎 中尾
Minoru Takakura
穂 高倉
Satoshi Emura
里志 江村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5209341A priority Critical patent/JPH0765118A/en
Publication of JPH0765118A publication Critical patent/JPH0765118A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To decide whether or not a driver's license image can be processed in a short time by inputting the driver's license image with many gradations and making the decision by using the gradation values of the image. CONSTITUTION:The driver's license image is inputted with many gradations through an image input part 11. An image confirmation part 12 counts the numbers Ka and Kb of pixels as values which are larger N gradations and less than M gradations as to an area (a) and an area (b) of the driver's license image that is inputted with many gradations. Here, N and M are constants which are previously set based on the blue of the validation term area of the driver's license. The rate of the occupation of Ka to the total number of pixels in the area (a) and the rate of the occupation of Kb to the total number of pixels in the area (b) are calculated. Then it is decided according to a specific system whether or not the driver's license image can be processed. When the driver's license image can not be processed, that is displayed at a display part 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、運転免許証の記載事項
を読み取る運転免許証画像認識装置及び方法や、運転免
許証の記載事項の画像を抽出する運転免許証画像抽出装
置及び方法などにおける、運転免許証画像の前処理に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a driver's license image recognition apparatus and method for reading the description of a driver's license, a driver's license image extraction apparatus and method for extracting an image of the description of a driver's license, and the like. , Pre-processing of driver's license image.

【0002】[0002]

【従来の技術】従来の運転免許証画像処理装置及び方法
では、運転免許証画像を2階調で入力し、罫線などの構
造を解析し、処理可能な運転免許証画像であるか処理不
可能な運転免許証画像であるかを判定していた。
2. Description of the Related Art In a conventional driver's license image processing apparatus and method, a driver's license image is input in two gradations, a structure such as ruled lines is analyzed, and the driver's license image can be processed or cannot be processed. I was judging whether it was a proper driver's license image.

【0003】図8に従来の運転免許証画像処理装置の構
成図を示す。101は運転免許証画像を2階調で入力す
る画像入力部である。102は入力画像の罫線の構造を
解析する構造解析部である。103は入力画像が処理可
能な運転免許証画像であるか処理不可能な運転免許証画
像であるかを判定する画像確認部である。104は入力
画像の確認結果を表示する出力部である。
FIG. 8 shows a block diagram of a conventional driver's license image processing apparatus. An image input unit 101 inputs a driver's license image in two gradations. A structure analysis unit 102 analyzes the structure of the ruled lines of the input image. An image confirmation unit 103 determines whether the input image is a processable driver's license image or an unprocessable driver's license image. An output unit 104 displays the confirmation result of the input image.

【0004】以上のように構成された従来の運転免許証
画像処理装置では、画像入力部101で入力した運転免
許証画像の罫線構造を、構造解析部102で解析し、画
像確認部103で処理可能な運転免許証画像であるか処
理不可能な運転免許証画像であるかを判定し、出力部1
04に入力画像の確認結果を表示する。
In the conventional driver's license image processing apparatus configured as described above, the structure analysis unit 102 analyzes the ruled line structure of the driver's license image input by the image input unit 101, and the image confirmation unit 103 processes it. It is determined whether the image is a driver's license image that can be processed or a driver's license image that cannot be processed, and the output unit 1
The confirmation result of the input image is displayed on 04.

【0005】[0005]

【発明が解決しようとする課題】しかしながら従来の運
転免許証画像処理装置及び方法では、運転免許証画像を
2階調で入力し、罫線などの構造を解析し、処理可能な
運転免許証画像であるか処理不可能な運転免許証画像で
あるかを判定していたので、入力画像の、罫線などの構
造の解析に時間を要し、処理可能な運転免許証画像であ
るか処理不可能な運転免許証画像であるかを判定するの
に時間がかかるという問題点を有していた。
However, in the conventional driver's license image processing apparatus and method, the driver's license image is input in two gradations, the structure such as ruled lines is analyzed, and the processed driver's license image is processed. Since it was determined whether there is a driver's license image that can be processed or not, it takes time to analyze the structure of the input image such as ruled lines, and whether it is a driver's license image that can be processed There is a problem that it takes time to determine whether the image is a driver's license image.

【0006】本発明は上記問題点に鑑み、画像入力時に
運転免許証画像が上下反転,左右回転,表裏反転などの
状態で入力されても、短時間で処理可能な運転免許証画
像であるか処理不可能な運転免許証画像であるかを判定
することができる運転免許証画像処理装置及び方法を提
供することを目的とする。
In view of the above problems, the present invention is a driver's license image that can be processed in a short time even when the driver's license image is input in a state of upside down, left / right rotation, front / back inversion, etc. at the time of image input. It is an object of the present invention to provide a driver's license image processing apparatus and method capable of determining whether a driver's license image cannot be processed.

【0007】[0007]

【課題を解決するための手段】前記課題を解決するた
め、請求項1の発明は、運転免許証画像を多階調で入力
する画像入力部と、前記画像入力部で入力された運転免
許証画像の特定位置の画素の階調値を用いて処理可能な
運転免許証画像であるか処理不可能な運転免許証画像で
あるかを判定する画像確認部とを有する。
In order to solve the above problems, the invention of claim 1 provides an image input section for inputting a driver's license image in multiple gradations, and a driver's license input by the image input section. An image confirmation unit that determines whether the image is a driver's license image that can be processed or a driver's license image that cannot be processed using the gradation value of a pixel at a specific position of the image.

【0008】また、請求項2の発明は、運転免許証画像
を多階調で入力する画像入力ステップと、前記画像入力
ステップで入力された運転免許証画像の特定位置の画素
の階調値を用いて処理可能な運転免許証画像であるか処
理不可能な運転免許証画像であるかを判定する画像確認
ステップと、前記画像確認ステップの判定結果に基づい
て処理可能な運転免許証画像の処理と処理不可能な運転
免許証画像の処理に分岐する判断ステップと、前記判断
ステップで分岐した処理不可能な運転免許証画像の処理
では、運転免許証画像が処理不可能である旨を出力し、
前記画像入力ステップに戻るエラー出力ステップとを有
する。
According to the invention of claim 2, the image input step of inputting the driver's license image in multiple gradations and the gradation value of the pixel at the specific position of the driver's license image input in the image input step are set. An image confirmation step of determining whether the image is a driver's license image that can be processed or an unprocessable driver's license image, and processing of a driver's license image that can be processed based on the determination result of the image confirmation step And a judgment step branching to processing of an unprocessable driver's license image, and a processing of the unprocessable driver's license image branched in the judgment step, output that the driver's license image cannot be processed. ,
And an error output step of returning to the image input step.

【0009】また、請求項3の発明は、運転免許証画像
を多階調で入力する画像入力部と、前記画像入力部で入
力された運転免許証画像の特定階調値をとる画素の分布
を用いて処理可能な運転免許証画像であるか処理不可能
な運転免許証画像であるかを判定する免許証画像確認部
とを有する。
According to the invention of claim 3, an image input section for inputting a driver's license image in multiple gradations and a distribution of pixels having a specific gradation value of the driver's license image input by the image input section. And a driver's license image that can be processed by using the license image confirmation unit.

【0010】また、請求項4の発明は、運転免許証画像
を多階調で入力する画像入力ステップと、前記画像入力
ステップで入力された運転免許証画像の特定階調値をと
る画素の分布を用いて処理可能な運転免許証画像である
か処理不可能な運転免許証画像であるかを判定する画像
確認ステップと、前記画像確認ステップの判定結果に基
づいて処理可能な運転免許証画像の処理と処理不可能な
運転免許証画像の処理に分岐する判断ステップと、前記
判断ステップで分岐した処理不可能な運転免許証画像の
処理では、運転免許証画像が処理不可能である旨を出力
し、前記画像入力ステップに戻るエラー出力ステップと
を有する。
According to the invention of claim 4, an image input step of inputting a driver's license image in multiple gradations, and a distribution of pixels having a specific gradation value of the driver's license image input in the image input step. Image confirmation step for determining whether it is a driver's license image that can be processed by using or an unprocessable driver's license image, and a driver's license image that can be processed based on the determination result of the image confirmation step Output that the driver's license image cannot be processed in the judgment step branching to the processing and the processing of the unprocessable driver's license image and the processing of the unprocessable driver's license image branched in the judgment step. And an error output step of returning to the image input step.

【0011】[0011]

【作用】本発明は前記した技術的手段により、請求項1
の発明では、画像入力部で運転免許証画像を多階調で入
力し、画像確認部で画像入力部で入力された運転免許証
画像の特定位置の画素の階調値を用いて処理可能な運転
免許証画像であるか処理不可能な運転免許証画像である
かを判定する。
According to the present invention, the above-mentioned technical means can be used.
In the invention of claim 1, the driver's license image can be input in multiple gradations in the image input unit, and can be processed using the gradation value of the pixel at the specific position of the driver's license image input in the image input unit in the image confirmation unit. It is determined whether the image is a driver's license image or an unprocessable driver's license image.

【0012】また、請求項2の発明では、画像入力ステ
ップで運転免許証画像を多階調で入力し、画像確認ステ
ップで、画像入力ステップで入力された運転免許証画像
の特定位置の画素の階調値を用いて処理可能な運転免許
証画像であるか処理不可能な運転免許証画像であるかを
判定し、判断ステップで画像確認ステップの判定結果に
基づいて処理可能な運転免許証画像の処理と処理不可能
な運転免許証画像の処理に分岐し、判断ステップで分岐
した処理不可能な運転免許証画像の処理では、エラー出
力ステップで運転免許証画像が処理不可能である旨を出
力し、画像入力ステップに戻る。
Further, in the invention of claim 2, the driver's license image is inputted in multi-gradation in the image input step, and in the image confirmation step, the pixel at the specific position of the driver's license image inputted in the image input step is detected. A driver's license image that can be processed based on the judgment result of the image confirmation step by determining whether it is a driver's license image that can be processed by using the gradation value or an unprocessable driver's license image Processing of the unlicensed driver's license image, and in the processing of the unprocessed driver's license image branched in the judgment step, the error output step indicates that the driver's license image cannot be processed. Output and return to the image input step.

【0013】また、請求項3では、画像入力部で運転免
許証画像を多階調で入力し、画像確認部で画像入力部で
入力された運転免許証画像の特定階調値をとる画素の分
布を用いて処理可能な運転免許証画像であるか処理不可
能な運転免許証画像であるかを判定する。
Further, according to claim 3, the driver's license image is inputted in the image input unit in multiple gradations, and the image confirmation unit is provided with a pixel having a specific gradation value of the driver's license image inputted in the image input unit. The distribution is used to determine whether the image is a driver's license image that can be processed or a driver's license image that cannot be processed.

【0014】また、請求項4では、画像入力ステップで
運転免許証画像を多階調で入力し、画像確認ステップ
で、画像入力ステップで入力された運転免許証画像の特
定階調値をとる画素の分布を用いて処理可能な運転免許
証画像であるか処理不可能な運転免許証画像であるかを
判定し、判断ステップで画像確認ステップの判定結果に
基づいて処理可能な運転免許証画像の処理と処理不可能
な運転免許証画像の処理に分岐し、判断ステップで分岐
した処理不可能な運転免許証画像の処理では、エラー出
力ステップで運転免許証画像が処理不可能である旨を出
力し、画像入力ステップに戻る。
Further, in claim 4, the driver's license image is input in multiple gradations in the image input step, and the pixels having the specific gradation value of the driver's license image input in the image input step are input in the image confirmation step. Of the driver's license image that can be processed based on the judgment result of the image confirmation step in the judgment step to determine whether the image is a driver's license image that can be processed or not. Processing and unprocessable driver's license image processing is branched, and in the judgment step unprocessable driver's license image processing, the error output step outputs that the driver's license image cannot be processed. Then, the process returns to the image input step.

【0015】[0015]

【実施例】以下本発明の第1の実施例の運転免許証画像
処理装置及び方法について、図面を参照しながら説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A driver's license image processing apparatus and method according to a first embodiment of the present invention will be described below with reference to the drawings.

【0016】図1は、本発明による運転免許証画像処理
装置及び方法の第1の実施例の構成図である。
FIG. 1 is a block diagram of a first embodiment of a driver's license image processing apparatus and method according to the present invention.

【0017】11は画像入力部であり、運転免許証画像
を多階調で入力する。12は画像確認部であり、画像入
力部11で入力された運転免許証画像が処理可能な運転
免許証画像であるか処理不可能な運転免許証画像である
かを判定する。14は画像認識部であり、画像入力部1
1で入力された運転免許証画像の記載事項を認識する。
13は表示部であり、画像確認部12の画像確認結果及
び画像認識部14の記載事項認識結果を表示する。
Reference numeral 11 is an image input unit for inputting a driver's license image in multiple gradations. An image confirmation unit 12 determines whether the driver's license image input by the image input unit 11 is a processable driver's license image or an unprocessable driver's license image. Reference numeral 14 denotes an image recognition unit, which is an image input unit 1
Recognize the information on the driver's license image entered in 1.
A display unit 13 displays the image confirmation result of the image confirmation unit 12 and the recorded item recognition result of the image recognition unit 14.

【0018】図2は、本発明による運転免許証画像処理
装置及び方法の第1の実施例の処理の制御概略図であ
る。
FIG. 2 is a control schematic diagram of the processing of the first embodiment of the driving license image processing apparatus and method according to the present invention.

【0019】S11は画像入力ステップであり、画像入
力部11で、運転免許証画像を多階調で入力する。S1
2は画像確認ステップであり、画像確認部12で、画像
入力ステップS11で入力された運転免許証画像が処理
可能な運転免許証画像であるか処理不可能な運転免許証
画像であるかを判定する。S13は判断ステップであ
り、画像確認ステップS12の判定結果に基づいて処理
可能な運転免許証画像の処理と処理不可能な運転免許証
画像の処理に分岐する。S14はエラー出力ステップで
あり、判断ステップS13で分岐した処理不可能な運転
免許証画像について、運転免許証画像が処理不可能であ
る旨を表示部13に出力し、画像入力ステップS11に
戻る。S15は画像認識ステップであり、判断ステップ
S13で分岐した処理可能な運転免許証画像について、
画像認識部14で、運転免許証画像の記載事項を認識す
る。S16は認識結果表示ステップであり、画像認識ス
テップS15で認識した記載事項認識結果を表示部13
に表示する。
In step S11, which is an image input step, the image input section 11 inputs a driver's license image in multiple gradations. S1
Reference numeral 2 denotes an image confirmation step, and the image confirmation unit 12 determines whether the driver's license image input in the image input step S11 is a processable driver's license image or an unprocessable driver's license image. To do. S13 is a determination step, and branches to processing of a driver's license image that can be processed and processing of a driver's license image that cannot be processed based on the determination result of the image confirmation step S12. S14 is an error output step, which outputs to the display unit 13 the unprocessable driver's license image branched at the determination step S13 to the display unit 13 and returns to the image input step S11. S15 is an image recognition step, and regarding the processable driver's license image branched at the determination step S13,
The image recognition unit 14 recognizes the items described in the driver's license image. S16 is a recognition result display step, in which the displayed item recognition result recognized in the image recognition step S15 is displayed on the display unit 13.
To display.

【0020】上述した運転免許証画像処理装置及び方法
について、図3の免許証Pを例に、画像確認部12の動
作の詳細を説明する。
With respect to the driving license image processing apparatus and method described above, the operation of the image checking unit 12 will be described in detail by taking the license P of FIG. 3 as an example.

【0021】図4に示すように、画像確認部12では、
256階調の多階調で入力された免許証画像Pのa領域
及びb領域各々について、N階調以上M階調以下(N≦
M)の値である画素の数KaとKbを計数する。ここ
で、N,Mは運転免許証の有効期限領域の青色を想定し
て予め設定された定数で、a領域は免許証画像が正しく
入力された場合の有効期限領域で、X座標値がXasか
らXae,Y座標値がYasからYaeの矩形領域であ
り、b領域は免許証画像が上下反転で入力された場合の
有効期限領域で、X座標値がXbsからXbe,Y座標
値がYbsからYbeの矩形領域であり,予め設定され
ている。次に、Kaがa領域の全画素数Ra=(Xae
−Xas+1)×(Yae−Yas+1)に占める割合
Daを計算する。b領域についても同様に、Kbがb領
域の全画素数Rb=(Xbe−Xbs+1)×(Ybe
−Ybs+1)に占める割合Dbを計算する。そして、
(式1)により処理可能な運転免許証画像であるか処理
不可能な運転免許証画像であるかを判定する。
As shown in FIG. 4, in the image confirmation section 12,
For each of the a region and the b region of the license image P input in 256 gradations, N gradations or more and M gradations or less (N ≦
The numbers Ka and Kb of the pixels which are the values of M) are counted. Here, N and M are constants set in advance assuming the blue color of the expiry area of the driver's license, the a area is the expiry area when the license image is correctly input, and the X coordinate value is Xas. To Xae, the Y coordinate value is a rectangular area from Yas to Yae, and the area b is the expiration date area when the license image is input upside down. The X coordinate value is from Xbs to Xbe and the Y coordinate value is from Ybs. It is a rectangular area of Ybe and is preset. Next, the total number of pixels in the area where Ka is a is Ra = (Xae
The ratio Da occupying −Xas + 1) × (Yae−Yas + 1) is calculated. Similarly for the b region, Kb is the total number of pixels in the b region Rb = (Xbe−Xbs + 1) × (Ybe
Calculate the ratio Db to −Ybs + 1). And
It is determined by (Equation 1) whether the image is a driver's license image that can be processed or a driver's license image that cannot be processed.

【0022】[0022]

【数1】 [Equation 1]

【0023】ここで、Dは予め設定された定数である。
免許証画像Pは(式1)によると(1)の条件に適合
し、「処理可能な運転免許証画像」と判定される。
Here, D is a preset constant.
According to (Equation 1), the license image P conforms to the condition of (1) and is determined to be a “processable driver's license image”.

【0024】上述したように、画像確認ステップS12
で、画像確認部12において入力された運転免許証画像
が処理可能な運転免許証画像であるか処理不可能な運転
免許証画像であるかが判定されると、判断ステップS1
3で、処理可能な運転免許証画像の処理と処理不可能な
運転免許証画像の処理に分岐する。免許証画像Pは「処
理可能な運転免許証画像」と判定されているので、画像
認識ステップS15に進む。また、処理不可能な運転免
許証画像の場合は、エラー出力ステップS14に進み、
表示部13に(式1)の判定結果に応じて「上下反転し
た運転免許証画像」「表裏反転した運転免許証画像」
「運転免許証画像ではない」を表示し、画像入力ステッ
プS11に戻る。
As described above, the image confirmation step S12
When it is determined whether the driver's license image input by the image checking unit 12 is a processable driver's license image or an unprocessable driver's license image, a determination step S1
At 3, the process branches to processing of a driver's license image that can be processed and processing of a driver's license image that cannot be processed. Since the license image P is determined to be a “processable driver's license image”, the process proceeds to image recognition step S15. If the image is a driver's license image that cannot be processed, the process proceeds to error output step S14,
In accordance with the determination result of (Equation 1), the display unit 13 displays a “driver's license image flipped upside down” “a driver's license image flipped front and back”
“It is not a driver's license image” is displayed, and the process returns to the image input step S11.

【0025】尚、第1の実施例では、画像確認部12に
おいて、入力された運転免許証画像のa領域及びb領域
のN階調以上M階調以下の画素の占める割合を用いて、
処理可能な運転免許証画像であるか処理不可能な運転免
許証画像であるかを判定したが、他の方法として、入力
された運転免許証画像のa領域の画素の平均階調値Ga
を用いて、GaがU以上V以下(U,Vは予め設定され
た定数)ならば「処理可能な運転免許証画像」と判定す
る方法もある。
In the first embodiment, the image confirming section 12 uses the ratio of the pixels of N gradations or more and M gradations or less in the areas a and b of the input driver's license image,
It is determined whether the image is a processable driver's license image or an unprocessable driver's license image. As another method, the average gradation value Ga of the pixels in the area a of the input driver's license image is Ga.
There is also a method of determining a “processable driver's license image” if Ga is U or more and V or less (U and V are preset constants).

【0026】次に、以下本発明の第2の実施例の運転免
許証画像処理装置及び方法について、図面を参照しなが
ら説明する。
Next, a driver's license image processing apparatus and method according to a second embodiment of the present invention will be described with reference to the drawings.

【0027】図5は、本発明による運転免許証画像処理
装置及び方法の第2の実施例の構成図である。
FIG. 5 is a block diagram of a second embodiment of the driving license image processing apparatus and method according to the present invention.

【0028】21は画像入力部であり、運転免許証画像
を多階調で入力する。22は画像確認部であり、画像入
力部21で入力された運転免許証画像が処理可能な運転
免許証画像であるか処理不可能な運転免許証画像である
かを判定する。24は画像抽出部であり、画像入力部2
1で入力された運転免許証画像の記載事項の画像を抽出
する。23は表示部であり、画像確認部22の画像確認
結果及び画像抽出部24の記載事項の画像抽出結果を表
示する。
Reference numeral 21 is an image input unit for inputting a driver's license image in multiple gradations. An image confirmation unit 22 determines whether the driver's license image input by the image input unit 21 is a processable driver's license image or an unprocessable driver's license image. Reference numeral 24 denotes an image extraction unit, which is an image input unit 2
The image of the items described in the driver's license image input in 1 is extracted. A display unit 23 displays the image confirmation result of the image confirmation unit 22 and the image extraction result of the described items of the image extraction unit 24.

【0029】図6は、本発明による運転免許証画像処理
装置及び方法の第2の実施例の処理の制御概略図であ
る。
FIG. 6 is a control schematic diagram of the processing of the second embodiment of the driving license image processing apparatus and method according to the present invention.

【0030】S21は画像入力ステップであり、画像入
力部21で、運転免許証画像を多階調で入力する。S2
2は画像確認ステップであり、画像確認部22で、画像
入力ステップS21で入力された運転免許証画像が処理
可能な運転免許証画像であるか処理不可能な運転免許証
画像であるかを判定する。S23は判断ステップであ
り、画像確認ステップS22の判定結果に基づいて処理
可能な運転免許証画像の処理と処理不可能な運転免許証
画像の処理に分岐する。S24はエラー出力ステップで
あり、判断ステップS23で分岐した処理不可能な運転
免許証画像について、運転免許証画像が処理不可能であ
る旨を表示部23に出力し、画像入力ステップS21に
戻る。S25は画像抽出ステップであり、判断ステップ
S23で分岐した処理可能な運転免許証画像について、
画像抽出部24で、運転免許証画像の記載事項の画像を
抽出する。S26は抽出結果表示ステップであり、画像
抽出ステップS25で抽出した記載事項の画像抽出結果
を表示部23に表示する。
S21 is an image input step in which the image input section 21 inputs a driver's license image in multiple gradations. S2
Reference numeral 2 denotes an image confirmation step, and the image confirmation unit 22 determines whether the driver's license image input in the image input step S21 is a processable driver's license image or an unprocessable driver's license image. To do. S23 is a determination step, and branches into processing of a driver's license image that can be processed and processing of a driver's license image that cannot be processed based on the determination result of the image confirmation step S22. S24 is an error output step, which outputs to the display unit 23 the fact that the driver's license image cannot be processed for the unprocessable driver's license image branched at the determination step S23, and the process returns to the image input step S21. S25 is an image extracting step, and regarding the processable driver's license image branched in the determining step S23,
The image extracting unit 24 extracts an image of items to be described in the driver's license image. S26 is an extraction result display step, in which the image extraction result of the description items extracted in the image extraction step S25 is displayed on the display unit 23.

【0031】上述した運転免許証画像処理装置及び方法
について、図3の免許証Pを例に、画像確認部22の動
作の詳細を説明する。
With respect to the above-described driver's license image processing apparatus and method, the operation of the image confirmation unit 22 will be described in detail by taking the license P of FIG. 3 as an example.

【0032】図7に示すように、画像確認部22では、
256階調の多階調で入力された免許証画像Pの全領域
について、N階調以上M階調以下(N≦M)の値である
画素を黒とし、以外の値である画素を白とする2階調の
画像を生成する。ここで、N,Mは運転免許証の有効期
限領域の青色を想定して予め設定された定数である。次
に黒画素の連結性を調べて黒画素領域qを抽出し、黒画
素領域qの開始終了X座標値Xqs,Yqeと開始終了
Y座標値Yqs,Yqeを求める。免許証画像Pについ
て2階調の画像を生成して黒画素領域qを抽出し、開始
終了X座標値と開始終了Y座標値を求めると図7(a)
に示すようになる。そして、(式2)により処理可能な
運転免許証画像であるか処理不可能な運転免許証画像で
あるかを判定する。
As shown in FIG. 7, in the image confirmation section 22,
For the entire region of the license image P input in 256 gradations, pixels having a value of N gradations or more and M gradations or less (N ≦ M) are black, and pixels having other values are white. Image of two gradations is generated. Here, N and M are constants set in advance assuming the blue color of the expiration date region of the driver's license. Next, the connectivity of the black pixels is checked to extract the black pixel area q, and the start / end X coordinate values Xqs, Yqe and the start / end Y coordinate values Yqs, Yqe of the black pixel area q are obtained. When a two-gradation image is generated for the license image P, a black pixel area q is extracted, and a start / end X coordinate value and a start / end Y coordinate value are obtained, FIG.
As shown in. Then, it is determined by (Equation 2) whether the image is a driver's license image that can be processed or an unprocessable driver's license image.

【0033】[0033]

【数2】 [Equation 2]

【0034】ここで、Δは予め設定された定数で、Xa
s,Xae,Yas,Yaeは免許証画像が正しく入力
された場合の有効期限領域を想定した矩形領域の開始終
了座標で、Xbs,Xbe,Ybs,Ybeは免許証画
像が上下反転で入力された場合の有効期限領域を想定し
た矩形領域の開始終了座標で、予め設定されている。免
許証画像Pは(式2)によると(1)の条件に適合し、
「処理可能な運転免許証画像」と判定される。また、図
7(b)に示すような黒画素領域qが抽出できる免許証
画像では(式2)によると(2)の条件に適合し、「上
下反転した運転免許証画像」と判定される。
Where Δ is a preset constant and Xa
s, Xae, Yas, and Yae are the start and end coordinates of the rectangular area assuming the expiration date area when the license image is correctly input, and Xbs, Xbe, Ybs, and Ybe are the license image input upside down. In this case, the start and end coordinates of the rectangular area assuming the expiration date area are set in advance. The license image P conforms to the condition (1) according to (Equation 2),
It is determined to be a “processable driver's license image”. Further, in the license image in which the black pixel area q as shown in FIG. 7B can be extracted, according to (Equation 2), the condition of (2) is satisfied, and it is determined that the driver's license image is upside down. .

【0035】上述したように、画像確認ステップS22
で、画像確認部22において入力された運転免許証画像
が処理可能な運転免許証画像であるか処理不可能な運転
免許証画像であるかが判定されると、判断ステップS2
3で、処理可能な運転免許証画像の処理と処理不可能な
運転免許証画像の処理に分岐する。免許証画像Pは「処
理可能な運転免許証画像」と判定されているので、画像
抽出ステップS25に進む。また、処理不可能な運転免
許証画像の場合は、エラー出力ステップS24に進み、
表示部23に(式2)の判定結果に応じて「上下反転し
た運転免許証画像」「運転免許証画像ではない」を表示
し、画像入力ステップS21に戻る。
As described above, the image confirmation step S22
Then, when it is determined whether the driver's license image input by the image confirmation unit 22 is a processable driver's license image or an unprocessable driver's license image, a determination step S2
At 3, the process branches to processing of a driver's license image that can be processed and processing of a driver's license image that cannot be processed. Since the license image P is determined to be a “processable driver's license image”, the process proceeds to image extraction step S25. If the driver's license image cannot be processed, the process proceeds to error output step S24,
“Driving license image which is turned upside down” and “not driving license image” are displayed on the display unit 23 according to the determination result of (Formula 2), and the process returns to the image input step S21.

【0036】[0036]

【発明の効果】以上のように本発明は、請求項1の発明
において、画像入力部で運転免許証画像を多階調で入力
し、画像確認部で画像入力部で入力された運転免許証画
像の特定位置の画素の階調値を用いて処理可能な運転免
許証画像であるか処理不可能な運転免許証画像であるか
を判定し、また、請求項2の発明において、画像入力ス
テップで運転免許証画像を多階調で入力し、画像確認ス
テップで、画像入力ステップで入力された運転免許証画
像の特定位置の画素の階調値を用いて処理可能な運転免
許証画像であるか処理不可能な運転免許証画像であるか
を判定し、判断ステップで画像確認ステップの判定結果
に基づいて処理可能な運転免許証画像の処理と処理不可
能な運転免許証画像の処理に分岐し、判断ステップで分
岐した処理不可能な運転免許証画像の処理では、エラー
出力ステップで運転免許証画像が処理不可能である旨を
出力し、画像入力ステップに戻り、また、請求項3の発
明において、画像入力部で運転免許証画像を多階調で入
力し、画像確認部で画像入力部で入力された運転免許証
画像の特定階調値をとる画素の分布を用いて処理可能な
運転免許証画像であるか処理不可能な運転免許証画像で
あるかを判定し、また、請求項4において、画像入力ス
テップで運転免許証画像を多階調で入力し、画像確認ス
テップで、画像入力ステップで入力された運転免許証画
像の特定階調値をとる画素の分布を用いて処理可能な運
転免許証画像であるか処理不可能な運転免許証画像であ
るかを判定し、判断ステップで画像確認ステップの判定
結果に基づいて処理可能な運転免許証画像の処理と処理
不可能な運転免許証画像の処理に分岐し、判断ステップ
で分岐した処理不可能な運転免許証画像の処理では、エ
ラー出力ステップで運転免許証画像が処理不可能である
旨を出力し、画像入力ステップに戻ることにより、画像
入力時に運転免許証画像が上下反転,左右回転,表裏反
転などの状態で入力されても、短時間で処理可能な運転
免許証画像であるか処理不可能な運転免許証画像である
かを判定することができる。
As described above, according to the present invention, in the invention of claim 1, the driver's license image is input in the image input unit in multi-gradation and the image confirmation unit inputs the driver's license image in the image input unit. It is determined whether the image is a driver's license image that can be processed or a driver's license image that cannot be processed using the gradation value of a pixel at a specific position of the image, and in the invention of claim 2, the image input step. It is a driver's license image that can be processed using the gradation value of the pixel at the specific position of the driver's license image input in the image input step in the image confirmation step It is judged whether it is a driver's license image that cannot be processed, and in the judgment step it branches to processing of a driving license image that can be processed and processing of a driving license image that cannot be processed based on the judgment result of the image confirmation step And processing that branched in the judgment step is not possible In the processing of the driver's license image, the fact that the driver's license image cannot be processed is output in the error output step, and the process returns to the image input step. Further, in the invention of claim 3, the driver's license image is input in the image input unit. , Which can be processed using the distribution of pixels that have the specific gradation value of the driver's license image input by the image input unit in the image confirmation unit It is determined whether the image is a driver's license image, and in claim 4, the driver's license image is input in multiple gradations in the image input step, and the driver's license image input in the image input step in the image confirmation step. It is determined whether the image is a driver's license image that can be processed or a driver's license image that cannot be processed using the distribution of pixels that have a specific gradation value of, and in the determination step, based on the determination result of the image confirmation step. Processable driver's license In the process of the unprocessable driver's license image branched in the processing of the image and the process of the driver's license image which cannot be processed, and in the judgment step, the fact that the driver's license image cannot be processed in the error output step Is the driver's license image processable in a short time even when the driver's license image is input in the state of upside down, left / right rotation, front / back inversion by outputting It is possible to determine whether the image is a driver's license image that cannot be processed.

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

【図1】本発明の第1の実施例における運転免許証画像
処理装置及び方法の構成図
FIG. 1 is a configuration diagram of a driver's license image processing apparatus and method according to a first embodiment of the present invention.

【図2】本発明の第1の実施例における運転免許証画像
処理装置及び方法の処理の制御概略図
FIG. 2 is a control schematic diagram of processing of a driving license image processing apparatus and method according to the first embodiment of the present invention.

【図3】同実施例における入力画像Pの説明図FIG. 3 is an explanatory diagram of an input image P in the same embodiment.

【図4】同実施例における画像確認部12の動作の説明
FIG. 4 is an explanatory diagram of an operation of the image checking unit 12 in the embodiment.

【図5】本発明の第2の実施例における運転免許証画像
処理装置及び方法の構成図
FIG. 5 is a configuration diagram of a driving license image processing apparatus and method according to a second embodiment of the present invention.

【図6】本発明の第2の実施例における運転免許証画像
処理装置及び方法の処理の制御概略図
FIG. 6 is a control schematic diagram of processing of a driving license image processing apparatus and method according to a second embodiment of the present invention.

【図7】同実施例における画像確認部22の動作の説明
FIG. 7 is an explanatory diagram of an operation of the image checking unit 22 in the embodiment.

【図8】従来の運転免許証画像処理装置の概略図FIG. 8 is a schematic diagram of a conventional driver's license image processing apparatus.

【符号の説明】[Explanation of symbols]

11 画像入力部 12 画像確認部 13 表示部 14 画像認識部 21 画像入力部 22 画像確認部 23 表示部 24 画像抽出部 11 Image Input Section 12 Image Confirmation Section 13 Display Section 14 Image Recognition Section 21 Image Input Section 22 Image Confirmation Section 23 Display Section 24 Image Extraction Section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 江村 里志 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Satoshi Emura 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】運転免許証画像を多階調で入力する画像入
力部と、前記画像入力部で入力された運転免許証画像の
特定位置の画素の階調値を用いて処理可能な運転免許証
画像であるか処理不可能な運転免許証画像であるかを判
定する画像確認部とを有することを特徴とする運転免許
証画像処理装置。
1. An image input section for inputting a driver's license image in multiple gradations, and a driver's license processable using gradation values of pixels at specific positions of the driver's license image input by the image input section. A driver's license image processing device, comprising: an image confirmation unit that determines whether the image is a certificate image or a driver's license image that cannot be processed.
【請求項2】運転免許証画像を多階調で入力する画像入
力ステップと、前記画像入力ステップで入力された運転
免許証画像の特定位置の画素の階調値を用いて処理可能
な運転免許証画像であるか処理不可能な運転免許証画像
であるかを判定する画像確認ステップと、前記画像確認
ステップの判定結果に基づいて処理可能な運転免許証画
像の処理と処理不可能な運転免許証画像の処理に分岐す
る判断ステップと、前記判断ステップで分岐した処理不
可能な運転免許証画像の処理では、運転免許証画像が処
理不可能である旨を出力し、前記画像入力ステップに戻
るエラー出力ステップとを有することを特徴とする運転
免許証画像処理方法。
2. An image input step of inputting a driver's license image in multiple gradations, and a driver's license which can be processed using gradation values of pixels at specific positions of the driver's license image input in said image input step. An image confirmation step of determining whether the image is a certification image or an unprocessable driver's license image, and processing of a driver's license image that can be processed based on the determination result of the image confirmation step and an unprocessable driver's license In the judgment step branching to the processing of the certificate image and the processing of the unprocessable driver's license image branched in the judgment step, the fact that the driver's license image cannot be processed is output, and the processing returns to the image input step. An image processing method for a driver's license, comprising: an error output step.
【請求項3】運転免許証画像を多階調で入力する画像入
力部と、前記画像入力部で入力された運転免許証画像の
特定階調値をとる画素の分布を用いて処理可能な運転免
許証画像であるか処理不可能な運転免許証画像であるか
を判定する免許証画像確認部とを有することを特徴とす
る運転免許証画像処理装置。
3. An image input unit for inputting a driver's license image in multiple gradations, and driving that can be processed using a distribution of pixels having a specific gradation value of the driver's license image input by the image input unit. A driver's license image processing apparatus, comprising: a license image confirmation unit that determines whether the image is a license image or a driver's license image that cannot be processed.
【請求項4】運転免許証画像を多階調で入力する画像入
力ステップと、前記画像入力ステップで入力された運転
免許証画像の特定階調値をとる画素の分布を用いて処理
可能な運転免許証画像であるか処理不可能な運転免許証
画像であるかを判定する画像確認ステップと、前記画像
確認ステップの判定結果に基づいて処理可能な運転免許
証画像の処理と処理不可能な運転免許証画像の処理に分
岐する判断ステップと、前記判断ステップで分岐した処
理不可能な運転免許証画像の処理では、運転免許証画像
が処理不可能である旨を出力し、前記画像入力ステップ
に戻るエラー出力ステップとを有することを特徴とする
運転免許証画像処理方法。
4. An image input step of inputting a driver's license image in multiple gradations, and driving that can be processed using a distribution of pixels having a specific gradation value of the driver's license image input in the image input step. An image confirmation step for determining whether the image is a license image or a driving license image that cannot be processed, and processing of a driving license image that can be processed based on the determination result of the image confirmation step and driving that cannot be processed In the judgment step branching to the processing of the license image and the processing of the unprocessable driving license image branched in the judgment step, the fact that the driving license image cannot be processed is output, and the image input step is executed. A method of processing a driver's license image, comprising: returning an error output step.
JP5209341A 1993-08-24 1993-08-24 Device and method for driver's license image processing Pending JPH0765118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5209341A JPH0765118A (en) 1993-08-24 1993-08-24 Device and method for driver's license image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5209341A JPH0765118A (en) 1993-08-24 1993-08-24 Device and method for driver's license image processing

Publications (1)

Publication Number Publication Date
JPH0765118A true JPH0765118A (en) 1995-03-10

Family

ID=16571349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5209341A Pending JPH0765118A (en) 1993-08-24 1993-08-24 Device and method for driver's license image processing

Country Status (1)

Country Link
JP (1) JPH0765118A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014071784A (en) * 2012-09-30 2014-04-21 Nidec Sankyo Corp Device and method for reading driver's license
JP2014071866A (en) * 2012-10-02 2014-04-21 Nidec Sankyo Corp Image processor, image processing method, and program
JP2020524323A (en) * 2017-12-14 2020-08-13 シェンチェン センスタイム テクノロジー カンパニー リミテッドShenzhen Sensetime Technology Co.,Ltd Certificate verification method, device, electronic device, and storage medium
JP2020155155A (en) * 2020-06-24 2020-09-24 日本電気株式会社 Image determination system, image determination method, image determination program, and record medium for recording image determination program
US10885375B2 (en) 2016-03-17 2021-01-05 Pfu Limited Mobile terminal, image processing method, and computer-readable recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63101982A (en) * 1986-10-17 1988-05-06 Nec Corp Automatic reading and sorting device for postal code
JPH01219968A (en) * 1988-02-29 1989-09-01 Toshiba Corp Address part deciding device
JPH04123457U (en) * 1991-04-24 1992-11-09 日本電気株式会社 Optical scanner for mail address detection
JPH05120356A (en) * 1991-10-29 1993-05-18 Konica Corp Personal information reading storage device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63101982A (en) * 1986-10-17 1988-05-06 Nec Corp Automatic reading and sorting device for postal code
JPH01219968A (en) * 1988-02-29 1989-09-01 Toshiba Corp Address part deciding device
JPH04123457U (en) * 1991-04-24 1992-11-09 日本電気株式会社 Optical scanner for mail address detection
JPH05120356A (en) * 1991-10-29 1993-05-18 Konica Corp Personal information reading storage device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014071784A (en) * 2012-09-30 2014-04-21 Nidec Sankyo Corp Device and method for reading driver's license
JP2014071866A (en) * 2012-10-02 2014-04-21 Nidec Sankyo Corp Image processor, image processing method, and program
US10885375B2 (en) 2016-03-17 2021-01-05 Pfu Limited Mobile terminal, image processing method, and computer-readable recording medium
JP2020524323A (en) * 2017-12-14 2020-08-13 シェンチェン センスタイム テクノロジー カンパニー リミテッドShenzhen Sensetime Technology Co.,Ltd Certificate verification method, device, electronic device, and storage medium
JP2020155155A (en) * 2020-06-24 2020-09-24 日本電気株式会社 Image determination system, image determination method, image determination program, and record medium for recording image determination program

Similar Documents

Publication Publication Date Title
US5912992A (en) Binary image forming device with shading correction means using interpolation of shade densities determined by using sample points
EP0494026A2 (en) Method for automatically distinguishing between graphic information and text information of image data
JPH0765118A (en) Device and method for driver's license image processing
CN101393597B (en) Method for identifying front of human face
EP0461760B1 (en) Image processing apparatus and method
CN110909568A (en) Image detection method, apparatus, electronic device, and medium for face recognition
JPH04205284A (en) Number plate recognizing device
JPH06274679A (en) Character reader
JP2001346070A (en) Contour detecting circuit for picture signal and picture display device provided with the same
JPH06337936A (en) Method and device for detecting line
JPH0490083A (en) Character recognizing device
JPH08235359A (en) Pattern matching method and device thereof
CN105469362A (en) Image processing method and image processing device
JP2649807B2 (en) Character reader
JPH03275371A (en) Image processor
JPH08101880A (en) Character recognition device
JPH05233871A (en) Image reader
JPH01310488A (en) Picture processor
JP2002109544A (en) Seal impression positioning method and device
JP2598005B2 (en) Method for extracting closed areas in drawings
JPH1021330A (en) Document picture processing system
JPS63316563A (en) Picture reader
JPS63226790A (en) Feature extracting device for character
JPS61221978A (en) Multi-color drawing reader
JPH11261811A (en) Image forming device