JP4729363B2 - Photo side detection device, ID card creation device, photo side detection method, and ID card creation method - Google Patents
Photo side detection device, ID card creation device, photo side detection method, and ID card creation method Download PDFInfo
- Publication number
- JP4729363B2 JP4729363B2 JP2005231957A JP2005231957A JP4729363B2 JP 4729363 B2 JP4729363 B2 JP 4729363B2 JP 2005231957 A JP2005231957 A JP 2005231957A JP 2005231957 A JP2005231957 A JP 2005231957A JP 4729363 B2 JP4729363 B2 JP 4729363B2
- Authority
- JP
- Japan
- Prior art keywords
- photo
- photograph
- infrared
- sides
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims description 39
- 238000000034 method Methods 0.000 title claims description 30
- 238000003331 infrared imaging Methods 0.000 claims description 28
- 238000003708 edge detection Methods 0.000 claims description 22
- 238000003384 imaging method Methods 0.000 claims description 21
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 230000001678 irradiating effect Effects 0.000 claims description 6
- 238000005286 illumination Methods 0.000 description 26
- 230000001815 facial effect Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000032258 transport Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000000463 material Substances 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
Images
Description
本発明は、写真が貼付された用紙から写真辺を検出する写真辺検出装置、当該写真辺検出装置を有するIDカード作成装置、写真辺検出方法及びIDカード作成方法に関する。 The present invention relates to a photo side detection device that detects a photo side from a sheet on which a photo is pasted, an ID card creation device having the photo side detection device, a photo side detection method, and an ID card creation method.
従来から、社員証、免許証、各種会員証カード等のIDカードには、カード保有者の識別番号、氏名、有効期限等の情報を印字したものの他に、顔写真を印字したものがある。この顔写真が印字されたIDカードの作成には、当該IDカードの作成時に発行対象者のIDカード申請用紙上の所定位置に貼り付けられた顔写真を読み取り、その読み取った画像を元に行うものがある。 Conventionally, ID cards such as employee cards, driver's licenses, and various membership card cards have printed face photographs in addition to printed information such as the cardholder's identification number, name, and expiration date. The creation of the ID card on which the face photo is printed is performed based on the read face image pasted at a predetermined position on the ID card application form of the issuer at the time of creation of the ID card. There is something.
このIDカード申請用紙上の顔写真を読み取ってIDカードを作成する場合は、IDカードに印字される顔写真のずれや傾きを防止するため、申請用紙に貼り付けられた顔写真位置を確実に検出する必要がある。 When creating an ID card by reading the face photo on the ID card application form, make sure the position of the face photo pasted on the application form to prevent the face photo printed on the ID card from shifting or tilting. It needs to be detected.
特許文献1には、申請用紙上の顔写真の貼付位置を確実に検出する技術として、申請用紙を透過する電磁波を検知する技術が開示されている。また、特許文献2には、撮像した画像から申請用紙上に貼付された顔写真のエッジを検出して、そのエッジを含まない顔写真画像をIDカード用画像として抽出する技術が開示されている。
しかしながら、申請用紙を透過する電磁波を検知する場合は、その申請用紙や貼付する写真の厚さに写真位置を検知する精度が影響される可能性があり、より精度の高い検出を行うために申請用紙・写真の厚さや素材を制限する必要があった。 However, when detecting electromagnetic waves that pass through the application form, the accuracy of detecting the position of the photo may be affected by the thickness of the application form or the photo to be applied, so apply for more accurate detection. It was necessary to limit the thickness and material of paper and photos.
また、撮像した画像から写真のエッジを検出する場合は、良好な顔写真を取得するために乱反射しないような均一な照明光の元や、写真の背景色や濃度が申請用紙と似通っている時にはエッジ検出が困難であることが判明した。 In addition, when detecting the edge of a photograph from the captured image, when the source of uniform illumination light that does not diffusely reflect in order to obtain a good facial photograph, and when the background color and density of the photograph are similar to the application form Edge detection proved difficult.
本発明は、このような課題に鑑みてなされたものであり、その目的とするところは、用紙に貼付された写真位置をずれることなく正確に取得する技術を提供することである。 The present invention has been made in view of such problems, and an object of the present invention is to provide a technique for accurately acquiring the position of a photograph attached to a sheet without shifting.
上記課題を解決するために、請求項1に記載の発明の写真辺検出装置は、用紙上に貼付された方形状の写真に向けて赤外線を照射し、当該写真の少なくとも一の辺に沿って当該辺に対応する辺影を前記用紙上に投影する赤外線照射手段と、前記辺影を撮像する赤外線撮像手段と、前記赤外線撮像手段により撮像された画像に基づいて前記写真の少なくとも一の辺を検出する検出手段と、を備えたことを特徴とする。 In order to solve the above-mentioned problem, the photo edge detecting device according to claim 1 irradiates infrared rays toward a square-shaped photo stuck on paper, and along at least one side of the photo. Infrared irradiation means for projecting a shadow corresponding to the side onto the paper, infrared imaging means for capturing the shadow, and at least one side of the photograph based on an image captured by the infrared imaging means And detecting means for detecting.
請求項2に記載の発明は、請求項1に記載の発明において、前記赤外線撮像手段は、前記赤外線照射手段により投影される辺影側から写真方向を撮像することを特徴とする。 According to a second aspect of the present invention, in the first aspect of the invention, the infrared imaging unit images a photographic direction from a side of a shadow projected by the infrared irradiation unit.
請求項3に記載の発明は、請求項1又は2に記載の発明において、前記赤外線照射手段は、用紙上に貼付された方形状の写真に向けて赤外線を照射し、当該写真の相隣る二つの辺に沿って当該辺に対応する辺影を前記用紙上に投影し、前記検出手段は、前記赤外線撮像手段により撮像された画像に基づいて前記写真の相隣る二辺を検出することを特徴とする。
また、請求項4に記載の発明は、請求項1〜3のいずれか一項に記載の発明において、前記赤外線照射手段は、用紙上に貼付された方形状の写真に向けて異なる方向から赤外線を切り替えて照射し、当該写真の複数の相隣る二つの辺に沿って当該辺に対応する辺影を前記用紙上に投影し、前記検出手段は、前記赤外線撮像手段により撮像された画像に基づいて前記写真の複数の辺を検出することを特徴とする。
The invention according to
Further, the invention according to
請求項5に記載の発明は、請求項4に記載の発明において、前記赤外線照射手段は、2つの長辺と当該長辺に挟まれた短辺の3つの辺に沿って当該辺に対応する辺影を前記用紙上に投影することを特徴とする。
The invention according to claim 5 is the invention according to
請求項6に記載の発明は、請求項1〜5のいずれか一項に記載の発明において、前記赤外線撮像手段の画素ごとにおける明るさの閾値を記憶する記憶手段を更に備え、前記検出手段は、前記記憶された閾値に基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする。 The invention according to claim 6 is the invention according to any one of claims 1 to 5 , further comprising storage means for storing a brightness threshold value for each pixel of the infrared imaging means, wherein the detection means is Further, it is characterized in that a shadow is determined for each pixel based on the stored threshold value, and a side of the photograph is detected.
請求項7に記載の発明は、請求項1〜5のいずれか一項に記載の発明において、前記赤外線撮像手段の画素ごとに当該画素における信号値のレンジ変換を行う変換手段と、前記検出手段は、予め定められた閾値と前記変換された信号値とに基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする。 The invention according to claim 7 is the invention according to any one of claims 1 to 5 , wherein for each pixel of the infrared imaging means, a conversion means for performing a range conversion of a signal value in the pixel, and the detection means Is characterized in that a shadow is determined for each pixel based on a predetermined threshold value and the converted signal value, and a side of the photograph is detected.
請求項8に記載の発明のIDカード作成装置は、請求項1〜7のいずれか一項に記載の写真辺検出装置と、用紙上に貼付された写真を含む領域を読み取る読取手段と、前記検出手段により検出された写真の辺の情報に基づいて、前記読み取られた画像から写真画像を抽出し、当該抽出された写真画像を含むIDカードを生成するカード生成手段と、を備えたことを特徴とする。 ID card-making apparatus of the invention described in claim 8, and a photograph edge detecting device according to any one of 請 Motomeko 1-7, and reading means for reading an area containing the photograph affixed onto the paper, Card generation means for extracting a photographic image from the read image based on information on a side of the photograph detected by the detection means and generating an ID card including the extracted photographic image; It is characterized by.
請求項9に記載の発明の写真辺検出方法は、用紙上に貼付された方形状の写真に向けて赤外線を照射し、当該写真の少なくとも一の辺に沿って当該辺に対応する辺影を前記用紙上に投影する赤外線照射工程と、前記辺影を撮像する赤外線撮像工程と、前記赤外線撮像工程により撮像された画像に基づいて前記写真の少なくとも一の辺を検出する検出工程と、を有することを特徴とする。 According to a ninth aspect of the present invention , there is provided a photo edge detection method that irradiates infrared rays toward a square-shaped photograph affixed on a sheet, and adds a shadow corresponding to the edge along at least one edge of the photograph. An infrared irradiation process for projecting onto the paper; an infrared imaging process for imaging the shadow; and a detection process for detecting at least one side of the photograph based on an image captured by the infrared imaging process. It is characterized by that.
請求項10に記載の発明は、請求項9に記載の発明において、前記赤外線撮像工程では、前記赤外線照射工程により投影される辺影側から写真方向を撮像することを特徴とする。 The invention described in claim 10 is characterized in that, in the invention described in claim 9 , in the infrared imaging step, a photographic direction is imaged from a shadow side projected by the infrared irradiation step.
請求項11に記載の発明は、請求項9又は10に記載の発明において、前記赤外線照射工程では、用紙上に貼付された方形状の写真に向けて赤外線を照射し、当該写真の相隣る二つの辺に沿って当該辺に対応する辺影を前記用紙上に投影し、前記検出工程では、前記赤外線撮像工程により撮像された画像に基づいて前記写真の相隣る二辺を検出することを特徴とする。
また、請求項12に記載の発明は、請求項9〜11のいずれか一項に記載の発明において、前記赤外線照射工程では、用紙上に貼付された方形状の写真に向けて異なる方向から赤外線を切り替えて照射し、当該写真の複数の相隣る二つの辺に沿って当該辺に対応する辺影を前記用紙上に投影し、前記検出工程では、前記赤外線撮像工程により撮像された画像に基づいて前記写真の複数の辺を検出することを特徴とする。
The invention according to claim 11 is the invention according to claim 9 or 10 , wherein, in the infrared irradiation step, infrared rays are irradiated toward a square-shaped photograph affixed on a sheet, and the photographs are adjacent to each other. Projecting shadows corresponding to the sides along the two sides onto the sheet, and detecting two adjacent sides of the photograph based on the image captured by the infrared imaging step in the detection step. It is characterized by.
The invention according to claim 12 is the invention according to any one of claims 9 to 11, wherein in the infrared irradiation step, infrared rays are emitted from different directions toward a square-shaped photograph affixed on paper. , And projecting shadows corresponding to the sides along the two adjacent sides of the photograph on the paper, and in the detection step, the image captured by the infrared imaging step A plurality of sides of the photograph are detected based on the basis.
請求項13に記載の発明は、請求項12に記載の発明において、前記赤外線照射工程では、2つの長辺と当該長辺に挟まれた短辺の3つの辺に沿って当該辺に対応する辺影を前記用紙上に投影することを特徴とする。 The invention according to claim 13 corresponds to the side in the invention according to claim 12 , wherein the infrared irradiation step corresponds to the side along three sides of two long sides and a short side sandwiched between the long sides. A side shadow is projected onto the paper.
請求項14に記載の発明は、請求項9〜13のいずれか一項に記載の発明において、前記検出工程では、予め記憶された赤外線撮像手段の画素ごとにおける明るさの閾値に基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする。 According to a fourteenth aspect of the present invention, in the invention according to any one of the ninth to thirteenth aspects, in the detection step, for each pixel based on a threshold value of brightness for each pixel of the infrared imaging means stored in advance. In this case, the side of the photograph is detected and the side of the photograph is detected.
請求項15に記載の発明は、請求項9〜13のいずれか一項に記載の発明において、赤外線撮像手段の画素ごとに当該画素における信号値のレンジ変換を行う変換工程を更に有し、前記検出工程では、予め定められた閾値と前記変換された信号値とに基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする。 The invention according to claim 15 further includes a conversion step of performing a range conversion of a signal value in the pixel for each pixel of the infrared imaging means in the invention according to any one of claims 9 to 13 , In the detecting step, a shadow is determined for each pixel based on a predetermined threshold value and the converted signal value, and a side of the photograph is detected.
請求項16に記載の発明のIDカード作成方法は、請求項9〜15のいずれか一項に記載の写真辺検出方法と、用紙上に貼付された写真を含む領域を読み取る読取工程と、前記検出工程により検出された写真の辺の情報に基づいて、前記読み取られた画像から写真画像を抽出し、当該抽出された写真画像を含むIDカードを生成するカード生成工程と、を有することを特徴とする。 ID card-making method of the invention according to claim 16, the photo side detection method according to any one of 請 Motomeko 9-15, a reading step reading a region including a photograph affixed onto the paper, A card generation step of extracting a photographic image from the read image and generating an ID card including the extracted photographic image based on information on a side of the photograph detected by the detection step. Features.
請求項1、9に記載の発明によれば、写真の少なくとも一の辺を検出することができ、用紙や写真の色合いや素材に影響されずに、写真位置の検出をずれることなく正確に行うことができる。 According to the first and ninth aspects of the present invention, at least one side of a photograph can be detected, and the position of the photograph is accurately detected without being affected by the color or material of the paper or the photograph. be able to.
請求項2、10に記載の発明によれば、より幅の広くコントラストの高い辺影を撮像することができ、写真位置の検出をより正確に行うことができる。 According to the second and tenth aspects of the present invention, it is possible to capture a wider and high-contrast shadow, and to detect the photographic position more accurately.
請求項3、11に記載の発明によれば、写真の相隣る二辺を検出することができる。
また、請求項4、12に記載の発明によれば、複数の辺影を検出することでより精度の高い写真位置の検出を行うことができる。
According to the third and eleventh aspects of the present invention, two adjacent sides of a photograph can be detected.
According to the inventions described in
請求項5、13に記載の発明によれば、長辺に比べて誤差の割合が大きくなる短辺の位置を正確に測定することができ、より精度の高い写真位置の検出を行うことができる。 According to the inventions of claims 5 and 13 , the position of the short side where the error rate is larger than that of the long side can be accurately measured, and the photo position can be detected with higher accuracy. .
請求項6、7、14、15に記載の発明によれば、照射される赤外線による画像から辺影の判別を行う際に局所的な明るさの違いによる影響を抑えることができ、より精度の高い写真位置の検出を行うことができる。 According to the inventions described in claims 6, 7, 14, and 15 , it is possible to suppress the influence due to the difference in local brightness when determining the shadow from the image by the irradiated infrared rays, and it is possible to more accurately. High photo position can be detected.
請求項8、16に記載の発明によれば、用紙上に貼付された写真画像から写真画像を含むIDカードの作成をより正確に行うことができる。 According to the inventions described in claims 8 and 16 , an ID card including a photographic image can be more accurately created from a photographic image pasted on a sheet.
以下、図1〜図5を参照して本発明の実施形態について詳細に説明するが、この発明は、この実施の形態に限定されない。また、この発明の実施の形態は発明の最も好ましい形態を示すものであり、発明の用語や用途などをこれに限定しない。 Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 1 to 5, but the present invention is not limited to these embodiments. Further, the embodiment of the present invention shows the most preferable embodiment of the invention, and the terms and uses of the invention are not limited to this.
図1は、本発明であるIDカード作成装置1の構成を示す構成図であり、図2は、申請用紙3における顔写真4の貼付を例示する図であり、図3(a)は、顔写真撮像部50の撮像位置における辺影の撮像を例示する図であり、図3(b)は、撮像位置における顔写真4をCCDカメラ51方向から見た時の赤外線照明灯と赤外線カメラの位置関係を例示する図であり、図4は、申請用紙に貼付された顔写真から顔画像に関するデータを抽出する処理を示すフローチャートであり、図5は、赤外線照明による辺影からの顔写真のエッジ検出を例示する図である。
FIG. 1 is a block diagram showing the configuration of an ID card creation device 1 according to the present invention, FIG. 2 is a diagram illustrating the application of a
図1に示すように、IDカード作成装置1には、上部に自動供給部30が、その下部に番号読取部40が、その下部に顔写真撮像部50が、その下部に情報読取部60が配置されており、当該IDカード作成装置1の各部を統括制御する制御部21により、帳票に記載された証明番号や各種情報を読み取ると共に、帳票に貼付された顔写真を読み取ることでIDカードを作成するための情報を取り込む構成である。
As shown in FIG. 1, the ID card making apparatus 1 has an
制御部21は、特に図示しないCPU(Central Processing Unit)、ROM(Read Only Memory)及びRAM(Random Access Memory)などを備え、CPUにおいてRAMの所定領域を作業領域とし、ROMや不揮発性のメモリや光学的/磁気的な記憶媒体である記憶部23に格納された各種プログラムを読み込んで順次実行することで、IDカード作成装置1の動作を統括制御する。なお、記憶部23は、各種プログラムの他に、IDカード作成装置1の動作に関する設定データを格納する構成であって良い。
The
IDカード用プリンタ22は、制御部21からの指示に応じて、紙やプラスチックなどのIDカードの記録面に、上述の取り込んだ情報に基づいた各種情報や、申請用紙に貼付された顔写真に基づいた顔画像を印字するプリンタなどである。なお、IDカード用プリンタ22は、IDカードに設けられたICタグや磁気/光学的に読み書きが可能な記憶媒体に上記各種情報や顔画像に関するデータを格納する構成であっても良い。
In response to an instruction from the
自動供給部30には、カード状の帳票である申請用紙を格納して当該申請用紙を順次供給する申請用紙供給部31と、短冊状の帳票である台紙を供給する台紙供給部32とが備えられている。申請用紙供給部31には申請用紙トレー33がセットされ、台紙供給部32には台紙トレー34がセットされる。申請用紙トレー33からの申請用紙と、台紙トレー34からの台紙を搬送する共通の搬送部70が備えられ、この搬送部70の搬送路71に沿って証明番号等を読み取る番号読取部40と、顔写真を読み取る顔写真撮像部50とが配置されている。
The
申請用紙供給部31に格納される申請用紙は、発行希望者がIDカードを発行するために氏名、住所、生年月日等の自身に関する情報の記載と当該発行希望者の顔写真を貼付したものである。具体的には、図2に示すように、申請用紙3は、自身の情報を記載する情報記入領域301、顔写真4を貼付する写真貼付領域302及び当該申請用紙の証明番号などを記載する用紙番号記載領域303を有する。なお、台紙は、例えば作成するIDカードが免許証などの場合における撮影台紙などである。
The application form stored in the application
番号読取部40には、OCRリーダ41が備えられ、OCRリーダ41により申請用紙3の用紙番号記載領域303から証明番号等を読み取り、この読み取り情報は解読部42で解読されてCPU54に送られ、CPU54から制御部21へ送られる。
The
顔写真撮像部50は、CCDカメラ51(Charge-Coupled Device)が備えられ、そのCCDカメラ51の略正面に写真貼付領域302が配される撮像位置に搬送された申請用紙3を撮像し、その申請用紙3に貼付された顔写真4を読み取り、アナログ色信号を画像処理部52へ送り、画像処理部52で画像処理した顔画像に関するデータを制御部21へ送る。CCDカメラ51には顔写真4の撮像時に当該顔写真を照明する照明灯53が備えられ、CCDカメラ51はCPU54で制御される。顔写真撮像部50には、台紙を情報読取部60のスキャナー部61の手前で分岐し排出する台紙排出部55を備えており、切り替え弁56の操作で搬送路71を切り替えて台紙をスキャナー部61の手前で分岐し、台紙バケット57へ排出する。
The face
また、顔写真撮像部50は、CPU54で制御される赤外線照明灯58、赤外線カメラ59及びエッジ検出部54aを備え、撮像位置にある顔写真4に対して赤外線照明灯58から赤外線を照射し、厚みにより顔写真4の縁に生じる辺影を含む画像を赤外線カメラ59で撮像する。そして、エッジ検出部54aでその画像から辺影を所定の閾値との比較による2値化などにより判別し、エッジを検出してその検出結果をCPU54に出力する。このように、赤外線照明による辺影でエッジを検出する構成では、申請用紙3や顔写真4の絵柄や色の影響を受けることがないため、申請用紙や写真の色、素材等に影響されることなく、エッジ検出を行うことができる。
The face
撮像位置において申請用紙3に貼付された顔写真4に対するCCDカメラ51、赤外線照明灯58及び赤外線カメラ59の配置は、図3(a)に示すように、CCDカメラ51が顔写真4の略正面上方に配され、赤外線照明灯58及び赤外線カメラ59が顔写真4の斜め上方から顔写真4方向を向いた形で配される構成である。このように、赤外線照明灯58からの赤外線照射を顔写真4に対して斜め上方から行うことで充分な幅をもった辺影Kを現すことができるため、当該辺影Kによるエッジ検出を容易にすることができる。
As shown in FIG. 3A, the
また、赤外線カメラ59はCCDカメラ51と略同一方向から顔写真4を撮像する構成でも良いが、同図に示すように、赤外線照明灯58と赤外線カメラ59とは、顔写真4を挟んで互いに向かい側、つまり辺影が現れる側に顔写真4方向を向いて配置される構成が好適である。この場合は、充分な幅を持ったコントラストの高い辺影Kを撮像することができるため、2値化などによるエッジ判定の精度を高めることができる。
In addition, the
また、赤外線照明灯58は、図3(b)に示すように、顔写真4に対して二つの辺影が現れる位置に配置される構成である。つまり、赤外線照明灯58aからの赤外線照射では辺影K2、K3が、赤外線照明灯58bからの赤外線照射では辺影K1、K2が顔写真4の縁に現れる。なお、赤外線照明灯58a、58bは、制御部21の制御指示に応じて、顔写真4に対して順次切り換えて赤外線を照射する構成であって良い。この場合は、赤外線カメラ59ではそれらの辺影を撮像することができ、より多くの辺影からエッジの検出を行うことができる。
Moreover, the
なお、赤外線照明灯の数は、3つ又は4つであってもよく、特に限定するものではない。例えば、赤外線カメラ59が同図に示す位置で3つの赤外線照明灯を備える場合は、赤外線カメラ59と顔写真4を挟んで対向する辺及びその辺と接する辺に対して略垂直に斜め上方から照射する位置に赤外線照明灯を備える構成である場合に上記辺影K1〜K3を効率良く現すことができる。また、4つである場合は、顔写真4のそれぞれの辺に略垂直に斜め上方から照射する位置に赤外線照明灯を備え、顔写真4の略正面に赤外線カメラ59を備える構成が好適である。
Note that the number of infrared illumination lamps may be three or four, and is not particularly limited. For example, when the
また、同図に示すように、顔写真4が長辺と短辺の矩形状である場合の2つの長辺と当該長辺に挟まれた短辺側に辺影K1〜K3を投影する構成では、短辺の位置及び長さを精度良く測定することができ、長辺に比べて誤差の割合の大きくなる短辺の測定精度を高めることで、より精度の高い写真位置の検出を行うことができる。
In addition, as shown in the figure, when the
ここで、制御部21が統括して行う、申請用紙3に貼付された顔写真4を顔写真撮像部50で撮像して顔画像に関するデータを抽出する処理について、詳細に説明する。
Here, a process performed by the
図4に示すように、先ず、申請用紙3が前述した撮像位置に搬送され、(ステップS11)、IDカード用の画像として少なくとも写真貼付領域302を含んだ領域がCCDカメラ51で撮像され(ステップS12)、上述した赤外線照明灯58と赤外線カメラ59により顔写真4のエッジ検出用の画像として赤外線画像が撮像される(ステップS13)。
As shown in FIG. 4, first, the
次いで、エッジ検出処理として、撮像された赤外線画像を予め定められた明るさに関する閾値で2値化して辺影を判別し、その辺影の内側の縁の座標、つまり、写真のエッジに対応する部分の座標を複数取得し、その取得した座標を元にハフ法などの公知の方法で写真のエッジと等価な辺(直線)を求める処理が行われる(ステップS14)。具体的には、図5に示すように、2つ方向から順次赤外線を照射して2つの赤外線画像を撮像する場合は、その2つの赤外線画像から辺影を判別して座標を取得することで、写真のエッジと等価な3辺を取得することができる。また、1つの赤外線照明では、2つの相隣る辺を取得することができる。 Next, as an edge detection process, the captured infrared image is binarized with a threshold value relating to a predetermined brightness to determine the shadow, and corresponds to the coordinates of the inner edge of the shadow, that is, the edge of the photograph. A plurality of coordinates of the part are acquired, and processing for obtaining a side (straight line) equivalent to the edge of the photograph is performed by a known method such as the Hough method based on the acquired coordinates (step S14). Specifically, as shown in FIG. 5, when two infrared images are captured by sequentially irradiating infrared rays from two directions, a shadow is determined from the two infrared images to obtain coordinates. 3 sides equivalent to the edges of the photograph can be obtained. In addition, with one infrared illumination, two adjacent sides can be acquired.
また、エッジ検出処理における辺影の判別の際の明るさに関する閾値は、赤外線カメラ59における画素ごとに設定され、記憶部23に格納される構成であってよい。この場合は、赤外線照明光による画像から辺影の判別を行う際に局所的な明るさの違い(図5を参照)による影響を抑えることができる。なお、エッジ検出処理における辺影の判別は、赤外線カメラ59における画素ごとに出力する信号値のレンジを変換し、1つの明るさに関する閾値を元に行う構成であってもよい。この場合も同様に、辺影の判別を行う際の局所的な明るさの違いによる影響を抑えることができる。
In addition, the threshold value regarding the brightness at the time of discrimination of the shadow in the edge detection process may be set for each pixel in the
また、エッジ検出処理においては、ハフ法などの過程で求められた写真のエッジと等価な辺(直線)とデータ(辺影の内側の縁の座標)の検定を行い、直線に対するデータの信憑性が低い場合、つまり、写真や申請書の表面やエッジに異物などが付着してノイズとなっている場合や写真がまっすぐに裁断されていないなどの場合に、後段の処理に対してデータの信憑性が低い旨の警告を出力する構成であっても良い。この場合は、出力される警告を元に、IDカード用プリンタ22でのIDカードの作成の中断や、特に図示しないLCD(Liquid Crystal Display)などの表示部に警告表示を行って手動による補正を促すなどの処理を後段で行い、不正なIDカードの作成を防止してロスを低減させることができる。
In the edge detection process, the side (straight line) equivalent to the edge of the photograph and the data (coordinates of the inner edge of the shadow) obtained from the process such as the Hough method are tested, and the authenticity of the data with respect to the straight line is verified. If the image is low, that is, if there is noise due to foreign matter adhering to the surface or edge of the photo or application form, or if the photo is not cut straight, the data credibility for the subsequent processing It may be configured to output a warning that the performance is low. In this case, based on the output warning, the
また、エッジ検出処理においては、求められた写真のエッジから顔写真の大きさや写真貼付領域302における顔写真4のずれを検知し、予め記憶部23に格納された規定値と比較してその規定値を上回る場合は後段の処理に対して警告を出力する構成であって良い。この構成では、顔写真の大きさが規定からはずれる場合や顔写真の貼付がずれることで発生するデータ欠損や画質劣化により、拡大・縮小・回転などによる補正が困難な場合において、不正なIDカードの作成を出力される警告を元に予め防止してロスを低減させることができる。
Further, in the edge detection process, the size of the face photograph or the shift of the
次いで、検出された写真のエッジを元にIDカード用画像のトリミング、つまり、写真貼付領域302に貼付された顔写真4からその写真の縁より内側の顔画像に関する情報が抽出され(ステップS15)、申請用紙3が後段に排出されて(ステップS16)、終了する。
Next, trimming of the ID card image based on the detected edge of the photo, that is, information on the face image inside the edge of the photo is extracted from the
情報読取部60には、証明番号及び顔写真の読み取り後、申請用紙3の情報記入領域301から情報を読み取るスキャナー部61が備えられ、スキャナー部61はCPU62で制御され、読取情報はCPU62により制御部21へ送られる。スキャナー部61により読取が終了した申請用紙は申請書バケット63へ排出される。制御部21では、証明番号を読み取ると共に、顔写真を読み取ることでIDカードを作成するための情報を取り込み、IDカード用プリンタ22へ出力してIDカードを作成する。
The
搬送部70は、搬送路71を搬送ローラ7201〜7213によって形成し、この搬送ローラ7201〜7213はステッピングモータ73を動力源とする動力伝達手段74により駆動可能になっている。ステッピングモータ73は、CPU54の制御指示に応じて動力伝達手段74の移動量を調整な構成であり、正確に申請用紙3の搬送位置を制御することができる。動力伝達手段74は、例えばベルトで構成される。
The
以上のように、IDカード作成装置1は、申請用紙3に貼付された顔写真4を読み取る際に、赤外線照明灯58からの赤外線照射により顔写真4の相隣る辺に沿って当該辺に対応する辺影を投影し、赤外線カメラ59でその辺影を撮像し、当該撮像された辺影を判別して顔写真4のエッジを検出する構成である。このため、用紙や写真の色合いや素材に影響されずに、写真位置の検出をずれることなく正確に行うことができる。
As described above, when the ID card creation device 1 reads the
また、上記構成で検出した顔写真4のエッジに基づいてCCDカメラ51で読み取った顔写真4を含む画像から写真画像を抽出し、当該抽出された写真画像を含むIDカードをIDカード用プリンタ22で作成する構成であるため、用紙上に貼付された写真画像から写真画像を含むIDカードの作成を、申請用紙や写真の色合いや素材に影響されずに正確に行うことができる。
Further, a photographic image is extracted from an image including the
なお、本実施の形態における記述は、本発明の一例を示すものであり、これに限定しない。本発明におけるIDカード作成装置1の細部構成及び細部動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。例えば、赤外線カメラ59は、辺影を撮像可能に配置されていれば良く、CCDカメラ51の位置から顔写真4方向を撮像する構成などであってよい。また、CCDカメラ51は、CMOS(Complementary Metal-Oxide Semiconductor)を用いたデジタルカメラなどであってよい。
Note that the description in the present embodiment shows an example of the present invention, and the present invention is not limited to this. The detailed configuration and detailed operation of the ID card creation device 1 according to the present invention can be changed as appropriate without departing from the spirit of the present invention. For example, the
1 IDカード作成装置(写真辺検出装置)
3 申請用紙
4 顔写真
21 制御部(検出手段、レンジ変換手段、IDカード作成手段)
22 IDカード用プリンタ(IDカード作成手段)
23 記憶部(記憶手段)
30 自動供給部
31 申請用紙供給部
32 台紙供給部
33 申請用紙トレー
34 台紙トレー
40 番号読取部
41 OCRリーダ
42 解読部
50 顔写真撮像部
51 CCDカメラ(読取手段)
52 画像処理部
53 照明灯
54 CPU(検出手段)
54a エッジ検出部(検出手段)
55 台紙排出部
56 切り替え弁
57 台紙バケット
58、58a、58b 赤外線照明灯(赤外線照射手段)
59 赤外線カメラ(撮像手段)
60 情報読取部
61 スキャナー部
62 CPU
63 申請書バケット
70 搬送部
71 搬送路
7201〜7213 搬送ローラ
73 ステッピングモータ
74 動力伝達手段
301 情報記入領域
302 写真貼付領域
303 用紙番号記載領域
K、K1〜K3 辺影
1 ID card creation device (photo edge detection device)
3
22 ID card printer (ID card creation means)
23 storage unit (storage means)
DESCRIPTION OF
52
54a Edge detection unit (detection means)
55
59 Infrared camera (imaging means)
60
63
Claims (16)
前記辺影を撮像する赤外線撮像手段と、
前記赤外線撮像手段により撮像された画像に基づいて前記写真の少なくとも一の辺を検出する検出手段と、
を備えたことを特徴とする写真辺検出装置。 Infrared irradiation means for irradiating infrared rays toward a square-shaped photograph affixed on paper, and projecting a shadow corresponding to the side along at least one side of the photo;
Infrared imaging means for imaging the side shadow;
Detecting means for detecting at least one side of the photograph based on an image captured by the infrared imaging means;
A photographic side detection apparatus comprising:
前記検出手段は、前記赤外線撮像手段により撮像された画像に基づいて前記写真の相隣る二辺を検出することを特徴とする請求項1又は2に記載の写真辺検出装置。 The photo side detection apparatus according to claim 1, wherein the detection unit detects two adjacent sides of the photo based on an image captured by the infrared imaging unit.
前記検出手段は、前記赤外線撮像手段により撮像された画像に基づいて前記写真の複数の辺を検出することを特徴とする請求項1〜3のいずれか一項に記載の写真辺検出装置。 The infrared irradiating means switches and irradiates infrared rays from different directions toward a rectangular photograph attached on a sheet, and a shadow corresponding to the side along a plurality of adjacent sides of the photo. Projected onto the paper,
Said detecting means, photo edges detection device according to any one of claims 1-3, characterized by detecting a plurality of edges of said photo based on the image captured by the infrared imaging device.
前記検出手段は、前記記憶された閾値に基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする請求項1〜5のいずれか一項に記載の写真辺検出装置。 Storage means for storing a threshold of brightness for each pixel of the infrared imaging means;
The detection unit performs a determination of Henkage for each pixel on the basis of the stored thresholds, photographs sides according to any one of claims 1 to 5, characterized in that detecting the photograph edge Detection device.
前記検出手段は、予め定められた閾値と前記変換された信号値とに基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする請求項1〜5のいずれか一項に記載の写真辺検出装置。 Conversion means for performing range conversion of the signal value in each pixel of the infrared imaging means;
The detection unit performs a determination of Henkage for each pixel based on a predetermined threshold and the converted signal value, any claim 1-5, characterized by detecting said photographic sides The photo edge detection device according to claim 1.
用紙上に貼付された写真を含む領域を読み取る読取手段と、
前記検出手段により検出された写真の辺の情報に基づいて、前記読み取られた画像から写真画像を抽出し、当該抽出された写真画像を含むIDカードを生成するカード生成手段と、
を備えたことを特徴とするIDカード作成装置。 Photo and side detecting apparatus according to any one of 請 Motomeko 1-7,
Reading means for reading an area including a photograph affixed on paper;
Card generation means for extracting a photographic image from the read image based on information on a side of the photograph detected by the detection means, and generating an ID card including the extracted photographic image;
An ID card creating device comprising:
前記辺影を撮像する赤外線撮像工程と、
前記赤外線撮像工程により撮像された画像に基づいて前記写真の少なくとも一の辺を検出する検出工程と、
を有することを特徴とする写真辺検出方法。 Irradiating infrared rays toward a square-shaped photo affixed on paper, and projecting a shadow corresponding to the side along at least one side of the photo onto the paper;
An infrared imaging step of imaging the side shadow;
A detection step of detecting at least one side of the photograph based on the image imaged by the infrared imaging step ;
A photographic edge detection method comprising:
前記検出工程では、前記赤外線撮像工程により撮像された画像に基づいて前記写真の相隣る二辺を検出することを特徴とする請求項9又は10に記載の写真辺検出方法。 11. The photo side detection method according to claim 9, wherein, in the detection step, two adjacent sides of the photo are detected based on the image taken in the infrared imaging step.
前記検出工程では、前記赤外線撮像工程により撮像された画像に基づいて前記写真の複数の辺を検出することを特徴とする請求項9〜11のいずれか一項に記載の写真辺検出方法。 In the infrared irradiation step, infrared rays are switched and irradiated from different directions toward a square photograph attached on a sheet, and a side shadow corresponding to the side along a plurality of adjacent sides of the photo. Projected onto the paper,
The photo side detection method according to any one of claims 9 to 11, wherein, in the detection step, a plurality of sides of the photograph are detected based on the image picked up by the infrared imaging step.
前記検出工程では、予め定められた閾値と前記変換された信号値とに基づいて画素ごとに辺影の判定を行い、前記写真の辺を検出することを特徴とする請求項9〜13のいずれか一項に記載の写真辺検出方法。 A conversion step of performing a range conversion of the signal value in each pixel of the infrared imaging means ;
14. The detection step according to any one of claims 9 to 13 , wherein an edge is determined for each pixel based on a predetermined threshold value and the converted signal value to detect an edge of the photograph. The photo edge detection method according to claim 1.
用紙上に貼付された写真を含む領域を読み取る読取工程と、
前記検出工程により検出された写真の辺の情報に基づいて、前記読み取られた画像から写真画像を抽出し、当該抽出された写真画像を含むIDカードを生成するカード生成工程と、
を有することを特徴とするIDカード作成方法。 Photo and side detection method according to any one of 請 Motomeko 9-15,
A reading process for reading an area including a photograph pasted on paper;
Based on the information on the sides of the photo detected by the detection step, a photo image is extracted from the read image, and an ID card including the extracted photo image is generated, and a card generation step,
An ID card making method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005231957A JP4729363B2 (en) | 2005-08-10 | 2005-08-10 | Photo side detection device, ID card creation device, photo side detection method, and ID card creation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005231957A JP4729363B2 (en) | 2005-08-10 | 2005-08-10 | Photo side detection device, ID card creation device, photo side detection method, and ID card creation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007048040A JP2007048040A (en) | 2007-02-22 |
JP4729363B2 true JP4729363B2 (en) | 2011-07-20 |
Family
ID=37850810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005231957A Active JP4729363B2 (en) | 2005-08-10 | 2005-08-10 | Photo side detection device, ID card creation device, photo side detection method, and ID card creation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4729363B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079480A (en) * | 2018-10-19 | 2020-04-28 | 北京金山云网络技术有限公司 | Identification method and device of identity card information and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003208599A (en) * | 1993-10-27 | 2003-07-25 | Matsushita Electric Ind Co Ltd | Object recognition device |
JP2005041022A (en) * | 2003-07-24 | 2005-02-17 | Konica Minolta Photo Imaging Inc | Duplicate id card creating system, duplicate id card creating method, and duplicate id card |
-
2005
- 2005-08-10 JP JP2005231957A patent/JP4729363B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003208599A (en) * | 1993-10-27 | 2003-07-25 | Matsushita Electric Ind Co Ltd | Object recognition device |
JP2005041022A (en) * | 2003-07-24 | 2005-02-17 | Konica Minolta Photo Imaging Inc | Duplicate id card creating system, duplicate id card creating method, and duplicate id card |
Also Published As
Publication number | Publication date |
---|---|
JP2007048040A (en) | 2007-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI484161B (en) | Defect inspection system and filming device for defect inspection, image processing device for defect inspection, image processing program for defect inspection, recording media, and image processing method for defect inspection used therein | |
JP2007299305A (en) | Device for detecting image | |
EP2507741B1 (en) | Imaging-based scanner including border searching for image acquisition | |
EP2187267A3 (en) | Picture reading device and image forming apparatus | |
JP2005084890A (en) | Optical information reader | |
WO2012042887A1 (en) | Form reading device | |
JP2014095974A (en) | Optical automatic recognition code reading method | |
KR100704851B1 (en) | Sheet paper identification device and method | |
WO2004097753A1 (en) | Sheet identifying device and method | |
JP5454148B2 (en) | Registration device, authenticity determination system, and registration program | |
JP2007293836A (en) | Method for reading information code printing medium and system for reading information code printing medium | |
JP4729363B2 (en) | Photo side detection device, ID card creation device, photo side detection method, and ID card creation method | |
JP4675636B2 (en) | Fingerprint verification device | |
KR100656179B1 (en) | Sheet identifying device and method | |
JP4471401B1 (en) | Form reader and form detection method | |
JP2006332953A (en) | Card image reader and its control method | |
JP2008078948A (en) | Copy photographing apparatus, id card creating system and id card creating method | |
JP2011259003A (en) | Reading device and medium protection mechanism | |
JP4876656B2 (en) | IC card orientation inspection method, IC card orientation inspection apparatus, and IC card orientation inspection program | |
JP4815423B2 (en) | Data code reading apparatus and method | |
JP5232904B2 (en) | Data code reading apparatus and method | |
JP4451426B2 (en) | Copy photographing apparatus, ID card creation system, and ID card creation method | |
US11334964B2 (en) | Color image processing on the fly for bar code readers | |
JP2007011653A (en) | Method and device for reading embossed character string | |
JP4143044B2 (en) | Reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080603 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20080709 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20080925 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20080925 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110111 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110309 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20110309 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110405 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110418 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4729363 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140422 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |