JP2009089083A - Age estimation photographing device and age estimation photographing method - Google Patents

Age estimation photographing device and age estimation photographing method Download PDF

Info

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
Application number
JP2007256762A
Other languages
Japanese (ja)
Inventor
Masahito Fujii
雅人 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2007256762A priority Critical patent/JP2009089083A/en
Publication of JP2009089083A publication Critical patent/JP2009089083A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform photographing by recognizing a change in photographic subject with respect to a notified result after notifying an estimated age to a photographic subject. <P>SOLUTION: An image is acquired while a face and an existence region of a photographic subject are detected from the acquired image so as to execute age estimation of the acquired face. Sex determination is performed from the detected face. When the detected face is female, the estimated age is corrected younger. The estimated age is notified by sound so as to detect a change in photographic subject in the existence region before/after the sound notification. When the change in photographic subject is large, actual photographing is performed. <P>COPYRIGHT: (C)2009,JPO&INPIT

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には、顔を使った占い、職業診断ゲームなど、エンターテイメントに応用することについて記載されている。
特開2004−318632号公報 特開2004−334799号公報 特開2005−165447号公報 特開2007−80057号公報
2. Description of the Related Art There is known an apparatus that detects a person's face from an image captured by an imaging apparatus and determines age and sex. Patent Document 1 describes an age estimation apparatus that can stably estimate the age of a photographed measurement subject. Various technologies that apply the estimated age and gender information are also disclosed. For example, Patent Document 2 describes a technology in which a vehicle occupant's face is imaged to estimate the occupant's age, and the information providing apparatus provides information according to the estimated age. Patent Document 3 describes obtaining data on subsequent development of new products in the field of marketing by obtaining information on gender and age. Patent Document 4 describes fortune telling using a face, It describes application to entertainment such as occupational diagnosis games.
JP 2004-318632 A JP 2004-334799 A JP 2005-165447 A Japanese Patent Laid-Open No. 2007-80057

しかしながら、これらの技術においては、推定した年齢を被写体に通知して、通知された年齢に対する測定対象者の反応を認識するものはなかった。本発明はこのような事情に鑑みてなされたもので、推定した年齢を被写体に通知し、通知した結果に対する被写体の変化を認識して撮影を行う年齢推定撮影装置及び年齢推定撮影方法を提供することを目的とする。   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 claim 7, wherein the means for correcting the estimated age includes means for determining the sex of the subject from the face of the subject, and according to the determined gender. The estimated age is corrected.

これにより、特に女性の被写体に対して、推定した年齢より若い年齢を通知することができる。   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 claim 7, wherein the means for correcting the estimated age corrects the estimated age according to the gender input by the means for inputting information relating to the subject. It is characterized by that.

これにより、特に女性の被写体に対して、推定した年齢より若い年齢を通知することができる。   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 claim 11 includes a photographing step of converting 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. Detecting, estimating the age of the subject from the face area of the subject, selecting an image template or character according to the estimated age, and synthesizing the selected image template or character with the image signal. A step of reproducing and displaying an image signal obtained by combining the image template or characters, a step of causing the subject to view the reproduced and synthesized image, and a step of detecting an existence area of the subject from the image signal. Detecting the amount of change of the subject in the presence area, and the presence or absence of the subject before and after the subject views the composite image Variation of the object in the frequency region 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.

本発明によれば、推定した年齢を被写体に通知し、通知した結果に対する被写体の変化を認識して撮影を行う年齢推定撮影装置及び年齢推定撮影方法を提供することができる。   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 CPU 11, a shutter switch 12, a zoom motor driver 13, a focus motor driver 14, a zoom lens 15, a focus lens 16, a CCD 17, and an A / D converter. 18. Image input controller 19, image signal processing circuit 20, image compression processing circuit 21, display circuit 22, image display device 23, media controller 25, recording medium 26, memory 27, AE / AF detection circuit 29, photographing control circuit 30 , An age / gender detection circuit 31, an audio output device 32, and the like.

各部はCPU11に制御されて動作し、CPU11は、シャッタースイッチ12からの入力に基づき所定の制御プログラムを実行することにより、デジタルカメラ10の各部を制御する。   Each unit operates under the control of the CPU 11, and the CPU 11 controls each unit of the digital camera 10 by executing a predetermined control program based on an input from the shutter switch 12.

CPU11はプログラムROMを内蔵しており、このプログラムROMには、CPU11が実行する制御プログラムのほか、制御に必要な各種データ等が記録されている。CPU11は、この制御プログラムを逐次実行することにより、デジタルカメラ10の各部を制御する。   The CPU 11 has a built-in program ROM, in which various data necessary for control are recorded in addition to the control program executed by the CPU 11. The CPU 11 controls each part of the digital camera 10 by sequentially executing this control program.

シャッタースイッチ12は、操作に応じた信号をCPU11に出力する。   The shutter switch 12 outputs a signal corresponding to the operation to the CPU 11.

撮影レンズは、ズーム機能を有するAFレンズで構成されており、ズームレンズ15、フォーカスレンズ16を含んで構成されている。   The photographing lens is composed of an AF lens having a zoom function, and includes a zoom lens 15 and a focus lens 16.

ズームレンズ15は、ズームレンズ用モータドライバ13により駆動される図示しないズームレンズ用モータによって駆動され、フォーカスレンズ16の光軸上を前後移動する。CPU11は、ズームレンズ用モータドライバ13を介して図示しないズームレンズ用モータの駆動を制御することにより、ズームレンズ15の移動を制御し、ズーミングを行う。   The zoom lens 15 is driven by a zoom lens motor (not shown) driven by a zoom lens motor driver 13 and moves back and forth on the optical axis of the focus lens 16. The CPU 11 controls the movement of the zoom lens 15 by controlling the driving of a zoom lens motor (not shown) via the zoom lens motor driver 13 to perform zooming.

フォーカスレンズ16は、フォーカスレンズ用モータドライバ14により駆動される図示しないフォーカスレンズ用モータによって駆動され、ズームレンズ15の光軸上を前後移動する。CPU11は、フォーカス用モータドライバ14を介して図示しないフォーカスレンズ用モータの駆動を制御することにより、フォーカスレンズ16の移動を制御し、フォーカシングを行う。   The focus lens 16 is driven by a focus lens motor (not shown) driven by a focus lens motor driver 14 and moves back and forth on the optical axis of the zoom lens 15. The CPU 11 controls the movement of the focus lens 16 by controlling the drive of a focus lens motor (not shown) via the focus motor driver 14 to perform focusing.

CCD17は、フォーカスレンズ16の後段に配置されており、ズームレンズ15及びフォーカスレンズ16を透過した被写体光を受光する。CCD17は、周知のように多数の受光素子がマトリクス状に配列された受光面を備えている。ズームレンズ15及びフォーカスレンズ16を透過した被写体光は、このCCD17の受光面上に結像され、各受光素子によって電気信号に変換される。   The CCD 17 is disposed after the focus lens 16 and receives subject light transmitted through the zoom lens 15 and the focus lens 16. As is well known, the CCD 17 has a light receiving surface on which a large number of light receiving elements are arranged in a matrix. The subject light transmitted through the zoom lens 15 and the focus lens 16 is imaged on the light receiving surface of the CCD 17 and converted into an electric signal by each light receiving element.

このCCD17は、垂直転送クロック及び水平転送クロックに同期して、各画素に蓄積された電荷を1ラインずつシリアルな画像信号として出力する。   The CCD 17 outputs the charge accumulated in each pixel as a serial image signal line by line in synchronization with the vertical transfer clock and the horizontal transfer clock.

また、画像信号の出力は、デジタルカメラ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 image display device 23. The output of the image signal for the through image is temporarily stopped when the instruction for the main photographing is given, and is started again when the main photographing is finished.

またCPU11は、本撮影時に必要であれば、撮影制御回路30を撮影補助光として発光させる。   Further, if necessary at the time of actual shooting, the CPU 11 causes the shooting control circuit 30 to emit light as shooting auxiliary light.

CCD17から出力される画像信号は、アナログ信号であり、このアナログの画像信号は、A/D変換器18に取り込まれる。   The image signal output from the CCD 17 is an analog signal, and this analog image signal is taken into the A / D converter 18.

A/D変換器18は、相関二重サンプリング回路(CDS)、自動ゲインコントロール
回路(AGC)を含んで構成される。CDSは、画像信号に含まれるノイズの除去を行い、AGCは、ノイズ除去された画像信号を所定のゲインで増幅する。A/D変換器18は、さらにアナログの画像信号を所定ビットの階調幅を持ったデジタルの画像信号に変換する。この画像信号は、いわゆるRAWデータであり、画素ごとR、G、Bの濃度を示す階調値を有している。
The A / D converter 18 includes a correlated double sampling circuit (CDS) and an automatic gain control circuit (AGC). The CDS removes noise contained in the image signal, and the AGC amplifies the noise-removed image signal with a predetermined gain. The A / D converter 18 further converts the analog image signal into a digital image signal having a gradation width of a predetermined bit. This image signal is so-called RAW data, and has a gradation value indicating the density of R, G, and B for each pixel.

画像入力コントローラ19は、所定容量のラインバッファを内蔵しており、A/D変換器18から出力された1コマ分の画像信号を蓄積する。この画像入力コントローラ19に蓄積された1コマ分の画像信号は、バス24を介してメモリ27に格納される。   The image input controller 19 has a built-in line buffer having a predetermined capacity, and accumulates an image signal for one frame output from the A / D converter 18. The image signal for one frame accumulated in the image input controller 19 is stored in the memory 27 via the bus 24.

バス24には、上記CPU11、画像入力コントローラ19、メモリ27のほか、画像信号処理回路20、画像圧縮処理回路21、表示回路22、メディアコントローラ25、AE/AF検出回路29、撮影制御回路30等が接続されており、これらはバス24を介して互いに情報を送受信できるようにされている。   In addition to the CPU 11, the image input controller 19, and the memory 27, the bus 24 includes an image signal processing circuit 20, an image compression processing circuit 21, a display circuit 22, a media controller 25, an AE / AF detection circuit 29, an imaging control circuit 30, and the like. Are connected to each other via a bus 24 so that information can be transmitted and received between them.

メモリ27に格納された1コマ分の画像信号は、点順次(画素の順番)に画像信号処理回路20に取り込まれる。   The image signal for one frame stored in the memory 27 is taken into the image signal processing circuit 20 in dot order (pixel order).

画像信号処理回路20は、点順次に取り込んだR、G、Bの各色の画像信号に対して所定の信号処理を施し、輝度信号Yと色差信号Cr、Cbとからなる画像信号(Y/C信号)を生成する。   The image signal processing circuit 20 performs predetermined signal processing on the image signals of R, G, and B colors captured in a dot-sequential manner, and generates an image signal (Y / C) composed of a luminance signal Y and color difference signals Cr and Cb. Signal).

AE/AF検出回路29は、CPU11の指令に従い、画像入力コントローラ19を介してメモリ27に格納されたR、G、Bの画像信号を取り込み、AF(Automatic Focus)制御に必要な焦点評価値を算出する。このAF検出部29は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、画面に設定された所定のフォーカス領域内の信号を切り出すフォーカス領域抽出部、及び、フォーカス領域内の絶対値データを積算する積算部を含み、この積算部で積算されたフォーカス領域内の絶対値データを焦点評価値としてCPU11に出力する。CPU11は、AF制御時、このAE/AF検出部29から出力される焦点評価値が極大となる位置をサーチし、その位置にフォーカスレンズ16を移動させることにより、主要被写体への焦点合わせを行う。   The AE / AF detection circuit 29 fetches R, G, B image signals stored in the memory 27 via the image input controller 19 in accordance with a command from the CPU 11 and obtains a focus evaluation value necessary for AF (Automatic Focus) control. calculate. The AF detection unit 29 includes a high-pass filter that passes only a high-frequency component of the G signal, an absolute value processing unit, a focus region extraction unit that extracts a signal within a predetermined focus region set on the screen, and a focus region An integration unit for integrating the absolute value data is included, and the absolute value data in the focus area integrated by the integration unit is output to the CPU 11 as a focus evaluation value. During the AF control, the CPU 11 searches for a position where the focus evaluation value output from the AE / AF detection unit 29 is maximized, and moves the focus lens 16 to that position, thereby focusing on the main subject. .

またAE/AF検出回路29は、CPU11の指令に従い、画像入力コントローラ19を介してメモリ27に格納されたR、G、Bの画像信号を取り込み、AE制御に必要な積算値を算出する。すなわち、このAE/AF検出回路29は、撮影領域(一画面)を複数の領域に分割し、分割領域ごとにR、G、Bごとの画像信号の積算値を算出する。算出された各分割領域におけるR、G、Bごとの積算値の情報はメモリ27に格納される。   The AE / AF detection circuit 29 fetches R, G, and B image signals stored in the memory 27 via the image input controller 19 in accordance with a command from the CPU 11 and calculates an integrated value necessary for AE control. That is, the AE / AF detection circuit 29 divides the shooting area (one screen) into a plurality of areas, and calculates an integrated value of image signals for each of R, G, and B for each divided area. The calculated integrated value information for each R, G, and B in each divided area is stored in the memory 27.

CPU11は、AE/AF検出回路29が算出した積算値から露出値を算出し、この露出値に基づいて露出設定を行う。露出設定は、所定のプログラム線図に従って絞り値、シャッタ速度を決定する。   The CPU 11 calculates an exposure value from the integrated value calculated by the AE / AF detection circuit 29, and performs exposure setting based on the exposure value. For exposure setting, the aperture value and shutter speed are determined according to a predetermined program diagram.

画像圧縮処理回路21は、CPU11からの圧縮指令に従い、入力された輝度信号Yと色差信号Cr、Cbとからなる画像信号(Y/C信号)に所定形式(たとえば、JPEG)の圧縮処理を施し、圧縮画像データを生成する。また、CPU11からの伸張指令に従い、入力された圧縮画像データに所定形式の伸張処理を施して、非圧縮の画像データを生成する。   The image compression processing circuit 21 performs compression processing of a predetermined format (for example, JPEG) on the image signal (Y / C signal) composed of the input luminance signal Y and the color difference signals Cr and Cb in accordance with a compression command from the CPU 11. Generate compressed image data. Further, in accordance with a decompression command from the CPU 11, the input compressed image data is subjected to decompression processing in a predetermined format to generate uncompressed image data.

表示回路22は、CPU11からの指令に従い、画像表示装置23への表示を制御する。すなわち、CPU11からの指令に従い、メモリ27から順次入力される画像信号を画
像表示装置23に表示するための映像信号(たとえば、NTSC信号やPAL信号、SCAM信号)に変換して画像表示装置23に出力する。また、必要に応じて画像表示装置23に表示する文字、図形、記号等の信号を画像信号に混合して、画像表示装置23に所定の文字、図形、記号等を表示させる。
The display circuit 22 controls display on the image display device 23 in accordance with a command from the CPU 11. That is, in accordance with a command from the CPU 11, the image signal sequentially input from the memory 27 is converted into a video signal (for example, an NTSC signal, a PAL signal, or a SCAM signal) for display on the image display device 23. Output. Further, if necessary, signals such as characters, figures, symbols and the like to be displayed on the image display device 23 are mixed with the image signals, and predetermined image characters, figures, symbols, etc. are displayed on the image display device 23.

メディアコントローラ25は、CPU11からの指令に従い、記録メディア26に対してデータの読み/書きを制御する。なお、記録メディア26は、メモリカードのようにカメラ本体に対して着脱自在なものでもよいし、また、カメラ本体に内蔵されたものでもよい。着脱自在とする場合は、カメラ本体にカードスロットを設け、このカードスロットに装填して使用する。   The media controller 25 controls reading / writing of data with respect to the recording medium 26 in accordance with a command from the CPU 11. The recording medium 26 may be detachable from the camera body such as a memory card, or may be built in the camera body. In the case of detachable, a card slot is provided in the camera body, and the card slot is used by being loaded.

年齢/性別検出回路31は、被写体中に存在する顔を検出し、検出した顔の年齢及び性別の判別を行う。   The age / gender detection circuit 31 detects a face present in the subject and determines the age and gender of the detected face.

図2に、年齢/性別検出回路31の概念図を示す。年齢/性別検出回路31は、CCD17から得られた画像を異なるサイズに変換したm枚の画像を入力とし、性別ごとに分類した顔の画像データ(32×32サイズをn個)、顔の角度データ、顔の特定領域における特徴量に対応した年齢データ、推定年齢修正用補正値、及び顔領域中心距離の関値をパラメータとして用いて、最終的に被写体の推定年齢および被写体領域の位置情報を算出する。   FIG. 2 shows a conceptual diagram of the age / gender detection circuit 31. The age / gender detection circuit 31 receives m images obtained by converting the images obtained from the CCD 17 into different sizes, receives face image data classified by gender (n of 32 × 32 sizes), face angle The estimated age of the subject and the position information of the subject area are finally obtained using the data, age data corresponding to the feature amount in the specific area of the face, the correction value for correcting the estimated age, and the function value of the center distance of the face area as parameters. calculate.

年齢/性別検出回路31の動作について説明する。まず、年齢を推定する画像を入力する。入力した画像を解像度の異なるようにリサイズし、m枚用意する。そして、以下の方法で被写体の顔を検出する。   The operation of the age / gender detection circuit 31 will be described. First, an image for estimating the age is input. Resizes the input image so that the resolution is different, and prepares m images. Then, the face of the subject is detected by the following method.

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 / sex detection circuit 31 calculates the estimated age of the subject and the position information of the subject area.

音声出力装置32は、年齢/性別検出回路31が判別した被写体推定年齢を音声出力することにより、被写体に通知する。   The audio output device 32 notifies the subject by outputting the estimated subject age determined by the age / gender detection circuit 31 by audio.

撮影制御回路30は、音声出力装置32の音声出力の前後における被写体の変化を検出し、変化があった場合に本撮影を行うように制御する。図6に、撮影制御回路30の概念図を示す。撮影制御回路30は、年齢推定時の画像、推定年齢を音声出力した後の画像、及び被写体領域の位置情報を入力とし、被写体領域用マッチング画素数の閾値、顔の特徴部分用マッチング画素数の閾値値をパラメータとして用いて、本撮影を行うための撮影制御情報を出力する。   The imaging control circuit 30 detects a change in the subject before and after the audio output of the audio output device 32, and controls to perform the main imaging when there is a change. FIG. 6 shows a conceptual diagram of the imaging control circuit 30. The image capturing control circuit 30 receives an image at the time of age estimation, an image after the estimated age is output as audio, and position information of the subject area, and inputs a threshold value for the number of matching pixels for the subject area and the number of matching pixels for the facial feature portion. Shooting control information for performing actual shooting is output using the threshold value as a parameter.

撮影制御回路30の動作について説明する。撮影制御回路30は、音声出力装置32が推定した年齢を音声で被写体に通知した後、CCD17から画像を取得する。そして、年齢推定時の画像と年齢を通知した後の画像を比較し、以下の方法で被写体変化を認識し、被写体の本撮影を行う。   The operation of the imaging control circuit 30 will be described. The imaging control circuit 30 acquires an image from the CCD 17 after notifying the subject of the age estimated by the audio output device 32 by voice. Then, the image at the time of age estimation is compared with the image after the age has been notified, the subject change is recognized by the following method, and the subject is actually photographed.

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 / sex detection circuit 31. If no face is detected, the process ends.

顔が検出された場合は、検出された顔について年齢の推定(ステップ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 / sex detection circuit 31. When a plurality of faces are detected, age estimation and gender determination are performed for each detected face.

次に、検出された顔について、性別が女性と判定されたか否かを判定する(ステップ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 voice output device 32 notifies the person who is the subject of the estimated age (in the case of a woman, the age corrected after the estimation) by voice (step S10). When a plurality of faces are detected, notification is made in order from the end. For example, “Left, ○, middle, ○, right, ○” is notified.

音声通知後、再びスルー画像の画像信号を取得する。さらに、撮影制御回路30は、ここで取得した画像と年齢推定時の画像の被写体領域について、画素毎の比較を行ない(ステップS11)、被写体領域内でマッチングした画素数が閾値以下か否かの判定を行う(ステップS12)。閾値以下の場合は、被写体が変化したと判断し、本撮影を行う(ステップS13)。   After the sound notification, the image signal of the through image is acquired again. Further, the imaging control circuit 30 performs pixel-by-pixel comparison on the subject region of the image acquired here and the image at the time of age estimation (step S11), and whether or not the number of matched pixels in the subject region is equal to or less than a threshold value. A determination is made (step S12). 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).

被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップ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 composition processing circuit 33 is provided, and the sound output device 32 receives sound data from the image template / character composition processing circuit 33. The image template / character combination processing circuit 33 is a circuit for combining an image template or characters with a photographed image. In addition, the digital camera 10 of the present embodiment is configured such that only the image display device 23 is directed toward the subject by rotation.

図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 composition processing circuit 33. The image template / character composition processing circuit 33 receives the image obtained from the CCD 17 and the estimated age, selects an image template or character corresponding to the estimated age from the stored image template and characters, and inputs the input image. To synthesize. The combining position is around the face area of the detected subject. FIG. 11 shows a case where the estimated age of the person 41 is 15 years old and the estimated age of the person 42 is 22 years old, which is an image template 43 corresponding to the estimated age 10 to 19 years. It is a figure which shows the example which synthesize | combined "youthful !!!!" which is the character 44 corresponding to the estimated age of 20-25 years old.

次に、第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 / gender detection circuit 31 performs face detection from the acquired image signal of the through image and determines whether or not a face has been detected (steps S1 and S2). When a face is detected, age estimation (step S3) and sex determination (step S4) are performed for the detected face. When it is determined that the detected face is a woman, correction is performed to make the estimated age younger (steps S5 and S6). Further, it is determined whether or not there are a plurality of subjects and the distance between the centers of the face detection regions is equal to or smaller than a threshold value (step S7), and an appropriate subject region is set (steps S8 and S9).

被写体領域を設定したら、それぞれの検出された顔について、推定された年齢の画像テンプレート又は文字を選択する(ステップ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 composition processing circuit 33.

次に、通常のスルー画像の表示に代えて、画像テンプレート又は文字を合成した画像を画像表示装置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 image display device 23 displaying the synthesized image is rotated so that the person who is the subject can browse (step S24). Note that the composite image may be displayed on another display device by short-range communication or the like instead of the image display device 23 of the digital camera 10, and the subject may view it.

さらに、合成画像において、文字を合成しているか否かを判定し(ステップ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 voice output device 32 notifies the subject of the synthesized characters by voice (step S25). Step S26).

このように合成画像を被写体に閲覧させ、再びスルー画像の画像信号を取得する。撮影制御回路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 imaging control circuit 30 compares the image and the subject region of the image at the time of age estimation for each pixel (step S11), and determines whether or not the number of matched pixels in the subject region is equal to or less than a threshold value (step S11). S12). 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).

被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップ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 information input controller 34 is provided. The information input controller 34 is a circuit for displaying information on the image display device 23 and processing the input information in order to allow the user to input subject information.

図13に、年齢/性別検出回路31及び情報入力コントローラ34の概念図を示す。情報入力コントローラ34は、被写体の情報の入力を受け付け、年齢/性別検出回路31に対して出力する。年齢/性別検出回路31は、情報入力コントローラ34から入力された情報を用いて、年齢、性別の推定を行なう。情報入力コントローラ34が入力を受け付ける情報は、被写体の生年月日や性別の他、撮影年月日がある。なお、撮影年月日は、デジタルカメラ10に内蔵されたカレンダ情報から取得してもよい。   FIG. 13 shows a conceptual diagram of the age / gender detection circuit 31 and the information input controller 34. The information input controller 34 receives input of subject information and outputs it to the age / gender detection circuit 31. The age / sex detection circuit 31 uses the information input from the information input controller 34 to estimate age and sex. The information that the information input controller 34 accepts input includes the date of photographing, as well as the date of birth and sex of the subject. Note that the shooting date may be acquired from calendar information built in the digital camera 10.

次に、第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 image display device 23 to prompt input, and the user inputs the information using an operation member such as a cross key (not shown) according to this instruction. The image display device 23 may be configured as a touch panel, and input may be performed using this touch panel.

被写体情報の入力が終了すると、ステップS1で取得した画像から年齢/性別検出回路31が顔検出を行い、顔が検出されたか否かを判定する(ステップS2)。顔が検出された場合は、検出された顔について年齢の推定(ステップS3)を行なう。ここで、ステップS31において被写体情報として性別が入力されているか否かの判定を行い(ステップS32)、性別が入力されていない場合は性別の判定を行う(ステップS4)。次に、判定された性別が女性であるか否かの判定を行う(ステップS5)。ここで、性別が入力されている場合は、入力された性別情報を用いる。検出した顔が女性と判定された場合は、推定した年齢を若くするように修正を行なう(ステップS6)。また、被写体が複数、かつ顔検出領域の中心の距離が閾値以下であるか否かを判定し(ステップS7)、適切な被写体領域の設定を行なう(ステップS8、S9)。   When the input of the subject information is completed, the age / gender detection circuit 31 performs face detection from the image acquired in step S1, and determines whether or not a face has been detected (step S2). If a face is detected, the age is estimated for the detected face (step S3). Here, in step S31, it is determined whether or not gender is input as subject information (step S32). If gender is not input, determination of gender is performed (step S4). Next, it is determined whether or not the determined gender is female (step S5). Here, when sex is input, the input sex information is used. When it is determined that the detected face is a woman, the estimated age is corrected (step S6). Further, it is determined whether or not there are a plurality of subjects and the distance between the centers of the face detection regions is equal to or smaller than a threshold value (step S7), and an appropriate subject region is set (steps S8 and S9).

被写体領域を設定したら、ステップ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 imaging control circuit 30 compares the image and the subject region of the image at the time of age estimation for each pixel (step S11), and determines whether or not the number of matched pixels in the subject region is equal to or less than a threshold value (step S11). S12). 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).

被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップ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 information input controller 34 and a birth date database 35 are provided. The information input controller 34 is a circuit for inputting subject information, and the date of birth database 15 is a database in which names and dates of birth are registered, and outputs the date of birth by designating the name. can do.

図16に、本実施の形態の画像テンプレート/文字用合成処理回路33の概念図を示す。画像テンプレート/文字用合成処理回路33は、CCD17から得られた画像及び推定年齢に加えて、情報入力コントローラ34から得られた被写体情報を入力とし、推定年齢及び実年齢に対応した画像テンプレート又は文字を選択し、入力画像に合成する。合成する位置は、検出した被写体の顔の領域の周辺である。   FIG. 16 is a conceptual diagram of the image template / character composition processing circuit 33 according to the present embodiment. The image template / character composition processing circuit 33 receives the subject information obtained from the information input controller 34 in addition to the image obtained from the CCD 17 and the estimated age, and inputs an image template or character corresponding to the estimated age and actual age. Is selected and combined with the input image. The combining position is around the face area of the detected subject.

次に、第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 / gender detection circuit 31 performs face detection from the image acquired in step S1, and determines whether or not a face has been detected (step S2). If a face is detected, the age is estimated for the detected face (step S3). Here, in step S31, it is determined whether or not gender is input as subject information (step S32). If gender is not input, determination of gender is performed (step S4). Next, it is determined whether or not the determined gender is female (step S5). Here, when sex is input, the input sex information is used. When it is determined that the detected face is a woman, the estimated age is corrected (step S6). Further, it is determined whether or not there are a plurality of subjects and the distance between the centers of the face detection regions is equal to or smaller than a threshold value (step S7), and an appropriate subject region is set (steps S8 and S9).

被写体領域を設定したら、ステップ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 person 45 is 2 years old and the difference between the estimated age and the actual age of the person 46 is 7 years old, the difference between the estimated age and the actual age is 1 to 5 years old. The figure which shows the example which synthesize | combined the "multiple note mark" which is the image template 47 corresponding to the case of ", and the character 48 corresponding to the case where the difference of an estimated age and real age is 6-10 years old" It is. As shown in the figure, when a face is detected at a vertical angle, an image template or a character is synthesized in accordance with the face orientation. The person who is the subject browses the image synthesized in this way (step S24).

さらに、合成画像において、文字を合成しているか否かを判定し(ステップ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 voice output device 32 notifies the subject of the synthesized characters by voice (step S25). Step S26).

ステップ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 imaging control circuit 30 compares the image and the subject region of the image at the time of age estimation for each pixel (step S11), and determines whether or not the number of matched pixels in the subject region is equal to or less than a threshold value (step S11). S12). 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).

被写体領域内でマッチングした画素数が閾値を超える場合は、顔検出領域に比較範囲を限定し(ステップ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.

図1は、本発明が適用されたデジタルカメラの第1の実施の形態の電気的構成を示すブロック図である。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. 図2は、年齢/性別検出回路31の概念図である。FIG. 2 is a conceptual diagram of the age / gender detection circuit 31. 図3は、検出された顔の角度を示す図である。FIG. 3 is a diagram showing detected face angles. 図4は、顔領域を被写体領域として設定した場合の被写体像を示す図である。FIG. 4 is a diagram showing a subject image when the face region is set as the subject region. 図5は、拡大領域を被写体領域として設定した場合の被写体像を示す図である。FIG. 5 is a diagram showing a subject image when an enlarged region is set as a subject region. 図6は、撮影制御回路30の概念図である。FIG. 6 is a conceptual diagram of the imaging control circuit 30. 図7は、第1の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。FIG. 7 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the first embodiment. 図8は、本発明が適用されたデジタルカメラの第2の実施の形態の電気的構成を示すブロック図である。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. 図9は、画像テンプレート/文字用合成処理回路33の概念図である。FIG. 9 is a conceptual diagram of the image template / character composition processing circuit 33. 図10は、第2の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。FIG. 10 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the second embodiment. 図11は、画像に画像テンプレート及び文字を合成した例を示す図である。FIG. 11 is a diagram illustrating an example in which an image template and characters are combined with an image. 図12は、本発明が適用されたデジタルカメラの第3の実施の形態の電気的構成を示すブロック図である。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. 図13は、年齢/性別検出回路31及び情報入力コントローラ34の概念図である。FIG. 13 is a conceptual diagram of the age / gender detection circuit 31 and the information input controller 34. 図14は、第3の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。FIG. 14 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the third embodiment. 図15は、本発明が適用されたデジタルカメラの第4の実施の形態の電気的構成を示すブロック図である。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. 図16は、第4の実施の形態の画像テンプレート/文字用合成処理回路33の概念図である。FIG. 16 is a conceptual diagram of the image template / character composition processing circuit 33 according to the fourth embodiment. 図17は、第4の実施の形態のデジタルカメラ10の年齢推定撮影の動作について示したフローチャートである。FIG. 17 is a flowchart illustrating an operation of age estimation photographing of the digital camera 10 according to the fourth embodiment. 図18は、画像に画像テンプレート及び文字を合成した例を示す図である。FIG. 18 is a diagram illustrating an example in which an image template and characters are combined with an image.

符号の説明Explanation of symbols

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.
前記選択した文字を音声出力する手段を備えたことを特徴とする請求項4又は5に記載の年齢推定撮影装置。   6. The age estimation photographing apparatus according to claim 4, further comprising means for outputting the selected character by voice. 前記被写体の年齢を推定する手段は前記推定年齢を修正する手段を備えたことを特徴とする請求項1から6のいずれかに記載の年齢推定撮影装置。   7. The age estimation photographing apparatus according to claim 1, wherein the means for estimating the age of the subject includes means for correcting the estimated age. 前記推定年齢を修正する手段は前記被写体の顔から前記被写体の性別を判定する手段を備え、判定された性別に応じて前記推定年齢を修正することを特徴とする請求項7に記載の年齢推定撮影装置。   8. The age estimation according to claim 7, wherein the means for correcting the estimated age comprises means for determining the sex of the subject from the face of the subject, and corrects the estimated age according to the determined sex. 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.
JP2007256762A 2007-09-28 2007-09-28 Age estimation photographing device and age estimation photographing method Pending JP2009089083A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (4)

* Cited by examiner, † Cited by third party
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