JP2009089083A - Age estimation photographing device and age estimation photographing method - Google Patents
Age estimation photographing device and age estimation photographing method Download PDFInfo
- Publication number
- JP2009089083A JP2009089083A JP2007256762A JP2007256762A JP2009089083A JP 2009089083 A JP2009089083 A JP 2009089083A JP 2007256762 A JP2007256762 A JP 2007256762A JP 2007256762 A JP2007256762 A JP 2007256762A JP 2009089083 A JP2009089083 A JP 2009089083A
- Authority
- JP
- Japan
- Prior art keywords
- subject
- age
- image
- photographing
- estimated
- 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
- Studio Devices (AREA)
- Image Analysis (AREA)
- Details Of Cameras Including Film Mechanisms (AREA)
- Image Processing (AREA)
Abstract
Description
本発明は年齢推定撮影装置及び年齢推定撮影方法に係り、特に推定した年齢を被写体に通知し、通知した結果に対する被写体の変化を認識して撮影を行う年齢推定撮影装置及び年齢推定撮影方法に関する。 The present invention relates to an age estimation imaging apparatus and an age estimation imaging method, and more particularly to an age estimation imaging apparatus and an age estimation imaging method for notifying a subject of an estimated age and recognizing a change in the subject relative to the notified result.
撮像装置で撮像された画像から人物の顔を検出し、年齢及び性別を判定する装置が知られている。特許文献1には、撮影された測定対象者の年齢を、安定して推定することが可能な年齢推定装置について記載されている。また、推定した年齢及び性別情報を応用する様々な技術についても開示されている。例えば特許文献2には、車両搭乗者の顔面を撮像して搭乗者の年齢を推定し、推定した年齢に応じた情報を情報提供装置が提供する技術が記載されている。また、特許文献3には、性別や年齢の情報を得ることにより、マーケティングの分野においてその後の新商品開発におけるデータを得ることについて記載されており、特許文献4には、顔を使った占い、職業診断ゲームなど、エンターテイメントに応用することについて記載されている。
しかしながら、これらの技術においては、推定した年齢を被写体に通知して、通知された年齢に対する測定対象者の反応を認識するものはなかった。本発明はこのような事情に鑑みてなされたもので、推定した年齢を被写体に通知し、通知した結果に対する被写体の変化を認識して撮影を行う年齢推定撮影装置及び年齢推定撮影方法を提供することを目的とする。 However, none of these techniques notify the subject of the estimated age and recognizes the measurement subject's reaction to the notified age. The present invention has been made in view of such circumstances, and provides an age estimation imaging apparatus and an age estimation imaging method for notifying a subject of an estimated age, recognizing a change in the subject with respect to the notified result, and performing imaging. For the purpose.
前記目的を達成するために請求項1に記載の年齢推定撮影装置は、撮影レンズを介して受光した被写体の光学像を画像信号に変換する撮影手段と、前記画像信号から前記被写体の顔領域を検出する手段と、前記被写体の顔領域から前記被写体の年齢を推定する手段と、前記推定年齢を音声出力する手段と、前記画像信号から前記被写体の存在領域を検出する手段と、前記存在領域における前記被写体の変化量を検出する手段とを備え、前記音声出力する手段が音声出力を行なった前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする。 In order to achieve the above object, an age estimation photographing apparatus according to claim 1, a photographing unit that converts an optical image of a subject received through a photographing lens into an image signal, and a face area of the subject from the image signal. Means for detecting, means for estimating the age of the subject from the face area of the subject, means for outputting the estimated age by voice, means for detecting the presence area of the subject from the image signal, and Means for detecting the amount of change of the subject, and the main photographing is performed when the amount of change of the subject in the existence area is greater than or equal to a predetermined amount before and after the sound output means outputs the sound. And
これにより、推定した年齢を音声で通知することによる被写体の変化を認識し、撮影することができる。 Thereby, the change of the subject by notifying the estimated age by voice can be recognized and photographed.
請求項2に示すように請求項1に記載の年齢推定撮影装置において、前記被写体に関する情報を入力する手段と、前記被写体に関する情報から前記被写体の実年齢を算出する手段とを備え、前記推定年齢を音声出力する手段は、前記推定年齢と共に前記算出した実年齢を音声出力することを特徴とする。 The age estimation photographing apparatus according to claim 1, further comprising means for inputting information relating to the subject, and means for calculating an actual age of the subject from the information relating to the subject. The voice output means outputs the calculated actual age together with the estimated age.
これにより、推定した年齢と共に実際の年齢を音声で通知することによる被写体の変化を認識し、撮影することができる。 Accordingly, it is possible to recognize and photograph a change in the subject by notifying the actual age together with the estimated age by voice.
請求項3に示すように請求項1に記載の年齢推定撮影装置において、前記被写体に関する情報を入力する手段と、前記被写体に関する情報から前記被写体の実年齢を算出する手段とを備え、前記推定年齢を音声出力する手段は、前記推定年齢と前記算出した実年齢の差分を音声出力することを特徴とする
これにより、推定した年齢と実際の年齢との差分を音声で通知することによる被写体の変化を認識し、撮影することができる。
The age estimation photographing apparatus according to claim 1, further comprising means for inputting information relating to the subject, and means for calculating an actual age of the subject from the information relating to the subject. The voice output means outputs the difference between the estimated age and the calculated actual age as a voice, thereby changing the subject by notifying the difference between the estimated age and the actual age by voice. Can be recognized and photographed.
前記目的を達成するために請求項4に記載の年齢推定撮影装置は、撮影レンズを介して受光した被写体の光学像を画像信号に変換する撮影手段と、前記画像信号から前記被写体の顔領域を検出する手段と、前記被写体の顔領域から前記被写体の年齢を推定する手段と、前記推定年齢に応じた画像テンプレート又は文字を選択する手段と、前記画像信号に前記選択した画像テンプレート又は文字を合成する手段と、前記画像テンプレート又は文字を合成した画像信号を再生表示する手段と、前記再生表示する手段に再生表示された合成画像を前記被写体に閲覧させる手段と、前記画像信号から前記被写体の存在領域を検出する手段と、前記存在領域における前記被写体の変化量を検出する手段とを備え、前記被写体が前記合成画像を閲覧した前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする。 In order to achieve the above object, the age estimation photographing apparatus according to claim 4, a photographing unit that converts an optical image of a subject received through a photographing lens into an image signal, and a face area of the subject from the image signal. Means for detecting, means for estimating the age of the subject from the face area of the subject, means for selecting an image template or character according to the estimated age, and combining the selected image template or character with the image signal Means for reproducing and displaying the image signal obtained by combining the image template or characters, means for allowing the subject to view the composite image reproduced and displayed on the means for reproducing and displaying, and existence of the subject from the image signal. Means for detecting a region, and means for detecting a change amount of the subject in the existence region, before the subject views the composite image In the change amount of the subject in the presence area and performing the photographing when the predetermined amount or more.
これにより、推定した年齢を画面表示で通知することによる被写体の変化を認識し、撮影することができる。 Thereby, it is possible to recognize and photograph the change of the subject due to notification of the estimated age on the screen display.
請求項5に示すように請求項4に記載の年齢推定撮影装置において、前記被写体に関する情報を入力する手段と、前記被写体に関する情報から前記被写体の実年齢を算出する手段とを備え、前記推定年齢に応じた画像テンプレート又は文字を選択する手段は、前記推定年齢と前記算出した実年齢の差分に応じた画像テンプレート又は文字を選択することを特徴とする。 5. The age estimation photographing apparatus according to claim 4, further comprising means for inputting information relating to the subject and means for calculating the actual age of the subject from the information relating to the subject. The means for selecting an image template or a character according to the method selects an image template or a character according to the difference between the estimated age and the calculated actual age.
これにより、推定した年齢と実際の年齢との差分を画面表示で通知することによる被写体の変化を認識し、撮影することができる。 Thereby, it is possible to recognize and shoot a change in the subject by notifying the difference between the estimated age and the actual age on a screen display.
請求項6に示すように請求項4又は5に記載の年齢推定撮影装置において、前記選択した文字を音声出力する手段を備えたことを特徴とする。 According to a sixth aspect of the present invention, in the age estimation photographing apparatus according to the fourth or fifth aspect of the present invention, there is provided a means for outputting the selected character by voice.
これにより、画面表示で通知するだけでなく、音声で通知することによる被写体の変化を認識し、撮影することができる。 Thereby, not only the notification on the screen display but also the change of the subject due to the notification by voice can be recognized and photographed.
請求項7に示すように請求項1から6のいずれかに記載の年齢推定撮影装置において、前記被写体の年齢を推定する手段は前記推定年齢を修正する手段を備えたことを特徴とする。 According to a seventh aspect of the present invention, in the age estimation photographing apparatus according to any one of the first to sixth aspects, the means for estimating the age of the subject includes means for correcting the estimated age.
これにより、被写体に対して、推定した年齢より若い年齢を通知することができる。 As a result, a younger age than the estimated age can be notified to the subject.
請求項8に示すように請求項7に記載の年齢推定撮影装置において、前記推定年齢を修正する手段は前記被写体の顔から前記被写体の性別を判定する手段を備え、判定された性別に応じて前記推定年齢を修正することを特徴とする。
The age estimation photographing apparatus according to
これにより、特に女性の被写体に対して、推定した年齢より若い年齢を通知することができる。 Thereby, it is possible to notify a younger age than the estimated age, particularly to a female subject.
請求項9に示すように請求項7に記載の年齢推定撮影装置において、前記推定年齢を修正する手段は、前記被写体に関する情報を入力する手段により入力された性別に応じて前記推定年齢を修正することを特徴とする。
The age estimation photographing apparatus according to
これにより、特に女性の被写体に対して、推定した年齢より若い年齢を通知することができる。 Thereby, it is possible to notify a younger age than the estimated age, particularly to a female subject.
前記目的を達成するために請求項10に記載の年齢推定撮影方法は、撮影レンズを介して受光した被写体の光学像を画像信号に変換する撮影工程と、前記画像信号から前記被写体の顔領域を検出する工程と、前記被写体の顔領域から前記被写体の年齢を推定する工程と、
前記推定年齢を音声出力する工程と、前記画像信号から前記被写体の存在領域を検出する工程と、前記存在領域における前記被写体の変化量を検出する工程とを備え、前記音声出力する工程が音声出力を行なった前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする。
In order to achieve the above object, the age estimation photographing method according to claim 10 includes a photographing step of converting an optical image of a subject received through a photographing lens into an image signal, and a face region of the subject from the image signal. Detecting, estimating the age of the subject from the face area of the subject,
The step of outputting the estimated age by voice, the step of detecting the presence area of the subject from the image signal, and the step of detecting the amount of change of the subject in the presence area, wherein the step of outputting the voice is voice output. Before and after performing the photographing, the main photographing is performed when the amount of change of the subject in the existence area is a predetermined amount or more.
これにより、推定した年齢を音声で通知することによる被写体の変化を認識し、撮影することができる。 Thereby, the change of the subject by notifying the estimated age by voice can be recognized and photographed.
前記目的を達成するために請求項11に記載の年齢推定撮影方法は、撮影レンズを介して受光した被写体の光学像を画像信号に変換する撮影工程と、前記画像信号から前記被写体の顔領域を検出する工程と、前記被写体の顔領域から前記被写体の年齢を推定する工程と、前記推定年齢に応じた画像テンプレート又は文字を選択する工程と、前記画像信号に前記選択した画像テンプレート又は文字を合成する工程と、前記画像テンプレート又は文字を合成した画像信号を再生表示する工程と、再生表示された合成画像を前記被写体に閲覧させる工程と、前記画像信号から前記被写体の存在領域を検出する工程と、前記存在領域における前記被写体の変化量を検出する工程とを備え、前記被写体が前記合成画像を閲覧した前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする。
In order to achieve the above object, the age estimation photographing method according to
これにより、推定した年齢を画面表示で通知することによる被写体の変化を認識し、撮影することができる。 Thereby, it is possible to recognize and photograph the change of the subject due to notification of the estimated age on the screen display.
本発明によれば、推定した年齢を被写体に通知し、通知した結果に対する被写体の変化を認識して撮影を行う年齢推定撮影装置及び年齢推定撮影方法を提供することができる。 According to the present invention, it is possible to provide an age estimation imaging apparatus and an age estimation imaging method for notifying a subject of an estimated age and recognizing a change in the subject with respect to the notified result to perform imaging.
以下、添付図面に従って本発明を実施するための最良の形態について説明する。 The best mode for carrying out the present invention will be described below with reference to the accompanying drawings.
<第1の実施の形態>
図1は、本発明が適用されたデジタルカメラの第1の実施の形態の電気的構成を示すブロック図である。
<First Embodiment>
FIG. 1 is a block diagram showing an electrical configuration of a first embodiment of a digital camera to which the present invention is applied.
同図に示すように、本実施の形態のデジタルカメラ10は、CPU11、シャッタースイッチ12、ズーム用モータドライバ13、フォーカス用モータドライバ14、ズームレンズ15、フォーカスレンズ16、CCD17、A/D変換器18、画像入力コントローラ19、画像信号処理回路20、画像圧縮処理回路21、表示回路22、画像表示装置23、メディアコントローラ25、記録メディア26、メモリ27、AE/AF検出回路29、撮影制御回路30、年齢/性別検出回路31、及び音声出力装置32等を備えて構成
される。
As shown in the figure, the digital camera 10 of the present embodiment includes a
各部はCPU11に制御されて動作し、CPU11は、シャッタースイッチ12からの入力に基づき所定の制御プログラムを実行することにより、デジタルカメラ10の各部を制御する。
Each unit operates under the control of the
CPU11はプログラムROMを内蔵しており、このプログラムROMには、CPU11が実行する制御プログラムのほか、制御に必要な各種データ等が記録されている。CPU11は、この制御プログラムを逐次実行することにより、デジタルカメラ10の各部を制御する。
The
シャッタースイッチ12は、操作に応じた信号をCPU11に出力する。
The
撮影レンズは、ズーム機能を有するAFレンズで構成されており、ズームレンズ15、フォーカスレンズ16を含んで構成されている。
The photographing lens is composed of an AF lens having a zoom function, and includes a
ズームレンズ15は、ズームレンズ用モータドライバ13により駆動される図示しないズームレンズ用モータによって駆動され、フォーカスレンズ16の光軸上を前後移動する。CPU11は、ズームレンズ用モータドライバ13を介して図示しないズームレンズ用モータの駆動を制御することにより、ズームレンズ15の移動を制御し、ズーミングを行う。
The
フォーカスレンズ16は、フォーカスレンズ用モータドライバ14により駆動される図示しないフォーカスレンズ用モータによって駆動され、ズームレンズ15の光軸上を前後移動する。CPU11は、フォーカス用モータドライバ14を介して図示しないフォーカスレンズ用モータの駆動を制御することにより、フォーカスレンズ16の移動を制御し、フォーカシングを行う。
The
CCD17は、フォーカスレンズ16の後段に配置されており、ズームレンズ15及びフォーカスレンズ16を透過した被写体光を受光する。CCD17は、周知のように多数の受光素子がマトリクス状に配列された受光面を備えている。ズームレンズ15及びフォーカスレンズ16を透過した被写体光は、このCCD17の受光面上に結像され、各受光素子によって電気信号に変換される。
The
このCCD17は、垂直転送クロック及び水平転送クロックに同期して、各画素に蓄積された電荷を1ラインずつシリアルな画像信号として出力する。
The
また、画像信号の出力は、デジタルカメラ10が撮影モードにセットされると開始される。すなわち、デジタルカメラ10が撮影モードにセットされると、画像表示装置23にスルー画像を表示するため、画像信号の出力が開始される。このスルー画像用の画像信号の出力は、本撮影の指示が行われると、一旦停止され、本撮影が終了すると、再度開始される。
The output of the image signal is started when the digital camera 10 is set to the shooting mode. In other words, when the digital camera 10 is set to the photographing mode, output of an image signal is started to display a through image on the
またCPU11は、本撮影時に必要であれば、撮影制御回路30を撮影補助光として発光させる。
Further, if necessary at the time of actual shooting, the
CCD17から出力される画像信号は、アナログ信号であり、このアナログの画像信号は、A/D変換器18に取り込まれる。
The image signal output from the
A/D変換器18は、相関二重サンプリング回路(CDS)、自動ゲインコントロール
回路(AGC)を含んで構成される。CDSは、画像信号に含まれるノイズの除去を行い、AGCは、ノイズ除去された画像信号を所定のゲインで増幅する。A/D変換器18は、さらにアナログの画像信号を所定ビットの階調幅を持ったデジタルの画像信号に変換する。この画像信号は、いわゆるRAWデータであり、画素ごとR、G、Bの濃度を示す階調値を有している。
The A /
画像入力コントローラ19は、所定容量のラインバッファを内蔵しており、A/D変換器18から出力された1コマ分の画像信号を蓄積する。この画像入力コントローラ19に蓄積された1コマ分の画像信号は、バス24を介してメモリ27に格納される。
The
バス24には、上記CPU11、画像入力コントローラ19、メモリ27のほか、画像信号処理回路20、画像圧縮処理回路21、表示回路22、メディアコントローラ25、AE/AF検出回路29、撮影制御回路30等が接続されており、これらはバス24を介して互いに情報を送受信できるようにされている。
In addition to the
メモリ27に格納された1コマ分の画像信号は、点順次(画素の順番)に画像信号処理回路20に取り込まれる。
The image signal for one frame stored in the
画像信号処理回路20は、点順次に取り込んだR、G、Bの各色の画像信号に対して所定の信号処理を施し、輝度信号Yと色差信号Cr、Cbとからなる画像信号(Y/C信号)を生成する。
The image
AE/AF検出回路29は、CPU11の指令に従い、画像入力コントローラ19を介してメモリ27に格納されたR、G、Bの画像信号を取り込み、AF(Automatic Focus)制御に必要な焦点評価値を算出する。このAF検出部29は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、画面に設定された所定のフォーカス領域内の信号を切り出すフォーカス領域抽出部、及び、フォーカス領域内の絶対値データを積算する積算部を含み、この積算部で積算されたフォーカス領域内の絶対値データを焦点評価値としてCPU11に出力する。CPU11は、AF制御時、このAE/AF検出部29から出力される焦点評価値が極大となる位置をサーチし、その位置にフォーカスレンズ16を移動させることにより、主要被写体への焦点合わせを行う。
The AE /
またAE/AF検出回路29は、CPU11の指令に従い、画像入力コントローラ19を介してメモリ27に格納されたR、G、Bの画像信号を取り込み、AE制御に必要な積算値を算出する。すなわち、このAE/AF検出回路29は、撮影領域(一画面)を複数の領域に分割し、分割領域ごとにR、G、Bごとの画像信号の積算値を算出する。算出された各分割領域におけるR、G、Bごとの積算値の情報はメモリ27に格納される。
The AE /
CPU11は、AE/AF検出回路29が算出した積算値から露出値を算出し、この露出値に基づいて露出設定を行う。露出設定は、所定のプログラム線図に従って絞り値、シャッタ速度を決定する。
The
画像圧縮処理回路21は、CPU11からの圧縮指令に従い、入力された輝度信号Yと色差信号Cr、Cbとからなる画像信号(Y/C信号)に所定形式(たとえば、JPEG)の圧縮処理を施し、圧縮画像データを生成する。また、CPU11からの伸張指令に従い、入力された圧縮画像データに所定形式の伸張処理を施して、非圧縮の画像データを生成する。
The image
表示回路22は、CPU11からの指令に従い、画像表示装置23への表示を制御する。すなわち、CPU11からの指令に従い、メモリ27から順次入力される画像信号を画
像表示装置23に表示するための映像信号(たとえば、NTSC信号やPAL信号、SCAM信号)に変換して画像表示装置23に出力する。また、必要に応じて画像表示装置23に表示する文字、図形、記号等の信号を画像信号に混合して、画像表示装置23に所定の文字、図形、記号等を表示させる。
The
メディアコントローラ25は、CPU11からの指令に従い、記録メディア26に対してデータの読み/書きを制御する。なお、記録メディア26は、メモリカードのようにカメラ本体に対して着脱自在なものでもよいし、また、カメラ本体に内蔵されたものでもよい。着脱自在とする場合は、カメラ本体にカードスロットを設け、このカードスロットに装填して使用する。
The
年齢/性別検出回路31は、被写体中に存在する顔を検出し、検出した顔の年齢及び性別の判別を行う。
The age /
図2に、年齢/性別検出回路31の概念図を示す。年齢/性別検出回路31は、CCD17から得られた画像を異なるサイズに変換したm枚の画像を入力とし、性別ごとに分類した顔の画像データ(32×32サイズをn個)、顔の角度データ、顔の特定領域における特徴量に対応した年齢データ、推定年齢修正用補正値、及び顔領域中心距離の関値をパラメータとして用いて、最終的に被写体の推定年齢および被写体領域の位置情報を算出する。
FIG. 2 shows a conceptual diagram of the age /
年齢/性別検出回路31の動作について説明する。まず、年齢を推定する画像を入力する。入力した画像を解像度の異なるようにリサイズし、m枚用意する。そして、以下の方法で被写体の顔を検出する。
The operation of the age /
1.各リサイズ画像全体から、あらかじめ用意していた複数の顔の画像データ(32×32サイズ)の中から1つ以上マッチングする領域を抽出する。 1. From each entire resized image, one or more matching regions are extracted from a plurality of face image data (32 × 32 size) prepared in advance.
2.抽出された領域の個数が最大であるリサイズ画像を選択し、選択したリサイズ画像内の抽出領域をリサイズ前の画像に対応した大きさに拡大・縮小し、それにより得られた領域を被写体の顔として特定し、検出する。 2. Select the resized image with the largest number of extracted areas, enlarge / reduce the extracted area in the selected resized image to the size corresponding to the image before the resize, and the resulting area is the face of the subject Identify and detect as.
3.同時に、画像に対する検出された顔の角度を特定する。ここで、正面顔を0度とし、反時計回りに回転する方向で角度を増加させる。図3は、検出された顔の角度を示す図である。 3. At the same time, the detected face angle with respect to the image is specified. Here, the front face is set to 0 degree, and the angle is increased in the direction of rotating counterclockwise. FIG. 3 is a diagram showing detected face angles.
このようにして得られた被写体の顔の領域に対して、例えば、目尻のしわ、あごのたるみ、目の下のしわ、額のしわ、頭髪のような顔の特定の領域における陰影や形状から年齢を推定する。具体的には、顔の特定の領域におけるエッジ強調値、色情報などの特徴値を算出し、あらかじめ用意していた特徴値に対応した年齢データから、算出した特徴値に対応する年齢を選択し、被写体の年齢として推定する。 For the face area of the subject obtained in this way, for example, age is determined based on shadows and shapes in specific areas of the face such as wrinkles in the corners of the eyes, slack in the chin, wrinkles under the eyes, wrinkles in the forehead and hair presume. Specifically, feature values such as edge enhancement values and color information in a specific area of the face are calculated, and the age corresponding to the calculated feature value is selected from age data corresponding to the feature value prepared in advance. Estimate as the age of the subject.
次に、顔検出を行ったときに被写体の顔の領域にマッチングした顔画像データの性別から、被写体の性別を判定する。ここで、マッチングした画像データが複数で、男女とも存在する場合は、画像データの性別を列挙し、多く列挙された性別を被写体の性別として判定する。 Next, the gender of the subject is determined from the gender of the face image data matched with the face area of the subject when face detection is performed. Here, when there are a plurality of matched image data and both men and women exist, the genders of the image data are listed, and the many listed genders are determined as the gender of the subject.
そして、判定された被写体の性別に対して、以下のように推定した年齢を修正する。 Then, the estimated age is corrected as follows for the determined sex of the subject.
1.被写体の性別が男性の場合は、推定した年齢を修正しない。 1. If the subject's gender is male, the estimated age is not corrected.
2.被写体の性別が女性の場合は、推定した年齢に対して補正値としてA倍し、推定した年齢を修正する。ここで、補正値Aは、A<1(目安としてA=0.8程度)に設定し、推定した年齢を若くするように修正する。 2. When the subject's gender is female, the estimated age is multiplied by A as the correction value to correct the estimated age. Here, the correction value A is set to A <1 (A = about 0.8 as a guideline), and is corrected to make the estimated age younger.
なお、本発明においては、年齢及び性別を推定する方法は前述の方法に限定するものではない。例えば、顔の辞書データを用いて年齢及び性別を推定してもよい。 In the present invention, the method for estimating age and gender is not limited to the method described above. For example, the age and sex may be estimated using face dictionary data.
さらに、以下の方法で、被写体領域を設定する。 Further, the subject area is set by the following method.
1.被写体が複数であり、かつ、検出した顔領域の中心を結ぶ距離が閻値以下である場合、顔領域を被写体領域として設定する。図4は、顔領域を被写体領域として設定した場合の被写体像を示す図である。 1. When there are a plurality of subjects and the distance connecting the centers of the detected face regions is equal to or less than the threshold value, the face region is set as the subject region. FIG. 4 is a diagram showing a subject image when the face region is set as the subject region.
2.上記以外の場合は、まず、領域の一辺が被写体の肩幅程度になるように顔領域を拡大する。図5(a)は、検出した顔領域を点線で、顔領域を拡大した領域を一点破線で示している。そして、検出した顔の角度に応じた方向(顔から胴体に向かう方向)に、拡大した領域をB倍し(目安として画面内に納まる大きさとしてB=1〜5程度)、被写体領域として設定する。図5(b)は、顔領域を拡大した領域を一点破線で、拡大した被写体領域を実線で示している。 2. In cases other than the above, first, the face area is enlarged so that one side of the area is about the shoulder width of the subject. FIG. 5A shows a detected face area with a dotted line, and an enlarged area of the face area with a one-dot broken line. Then, the enlarged area is multiplied by B in the direction corresponding to the detected face angle (the direction from the face to the body) (B = 1 to 5 as a size that fits within the screen as a guide) and set as the subject area To do. FIG. 5B shows a region obtained by enlarging the face region by a one-dot broken line, and a magnified subject region by a solid line.
このように、年齢/性別検出回路31は、被写体の推定年齢および被写体領域の位置情報を算出する。
Thus, the age /
音声出力装置32は、年齢/性別検出回路31が判別した被写体推定年齢を音声出力することにより、被写体に通知する。
The
撮影制御回路30は、音声出力装置32の音声出力の前後における被写体の変化を検出し、変化があった場合に本撮影を行うように制御する。図6に、撮影制御回路30の概念図を示す。撮影制御回路30は、年齢推定時の画像、推定年齢を音声出力した後の画像、及び被写体領域の位置情報を入力とし、被写体領域用マッチング画素数の閾値、顔の特徴部分用マッチング画素数の閾値値をパラメータとして用いて、本撮影を行うための撮影制御情報を出力する。
The
撮影制御回路30の動作について説明する。撮影制御回路30は、音声出力装置32が推定した年齢を音声で被写体に通知した後、CCD17から画像を取得する。そして、年齢推定時の画像と年齢を通知した後の画像を比較し、以下の方法で被写体変化を認識し、被写体の本撮影を行う。
The operation of the
1.被写体領域内でマッチングした画素数が閲値以下である場合、被写体が変化したと認識し、被写体を本撮影する。 1. If the number of matched pixels in the subject area is less than or equal to the threshold value, the subject is recognized as having changed, and the subject is actually photographed.
2.被写体領域内でマッチングした画素数が閾値を超えた場合、被写体領域を検出した顔領域に設定し、顔の特徴部分(例えば、目の周辺や口)を比較する。そして、顔の特徴部分でマッチングした画素数が閾値以下の場合は、被写体が変化したと認識し、被写体を撮影する。一方、顔の特徴部分でマッチングした画素数が閾値を超えた場合は、被写体が変化していないと認識し、被写体を撮影しない。 2. When the number of matched pixels in the subject area exceeds the threshold value, the subject area is set as the detected face area, and facial feature parts (for example, the periphery of the eyes and mouth) are compared. If the number of pixels matched in the facial feature portion is less than or equal to the threshold, the subject is recognized as having changed and the subject is photographed. On the other hand, when the number of matched pixels in the facial feature exceeds the threshold, it is recognized that the subject has not changed, and the subject is not photographed.
次に、第1の実施の形態における年齢推定撮影について説明する。図7は、第1の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである
。
Next, age estimation photographing in the first embodiment will be described. FIG. 7 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the first embodiment.
最初に、画像信号を取得する(ステップS1)。前述したように、デジタルカメラ10が撮影モードにセットされると、スルー画像を表示するために画像信号の出力が開始される。このスルー画像の画像信号を取得して以下の処理を行う。 First, an image signal is acquired (step S1). As described above, when the digital camera 10 is set to the shooting mode, output of an image signal is started to display a through image. An image signal of this through image is acquired and the following processing is performed.
次に、取得した画像信号から顔検出を行い、顔が検出されたか否かを判定する(ステップS2)。前述したように、顔検出は、年齢/性別検出回路31により行われる。ここで、顔が検出されなかった場合は、処理を終了する。
Next, face detection is performed from the acquired image signal to determine whether or not a face has been detected (step S2). As described above, face detection is performed by the age /
顔が検出された場合は、検出された顔について年齢の推定(ステップS3)と、性別の判定(ステップS4)を行なう。これらの処理も、年齢/性別検出回路31により行なわれる。また、複数の顔が検出された場合は、検出されたそれぞれの顔について、年齢の推定と性別の判定を行う。
When a face is detected, age estimation (step S3) and sex determination (step S4) are performed for the detected face. These processes are also performed by the age /
次に、検出された顔について、性別が女性と判定されたか否かを判定する(ステップS5)。前述したように、女性と判定された場合は、推定した年齢を若くするように修正を行なう(ステップS6)。この、女性と判定されたか否かの判定も、複数の顔が検出された場合は、検出されたそれぞれの顔について行なう。なお、ここでは男性と判定された場合は年齢の修正を行なっていないが、男性であっても年齢を修正する処理を行なってもよい。 Next, it is determined whether or not the detected face is determined to be female (step S5). As described above, when it is determined that the woman is female, the estimated age is corrected (step S6). The determination of whether or not it is determined to be a woman is also performed for each detected face when a plurality of faces are detected. Here, when it is determined that it is a male, the age is not corrected, but the process of correcting the age may be performed even for a male.
次に、被写体が複数、かつ顔検出領域の中心の距離が閾値以下であるか否かを判定する(ステップS7)。前述のように、この条件に該当する場合は、顔検出領域を被写体領域として設定する(ステップS8)。該当しない場合は、拡大した領域を被写体領域として設定する(ステップS9)。 Next, it is determined whether there are a plurality of subjects and the distance between the centers of the face detection areas is equal to or less than a threshold value (step S7). As described above, when this condition is met, the face detection area is set as the subject area (step S8). If not applicable, the enlarged area is set as the subject area (step S9).
被写体領域を設定したら、音声出力装置32により、推定した年齢(女性の場合は、推定後に修正した年齢)を音声で被写体である人物に通知する(ステップS10)。複数の顔が検出されている場合は、端から順に通知する。例えば、「左の方、○歳、真ん中の方、○歳、右の方、○歳」のように通知する。
When the subject area is set, the
音声通知後、再びスルー画像の画像信号を取得する。さらに、撮影制御回路30は、ここで取得した画像と年齢推定時の画像の被写体領域について、画素毎の比較を行ない(ステップS11)、被写体領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS12)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。
After the sound notification, the image signal of the through image is acquired again. Further, the
被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップS14)、音声通知前後において顔検出領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS15)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。顔検出領域内でマッチングした画素数も閾値を超える場合は、被写体に変化が無いと判断し、撮影を行わずに処理を終了する(ステップS16)。なお、複数の顔が検出されている場合は、順に推定年齢を告知するたびに告知した被写体の変化の検出を行い、変化があった場合に撮影を行う。 When the number of matched pixels in the subject area exceeds the threshold, the comparison range is limited to the face detection area (step S14), and it is determined whether the number of matched pixels in the face detection area before and after the voice notification is equal to or less than the threshold. Is performed (step S15). If it is less than or equal to the threshold value, it is determined that the subject has changed, and actual photographing is performed (step S13). If the number of matched pixels in the face detection area also exceeds the threshold value, it is determined that there is no change in the subject, and the process ends without performing shooting (step S16). When a plurality of faces are detected, the notified change in the subject is detected each time the estimated age is notified, and shooting is performed when there is a change.
このように、被写体の年齢を推定し、推定した年齢を被写体に通知し、さらに通知後の被写体の変化を検出し、被写体が変化した場合に撮影を行うことで、通知された被写体の反応を撮影することが可能となる。 In this way, the subject's age is estimated, the estimated age is notified to the subject, a change in the subject after the notification is detected, and shooting is performed when the subject changes, so that the response of the notified subject is detected. It becomes possible to shoot.
<第2の実施の形態>
図8は、本発明が適用されたデジタルカメラの第2の実施の形態の電気的構成を示すブロック図である。図1に示すブロック図とは、画像テンプレート/文字用合成処理回路33を備えたところ、及び音声出力装置32が、画像テンプレート/文字用合成処理回路33から音声データが入力されるところが異なる。画像テンプレート/文字用合成処理回路33は、撮影画像に画像テンプレートあるいは文字を合成するための回路である。また、本実施の形態のデジタルカメラ10は、画像表示装置23の部分だけが回転により被写体側に向けられるように構成されている。
<Second Embodiment>
FIG. 8 is a block diagram showing an electrical configuration of the second embodiment of the digital camera to which the present invention is applied. The block diagram shown in FIG. 1 is different from the block diagram shown in FIG. 1 in that an image template / character
図9に、画像テンプレート/文字用合成処理回路33の概念図を示す。画像テンプレート/文字用合成処理回路33は、CCD17から得られた画像及び推定年齢を入力とし、記憶している画像テンプレート及び文字の中から推定年齢に対応した画像テンプレート又は文字を選択し、入力画像に合成する。合成する位置は、検出した被写体の顔の領域の周辺である。図11は、人物41の推定年齢が15歳、人物42の推定年齢が22歳と判定された場合に、推定年齢10〜19歳に対応した画像テンプレート43である「複数の星マーク」、及び推定年齢20〜25歳に対応した文字44である「若々しい!!」を合成した例を示す図である。
FIG. 9 shows a conceptual diagram of the image template / character
次に、第2の実施の形態における年齢推定撮影について説明する。図10は、第2の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。なお、図7のフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。 Next, age estimation photographing in the second embodiment will be described. FIG. 10 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the second embodiment. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart of FIG. 7, and the detailed description is abbreviate | omitted.
第1の実施の形態と同様に、取得したスルー画像の画像信号から年齢/性別検出回路31が顔検出を行い、顔が検出されたか否かを判定する(ステップS1、S2)。顔が検出された場合は、検出された顔について年齢の推定(ステップS3)と、性別の判定(ステップS4)を行なう。検出した顔が女性と判定された場合は、推定した年齢を若くするように修正を行なう(ステップS5、S6)。また、被写体が複数、かつ顔検出領域の中心の距離が閾値以下であるか否かを判定し(ステップS7)、適切な被写体領域の設定を行なう(ステップS8、S9)。
Similar to the first embodiment, the age /
被写体領域を設定したら、それぞれの検出された顔について、推定された年齢の画像テンプレート又は文字を選択する(ステップS21)。選択した画像テンプレート又は文字を、年齢の推定を行なった画像に合成する(ステップS22)。前述のように、画像の合成は、画像テンプレート/文字用合成処理回路33が行なう。
When the subject area is set, an image template or a character of the estimated age is selected for each detected face (step S21). The selected image template or character is combined with the image whose age has been estimated (step S22). As described above, the image composition is performed by the image template / character
次に、通常のスルー画像の表示に代えて、画像テンプレート又は文字を合成した画像を画像表示装置23に表示させる(ステップS23)。そして、合成した画像を表示している画像表示装置23を回転させて、被写体である人物に閲覧させる(ステップS24)。なお、デジタルカメラ10の画像表示装置23ではなく、近距離通信等により別の表示装置に合成画像を表示し、これを被写体が閲覧してもよい。
Next, instead of displaying a normal live view image, an image template or an image obtained by combining characters is displayed on the image display device 23 (step S23). Then, the
さらに、合成画像において、文字を合成しているか否かを判定し(ステップS25)、文字を合成している場合には、音声出力装置32により、合成された文字を被写体に音声で通知する(ステップS26)。
Further, it is determined whether or not characters are synthesized in the synthesized image (step S25). If the characters are synthesized, the
このように合成画像を被写体に閲覧させ、再びスルー画像の画像信号を取得する。撮影制御回路30は、この画像と年齢推定時の画像の被写体領域について、画素毎の比較を行ない(ステップS11)、被写体領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS12)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行
う(ステップS13)。
In this manner, the synthesized image is browsed by the subject, and the image signal of the through image is acquired again. The
被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップS14)、音声通知前後において顔検出領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS15)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。顔検出領域内でマッチングした画素数も閾値を超える場合は、被写体に変化が無いと判断し、撮影を行わずに処理を終了する(ステップS16)。なお、本撮影した画像に、表示していた画像テンプレート又は文字を合成して記録してもよい。 When the number of matched pixels in the subject area exceeds the threshold, the comparison range is limited to the face detection area (step S14), and it is determined whether the number of matched pixels in the face detection area before and after the voice notification is equal to or less than the threshold. Is performed (step S15). If it is less than or equal to the threshold value, it is determined that the subject has changed, and actual photographing is performed (step S13). If the number of matched pixels in the face detection area also exceeds the threshold value, it is determined that there is no change in the subject, and the process ends without performing shooting (step S16). It should be noted that the displayed image template or characters may be combined with the actually captured image and recorded.
このように、被写体の年齢を推定し、推定した年齢に適した画像テンプレート又は文字を画像に合成して被写体に閲覧させ、閲覧後の被写体の変化を検出し、被写体が変化した場合に撮影を行うことで、合成画像を閲覧した被写体の反応を撮影することが可能となる。 In this way, the age of the subject is estimated, an image template or character suitable for the estimated age is combined with the image, the subject is browsed, a change in the subject after browsing is detected, and shooting is performed when the subject changes By doing so, it is possible to capture the reaction of the subject viewing the composite image.
<第3の実施の形態>
図12は、本発明が適用されたデジタルカメラの第3の実施の形態の電気的構成を示すブロック図である。図1に示すブロック図とは、情報入力コントローラ34を備えたところが異なる。情報入力コントローラ34は、ユーザに被写体の情報を入力させるために画像表示装置23にその旨の表示を行い、入力された情報を処理する回路である。
<Third Embodiment>
FIG. 12 is a block diagram showing an electrical configuration of the third embodiment of the digital camera to which the present invention is applied. 1 is different from the block diagram shown in FIG. 1 in that an
図13に、年齢/性別検出回路31及び情報入力コントローラ34の概念図を示す。情報入力コントローラ34は、被写体の情報の入力を受け付け、年齢/性別検出回路31に対して出力する。年齢/性別検出回路31は、情報入力コントローラ34から入力された情報を用いて、年齢、性別の推定を行なう。情報入力コントローラ34が入力を受け付ける情報は、被写体の生年月日や性別の他、撮影年月日がある。なお、撮影年月日は、デジタルカメラ10に内蔵されたカレンダ情報から取得してもよい。
FIG. 13 shows a conceptual diagram of the age /
次に、第3の実施の形態における年齢推定撮影について説明する。図14は、第3の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。なお、図10のフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。 Next, age estimation photographing in the third embodiment will be described. FIG. 14 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the third embodiment. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart of FIG. 10, and the detailed description is abbreviate | omitted.
これまでと同様に、スルー画像の画像信号を取得する(ステップS1)。次に、被写体の情報入力を行う(ステップS31)。被写体の情報は、画像表示装置23上に入力を促す旨の表示を行い、ユーザは、この指示に従って図示しない十字キー等の操作部材を用いて入力を行なう。画像表示装置23をタッチパネル構成して、このタッチパネルを用いて入力させてもよい。
As in the past, an image signal of the through image is acquired (step S1). Next, subject information is input (step S31). The subject information is displayed on the
被写体情報の入力が終了すると、ステップS1で取得した画像から年齢/性別検出回路31が顔検出を行い、顔が検出されたか否かを判定する(ステップS2)。顔が検出された場合は、検出された顔について年齢の推定(ステップS3)を行なう。ここで、ステップS31において被写体情報として性別が入力されているか否かの判定を行い(ステップS32)、性別が入力されていない場合は性別の判定を行う(ステップS4)。次に、判定された性別が女性であるか否かの判定を行う(ステップS5)。ここで、性別が入力されている場合は、入力された性別情報を用いる。検出した顔が女性と判定された場合は、推定した年齢を若くするように修正を行なう(ステップS6)。また、被写体が複数、かつ顔検出領域の中心の距離が閾値以下であるか否かを判定し(ステップS7)、適切な被写体領域の設定を行なう(ステップS8、S9)。
When the input of the subject information is completed, the age /
被写体領域を設定したら、ステップS31において生年月日と撮影年月日が入力されたか否かを判定する(ステップS33)。入力されていない場合は、第1の実施の形態と同様に、推定した年齢(女性の場合は、推定後に修正した年齢)を音声で被写体である人物に通知する(ステップS10)。生年月日と撮影年月日が入力されている場合は、これらの情報から実年齢を取得し(ステップS34)、実年齢と推定した年齢を音声で通知する(ステップS35)。なお、実年齢と推定した年齢の差を通知してもよい。 After the subject area is set, it is determined whether or not a date of birth and a shooting date are input in step S31 (step S33). If it is not input, the estimated age (in the case of a woman, the age corrected after estimation) is notified to the person who is the subject by voice as in the first embodiment (step S10). When the date of birth and the date of photographing are input, the actual age is acquired from these information (step S34), and the age estimated as the actual age is notified by voice (step S35). Note that the difference between the actual age and the estimated age may be notified.
年齢の通知後、再びスルー画像の画像信号を取得する。撮影制御回路30は、この画像と年齢推定時の画像の被写体領域について、画素毎の比較を行ない(ステップS11)、被写体領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS12)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。
After the notification of age, the image signal of the through image is acquired again. The
被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップS14)、音声通知前後において顔検出領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS15)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。顔検出領域内でマッチングした画素数も閾値を超える場合は、被写体に変化が無いと判断し、撮影を行わずに処理を終了する(ステップS16)。 When the number of matched pixels in the subject area exceeds the threshold, the comparison range is limited to the face detection area (step S14), and it is determined whether the number of matched pixels in the face detection area before and after the voice notification is equal to or less than the threshold. Is performed (step S15). If it is less than or equal to the threshold value, it is determined that the subject has changed, and actual photographing is performed (step S13). If the number of matched pixels in the face detection area also exceeds the threshold value, it is determined that there is no change in the subject, and the process ends without performing shooting (step S16).
このように、入力された情報に基づいて実年齢を算出すると共に被写体の年齢を推定し、推定した年齢と実年齢を被写体に通知し、さらに通知後の被写体の変化を検出し、被写体が変化した場合に撮影を行うことで、通知された被写体の反応を撮影することが可能となる。 In this way, the actual age is calculated based on the input information, the subject's age is estimated, the subject's estimated age and actual age are notified, and the subject's change after notification is detected, and the subject's change In this case, it is possible to photograph the reaction of the notified subject by photographing.
<第4の実施の形態>
図15は、本発明が適用されたデジタルカメラの第4の実施の形態の電気的構成を示すブロック図である。図8に示すブロック図とは、情報入力コントローラ34、及び生年月日データベース35を備えたところが異なる。情報入力コントローラ34は、被写体の情報を入力するための回路であり、また、生年月日データベース15は氏名と生年月日が登録されたデータベースであり、氏名を指定することにより生年月日を出力することができる。
<Fourth embodiment>
FIG. 15 is a block diagram showing an electrical configuration of the fourth embodiment of the digital camera to which the present invention is applied. 8 is different from the block diagram shown in FIG. 8 in that an
図16に、本実施の形態の画像テンプレート/文字用合成処理回路33の概念図を示す。画像テンプレート/文字用合成処理回路33は、CCD17から得られた画像及び推定年齢に加えて、情報入力コントローラ34から得られた被写体情報を入力とし、推定年齢及び実年齢に対応した画像テンプレート又は文字を選択し、入力画像に合成する。合成する位置は、検出した被写体の顔の領域の周辺である。
FIG. 16 is a conceptual diagram of the image template / character
次に、第4の実施の形態における年齢推定撮影について説明する。図17は、第4の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。なお、図10、図14のフローチャートと共通する部分には同一の符号を付し、その詳細な説明は省略する。 Next, age estimation photographing in the fourth embodiment will be described. FIG. 17 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the fourth embodiment. In addition, the same code | symbol is attached | subjected to the part which is common in the flowchart of FIG. 10, FIG. 14, and the detailed description is abbreviate | omitted.
これまでと同様に、スルー画像の画像信号を取得し(ステップS1)、被写体の情報入力を行う(ステップS31)。 As in the past, an image signal of a through image is acquired (step S1), and subject information is input (step S31).
被写体情報の入力が終了すると、ステップS1で取得された画像から年齢/性別検出回路31が顔検出を行い、顔が検出されたか否かを判定する(ステップS2)。顔が検出された場合は、検出された顔について年齢の推定(ステップS3)を行なう。ここで、ステップS31において被写体情報として性別が入力されているか否かの判定を行い(ステッ
プS32)、性別が入力されていない場合は性別の判定を行う(ステップS4)。次に、判定された性別が女性であるか否かの判定を行う(ステップS5)。ここで、性別が入力されている場合は、入力された性別情報を用いる。検出した顔が女性と判定された場合は、推定した年齢を若くするように修正を行なう(ステップS6)。また、被写体が複数、かつ顔検出領域の中心の距離が閾値以下であるか否かを判定し(ステップS7)、適切な被写体領域の設定を行なう(ステップS8、S9)。
When the input of the subject information is completed, the age /
被写体領域を設定したら、ステップS31において入力された被写体情報に撮影年月日が含まれているか否かを判定する(ステップS41)。含まれていない場合は、推定した年齢を音声で被写体である人物に通知し(ステップS10)、ステップS11へ移行する。入力された被写体情報に撮影年月日が含まれている場合は、さらに、入力された被写体情報に生年月日が含まれているか否かを判定する(ステップS42)。含まれている場合は、ステップS34へ移行する。 After the subject area is set, it is determined whether or not the shooting date is included in the subject information input in step S31 (step S41). If not included, the estimated age is notified to the person who is the subject by voice (step S10), and the process proceeds to step S11. If the input subject information includes the shooting date, it is further determined whether or not the input subject information includes the date of birth (step S42). If it is included, the process proceeds to step S34.
入力された被写体情報に生年月日が含まれていない場合は、さらに、氏名が含まれているか否かを判定する(ステップS43)。生年月日も氏名も入力されていない場合は、ステップS10へ移行する。氏名が入力されている場合は、生年月日データベース35から、氏名に対応する生年月日を取得する(ステップS44)。 If the input subject information does not include the date of birth, it is further determined whether or not a name is included (step S43). If neither the date of birth nor the name is entered, the process proceeds to step S10. If the name is entered, the date of birth corresponding to the name is acquired from the date of birth database 35 (step S44).
次に、撮影年月日と生年月日から実年齢を取得し(ステップS34)、推定年齢が実年齢以下であるか否かを判定する(ステップS45)。実年齢の方が大きい場合は、実年齢と推定した年齢を音声で通知し(ステップS35)、ステップS11へ移行する。 Next, the actual age is acquired from the shooting date and the date of birth (step S34), and it is determined whether or not the estimated age is equal to or less than the actual age (step S45). If the actual age is larger, the estimated age is notified by voice (step S35), and the process proceeds to step S11.
推定年齢の方が小さい場合は、推定年齢と実年齢の差に応じた画像テンプレート又は文字を選択し(ステップS21)、選択した画像テンプレート又は文字を、年齢の推定を行なった画像に合成する(ステップS22)。図18は、人物45の推定年齢と実年齢の差が2歳、人物46の推定年齢と実年齢の差が7歳と判定された場合に、推定年齢と実年齢の差が1〜5歳の場合に対応した画像テンプレート47である「複数の音符マーク」、及び推定年齢と実年齢の差が6〜10歳の場合に対応した文字48である「Young!」を合成した例を示す図である。同図に示すように、縦位置のアングルで顔が検出された場合は、顔の向きに合わせて画像テンプレート又は文字を合成する。このように合成した画像を、被写体である人物に閲覧させる(ステップS24)。
If the estimated age is smaller, an image template or character corresponding to the difference between the estimated age and the actual age is selected (step S21), and the selected image template or character is combined with the image for which the age has been estimated ( Step S22). FIG. 18 shows that when the difference between the estimated age and the actual age of the
さらに、合成画像において、文字を合成しているか否かを判定し(ステップS25)、文字を合成している場合には、音声出力装置32により、合成された文字を被写体に音声で通知する(ステップS26)。
Further, it is determined whether or not characters are synthesized in the synthesized image (step S25). If the characters are synthesized, the
ステップS10において推定年齢を音声で通知後、又はステップS35において推定年齢と実年齢を音声で通知後、又はステップS24において合成画像の閲覧後、又はステップS26において合成文字を音声で通知後、再びスルー画像の画像信号を取得する。撮影制御回路30は、この画像と年齢推定時の画像の被写体領域について、画素毎の比較を行ない(ステップS11)、被写体領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS12)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。
After notifying the estimated age by voice in step S10, or by notifying the estimated age and actual age by voice in step S35, or after viewing the synthesized image in step S24, or after notifying the synthesized characters by voice in step S26, and again through Get the image signal of the image. The
被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップS14)、音声通知前後において顔検出領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS15)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。顔検出領域内でマッチングした画素数も閾値を超える場合は、被写体に変化が無いと判断し、撮影を行わずに処理を終了する(ス
テップS16)。
When the number of matched pixels in the subject area exceeds the threshold, the comparison range is limited to the face detection area (step S14), and it is determined whether the number of matched pixels in the face detection area before and after the voice notification is equal to or less than the threshold. Is performed (step S15). If it is less than or equal to the threshold value, it is determined that the subject has changed, and actual photographing is performed (step S13). If the number of matched pixels in the face detection area also exceeds the threshold value, it is determined that there is no change in the subject, and the process ends without performing shooting (step S16).
このように、入力された情報に基づいて実年齢を算出すると共に被写体の年齢を推定し、推定年齢と実年齢の差分に応じた画像テンプレート又は文字を画像に合成して被写体に閲覧させ、閲覧後の被写体の変化を検出し、被写体が変化した場合に撮影を行うことで、閲覧した被写体の反応を撮影することが可能となる。 In this way, the actual age is calculated based on the input information, the age of the subject is estimated, an image template or a character corresponding to the difference between the estimated age and the actual age is combined with the image, and the subject is browsed. It is possible to capture the reaction of the viewed subject by detecting a later change in the subject and capturing an image when the subject changes.
10…デジタルカメラ、11…CPU、12…シャッタースイッチ、17…CCD、23…画像表示装置、30…撮影制御回路、31…年齢/性別検出回路、32…音声出力装置、33…画像テンプレート/文字用合成処理回路、34…情報入力コントローラ、35…生年月日データベース、41、42、45、46…人物、43、47…画像テンプレート、44、48…文字 DESCRIPTION OF SYMBOLS 10 ... Digital camera, 11 ... CPU, 12 ... Shutter switch, 17 ... CCD, 23 ... Image display device, 30 ... Shooting control circuit, 31 ... Age / gender detection circuit, 32 ... Audio output device, 33 ... Image template / character Composition processing circuit, 34 ... information input controller, 35 ... birth date database, 41, 42, 45, 46 ... person, 43, 47 ... image template, 44, 48 ... character
Claims (11)
前記画像信号から前記被写体の顔領域を検出する手段と、
前記被写体の顔領域から前記被写体の年齢を推定する手段と、
前記推定年齢を音声出力する手段と、
前記画像信号から前記被写体の存在領域を検出する手段と、
前記存在領域における前記被写体の変化量を検出する手段と、を備え、
前記音声出力する手段が音声出力を行なった前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする年齢推定撮影装置。 Photographing means for converting an optical image of a subject received through the photographing lens into an image signal;
Means for detecting a face area of the subject from the image signal;
Means for estimating the age of the subject from the face area of the subject;
Means for outputting the estimated age by voice;
Means for detecting the presence area of the subject from the image signal;
Means for detecting the amount of change of the subject in the presence area,
An age-estimated photographing apparatus that performs main photographing when the amount of change of the subject in the existence area is equal to or larger than a predetermined amount before and after the sound outputting means performs sound output.
前記被写体に関する情報から前記被写体の実年齢を算出する手段と、を備え、
前記推定年齢を音声出力する手段は、前記推定年齢と共に前記算出した実年齢を音声出力することを特徴とする請求項1に記載の年齢推定撮影装置。 Means for inputting information about the subject;
Means for calculating the actual age of the subject from information on the subject,
2. The age estimation photographing apparatus according to claim 1, wherein the means for outputting the estimated age by voice outputs the calculated actual age together with the estimated age.
前記被写体に関する情報から前記被写体の実年齢を算出する手段と、を備え、
前記推定年齢を音声出力する手段は、前記推定年齢と前記算出した実年齢の差分を音声出力することを特徴とする請求項1に記載の年齢推定撮影装置。 Means for inputting information about the subject;
Means for calculating the actual age of the subject from information on the subject,
2. The age estimation photographing apparatus according to claim 1, wherein the means for outputting the estimated age by voice outputs a difference between the estimated age and the calculated actual age.
前記画像信号から前記被写体の顔領域を検出する手段と、
前記被写体の顔領域から前記被写体の年齢を推定する手段と、
前記推定年齢に応じた画像テンプレート又は文字を選択する手段と、
前記画像信号に前記選択した画像テンプレート又は文字を合成する手段と、
前記画像テンプレート又は文字を合成した画像信号を再生表示する手段と、
前記再生表示する手段に再生表示された合成画像を前記被写体に閲覧させる手段と、
前記画像信号から前記被写体の存在領域を検出する手段と、
前記存在領域における前記被写体の変化量を検出する手段と、を備え、
前記被写体が前記合成画像を閲覧した前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする年齢推定撮影装置。 Photographing means for converting an optical image of a subject received through the photographing lens into an image signal;
Means for detecting a face area of the subject from the image signal;
Means for estimating the age of the subject from the face area of the subject;
Means for selecting an image template or characters according to the estimated age;
Means for synthesizing the selected image template or character with the image signal;
Means for reproducing and displaying an image signal obtained by combining the image template or characters;
Means for causing the subject to view a composite image reproduced and displayed on the means for reproducing and displaying;
Means for detecting the presence area of the subject from the image signal;
Means for detecting the amount of change of the subject in the presence area,
An age-estimating photographing apparatus that performs main photographing when a change amount of the subject in the existence area is a predetermined amount or more before and after the subject views the composite image.
前記被写体に関する情報から前記被写体の実年齢を算出する手段と、を備え、
前記推定年齢に応じた画像テンプレート又は文字を選択する手段は、前記推定年齢と前記算出した実年齢の差分に応じた画像テンプレート又は文字を選択することを特徴とする請求項4に記載の年齢推定撮影装置。 Means for inputting information about the subject;
Means for calculating the actual age of the subject from information on the subject,
5. The age estimation according to claim 4, wherein the means for selecting an image template or a character corresponding to the estimated age selects an image template or a character corresponding to a difference between the estimated age and the calculated actual age. Shooting device.
れた性別に応じて前記推定年齢を修正することを特徴とする請求項7に記載の年齢推定撮影装置。 8. The age estimation photographing apparatus according to claim 7, wherein the means for correcting the estimated age corrects the estimated age according to the gender inputted by the means for inputting information on the subject.
前記画像信号から前記被写体の顔領域を検出する工程と、
前記被写体の顔領域から前記被写体の年齢を推定する工程と、
前記推定年齢を音声出力する工程と、
前記画像信号から前記被写体の存在領域を検出する工程と、
前記存在領域における前記被写体の変化量を検出する工程と、を備え、
前記音声出力する工程が音声出力を行なった前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする年齢推定撮影方法。 A photographing process for converting an optical image of a subject received through the photographing lens into an image signal;
Detecting a face area of the subject from the image signal;
Estimating the age of the subject from the face area of the subject;
Outputting the estimated age by voice;
Detecting the presence area of the subject from the image signal;
Detecting the amount of change of the subject in the presence area,
An age-estimated photographing method, wherein the main photographing is performed when the amount of change of the subject in the existence area is equal to or larger than a predetermined amount before and after the sound outputting step performs the sound outputting.
前記画像信号から前記被写体の顔領域を検出する工程と、
前記被写体の顔領域から前記被写体の年齢を推定する工程と、
前記推定年齢に応じた画像テンプレート又は文字を選択する工程と、
前記画像信号に前記選択した画像テンプレート又は文字を合成する工程と、
前記画像テンプレート又は文字を合成した画像信号を再生表示する工程と、
再生表示された合成画像を前記被写体に閲覧させる工程と、
前記画像信号から前記被写体の存在領域を検出する工程と、
前記存在領域における前記被写体の変化量を検出する工程と、を備え、
前記被写体が前記合成画像を閲覧した前後において、前記存在領域における前記被写体の変化量が所定量以上の場合に本撮影を行うことを特徴とする年齢推定撮影方法。 A photographing process for converting an optical image of a subject received through the photographing lens into an image signal;
Detecting a face area of the subject from the image signal;
Estimating the age of the subject from the face area of the subject;
Selecting an image template or characters according to the estimated age;
Synthesizing the selected image template or character with the image signal;
Replaying and displaying an image signal obtained by combining the image template or characters;
A step of causing the subject to view the composite image that has been reproduced and displayed;
Detecting the presence area of the subject from the image signal;
Detecting the amount of change of the subject in the presence area,
An age-estimated photographing method characterized in that a main photographing is performed before and after the subject browses the composite image and the amount of change of the subject in the existence region is a predetermined amount or more.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007256762A JP2009089083A (en) | 2007-09-28 | 2007-09-28 | Age estimation photographing device and age estimation photographing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007256762A JP2009089083A (en) | 2007-09-28 | 2007-09-28 | Age estimation photographing device and age estimation photographing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009089083A true JP2009089083A (en) | 2009-04-23 |
Family
ID=40661879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007256762A Pending JP2009089083A (en) | 2007-09-28 | 2007-09-28 | Age estimation photographing device and age estimation photographing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009089083A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013099367A1 (en) * | 2011-12-27 | 2013-07-04 | Necソフト株式会社 | Image recognition device, image recognition method, corrector, program, and recording medium |
CN107580251A (en) * | 2017-09-15 | 2018-01-12 | 孙凤兰 | The adaptively selected system of information input mode |
KR20190074068A (en) * | 2017-12-19 | 2019-06-27 | 재단법인대구경북과학기술원 | Electronic device and controlling method thereof |
-
2007
- 2007-09-28 JP JP2007256762A patent/JP2009089083A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013099367A1 (en) * | 2011-12-27 | 2013-07-04 | Necソフト株式会社 | Image recognition device, image recognition method, corrector, program, and recording medium |
CN107580251A (en) * | 2017-09-15 | 2018-01-12 | 孙凤兰 | The adaptively selected system of information input mode |
KR20190074068A (en) * | 2017-12-19 | 2019-06-27 | 재단법인대구경북과학기술원 | Electronic device and controlling method thereof |
KR102295600B1 (en) * | 2017-12-19 | 2021-08-31 | 재단법인대구경북과학기술원 | Electronic device and controlling method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4904243B2 (en) | Imaging apparatus and imaging control method | |
JP4645685B2 (en) | Camera, camera control program, and photographing method | |
JP4861109B2 (en) | Image data processing apparatus, image data processing method, image data processing program, and imaging apparatus | |
US8077216B2 (en) | Image pickup apparatus with a human face detecting function, method and program product for detecting a human face | |
JP5467992B2 (en) | Imaging device | |
US8350918B2 (en) | Image capturing apparatus and control method therefor | |
JP4732303B2 (en) | Imaging device | |
JP5604285B2 (en) | Imaging device | |
JP2009284235A (en) | Imaging device | |
JP4802884B2 (en) | Imaging apparatus, captured image recording method, and program | |
JP4929631B2 (en) | Image generating apparatus and image generating method | |
JP2007027971A (en) | Photographing apparatus, control method thereof, program, and recording medium | |
US20080240520A1 (en) | Imaging apparatus, display control method and recording medium | |
JP4586707B2 (en) | Image processing apparatus, electronic camera, and image processing program | |
JP5375846B2 (en) | Imaging apparatus, automatic focus adjustment method, and program | |
JP2007199311A (en) | Image display device and imaging apparatus | |
JP2010160297A (en) | Imaging apparatus, automatic focusing method, and computer program | |
JP2017143354A (en) | Image processing apparatus and image processing method | |
JP2009088710A (en) | Photographic apparatus, photographing method, and photographing program | |
US20080151077A1 (en) | Image processor and imaging device | |
JP2009089083A (en) | Age estimation photographing device and age estimation photographing method | |
JP4632417B2 (en) | Imaging apparatus and control method thereof | |
JP2009253925A (en) | Imaging apparatus and imaging method, and imaging control program | |
JP2011066828A (en) | Imaging device, imaging method and program | |
CN111698389A (en) | Image processing apparatus, image capturing apparatus, image processing method, and storage medium |