JP2006092191A - Apparatus for detecting face image, method for detecting face image, and program for detecting face image - Google Patents
Apparatus for detecting face image, method for detecting face image, and program for detecting face image Download PDFInfo
- Publication number
- JP2006092191A JP2006092191A JP2004275862A JP2004275862A JP2006092191A JP 2006092191 A JP2006092191 A JP 2006092191A JP 2004275862 A JP2004275862 A JP 2004275862A JP 2004275862 A JP2004275862 A JP 2004275862A JP 2006092191 A JP2006092191 A JP 2006092191A
- Authority
- JP
- Japan
- Prior art keywords
- face
- detection
- detected
- score
- area
- 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
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は顔画像検出装置、顔画像検出方法及び顔画像検出プログラムに係り、特に多数の人物を記録した撮影画像から人物の顔部分を検出する装置、方法及びプログラムに関する。 The present invention relates to a face image detection apparatus, a face image detection method, and a face image detection program, and more particularly, to an apparatus, method, and program for detecting a face portion of a person from a captured image in which a large number of persons are recorded.
従来、人物画像の顔部分の画像である顔画像と背景画像や服装画像を容易に合成するための技術が様々開発されている。例えば特許文献1によると、背景画像や服装画像などに合成の基準となる2点を指定する一方、顔画像の頭髪領域と顔輪郭の内部を合成に用いる領域とし、顔画像の合成の基準となる2点を指定する。顔画像の合成の基準となる2点は、あごの先端を通る水平線上で、その2点を結ぶ線分の中点があごの先端に、長さが顔の横幅になるように指定する。そして、顔画像に指定された2点と背景画像などに指定された2点が重なるように、顔画像の合成に用いる領域をマッピングして肖像画像を生成する。
ところで最近、人物キャラクタの顔部分がくり抜かれたように空白にしておき、その空白部分に別途複数の人物を撮影した画像から抽出された顔画像をはめ込んで合成するいわゆる「かきわり」状のテンプレート画像が開発されている。この顔画像の抽出元として、多数の人物を撮影した集合写真などの撮影画像を用いる場合、撮影画像から全ての顔画像の存在位置を特定する必要がある。しかし、顔検出の技術の制約上、1回の顔検出で全ての顔画像の存在位置を正確に特定するのは困難である。このため、検出された顔画像の中から誤検出された物体と正しく検出された顔画像との選別を手作業で繰り返していくことが必要となる。この作業は顔画像の数が増えると非常に煩雑になり、作業者の負荷も増えることが予想される。本発明はこのような問題点に鑑みてなされたもので、「かきわり」状のテンプレート画像などに合成する多数の顔画像の存在位置を、撮影画像中から短時間で正確かつ簡単に特定できる顔画像検出装置及び方法を提供することを目的とする。 By the way, recently, the character character's face part is blanked out, and a so-called “skin” -like template is created by inserting a face image extracted from an image obtained by photographing a plurality of persons into the blank part. Images are being developed. When a captured image such as a group photo of a large number of people is used as the face image extraction source, it is necessary to specify the positions of all face images from the captured image. However, due to the limitations of face detection technology, it is difficult to accurately specify the positions of all face images in one face detection. For this reason, it is necessary to manually repeat the selection of the erroneously detected object from the detected face image and the correctly detected face image. This operation becomes very complicated as the number of face images increases, and the load on the operator is expected to increase. The present invention has been made in view of such problems, and can accurately and easily identify the positions of a large number of face images to be combined with a “crisp” template image in a short time from a captured image. An object of the present invention is to provide a face image detection apparatus and method.
上述の課題を解決するため、本願発明に係る顔画像検出装置は、人物を記録した撮影画像を入力する撮影画像入力部と、操作入力を受け付ける操作部と、撮影画像において人物の顔部分を検出する領域である顔検出領域を設定する領域設定部と、設定された顔検出領域において人物の顔部分を検出する検出部と、検出された顔部分の検出の正確さを数値化したスコアを算出する算出部と、顔部分以外の物体を誤検出したか否かを判定する基準となるスコアの閾値を設定するスコア閾値設定部と、設定された閾値と算出されたスコアとを比較し、閾値を超えるスコアの顔部分である検出済顔部分を判定する判定部と、検出済顔部分を表示する表示部と、検出済顔部分の中から誤検出された顔部分以外の物体である誤検出物体を操作部により指定させる誤検出指定部と、指定された誤検出物体以外の検出済顔部分の位置を記憶する記憶部と、を備え、領域設定部は、検出を繰り返す場合、現在設定されている顔検出領域から検出済顔部分の存在する領域を除いた領域を新たな顔検出領域に設定し、スコア閾値設定部は、検出を繰り返す場合、現在設定されている閾値未満の値を新たな閾値に設定する。 In order to solve the above-described problems, a face image detection apparatus according to the present invention detects a face portion of a person in a captured image, a captured image input unit that inputs a captured image in which a person is recorded, an operation unit that receives an operation input, and the like. An area setting unit for setting a face detection area, a detection unit for detecting a human face part in the set face detection area, and calculating a score that quantifies the accuracy of detection of the detected face part And a score threshold setting unit for setting a threshold of a score serving as a reference for determining whether or not an object other than the face portion has been erroneously detected, and comparing the set threshold with the calculated score. A determination unit that determines a detected face part that is a face part with a score exceeding, a display unit that displays the detected face part, and an erroneous detection that is an object other than the face part that is erroneously detected from the detected face part Specify the object using the operation unit And a storage unit for storing the position of the detected face part other than the specified erroneously detected object, and the region setting unit starts from the currently set face detection region when repeating the detection. An area excluding the area where the detected face part exists is set as a new face detection area, and the score threshold setting unit sets a value less than the currently set threshold as a new threshold when the detection is repeated.
この発明によると、現在設定されている顔検出領域から顔検出が完了した領域を除いた領域を新たな顔検出領域に再設定し、かつスコア閾値を現在設定されているスコア閾値よりも小さい値に再設定した上で、その顔検出領域について顔検出を行う。撮影画像中の顔部分の未検出領域について、スコア閾値を下げて顔検出を繰り返すことで、未検出の顔部分のある領域を絞り込むことができ、撮影画像中に多数の人物が記録されている場合でも顔画像の特定を短時間で効率良く正確に行うことが可能となる。 According to the present invention, an area obtained by removing the area where face detection has been completed from the currently set face detection area is reset as a new face detection area, and the score threshold is a value smaller than the currently set score threshold Then, face detection is performed for the face detection area. By reducing the score threshold and repeating face detection for the undetected area of the face part in the captured image, the area with the undetected face part can be narrowed down, and a large number of people are recorded in the captured image. Even in this case, it is possible to specify the face image efficiently and accurately in a short time.
顔画像検出装置は、検出部が検出する顔部分のサイズの閾値を設定する顔サイズ閾値設定部をさらに備えていてもよい。 The face image detection apparatus may further include a face size threshold value setting unit that sets a threshold value of the size of the face portion detected by the detection unit.
こうすることで、未検出の顔部分のサイズも絞り込むことができる。 By doing so, the size of the undetected face portion can be narrowed down.
また、上述の課題を解決するため、本願発明に係る顔画像検出方法は、人物を記録した撮影画像を入力する撮影画像入力ステップと、撮影画像において人物の顔部分を検出する領域である顔検出領域を設定する領域設定ステップと、設定された顔検出領域において人物の顔部分を検出する検出ステップと、検出された顔部分の検出の正確さを数値化したスコアを算出する算出ステップと、顔部分以外の物体を誤検出したか否かを判定する基準となるスコアの閾値を設定するスコア閾値設定ステップと、設定された閾値と算出されたスコアとを比較し、閾値を超えるスコアの顔部分である検出済顔部分を判定する判定ステップと、検出済顔部分を表示する表示ステップと、検出済顔部分の中から誤検出された顔部分以外の物体である誤検出物体を指定させる誤検出指定ステップと、指定された誤検出物体以外の検出済顔部分の位置を記憶する記憶ステップと、を含み、領域設定ステップは、検出を繰り返す場合、現在設定されている顔検出領域から検出済顔部分の存在する領域を除いた領域を新たな顔検出領域に設定し、スコア閾値設定ステップは、検出を繰り返す場合、現在設定されている閾値未満の値を新たな閾値に設定する。 In order to solve the above-described problems, a face image detection method according to the present invention includes a captured image input step for inputting a captured image in which a person is recorded, and face detection that is an area for detecting a human face portion in the captured image. An area setting step for setting an area; a detection step for detecting a face part of a person in the set face detection area; a calculation step for calculating a score that quantifies the accuracy of detection of the detected face part; and a face A score threshold setting step for setting a threshold of a score serving as a reference for determining whether or not an object other than the portion is erroneously detected is compared with the calculated threshold and the face portion having a score exceeding the threshold A determination step for determining a detected face part, a display step for displaying the detected face part, and a false detection object that is an object other than the face part erroneously detected from the detected face part A false detection designation step for designating, and a storage step for storing the position of the detected face part other than the designated false detection object, and the region setting step when the detection is repeated, the currently set face detection region The area excluding the area where the detected face part exists is set as a new face detection area, and the score threshold setting step sets a value less than the currently set threshold as the new threshold when the detection is repeated. .
この顔画像検出方法は、上述の顔画像検出装置と同様の作用効果を奏する。 This face image detection method has the same effect as the above-described face image detection device.
また、上述の課題を解決するため、本願発明に係る顔画像検出プログラムは、人物を記録した撮影画像を入力する撮影画像入力ステップと、撮影画像において人物の顔部分を検出する領域である顔検出領域を設定する領域設定ステップと、設定された顔検出領域において人物の顔部分を検出する検出ステップと、検出された顔部分の検出の正確さを数値化したスコアを算出する算出ステップと、顔部分以外の物体を誤検出したか否かを判定する基準となるスコアの閾値を設定するスコア閾値設定ステップと、設定された閾値と算出されたスコアとを比較し、閾値を超えるスコアの顔部分である検出済顔部分を判定する判定ステップと、検出済顔部分を表示する表示ステップと、検出済顔部分の中から誤検出された顔部分以外の物体である誤検出物体を指定させる誤検出指定ステップと、指定された誤検出物体以外の検出済顔部分の位置を記憶する記憶ステップと、をコンピュータに実行させ、領域設定ステップは、検出を繰り返す場合、現在設定されている顔検出領域から検出済顔部分の存在する領域を除いた領域を新たな顔検出領域に設定し、スコア閾値設定ステップは、検出を繰り返す場合、現在設定されている閾値未満の値を新たな閾値に設定する。 In order to solve the above-described problems, a face image detection program according to the present invention includes a captured image input step for inputting a captured image in which a person is recorded, and face detection that is an area for detecting a human face portion in the captured image. An area setting step for setting an area; a detection step for detecting a face part of a person in the set face detection area; a calculation step for calculating a score that quantifies the accuracy of detection of the detected face part; and a face A score threshold setting step for setting a threshold of a score serving as a reference for determining whether or not an object other than the portion is erroneously detected is compared with the calculated threshold and the face portion having a score exceeding the threshold A determination step for determining a detected face portion, a display step for displaying the detected face portion, and a false detection that is an object other than the face portion that is erroneously detected from the detected face portions. An error detection designation step for designating an object and a storage step for storing the position of a detected face part other than the designated false detection object are executed by the computer, and the region setting step is currently set when the detection is repeated. An area obtained by removing the area where the detected face part exists from the face detection area being set is set as a new face detection area, and the score threshold setting step newly sets a value less than the currently set threshold when the detection is repeated. Set to a proper threshold.
この顔画像検出プログラムは、上述の顔画像検出装置と同様の作用効果を奏する。この顔画像検出プログラムは、CD−ROM、DVD、MOその他のコンピュータ読み取り可能な記録媒体に記録して提供してもよい。 This face image detection program has the same effects as the above-described face image detection apparatus. The face image detection program may be provided by being recorded on a CD-ROM, DVD, MO, or other computer-readable recording medium.
この発明によると、現在設定されている顔検出領域から顔検出が完了した領域を除いた領域を新たな顔検出領域に再設定し、かつスコア閾値を現在設定されているスコア閾値よりも小さい値に再設定した上で、その顔検出領域について顔検出を行う。撮影画像中の顔部分の未検出領域について、スコア閾値を下げて顔検出を繰り返すことで、未検出の顔部分のある領域を絞り込むことができ、撮影画像中に多数の人物が記録されている場合でも顔画像の特定を短時間で効率良く正確に行うことが可能となる。 According to the present invention, an area obtained by removing the area where face detection has been completed from the currently set face detection area is reset as a new face detection area, and the score threshold is a value smaller than the currently set score threshold Then, face detection is performed for the face detection area. By reducing the score threshold and repeating face detection for the undetected area of the face part in the captured image, the area with the undetected face part can be narrowed down, and a large number of people are recorded in the captured image. Even in this case, it is possible to specify the face image efficiently and accurately in a short time.
以下、添付した図面を参照し本発明の好ましい実施の形態を説明する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
[概略構成]
図1は、本発明の好ましい実施形態に係る顔画像検出装置100の概略機能構成図である。顔画像検出装置100は、撮影画像入力部1、表示部9、操作部10、処理部20及び記憶部30を有している。撮影画像入力部1はデジタルスチルカメラ、フィルムスキャナ、メディアドライバおよび各種無線・有線通信装置などによって取得した撮影画像を入力する。処理部20は、CPUやワンチップマイコンなどによって構成され各種演算処理を行う。記憶部30は半導体メモリで構成され、処理部20の実行するプログラムや処理部20の各種演算に必要なデータを記憶する。表示部9は液晶ディスプレイなどで構成された表示装置である。操作部10は、ユーザの操作入力を受け付けるキーボードやタッチパネルなどで構成されている。
[Schematic configuration]
FIG. 1 is a schematic functional configuration diagram of a face
顔検出領域設定部11、スコア算出部12、スコア閾値設定部13、顔サイズ閾値設定部14、顔検出部15、検出結果判定部16、検出結果表示部17、誤検出指示部18、及び顔抽出部19は、記憶部30に記憶されたプログラムであり、処理部20にロードされて実行される。
Face detection
顔検出領域設定部11は、撮影画像上で顔検出部15が顔検出を行う領域(顔検出領域)を設定する。顔検出部15は、パターンマッチングなど公知の顔認識技術により顔検出領域から人物の顔部分を表す画像(顔画像)を検出する。顔検出領域に複数の人物が記録されている場合は、複数の顔部分を個別に検出する。顔サイズ閾値設定部14は、顔検出部15が検出する顔のサイズ(画素数などで規定)の上限の閾値(顔サイズ上限値)あるいは下限の閾値(顔サイズ下限値)を設定する。顔検出部15は、顔サイズ上限値が設定されていると、顔サイズ上限値未満のサイズを有する顔部分を検出する。一方、顔検出部15は、顔サイズ下限値が設定されていると、顔サイズ下限値未満のサイズを有する顔部分を検出する。顔サイズ上限値も顔サイズ下限値も設定されていない場合、顔検出部15は、全てのサイズの顔部分を検出する。
The face detection
スコア算出部12は、顔検出部15が検出した人物の顔部分の検出の正確さを数値化したスコアを算出する。顔部分の検出の正確さを数値化するには、例えば検出された顔部分の円形度を用いることができる。なお、人物の顔はほぼ楕円形状であるので、抽出された顔部分の円形度が楕円の円形度に近ければ、高いスコアが算出され、楕円の円形度から外れるほど低いスコアが算出される。スコア閾値設定部13は、検出された顔部分が実際に人物の顔部分であるか、あるいは人物の顔部分以外の物体であるかを判定する基準となるスコアの閾値を設定する。以下、この閾値をスコア閾値と称す。スコア閾値の設定の仕方は任意であり、操作部10から入力された任意の値をスコア閾値とすることもできる。
The
[処理の流れ]
次に、図2のフローチャートに基づき、顔画像検出装置100の実行する顔検出処理の流れを説明する。以下の処理では、実行の完了したループ(ステップS4〜S9)で誤検出と指示された顔部分と検出の終わった顔部分を顔検出領域から除いた領域を次回の顔検出領域に設定し、かつ前回のループにおいて設定されたスコア閾値よりも低いスコア閾値を設定して新たに設定された顔検出領域における顔部分の検出を続行する。
[Process flow]
Next, a flow of face detection processing executed by the face
S1では、撮影画像入力部1は撮影画像を入力する。また、スコア算出部12は、ステップS4の実行回数l(l=1,2,・・)をl=1に設定する。図3は撮影画像入力部1に入力される撮影画像の一例である。撮影画像には、複数の人物Fn(n=1,2・・,6)と人物の顔部分以外の物体Xが記録されている。人物Fnの顔部分をfnで表す。
In S1, the captured
S2では、スコア閾値設定部13は、スコア閾値Vの初期値を設定する。この初期値は特に限定されず、操作部10から入力された任意の値を初期値とすればよい。例えば、顔部分fnのスコアが0〜200の間であると予想される場合、初期値としてスコア閾値V=100などとする。
In S2, the score
S3では、顔検出領域設定部11は、撮影画像の全体領域A1を初期の顔検出領域Aに設定する。撮影画像の全体から所定の上下左右の余白部分(マージン)を除いた部分を顔検出領域Aに設定してもよい。
In S3, the face detection
S4では、顔検出部15は、顔検出領域設定部11の設定した顔検出領域内に存在する顔部分を検出する。スコア算出部12は、検出された各顔部分についてスコアを算出する。
In S <b> 4, the
S5では、検出結果判定部16は、各顔部分について算出されたスコアとスコア閾値設定部13の設定したスコア閾値Vとを比較し、スコア閾値Vを上回るスコアの顔部分を検出が完了した顔画像(以下検出済顔画像という)と判定する。検出結果表示部17は、検出済顔画像を表示部9に表示する。図4は検出済顔画像の表示例である。この図では、図3の人物F1〜F6の内、顔検出部15が検出できた一部の人物F1〜F3の顔画像f1〜f3と、顔検出部15が顔画像として誤検出した人物の顔部分以外の物体Xが撮影画像から抽出されて表示されている。図4はあくまで一例であり、要するに本実施形態では、顔検出部15が一部の顔画像しか検出できないことや、顔部分でない物体を顔画像として誤検出してしまうことを想定している。
In S5, the detection
S6では、顔部分の検出を終えるか否かの指示を操作部10から受け付ける。顔部分の検出を終える指示が操作部10から入力された場合はこの処理を終了し、顔部分の検出を終える指示が操作部10から入力されない場合はS7に移行する。なお、操作部10から顔部分の検出を終えるか否かの指示を受けるのではなく、処理を終了するかS7に移行するかを検出が完了した顔部分の数に従って判定してもよい。即ち、S1で予め撮影された人物の人数を操作部10から入力させておき、S6では、検出済顔画像の数が入力された人数と合致するか否かを判断し、合致する場合はS7へ移行し、合致しない場合は処理を終了してもよい。
In S <b> 6, an instruction is received from the
S7では、誤検出指示部18は、誤って顔画像として検出された人物の顔部分以外の物体を操作部10から指定させる。指定の仕方は任意であり、例えばポインティングデバイスでポインタPを顔部分以外の物体に合わせてクリックさせる。こうすれば検出済顔画像から誤検出した物体を簡単に排除できる。
In S <b> 7, the erroneous
図4は顔部分以外の物体Xが誤検出物体として指定された様子を示している。顔抽出部19は、検出済顔画像のうち誤検出物体として指定されていないものの撮影画像上の位置を記憶部30に記憶する。例えば、図4では、顔部分f1〜f3の位置が記憶部30に記憶される。なお、顔抽出部19は、記憶部30に記憶された位置に存在する顔画像を抽出する。処理部20は、抽出した顔画像を、各種のテンプレート画像の所定位置に配置して合成してもよい。
FIG. 4 shows a state where an object X other than the face portion is designated as an erroneously detected object. The
S8では、スコア算出部12はlをインクリメント(現在のlに1だけ加算)する。顔検出領域設定部11は、現在設定されている顔検出領域Alから検出済顔画像の存在する領域Al’を除いた領域を検出領域Aに設定する。図3及び4の検出結果を例にとると、領域A1’は検出が完了したと判定されかつ誤検出物体に指定されていない顔部分の外接長方形であり、新たに検出領域Aに設定される領域A2は、現在設定されている領域A1から領域A1’を除いた領域である。新たな検出領域Aの中心を操作部10から指定できるようにしてもよい。
In S8, the
S8で新たに設定する検出領域Aの設定の仕方は上記に特に限定されない。例えば、図5に示すように、検出が完了したと判定されかつ誤検出物体に指定されていない2人の人物の顔部分f1、f2が撮影画像横方向Xに並んでいる場合は、さらに略等間隔で別の人物がf1ないしf2の横に並んでいることが推認されるから、顔部分f1ないしf2から横方向Xの距離aだけ隔てた位置X0を中心線mが通りかつ人物の顔の横方向が収まるような幅Wを有する縦方向Yに沿って広がる帯領域Rxを新たな領域Aに設定してもよい。あるいは、図6に示すように、検出が完了したと判定されかつ誤検出物体に指定されていない2人の人物の顔部分f1、f2が撮影画像縦方向Yに並んでいる場合は、f1とf2の間の列に他の人物列が撮影されていると推認されるから、2人の人物f1ないしf2の間を横方向Xに沿って広がる帯領域Ryを新たな領域Aに設定してもよい。 The method of setting the detection area A newly set in S8 is not particularly limited to the above. For example, as shown in FIG. 5, when the face portions f1 and f2 of two persons who are determined to have been detected and are not designated as erroneously detected objects are arranged in the lateral direction X of the captured image, it is further omitted. Since it is presumed that another person is lined up f1 to f2 at equal intervals, the center line m passes through a position X0 separated from the face parts f1 to f2 by a distance a in the horizontal direction X, and the person's face. The band region Rx extending along the vertical direction Y having a width W such that the horizontal direction can be accommodated may be set as a new region A. Alternatively, as shown in FIG. 6, when the face portions f1 and f2 of two persons who are determined to have been detected and are not designated as false detection objects are aligned in the vertical direction Y of the captured image, f1 Since it is presumed that another person row is photographed in the row between f2, the band region Ry extending along the horizontal direction X between the two persons f1 to f2 is set as a new region A. Also good.
S9では、スコア閾値設定部13は、スコア閾値VをV=Vlに設定する。再設定するスコア閾値Vlは、現在設定されているスコア閾値Vよりも小さい値であれば特に限定されない。例えば、スコア閾値Vlは、検出が完了したと判定されかつ誤検出物体と指定されなかった顔部分のスコアを総和し、検出が完了したと判定されかつ誤検出物体と指定されなかった顔部分の数Nよりも大きい数(N+1など)でその総和を割った数とする。そして、処理は再びS4に戻り、新たに設定された領域Aとスコア閾値Vに基づいて顔検出が行われる。
In S9, the score
なお、S9においては、顔サイズ閾値設定部14が顔サイズ閾値を再設定してもよい。例えば、検出が完了したと判定されかつ誤検出物体に指定されていない顔部分の平均顔サイズを算出し、そのサイズを顔サイズ上限値あるいは顔サイズ下限値に設定してもよい。あるいは、現在設定されている顔サイズ上限値よりも大きな値を新たな顔サイズ上限値に設定してもよいし、現在設定されている顔サイズ下限値よりも小さな値を新たな顔サイズ下限値に設定してもよい。こうすることで、未検出の顔部分のサイズも絞り込むことができる。
In S9, the face size
また、ステップS1〜9を処理部20に実行させる顔画像検出プログラムは、記憶部30に記憶されている。顔画像検出プログラムは、CD−ROM、DVD、MOその他のコンピュータ読み取り可能な記録媒体に記録して処理部20に提供してもよい。
A face image detection program that causes the
以上説明した通り、顔画像検出装置100は、現在設定されている顔検出領域から顔検出が完了した領域を除いた領域を新たな顔検出領域に再設定し(S8)、かつスコア閾値を現在設定されているスコア閾値Vよりも小さい値に再設定した上で、その顔検出領域について顔検出を行う。撮影画像中の顔部分の未検出領域について、スコア閾値Vを下げて顔検出を繰り返すことで、未検出の顔部分のある領域を絞り込むことができ、撮影画像中に多数の人物が記録されている場合でも顔画像の抽出を短時間で効率良く正確に行うことが可能となる。
As described above, the face
1:撮影画像入力部、9:表示部、10:操作部、11:顔検出領域設定部、12:スコア算出部、13:スコア閾値設定部、15:顔検出部、16:検出結果判定部、17:検出結果表示部、18:誤検出指示部、19:顔抽出部 1: shot image input unit, 9: display unit, 10: operation unit, 11: face detection area setting unit, 12: score calculation unit, 13: score threshold setting unit, 15: face detection unit, 16: detection result determination unit , 17: detection result display unit, 18: erroneous detection instruction unit, 19: face extraction unit
Claims (4)
操作入力を受け付ける操作部と、
前記撮影画像において人物の顔部分を検出する領域である顔検出領域を設定する領域設定部と、
前記設定された顔検出領域において人物の顔部分を検出する検出部と、
前記検出された顔部分の検出の正確さを数値化したスコアを算出する算出部と、
顔部分以外の物体を誤検出したか否かを判定する基準となるスコアの閾値を設定するスコア閾値設定部と、
前記設定された閾値と前記算出されたスコアとを比較し、前記閾値を超えるスコアの顔部分である検出済顔部分を判定する判定部と、
前記検出済顔部分を表示する表示部と、
前記検出済顔部分の中から誤検出された顔部分以外の物体である誤検出物体を前記操作部により指定させる誤検出指定部と、
前記指定された誤検出物体以外の検出済顔部分の位置を記憶する記憶部と、
を備え、
前記領域設定部は、前記検出を繰り返す場合、現在設定されている顔検出領域から前記検出済顔部分の存在する領域を除いた領域を新たな顔検出領域に設定し、
前記スコア閾値設定部は、前記検出を繰り返す場合、現在設定されている閾値未満の値を新たな閾値に設定する顔画像検出装置。 A captured image input unit for inputting a captured image in which a person is recorded;
An operation unit for receiving operation inputs;
An area setting unit for setting a face detection area that is an area for detecting a human face portion in the captured image;
A detection unit for detecting a face portion of a person in the set face detection region;
A calculation unit that calculates a score obtained by quantifying the accuracy of detection of the detected face part;
A score threshold value setting unit for setting a threshold value of a score serving as a reference for determining whether or not an object other than the face part is erroneously detected;
A determination unit that compares the set threshold value with the calculated score and determines a detected face part that is a face part having a score exceeding the threshold value;
A display unit for displaying the detected face part;
An erroneous detection designating unit that causes the operation unit to designate an erroneously detected object that is an object other than the face part erroneously detected from the detected face part;
A storage unit for storing the position of a detected face part other than the designated erroneously detected object;
With
When repeating the detection, the region setting unit sets a region obtained by removing the region where the detected face part exists from the currently set face detection region as a new face detection region,
When the detection is repeated, the score threshold setting unit sets a value less than the currently set threshold as a new threshold.
前記撮影画像において人物の顔部分を検出する領域である顔検出領域を設定する領域設定ステップと、
前記設定された顔検出領域において人物の顔部分を検出する検出ステップと、
前記検出された顔部分の検出の正確さを数値化したスコアを算出する算出ステップと、
顔部分以外の物体を誤検出したか否かを判定する基準となるスコアの閾値を設定するスコア閾値設定ステップと、
前記設定された閾値と前記算出されたスコアとを比較し、前記閾値を超えるスコアの顔部分である検出済顔部分を判定する判定ステップと、
前記検出済顔部分を表示する表示ステップと、
前記検出済顔部分の中から誤検出された顔部分以外の物体である誤検出物体を指定させる誤検出指定ステップと、
前記指定された誤検出物体以外の検出済顔部分の位置を記憶する記憶ステップと、
を含み、
前記領域設定ステップは、前記検出を繰り返す場合、現在設定されている顔検出領域から前記検出済顔部分の存在する領域を除いた領域を新たな顔検出領域に設定し、
前記スコア閾値設定ステップは、前記検出を繰り返す場合、現在設定されている閾値未満の値を新たな閾値に設定する顔画像検出方法。 A captured image input step for inputting a captured image in which a person is recorded;
An area setting step for setting a face detection area which is an area for detecting a face portion of a person in the captured image;
A detection step of detecting a face portion of a person in the set face detection area;
A calculation step of calculating a score obtained by quantifying the accuracy of detection of the detected face part;
A score threshold setting step for setting a threshold of a score serving as a reference for determining whether or not an object other than the face portion is erroneously detected;
A determination step of comparing the set threshold value with the calculated score and determining a detected face portion that is a face portion having a score exceeding the threshold value;
A display step for displaying the detected face portion;
An erroneous detection designation step for designating an erroneously detected object that is an object other than the erroneously detected facial part from the detected facial part;
A storage step of storing a position of a detected face part other than the designated erroneously detected object;
Including
In the region setting step, when the detection is repeated, a region obtained by removing the region where the detected face portion exists from the currently set face detection region is set as a new face detection region,
The score threshold setting step is a face image detection method in which, when the detection is repeated, a value less than a currently set threshold is set as a new threshold.
前記撮影画像において人物の顔部分を検出する領域である顔検出領域を設定する領域設定ステップと、
前記設定された顔検出領域において人物の顔部分を検出する検出ステップと、
前記検出された顔部分の検出の正確さを数値化したスコアを算出する算出ステップと、
顔部分以外の物体を誤検出したか否かを判定する基準となるスコアの閾値を設定するスコア閾値設定ステップと、
前記設定された閾値と前記算出されたスコアとを比較し、前記閾値を超えるスコアの顔部分である検出済顔部分を判定する判定ステップと、
前記検出済顔部分を表示する表示ステップと、
前記検出済顔部分の中から誤検出された顔部分以外の物体である誤検出物体を指定させる誤検出指定ステップと、
前記指定された誤検出物体以外の検出済顔部分の位置を記憶する記憶ステップと、
をコンピュータに実行させ、
前記領域設定ステップは、前記検出を繰り返す場合、現在設定されている顔検出領域から前記検出済顔部分の存在する領域を除いた領域を新たな顔検出領域に設定し、
前記スコア閾値設定ステップは、前記検出を繰り返す場合、現在設定されている閾値未満の値を新たな閾値に設定する顔画像検出プログラム。
A captured image input step for inputting a captured image in which a person is recorded;
An area setting step for setting a face detection area which is an area for detecting a face portion of a person in the captured image;
A detection step of detecting a face portion of a person in the set face detection area;
A calculation step of calculating a score obtained by quantifying the accuracy of detection of the detected face part;
A score threshold setting step for setting a threshold of a score serving as a reference for determining whether or not an object other than the face portion is erroneously detected;
A determination step of comparing the set threshold value with the calculated score and determining a detected face portion that is a face portion having a score exceeding the threshold value;
A display step for displaying the detected face portion;
An erroneous detection designation step for designating an erroneously detected object that is an object other than the erroneously detected facial part from the detected facial part;
A storage step of storing a position of a detected face part other than the designated erroneously detected object;
To the computer,
In the region setting step, when the detection is repeated, a region obtained by removing the region where the detected face portion exists from the currently set face detection region is set as a new face detection region,
In the score threshold setting step, when the detection is repeated, a face image detection program that sets a value less than the currently set threshold as a new threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004275862A JP2006092191A (en) | 2004-09-22 | 2004-09-22 | Apparatus for detecting face image, method for detecting face image, and program for detecting face image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004275862A JP2006092191A (en) | 2004-09-22 | 2004-09-22 | Apparatus for detecting face image, method for detecting face image, and program for detecting face image |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006092191A true JP2006092191A (en) | 2006-04-06 |
Family
ID=36233101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004275862A Pending JP2006092191A (en) | 2004-09-22 | 2004-09-22 | Apparatus for detecting face image, method for detecting face image, and program for detecting face image |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006092191A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008141617A (en) * | 2006-12-04 | 2008-06-19 | Fujifilm Corp | Photographing apparatus, face detection method thereof and image recording method |
JP2011078143A (en) * | 2011-01-19 | 2011-04-14 | Fujifilm Corp | Photographing apparatus, face detecting method thereof and image recording method |
US8139136B2 (en) | 2008-06-24 | 2012-03-20 | Casio Computer Co., Ltd. | Image pickup apparatus, control method of image pickup apparatus and image pickup apparatus having function to detect specific subject |
JP2012100183A (en) * | 2010-11-05 | 2012-05-24 | Seiko Epson Corp | Image processing device and image processing method |
JP2018159976A (en) * | 2017-03-22 | 2018-10-11 | 株式会社東芝 | Information processing apparatus, method, and program |
JP7218421B1 (en) | 2021-12-10 | 2023-02-06 | レノボ・シンガポール・プライベート・リミテッド | Electronic device and control method |
-
2004
- 2004-09-22 JP JP2004275862A patent/JP2006092191A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008141617A (en) * | 2006-12-04 | 2008-06-19 | Fujifilm Corp | Photographing apparatus, face detection method thereof and image recording method |
JP4697549B2 (en) * | 2006-12-04 | 2011-06-08 | 富士フイルム株式会社 | Image capturing apparatus and face detection method thereof |
US8139136B2 (en) | 2008-06-24 | 2012-03-20 | Casio Computer Co., Ltd. | Image pickup apparatus, control method of image pickup apparatus and image pickup apparatus having function to detect specific subject |
JP2012100183A (en) * | 2010-11-05 | 2012-05-24 | Seiko Epson Corp | Image processing device and image processing method |
JP2011078143A (en) * | 2011-01-19 | 2011-04-14 | Fujifilm Corp | Photographing apparatus, face detecting method thereof and image recording method |
JP2018159976A (en) * | 2017-03-22 | 2018-10-11 | 株式会社東芝 | Information processing apparatus, method, and program |
JP7218421B1 (en) | 2021-12-10 | 2023-02-06 | レノボ・シンガポール・プライベート・リミテッド | Electronic device and control method |
JP2023086523A (en) * | 2021-12-10 | 2023-06-22 | レノボ・シンガポール・プライベート・リミテッド | Electronic apparatus and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8358838B2 (en) | Red eye detecting apparatus, red eye detecting method and red eye detecting program stored on a computer readable medium | |
US10007846B2 (en) | Image processing method | |
US20110273474A1 (en) | Image display apparatus and image display method | |
JP2006155563A (en) | Motion analyzer | |
KR20140029222A (en) | Gesture recognition device, control method thereof and display device and control recording medium of recording program | |
KR20100075167A (en) | Apparatus and method for capturing digital image using face recognition function | |
JP5247569B2 (en) | Person tracking device, person tracking method and program | |
JP2007233871A (en) | Image processor, control method for computer, and program | |
JP6969878B2 (en) | Discriminator learning device and discriminator learning method | |
JP2013215549A (en) | Image processing device, image processing program, and image processing method | |
US8861857B2 (en) | Image processing apparatus and image processing method | |
JP2011089784A (en) | Device for estimating direction of object | |
JP4659722B2 (en) | Human body specific area extraction / determination device, human body specific area extraction / determination method, human body specific area extraction / determination program | |
JP2006092191A (en) | Apparatus for detecting face image, method for detecting face image, and program for detecting face image | |
JP4717445B2 (en) | Image processing system, image processing device, game device, program, information storage medium, and image processing method | |
US9727145B2 (en) | Detecting device and detecting method | |
JPWO2020008576A1 (en) | Judgment method, judgment program and information processing device | |
JP2008299834A (en) | Photographic subject tracking program and photographic subject tracking device | |
US10410044B2 (en) | Image processing apparatus, image processing method, and storage medium for detecting object from image | |
JP2013041553A (en) | Image processing apparatus, image processing method, and image processing program | |
JP4487247B2 (en) | Human image search device | |
JP4972013B2 (en) | Information presenting apparatus, information presenting method, information presenting program, and recording medium recording the program | |
US10922864B2 (en) | Image processing device, image processing method and program, for object detection in an image | |
JP2010146581A (en) | Person's image retrieval device | |
JP7253872B2 (en) | Information processing device, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20070105 |