JP2024000682A - Authenticity determination device and program - Google Patents
Authenticity determination device and program Download PDFInfo
- Publication number
- JP2024000682A JP2024000682A JP2022099521A JP2022099521A JP2024000682A JP 2024000682 A JP2024000682 A JP 2024000682A JP 2022099521 A JP2022099521 A JP 2022099521A JP 2022099521 A JP2022099521 A JP 2022099521A JP 2024000682 A JP2024000682 A JP 2024000682A
- Authority
- JP
- Japan
- Prior art keywords
- authenticity
- card
- image
- determining
- authenticity determination
- 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
Links
- 230000001815 facial effect Effects 0.000 claims description 16
- 238000012795 verification Methods 0.000 claims description 11
- 238000012937 correction Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 description 54
- 238000007639 printing Methods 0.000 description 20
- 239000000976 ink Substances 0.000 description 17
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 3
- 229910052799 carbon Inorganic materials 0.000 description 3
- 238000009499 grossing Methods 0.000 description 3
- 238000010521 absorption reaction Methods 0.000 description 2
- 230000008602 contraction Effects 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000002844 melting Methods 0.000 description 2
- 230000008018 melting Effects 0.000 description 2
- 238000000859 sublimation Methods 0.000 description 2
- 230000008022 sublimation Effects 0.000 description 2
- 241000519995 Stachys sylvatica Species 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000037308 hair color Effects 0.000 description 1
- 238000007644 letterpress printing Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000007645 offset printing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010023 transfer printing Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
Description
本発明は、真贋判定装置とそのプログラム等に関する。 The present invention relates to an authentication device, a program thereof, and the like.
金融機関では口座開設時に運転免許証等のIDカード(本人確認証)による本人確認が必要であるが、特殊詐欺などの犯罪目的から別人になりすまして口座開設を行うために、IDカードを偽造、変造等するケースが増えつつある。 When opening an account at a financial institution, it is necessary to verify the identity of the person using an ID card (identification card) such as a driver's license, but in order to open an account by impersonating another person for the purpose of criminal purposes such as special fraud, there are cases where a forged ID card is used to open an account. Cases of falsification, etc. are increasing.
通常の金融機関では、ユーザが金融機関に出向いてIDカードを提出し、金融機関側は提出されたIDカードを用いて対面により本人確認するのが一般的である。また特許文献1、2にはIDカードの券面を読取装置等で読取って得た画像からIDカードの真贋を判定する真贋判定装置が記載されており、提出されたIDカードを読取装置等で読取ることでIDカードの真贋判定を行うことも可能である。
In a typical financial institution, a user goes to the financial institution and submits an ID card, and the financial institution uses the submitted ID card to verify the user's identity face-to-face. Further,
正規のIDカードは、所定の印刷方式や使用インキ等により印刷を行うことで製造されており、これを利用すれば、正規のIDカードと偽のIDカードとを判別することが可能である。特に近年は本人確認が厳格化される傾向にあり、IDカードの真贋を確実に判別する技術が望まれていた。 Genuine ID cards are manufactured by printing using a predetermined printing method and ink, and by using this, it is possible to distinguish between genuine ID cards and fake ID cards. Particularly in recent years, identity verification has become stricter, and there has been a need for technology that can reliably determine the authenticity of ID cards.
本発明は上記の問題に鑑みてなされたものであり、本人確認証の真贋判定を好適に行うことのできる真贋判定装置等を提供することを目的とする。 The present invention has been made in view of the above-mentioned problems, and it is an object of the present invention to provide an authentication device and the like that can suitably determine the authenticity of an identification card.
前述した課題を解決するための第1の発明は、顔写真を有する本人確認証の真贋判定を行う真贋判定装置であって、前記本人確認証の赤外線画像を取得する取得手段と、前記赤外線画像から得た前記本人確認証の文字部分の画像、および、前記赤外線画像から得た前記本人確認証の顔写真の画像のそれぞれから互いに異なる指標値を算出し、各指標値を基準値と比較することで、前記文字部分と前記顔写真が正規の本人確認証のものであるかをそれぞれ判定する真贋判定手段と、を有し、前記真贋判定手段は、前記文字部分と前記顔写真のいずれかが正規の本人確認証のものでないと判定される場合、前記本人確認証を偽とすることを特徴とする真贋判定装置である。 A first invention for solving the above-mentioned problems is an authenticity determination device for determining the authenticity of an identification card having a face photograph, comprising: an acquisition means for acquiring an infrared image of the identification card; Different index values are calculated from each of the image of the character part of the identification card obtained from the infrared image and the image of the face photo of the identification card obtained from the infrared image, and each index value is compared with a reference value. In this case, there is provided an authenticity determining means for determining whether the text portion and the facial photograph are genuine identification documents, and the authenticity determining means is configured to determine whether either the text portion or the facial photograph is a genuine identification card. The authentication device is characterized in that, if it is determined that the identification card is not a genuine identification card, the identification card is determined to be false.
本発明では、正規の本人確認証が所定の印刷方式や使用インキ等により印刷を行うことで製造されており、その特徴が赤外線画像に現れることを利用して真贋判定を行う。例えば、カーボンなど赤外線を吸収するインキで印刷された部分は赤外線画像で低輝度の像として現れ、それ以外の部分は赤外線画像で高輝度の部分となる。そのため、印刷方式や使用インキ等の違いにより正規の本人確認証と判定対象の本人確認証の間で印刷部分の赤外線吸収の有無が異なっていれば、判定対象の本人確認証を赤外線画像により偽と判別できる。また本発明では、正規の本人確認証内でも印刷方式や使用インキ等が異なることの多い、本人確認証の文字部分と顔写真の双方を用いて判定を行うことで、真贋判定を確実に行うことができる。また双方の判定において異なる指標値を用いることで、文字部分と顔写真の特性の違いに応じた指標値とすることができ、真贋判定の精度が向上する。 In the present invention, a genuine identification card is manufactured by printing using a predetermined printing method and using ink, and the authenticity is determined by utilizing the appearance of its characteristics in an infrared image. For example, parts printed with ink such as carbon that absorbs infrared rays appear as low-brightness images in an infrared image, and other parts appear as high-brightness parts in an infrared image. Therefore, if there is a difference in the presence or absence of infrared absorption in the printed part between the official identification card and the ID card being judged due to differences in printing methods, inks used, etc., the identification card being judged can be faked using an infrared image. It can be determined that In addition, the present invention reliably determines authenticity by using both the text and face photo of the identification card, which often have different printing methods and ink used even within official identification cards. be able to. Furthermore, by using different index values in both determinations, the index values can be set in accordance with the differences in characteristics between the text portion and the face photograph, improving accuracy in determining authenticity.
前記真贋判定手段は、前記文字部分の判定で用いる指標値を、前記文字部分の画像内の画素の輝度勾配の大きさの平均値によって求め、前記顔写真の判定で用いる指標値を、前記顔写真の画像内の画素の輝度のばらつきによって求めることが望ましい。
文字部分や顔写真の判定は、上記したそれぞれの指標値により好適に行うことができる。各指標値は文字部分と顔写真の特性に基づいたものであり、仮に、使用する指標値を入れ替え、顔写真について上記した輝度勾配の平均値を指標値とすると、人物の髪色や服装の色のような真贋とは関係の無い要素により指標値が大きく変動することがある。また文字部分は、氏名や住所など個人によって文字の数すなわち画像中の文字面積が異なる場合があり、仮に、文字部分について上記した輝度のばらつきを指標値とすると、文字の多寡により真贋とは関係無く指標値が大きく変動することがある。
The authenticity determining means determines an index value used in determining the text portion by an average value of the magnitude of a luminance gradient of pixels in the image of the text portion, and determines an index value used in determining the face photograph based on the average value of the luminance gradient of pixels in the image of the text portion. It is preferable to determine this based on variations in the brightness of pixels within a photographic image.
Text portions and facial photographs can be suitably determined using the respective index values described above. Each index value is based on the characteristics of the text part and the face photo. If the index values used were swapped and the average value of the luminance gradient described above for the face photo was used as the index value, the difference between the hair color and clothing of the person would be The index value may fluctuate greatly due to factors unrelated to authenticity, such as color. In addition, the number of characters, that is, the area of the characters in the image, may differ depending on the individual, such as the name or address of the text part. If we use the above-mentioned variation in brightness for the text part as an index value, there is no relationship between authenticity and authenticity depending on the number of characters. The index value may fluctuate greatly without any change.
前記真贋判定手段は、前記顔写真の判定で用いる指標値を求める前に、前記顔写真の画像において、所定の閾値より輝度の大きい画素の輝度を、当該閾値より低い輝度に置き換える補正を行うことが望ましい。
これにより、顔写真中にホログラム等が存在して赤外線画像内の高輝度部分となり、顔写真の判定結果に影響を与えるのを防ぐことができる。
The authenticity determining means may perform a correction in which the luminance of a pixel having a luminance higher than a predetermined threshold value in the image of the facial photograph is replaced with a luminance lower than the threshold value, before obtaining an index value to be used in determining the facial photograph. is desirable.
Thereby, it is possible to prevent holograms and the like from being present in the face photograph and becoming a high-luminance part in the infrared image, which would affect the determination result of the face photograph.
前記真贋判定手段は、前記文字部分の判定において、輝度勾配の大きさが所定の閾値を超える画素が一定数以下の場合は、前記文字部分の判定で用いる指標値を0とすることが望ましい。
これにより、微小な汚れの存在により赤外線画像に大きな輝度勾配ができ、文字部分の判定結果に影響を与えるのを防ぐことができる。
Preferably, the authenticity determining means sets the index value used in determining the character portion to 0 if the number of pixels whose brightness gradient exceeds a predetermined threshold value is less than or equal to a certain number in determining the character portion.
Thereby, it is possible to prevent a large brightness gradient from occurring in the infrared image due to the presence of minute dirt and affecting the determination result of the text portion.
第2の発明は、コンピュータを、顔写真を有する本人確認証の真贋判定を行う真贋判定装置であって、前記本人確認証の赤外線画像を取得する取得手段と、前記赤外線画像から得た前記本人確認証の文字部分の画像、および、前記赤外線画像から得た前記本人確認証の顔写真の画像のそれぞれから互いに異なる指標値を算出し、各指標値を基準値と比較することで、前記文字部分と前記顔写真が正規の本人確認証のものであるかをそれぞれ判定する真贋判定手段と、を有し、前記真贋判定手段は、前記文字部分と前記顔写真のいずれかが正規の本人確認証のものでないと判定される場合、前記本人確認証を偽とすることを特徴とする真贋判定装置として機能させるためのプログラムである。
第2の発明は、第1の発明の真贋判定装置のプログラムである。
A second invention is an authenticity determination device for determining the authenticity of an identification card having a face photograph, comprising: an acquisition means for acquiring an infrared image of the identification card; Different index values are calculated from each of the image of the character part of the identification card and the image of the face photo of the identification card obtained from the infrared image, and each index value is compared with a reference value to calculate the character part of the identification card. and an authenticity determining means for determining whether the character part and the face photograph are of a legitimate identification card, and the authenticity determining means determines whether either the character part or the face photograph is a genuine identity verification document. This is a program for functioning as an authenticity determination device characterized in that, if it is determined that the identity verification certificate is not a genuine one, the identity verification certificate is determined to be false.
The second invention is a program for the authentication device of the first invention.
本発明により、本人確認証の真贋判定を好適に行うことのできる真贋判定装置等を提供することが可能となる。 According to the present invention, it is possible to provide an authentication device and the like that can suitably determine the authenticity of an identification card.
以下、図面に基づいて本発明の好適な実施形態について詳細に説明する。 Hereinafter, preferred embodiments of the present invention will be described in detail based on the drawings.
(1.真贋判定システム1)
図1は、本発明の実施形態に係る真贋判定装置3を有する真贋判定システム1を示す図である。図1に示すように、真贋判定システム1は、読取装置2と真贋判定装置3とを有線または無線により通信可能に接続して構成される。真贋判定システム1では、IDカード10の画像を読取装置2から真贋判定装置3に送信し、真贋判定装置3にて当該画像からIDカード10の真贋判定を行う。
(1. Authenticity determination system 1)
FIG. 1 is a diagram showing an
読取装置2は、IDカード10を撮影してその画像を取得するものである。特に本実施形態では、読取装置2が赤外線カメラと赤外線照明を備え、赤外線照明から照射されIDカード10から反射した赤外線を赤外線カメラで受光することにより、IDカード10の赤外線画像を撮影する。
The
図2は真贋判定装置3のハードウェア構成を示す図である。真贋判定装置3は、制御部31、記憶部32、通信部33、表示部34等をバス等で接続して構成されたコンピュータにより実現できる。ただしこれに限ることは無く、適宜様々な構成をとることができる。
FIG. 2 is a diagram showing the hardware configuration of the
制御部31はCPU、ROM、RAMなどから構成される。CPUは、記憶部32、ROMなどの記憶媒体に格納された真贋判定装置3の処理に係るプログラムをRAM上のワークエリアに呼び出して実行する。ROMは不揮発性メモリであり、ブートプログラムやBIOSなどのプログラム、データなどを恒久的に保持している。RAMは揮発性メモリであり、記憶部32、ROMなどからロードしたプログラムやデータを一時的に保持するとともに、制御部31が各種処理を行うために使用するワークエリアを備える。
The
記憶部32はハードディスクドライブやソリッドステートドライブ、フラッシュメモリ等であり、後述する処理に際し真贋判定装置3が実行するプログラム、プログラム実行に必要なデータ、OSなどが格納される。
The
通信部33は読取装置2との間の通信を媒介する通信インタフェースである。表示部34は液晶ディスプレイ等であり、本実施形態の真贋判定処理に係る各種の情報を表示する。
The
(2.IDカード10)
IDカード10は、本実施形態において真贋判定の対象となる本人確認証である。本人確認証は、各種の行政機関、金融機関や携帯電話キャリア等で行政手続や本人確認に用いられる媒体であり、例えば運転免許証とする。ただし、IDカード10はこれに限らず、マイナンバーカード、在留カード、特別永住カードなどであってもよい。
(2. ID card 10)
The
図3(a)はIDカード10(運転免許証)の概略を示す図であり、IDカード10の券面の一例を模式的に示したものである。IDカード10は、略矩形状のカード基材に、カード所持者の氏名12、生年月日13、住所14および顔写真18、IDカード10の交付年月日15、発行番号16、有効期限17などを印刷したものである。
FIG. 3A is a diagram schematically showing the ID card 10 (driver's license), and schematically shows an example of the face of the
氏名12、生年月日13、住所14、交付年月日15、発行番号16、有効期限17等は、個々のIDカード10によって異なるオンデマンド情報を含んでいる。また顔写真18も個々のIDカード10によって異なるオンデマンド情報であり、これらのオンデマンド情報は、サーマルヘッドを用いた熱転写による印刷方式によりカード基材上の決まった位置に印刷して形成される。顔写真18以外の文字は溶融型熱転写方式によって、顔写真18は昇華型熱転写方式によってそれぞれ印刷される。
The name 12, date of birth 13, address 14, date of issue 15, issue number 16, expiration date 17, etc. include on-demand information that differs depending on the
一方、氏名12、住所14、交付年月日15、発行番号16の記載欄を示す「氏名」「住所」「交付年月日」「番号」などの文字、および罫線は、各IDカード10で共通に使用される。これらの文字および罫線は、オンデマンド情報の印刷前に、オフセット印刷方式や凸版印刷方式などの印刷方式でカード基材上の決まった位置に予め形成され、プレ印刷部分と呼ばれる。
On the other hand, characters such as "name", "address", "date of issue", "number", etc. that indicate the entry fields for name 12, address 14, date of issue 15, and issue number 16, as well as the ruled lines, are on each
図3(b)はIDカード10からプレ印刷部分を抜き出したものであり、図3(b)のように予めプレ印刷部分を形成したカード基材に前記のオンデマンド情報を印刷することでIDカード10が製造される。オンデマンド情報やプレ印刷部分がどのような構成となるかは、運転免許証、マイナンバーカード、在留カード、特別永住者カードなどIDカード10の種類によって異なる。
FIG. 3(b) shows the pre-printed portion extracted from the
(3.真贋判定装置3の機能)
図4は真贋判定装置3の機能を示すブロック図である。真贋判定装置3は、取得手段301、真贋判定手段302等を有する。
(3. Function of authenticity determination device 3)
FIG. 4 is a block diagram showing the functions of the
取得手段301は、真贋判定装置3の制御部31が、通信部33を介して読取装置2からIDカード10の赤外線画像を受信し、取得するものである。
The acquisition means 301 is for the
真贋判定手段302は、真贋判定装置3の制御部31が、読取装置2から取得したIDカード10の赤外線画像を用い、IDカード10の真贋判定を行うものである。本実施形態では、赤外線画像を用い、IDカード10の文字部分と顔写真18のそれぞれについて、真であるか否か(正規のIDカード10のものであるか否か)を異なる指標によって判定するが、その詳細については後述する。
The
(4.真贋判定方法)
図5は、真贋判定システム1で実行される真贋判定方法の概略を示すフローチャートである。図5のS1~S2は読取装置2の制御部(不図示)が読取装置2の各部を制御して実行する処理であり、S3~S9は真贋判定装置3の制御部31が真贋判定装置3の各部を制御して実行する処理である。
(4. Authenticity determination method)
FIG. 5 is a flowchart showing an outline of the authenticity determination method executed by the
本実施形態では、まずユーザがIDカード10を読取装置2の所定位置にセットし、読取装置2は、ユーザの操作に応じて赤外線カメラによりIDカード10を撮影する(S1)。
In this embodiment, first, the user sets the
読取装置2は、IDカード10を撮影して得た赤外線画像を真贋判定装置3に送信する(S2)。真贋判定装置3は、IDカード10の赤外線画像を受信する(S3)と、赤外線画像を用いてIDカード10の文字部分から真贋判定を行い(S4)、文字部分が真とされれば(S5;Yes)、IDカード10の顔写真18からさらに真贋判定を行う(S6)。
The
その結果、顔写真18が真とされれば(S7;Yes)、最終的な真贋判定の結果としてIDカード10を真とし、これを表示部34に表示して処理を終了する(S8)。一方、文字部分と顔写真18のいずれかが偽とされれば(S5;NoまたはS7;No)、最終的な真贋判定の結果としてIDカード10を偽とし、これを表示部34に表示して処理を終了する(S9)。担当者は、表示部34の表示内容に応じて適切な対応をとることができる。
As a result, if the face photo 18 is determined to be true (S7; Yes), the
なお、IDカード10の文字部分と顔写真18の判定は、いずれを先に行っても良いが、顔写真18の判定のほうがコンピュータの処理負担が大きいため、図5のように、文字部分の判定を先に行い、文字部分が偽の場合は顔写真18の判定を行わず処理を終了する流れとすることで、全体的な処理負担を軽減できる。
It should be noted that the text part of the
本実施形態では、正規のIDカード10が所定の印刷方式や使用インキ等により印刷を行うことで製造されており、その特徴が赤外線画像に現れることを利用して真贋判定を行う。また、S4、S6の真贋判定の具体的方法は、IDカード10の文字部分と顔写真18の特性の違いに応じて異なる。以下、これらの真贋判定方法の詳細について説明する。
In this embodiment, the
(5.IDカード10の文字部分の真贋判定)
図6は、S4における、IDカード10の文字部分の真贋判定の手順を示すフローチャートである。
(5. Authenticity determination of the text part of ID card 10)
FIG. 6 is a flowchart showing the procedure for determining the authenticity of the text portion of the
本実施形態では、S4において、まずS3で受信した赤外線画像から、文字部分の領域を抽出する(S401)。当該領域は、IDカード10の種類(運転免許証、マイナンバーカード、在留カード、特別永住者カードなど)に応じて、IDカード10の赤外線画像内の所定の位置に予め設定されている。
In this embodiment, in S4, first, a character region is extracted from the infrared image received in S3 (S401). The area is set in advance at a predetermined position within the infrared image of the
この領域は、例えば図3(a)の氏名12の領域、生年月日13の領域、住所14の領域、交付年月日15の領域、番号16の領域、有効期限17の領域などオンデマンド情報を含む領域である。あるいは、氏名12の記載欄を示す「氏名」の文字や住所14の記載欄を示す「住所」の文字など、プレ印刷部分を含む領域としてもよい。前者(オンデマンド情報を含む領域)の場合は、領域内にプレ印刷部分である罫線が含まれないようにしておく。 This area includes, for example, the area for name 12, date of birth 13, address 14, issue date 15, number 16, expiration date 17, and other on-demand information in FIG. 3(a). This is an area that includes Alternatively, the area may include a pre-printed part, such as the characters "Name" indicating the column for writing the name 12 or the letters "Address" indicating the column for writing the address 14. In the case of the former (area containing on-demand information), the area should not include ruled lines, which are pre-printed parts.
以下、S401で文字部分の領域を抽出して得られる画像を、文字画像という。図7は、文字画像100の例として、氏名12の領域を抽出して得られる文字画像100の一部を示したものである。文字画像100の横方向は略矩形状のIDカード10の長辺方向に対応し、文字画像100の縦方向はIDカード10の短辺方向に対応する。本実施形態では、オンデマンド情報である氏名12がカーボンなど赤外線を吸収するインキを用いて溶融型熱転写方式で印刷されていることにより、正規のIDカード10の文字画像100であれば、その文字部分が周囲に比べて低輝度の像として現れる。
Hereinafter, the image obtained by extracting the region of the text portion in S401 will be referred to as a text image. FIG. 7 shows, as an example of the character image 100, a part of the character image 100 obtained by extracting the region of the name 12. The horizontal direction of the character image 100 corresponds to the long side direction of the approximately
真贋判定装置3は、文字画像100をリサイズして所定のサイズに縮小し(S402)、グレースケール変換を行う(S403)。これにより、以降の処理が高速化される。グレースケール変換の具体的な方法は特に問わない。グレースケール変換後の文字画像100の画素値は、輝度の大小を示す値となり、明るい画素の画素値が大きく、暗い画素の画素値は小さくなる。以下、この画素値を輝度値という。
The
次に、真贋判定装置3は、文字画像100のノイズ除去処理を行う(S404)。本実施形態では、ノイズ除去処理として、平滑化処理とオープニングが行われる。
Next, the
平滑化処理は、文字画像100中の高周波成分を除去する処理であり、文字画像100中の各画素の輝度値に対し、各種のフィルタ(係数行列)の畳み込み演算を行うことで実施できる。フィルタは、例えば、注目画素の輝度値を、注目画素を中心とする所定の大きさの範囲の画素の平均輝度に置き換えるものであるが、これに限らない。 The smoothing process is a process for removing high frequency components in the character image 100, and can be implemented by performing a convolution operation of various filters (coefficient matrices) on the luminance value of each pixel in the character image 100. For example, the filter replaces the brightness value of the pixel of interest with the average brightness of pixels in a predetermined size range centered on the pixel of interest, but is not limited thereto.
オープニングは、文字画像100に対し、既知の収縮処理と膨張処理(モルフォロジー処理)をこの順に行うものである。例えば収縮処理としては、文字画像100中の注目画素の輝度値を、注目画素を中心とする所定の大きさの範囲(例えば縦5画素×横5画素の範囲)の画素の最小輝度に置き換える処理を、文字画像100中の各画素を注目画素として行うことができる。また膨張処理としては、文字画像100中の注目画素の輝度値を、注目画素を中心とする所定の大きさの範囲の画素の最大輝度に置き換える処理を、文字画像100中の各画素を注目画素として行うことができる。収縮処理と膨張処理をこの順に行うことで、文字画像100中の微小な高輝度部分(白点)が除去される。 In the opening, known contraction processing and expansion processing (morphological processing) are performed on the character image 100 in this order. For example, the shrinking process is a process of replacing the brightness value of the pixel of interest in the character image 100 with the minimum brightness of the pixels in a predetermined size range (for example, a range of 5 pixels vertically x 5 pixels horizontally) centered on the pixel of interest. can be performed using each pixel in the character image 100 as the pixel of interest. Further, as the expansion process, the luminance value of the pixel of interest in the character image 100 is replaced with the maximum luminance of the pixels in a predetermined size range centered on the pixel of interest. It can be done as follows. By performing the contraction process and the expansion process in this order, minute high-brightness portions (white spots) in the character image 100 are removed.
次に、真贋判定装置3は、文字画像100の輝度勾配を算出する(S405)。輝度勾配は、画素間の輝度変化率であり、本実施形態では図8(a)、(b)に例示するSobelフィルタを用いて算出するが、これに限らない。
Next, the
図8(a)は文字画像100の縦方向の輝度勾配を算出するためのSobelフィルタの例であり、文字画像100中の各画素の輝度値に対し、当該フィルタの畳み込み演算を行うことで、各画素の縦方向の輝度勾配の値として、各画素の上下に位置する画素間の輝度変化率が算出される。図9(a)は、各画素の縦方向の輝度勾配の大きさ(絶対値)をグレースケール画像によって可視化したものであり、輝度勾配の大きな部分が白で表されている。 FIG. 8(a) is an example of a Sobel filter for calculating the vertical luminance gradient of the character image 100. By performing a convolution operation of the filter on the luminance value of each pixel in the character image 100, The rate of change in brightness between pixels located above and below each pixel is calculated as the value of the brightness gradient in the vertical direction of each pixel. FIG. 9A shows the magnitude (absolute value) of the brightness gradient in the vertical direction of each pixel visualized using a grayscale image, and parts with large brightness gradients are shown in white.
一方、図8(b)は文字画像100の横方向の輝度勾配を算出するためのSobelフィルタの例であり、文字画像100中の各画素の輝度値に対し、当該フィルタの畳み込み演算を行うことで、各画素の横方向の輝度勾配の値として、各画素の左右に位置する画素間の輝度変化率が算出される。図9(b)は、各画素の横方向の輝度勾配の大きさを図9(a)と同様に可視化したものである。 On the other hand, FIG. 8(b) is an example of a Sobel filter for calculating the horizontal brightness gradient of the character image 100, and the convolution operation of the filter is performed on the brightness value of each pixel in the character image 100. Then, the rate of change in brightness between pixels located on the left and right of each pixel is calculated as the value of the brightness gradient in the horizontal direction of each pixel. FIG. 9(b) is a visualization of the magnitude of the luminance gradient in the horizontal direction of each pixel, similar to FIG. 9(a).
S405では、各画素の輝度勾配の大きさGを、下式(1)に示すように、各画素の縦方向の輝度勾配Gxと横方向の輝度勾配Gyを合成した値、より具体的には、GxとGyの二乗和の平方根によって求める。
G=(Gx2+Gy2)1/2…(1)
In S405, the magnitude G of the brightness gradient of each pixel is determined by the sum of the vertical brightness gradient Gx and the horizontal brightness gradient Gy of each pixel, more specifically, as shown in equation (1) below. , is determined by the square root of the sum of the squares of Gx and Gy.
G=(Gx 2 + Gy 2 ) 1/2 …(1)
真贋判定装置3は、S405で求めた各画素の輝度勾配の大きさGから、判定に用いる指標値を算出する(S406)。S406では、輝度勾配の大きさGが所定の閾値以下となる画素は除外し、残りの画素で輝度勾配の大きさGの平均値を求め、これを指標値とする。
The
上記の閾値は、判定精度向上等の目的に応じて適宜定めることができるが、微小な汚れなど、輝度勾配の大きな少数の画素によって指標値が決定される恐れはある。これを避けるため、本実施形態では、輝度勾配の大きさGが上記の閾値を超える画素が一定数以下の場合は、指標値を0とする。この一定数は、文字画像100の面積(文字画像100の画素数)に所定の割合を掛けたものとする。この割合も、判定精度向上等の目的に応じて適宜定めることができる。 The above threshold value can be determined as appropriate depending on the purpose of improving determination accuracy, etc., but there is a risk that the index value may be determined by a small number of pixels with a large brightness gradient, such as minute dirt. In order to avoid this, in this embodiment, if the number of pixels in which the magnitude G of the brightness gradient exceeds the above threshold value is a certain number or less, the index value is set to 0. This constant number is obtained by multiplying the area of the character image 100 (the number of pixels of the character image 100) by a predetermined ratio. This ratio can also be determined as appropriate depending on the purpose, such as improving determination accuracy.
真贋判定装置3は、S406で算出した指標値を所定の基準値と比較する(S407)ことにより、S401で抽出した文字部分が真であるか否か(正規のIDカード10のものであるか否か)を判別する。
The
例えばS401で抽出した文字部分が、前記したように、正規のIDカード10において溶融型熱転写方式により赤外線を吸収するインキを用いて印刷されている場合、当該文字部分は、文字画像100において周囲に比べ低輝度の像として現れ、S406で算出される指標値は大きくなる。従って、基準値として適当な値を事前に定めることで、S407において指標値が基準値以上であれば文字部分を真と判定でき、基準値未満であれば、文字部分を偽と判定できる。
For example, if the character part extracted in S401 is printed using ink that absorbs infrared rays by the melting type thermal transfer method on the
指標値と基準値の比較結果から真贋をどう判定するかは、S401で抽出した文字部分が、正規のIDカード10においてどのような印刷方式、使用インキ等により印刷されているかで異なる。例えば、S401で抽出した文字部分が、正規のIDカード10において前記と異なる印刷方式、使用インキ等で印刷されていることにより、文字部分が、図10に示すように、文字画像100において低輝度の像として現れない場合もある。この場合は、S407において指標値が基準値以上であれば文字部分を偽と判定でき、基準値未満であれば、文字部分を真と判定できる。
How the authenticity is determined based on the comparison result between the index value and the reference value depends on the printing method, ink, etc. used to print the character portion extracted in S401 on the
これは基準値の値についても同様であり、基準値は、S401で抽出した文字部分が正規のIDカード10においてどのような印刷方式、使用インキ等により印刷されているかに応じて、適切な値に定めることができる。
The same applies to the reference value, and the reference value is an appropriate value depending on the printing method, ink, etc. used to print the character part extracted in S401 on the
真贋判定装置3は、指標値と基準値の比較結果が所定のもの(例えば「指定値が基準値以上」など)であれば(S408;Yes)、文字部分を真とし(S409)、そうでなければ(S408;No)、文字部分を偽とし(S410)、S4の処理を終了する。
If the comparison result between the index value and the reference value is a predetermined one (for example, "the designated value is greater than or equal to the reference value") (S408; Yes), the
なお、前記のS401において複数の文字部分を抽出し、それぞれの文字画像100に対し上記の判定を行っても良い。各文字画像100での判定結果により、IDカード10全体として文字部分が真であるか否かを最終的に決定することができる。その決定方法は特に限定されず、例えば、少なくとも一つの文字画像100で偽と判定されれば文字部分の最終的な判定結果を偽とすることも可能であり、少なくとも一つの文字画像100で真と判定されれば文字部分の最終的な判定結果を真とすることも可能である。その他、偽と判定された文字画像100の数に応じて文字部分の最終的な判定結果を決定することもできる。
Note that a plurality of character parts may be extracted in S401 described above, and the above determination may be performed for each character image 100. Based on the determination result for each character image 100, it can be finally determined whether or not the character portion of the
(6.IDカード10の顔写真18の真贋判定)
図11は、図5のS6における、IDカード10の顔写真18の真贋判定の手順を示すフローチャートである。本実施形態では、S6において、まずS3で受信した赤外線画像から、顔写真18の領域を抽出する(S601)。当該領域も、IDカード10の種類に応じてIDカード10の赤外線画像内の所定の位置に予め設定されており、顔写真18以外の文字や罫線等の要素を含まない領域とされる。
(6. Authenticity determination of face photo 18 on ID card 10)
FIG. 11 is a flowchart showing the procedure for determining the authenticity of the face photo 18 of the
真贋判定装置3は、前記のS402~S404と同様、S601で抽出した顔写真18の領域の画像(以下、顔画像という)のリサイズとグレースケール変換、およびノイズ除去処理を行う(S602~S604)。本実施形態では、S604のノイズ除去処理として、前記した平滑化処理を行う。
Similar to S402 to S404 described above, the
次に、真贋判定装置3は、顔画像のハイライト補正を行う(S605)。IDカード10の種類によっては顔写真18の領域にホログラムが存在する場合もあり、このようなケースでは、ホログラムが赤外線画像中で高輝度となることで判定結果に影響を与える可能性がある。S605のハイライト補正は、IDカード10の真贋とは関係の無いホログラム等の影響を除外する目的で行われる補正である。
Next, the
S605では、顔画像中の各画素の輝度値を所定の閾値と比較し、閾値より大きな輝度を有する画素を高輝度画素とする。そして、当該高輝度画素の輝度値を、上記閾値より低い輝度、より具体的には、顔画像中の高輝度画素以外の画素の平均輝度によって置き換えることができる。上記閾値は、判定精度向上等の目的に応じて適宜定めることができる。 In S605, the brightness value of each pixel in the face image is compared with a predetermined threshold value, and pixels having brightness greater than the threshold value are determined as high-brightness pixels. Then, the brightness value of the high-brightness pixel can be replaced by a brightness lower than the threshold, more specifically, the average brightness of pixels other than the high-brightness pixel in the face image. The above-mentioned threshold value can be determined as appropriate depending on the purpose, such as improving determination accuracy.
真贋判定装置3は、こうして前処理を行った後の顔画像の輝度値から、判定に用いる指標値を算出する(S606)。本実施形態では、この指標値を輝度のばらつきを表す値とし、図12に示すように、輝度値を横軸、画素数を縦軸としたヒストグラムにおける分散σ2を下式(2)によって求める。そして、その平方根σ(標準偏差)を指標値とする。式(2)において、Nは顔画像中の画素数、P1、P2、P3、…、PNは顔画像中の各画素の輝度値、μは顔画像中の全画素の平均輝度である。
σ2=(1/N)・{(P1-μ)2+(P2-μ)2+(P3-μ)2+…+(PN-μ)2}…(2)
The
σ 2 =(1/N)・{(P 1 -μ) 2 +(P 2 -μ) 2 +(P 3 -μ) 2 +...+(P N -μ) 2 }...(2)
真贋判定装置3は、S606で算出した指標値を基準値と比較する(S607)ことにより、顔写真18が真であるか否か(正規のIDカード10のものであるか否か)を判別する。
The
例えば顔写真18が、正規のIDカード10において昇華型熱転写方式によりカーボンを含まないインキを用いて印刷されている場合、S601で抽出した顔画像は、図10の例と同様、全体的に高輝度で輝度のばらつきの小さい画像となり、S606で算出される指標値は小さくなる。従って、基準値として適当な値を事前に定めることで、S607において指標値が基準値以上であれば顔写真18を偽と判定でき、基準値未満であれば、顔写真18を真と判定できる。
For example, if the face photo 18 is printed on the
前記と同様、指標値と基準値の比較結果から真贋をどう判定するか、および、基準値の値は、顔写真18が正規のIDカード10においてどのような印刷方式、使用インキ等により印刷されているかで異なり、その印刷手法に応じて定めることができる。 As mentioned above, how to determine authenticity based on the comparison result between the index value and the reference value, and the value of the reference value depends on what printing method, ink, etc. It can be determined depending on the printing method used.
真贋判定装置3は、指標値と基準値の比較結果が所定のもの(例えば「指標値が基準値未満」など)であれば(S608;Yes)、顔写真18を真とし(S609)、そうでなければ(S608;No)、顔写真18を偽とし(S610)、S6の処理を終了する。
If the comparison result between the index value and the reference value is a predetermined one (for example, "the index value is less than the reference value") (S608; Yes), the
以上説明したように、本実施形態では、正規のIDカード10が所定の印刷方式や使用インキ等により印刷を行うことで製造されており、その特徴が赤外線画像に現れることを利用して真贋判定を行う。例えば、カーボンなど赤外線を吸収するインキで印刷された部分は赤外線画像で低輝度の像として現れ、それ以外の部分は赤外線画像で高輝度の部分となる。そのため、印刷方式や使用インキ等の違いにより正規のIDカード10と判定対象のIDカード10の間で印刷部分の赤外線吸収の有無が異なっていれば、判定対象のIDカード10を赤外線画像により偽と判別できる。
As explained above, in this embodiment, the
また本実施形態では、正規のIDカード10内でも印刷方式や使用インキ等が異なることの多い、IDカード10の文字部分と顔写真18の双方を用いて判定を行うことで、真贋判定を確実に行うことができる。また双方の判定において異なる指標値を用いることで、文字部分と顔写真18の特性の違いに応じた指標値とすることができ、真贋判定の精度が向上する。
Furthermore, in this embodiment, the authenticity can be determined reliably by using both the text part of the
より具体的には、文字部分と顔写真18の特性の違いに応じ、文字部分からの判定時には前記した輝度勾配の平均値を指標値として用い、顔写真18からの判定時には前記した輝度のばらつきを指標値として用いることができる。仮に、使用する指標値を入れ替え、顔写真18について前記した輝度勾配の平均値を指標値とすると、人物の髪色や服装の色のような真贋とは関係の無い要素により指標値が大きく変動することがある。また文字部分は、氏名12や住所14など個人によって文字の数すなわち文字画像100中の文字面積が異なることがあり、文字部分について前記した輝度のばらつきを指標値とすると、文字の多寡により真贋とは関係無く指標値が大きく変動することがある。 More specifically, depending on the difference in characteristics between the text portion and the face photo 18, the average value of the luminance gradient described above is used as an index value when making a judgment from the text portion, and the above-described variation in brightness is used when making a judgment from the face photo 18. can be used as an index value. If the index values used are changed and the average value of the brightness gradient described above for the face photo 18 is used as the index value, the index value will vary greatly due to factors unrelated to authenticity, such as the color of the person's hair and clothing. There are things to do. In addition, the number of characters, that is, the area of the characters in the character image 100, may vary depending on the individual, such as the name 12 or the address 14, and if the above-mentioned variation in brightness for the character part is used as an index value, the number of characters may differ depending on the number of characters. The index value may fluctuate greatly regardless of the
また本実施形態では、前記のS605においてハイライト補正を行うことで、顔写真18中にホログラム等が存在して高輝度となり、顔写真18の判定結果に影響を与えるのを防ぐことができる。また前記のS406で文字部分の判定に用いる指標値を算出する際に、輝度勾配の大きさGが所定の閾値を超える画素が一定数以下の場合は、指標値を0とすることにより、微小な汚れの存在により赤外線画像に大きな輝度勾配ができ、文字部分の判定結果に影響を与えるのを防ぐことができる。 Further, in this embodiment, by performing highlight correction in S605 described above, it is possible to prevent a hologram or the like from being present in the face photo 18 and resulting in high brightness, which would affect the determination result of the face photo 18. In addition, when calculating the index value used for character part determination in S406, if the number of pixels for which the magnitude G of the brightness gradient exceeds a predetermined threshold is less than a certain number, the index value is set to 0, so that the It is possible to prevent large brightness gradients from occurring in the infrared image due to the presence of dirt, which would affect the determination results of text areas.
しかしながら、本発明が以上の実施形態に限定されることはない。例えば本実施形態では指標値として輝度勾配の平均値や輝度のばらつきを利用しているが、指標値は、赤外線画像において赤外線を吸収する印刷部分が現れる度合いを数値として特徴化したものであれば特に限定されない。 However, the present invention is not limited to the above embodiments. For example, in this embodiment, the average value of the brightness gradient and the variation in brightness are used as the index value, but the index value may be a numerical feature that characterizes the degree to which a printed part that absorbs infrared rays appears in an infrared image. Not particularly limited.
また、運転免許証、マイナンバーカード、在留カード、特別永住カードなどIDカード10の種類に応じてS605のハイライト補正は省略することが可能である。また文字部分および顔写真18の判定に用いる基準値も、IDカード10の種類に応じて適宜定めることができる。
Furthermore, the highlight correction in S605 can be omitted depending on the type of
また真贋判定の目的も特に限定されず、金融機関における口座開設時の他、携帯端末の契約時、各種行政機関における手続時の本人確認などに適用することが可能である。 Furthermore, the purpose of determining authenticity is not particularly limited, and can be applied to identity verification when opening an account at a financial institution, when signing a contract for a mobile terminal, and during procedures at various administrative agencies.
以上、添付図面を参照して、本発明の好適な実施形態について説明したが、本発明は係る例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 Although preferred embodiments of the present invention have been described above with reference to the accompanying drawings, the present invention is not limited to such examples. It is clear that those skilled in the art can come up with various changes or modifications within the scope of the technical idea disclosed in this application, and these naturally fall within the technical scope of the present invention. Understood.
1:真贋判定システム
2:読取装置
3:真贋判定装置
10:IDカード
301:取得手段
302:真贋判定手段
1: Authenticity determination system 2: Reading device 3: Authenticity determination device 10: ID card 301: Acquisition means 302: Authenticity determination means
Claims (5)
前記本人確認証の赤外線画像を取得する取得手段と、
前記赤外線画像から得た前記本人確認証の文字部分の画像、および、前記赤外線画像から得た前記本人確認証の顔写真の画像のそれぞれから互いに異なる指標値を算出し、各指標値を基準値と比較することで、前記文字部分と前記顔写真が正規の本人確認証のものであるかをそれぞれ判定する真贋判定手段と、
を有し、
前記真贋判定手段は、前記文字部分と前記顔写真のいずれかが正規の本人確認証のものでないと判定される場合、前記本人確認証を偽とすることを特徴とする真贋判定装置。 An authenticity determination device that determines the authenticity of an identification card having a face photo, the device comprising:
acquisition means for acquiring an infrared image of the identification card;
Different index values are calculated from each of the image of the character part of the identification card obtained from the infrared image and the image of the face photo of the identification card obtained from the infrared image, and each index value is set to a reference value. Authenticity determining means for determining whether the character part and the facial photograph are genuine identification documents by comparing the two with each other;
has
The authenticity determining device is characterized in that, when it is determined that either the text portion or the face photograph is not a genuine identity verification document, the authenticity determination means determines that the identity verification document is false.
前記文字部分の判定で用いる指標値を、前記文字部分の画像内の画素の輝度勾配の大きさの平均値によって求め、
前記顔写真の判定で用いる指標値を、前記顔写真の画像内の画素の輝度のばらつきによって求めることを特徴とする請求項1記載の真贋判定装置。 The authenticity determining means is
An index value used in determining the character part is determined by an average value of the brightness gradient of pixels in the image of the character part,
2. The authenticity determining device according to claim 1, wherein the index value used in determining the facial photograph is determined based on variations in brightness of pixels within an image of the facial photograph.
顔写真を有する本人確認証の真贋判定を行う真贋判定装置であって、
前記本人確認証の赤外線画像を取得する取得手段と、
前記赤外線画像から得た前記本人確認証の文字部分の画像、および、前記赤外線画像から得た前記本人確認証の顔写真の画像のそれぞれから互いに異なる指標値を算出し、各指標値を基準値と比較することで、前記文字部分と前記顔写真が正規の本人確認証のものであるかをそれぞれ判定する真贋判定手段と、
を有し、
前記真贋判定手段は、前記文字部分と前記顔写真のいずれかが正規の本人確認証のものでないと判定される場合、前記本人確認証を偽とすることを特徴とする真贋判定装置として機能させるためのプログラム。 computer,
An authenticity determination device that determines the authenticity of an identification card having a face photo, the device comprising:
acquisition means for acquiring an infrared image of the identification card;
Different index values are calculated from each of the image of the character part of the identification card obtained from the infrared image and the image of the face photo of the identification card obtained from the infrared image, and each index value is set as a reference value. Authenticity determining means for determining whether the character part and the facial photograph are genuine identification documents by comparing the two with each other;
has
The authenticity determining means functions as an authenticity determining device characterized in that when it is determined that either the text portion or the face photograph is not a genuine identity verification document, the identity verification document is determined to be false. program for.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022099521A JP2024000682A (en) | 2022-06-21 | 2022-06-21 | Authenticity determination device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022099521A JP2024000682A (en) | 2022-06-21 | 2022-06-21 | Authenticity determination device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024000682A true JP2024000682A (en) | 2024-01-09 |
Family
ID=89451755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022099521A Pending JP2024000682A (en) | 2022-06-21 | 2022-06-21 | Authenticity determination device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2024000682A (en) |
-
2022
- 2022-06-21 JP JP2022099521A patent/JP2024000682A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6918148B2 (en) | Certificate verification methods, devices, electronics and storage media | |
US11023708B2 (en) | Within document face verification | |
CN101506851B (en) | Paper sheet identification device and paper sheet identification method | |
EP2495689B1 (en) | Sign authentication system and sign authentication method | |
US10482324B2 (en) | Method for analyzing a structured document likely to be deformed | |
JPH01161490A (en) | Image decomposing copy reference system | |
CN102999750A (en) | Scene fingerprint enhancing method removing background interference | |
WO2017141006A1 (en) | Method and apparatus for detection of document tampering | |
JP2019209603A (en) | Authenticity determination device and program | |
JP2004112223A (en) | Id card, id card generating apparatus, and id card reader | |
JP2011034535A (en) | Apparatus for appraising genuineness of personal identification document | |
JP2005084980A (en) | Data generation unit for card with face image, method and program | |
JP2019117549A (en) | Authenticity determination device, reader, authenticity determination system, and program | |
CN108197624A (en) | The recognition methods of certificate image rectification and device, computer storage media | |
JP2024000682A (en) | Authenticity determination device and program | |
JP4117675B2 (en) | Method and program for creating card photo data | |
JP7435007B2 (en) | Authenticity determination terminal and program | |
JP7052894B2 (en) | Judgment device and program | |
US12002250B2 (en) | Method for processing digital images | |
JP2024025052A (en) | Authenticity determination device and program | |
JP2023167099A (en) | Authenticity determination device, program, and scanner | |
JP2005122395A (en) | Medium for certification, device for issuing the same, and face collating device | |
JP2024034287A (en) | Authenticity determination device and program | |
EP4202857A1 (en) | Texture-based authentication of digital identity documents | |
JP2023038532A (en) | Authenticity determination apparatus and program |