JP5153211B2 - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP5153211B2
JP5153211B2 JP2007139525A JP2007139525A JP5153211B2 JP 5153211 B2 JP5153211 B2 JP 5153211B2 JP 2007139525 A JP2007139525 A JP 2007139525A JP 2007139525 A JP2007139525 A JP 2007139525A JP 5153211 B2 JP5153211 B2 JP 5153211B2
Authority
JP
Japan
Prior art keywords
recognition
face
image signal
recognizing
reference information
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.)
Expired - Fee Related
Application number
JP2007139525A
Other languages
Japanese (ja)
Other versions
JP2008294846A (en
JP2008294846A5 (en
Inventor
信也 平井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2007139525A priority Critical patent/JP5153211B2/en
Publication of JP2008294846A publication Critical patent/JP2008294846A/en
Publication of JP2008294846A5 publication Critical patent/JP2008294846A5/ja
Application granted granted Critical
Publication of JP5153211B2 publication Critical patent/JP5153211B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は撮像装置及びその制御方法に関し、更に詳しくは、顔検出を利用して個人認識を行うことが可能な撮像装置及びその制御方法に関する。   The present invention relates to an imaging apparatus and a control method thereof, and more particularly to an imaging apparatus capable of performing personal recognition using face detection and a control method thereof.

従来より、顔検出を利用して個人認証を行う装置が知られている(例えば、特許文献1参照)。個人認証を行うためには複雑な処理が必要なため、特許文献1では所定のエリア内に顔を収めるように指示を出すことで、エリア内の顔についてのみ処理を行うことで処理時間の削減を図っている。   2. Description of the Related Art Conventionally, an apparatus that performs personal authentication using face detection is known (see, for example, Patent Document 1). Since complicated processing is required to perform personal authentication, in Patent Document 1, an instruction to place a face in a predetermined area is issued, and processing is performed only on the face in the area, thereby reducing processing time. I am trying.

また、特定個人を認識する技術としては、他に例えば、特許文献2に記載されたものがある。特許文献2によれば、認識対象の特定個人の撮影画像から、その人物に固有の特徴を抽出して特徴情報として予め登録しておき、その登録した特徴情報を撮影画像から抽出した被写体の特徴と照合して、個人の識別を行う。   As another technique for recognizing a specific individual, for example, there is one described in Patent Document 2. According to Patent Document 2, a feature unique to a person is extracted from a photographed image of a specific individual to be recognized and registered in advance as feature information, and the feature of the subject extracted from the photographed image is the registered feature information. And personal identification.

特開平06−295331号公報Japanese Patent Laid-Open No. 06-295331 特開2004−320287号公報JP 2004-320287 A

しかしながら、特許文献1に記載の装置では、検出するエリアを限定するため、デジタルカメラのように自由な構図で人物を撮影するような用途への応用は不向きであった。   However, the apparatus described in Patent Document 1 is unsuitable for application in which a person is photographed with a free composition like a digital camera in order to limit the detection area.

一方、特許文献2のように検出エリアを限定しない場合、デジタルカメラでの撮影時のように即時性が求められる場合には、認識処理にかかる時間が課題となり、例えば、個人を認識する処理を簡略化することが必要になってくる。しかし、認識処理を簡略化すると認証精度が下がるため、画像再生時などで認識処理にある程度時間がかかっても構わない場合には、簡略化による認証精度の不足が問題となる。   On the other hand, when the detection area is not limited as in Patent Document 2, when immediacy is required as in the case of shooting with a digital camera, the time required for the recognition process becomes an issue. For example, the process of recognizing an individual is performed. It becomes necessary to simplify. However, if the recognition process is simplified, the authentication accuracy is lowered. Therefore, when the recognition process may take some time at the time of image reproduction or the like, the lack of authentication accuracy due to the simplification becomes a problem.

本発明は上記問題点を鑑みてなされたものであり、撮像装置の動作に応じた速度及び精度で、得られた画像から予め記憶された個人を検出できるようにすることを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to enable detection of an individual stored in advance from an obtained image at a speed and accuracy according to the operation of an imaging apparatus.

上記目的を達成するために、本発明の撮像装置は、被写体を撮影して得た画像信号から顔を検出する顔検出手段と、前記顔検出手段により検出された顔と、データベースに予め登録された、1人以上の個人を認識するための参照情報とを比較することで、前記画像信号から検出された顔について個人を認識する認識処理を行う認識手段と、焦点調節、露出調節、ホワイトバランス調節の少なくともいずれか1つを含む撮影条件を調節する調節手段と、画像信号を記憶媒体に記憶する撮影処理を行う格納手段と、前記認識手段、前記調節手段、及び、前記格納手段を制御する制御手段とを有し、前記制御手段は、前記撮影処理に先立って、表示手段に、ユーザーに前記参照情報に対応する個人から1人以上を指定させるための表示を行わせ前記認識手段に、前記画像信号から検出された顔と、前記参照情報のうち、前記指定された個人を認識するための参照情報とを比較させて第1の認識処理を行わせ、前記調節手段に、前記第1の認識処理の認識結果に基づいて前記撮影条件を調節させ、前記調節手段に前記撮影条件を調整させた後に、前記格納手段に前記撮影処理を行わせ、前記ユーザーからの指示を待たずに、前記認識手段に、前記記憶媒体に記憶された画像信号から検出された顔と、前記データベースに予め登録された全ての個人を認識するための前記参照情報とを順に比較させて第2の認識処理を行わせる。 To achieve the above object, an imaging apparatus of the present invention includes: a face detecting means for detecting an image signal or we face obtained by photographing a subject, a face detected by said face detecting means, advance in the database registered, by comparing the reference information for recognizing one or more individuals, a recognition means for pre SL performed for the detected face from the image signal recognizing process personal, focusing, exposure adjustment Adjusting means for adjusting photographing conditions including at least one of white balance adjustment, storage means for performing photographing processing for storing an image signal in a storage medium, the recognition means, the adjusting means, and the storing means and control means for controlling said control means, prior to the shooting process, on the display means, display is made for a specified one or more individual corresponding to the reference information to the user, prior to The recognition means, and said detected from the image signal face of the reference information, to perform a first recognition process by comparing the reference information for recognizing the designated person, the adjusting means , Adjusting the shooting condition based on the recognition result of the first recognition process, causing the adjustment unit to adjust the shooting condition, causing the storage unit to perform the shooting process, and giving an instruction from the user Without waiting, the recognition means sequentially compares the face detected from the image signal stored in the storage medium with the reference information for recognizing all individuals registered in the database in advance . Ru to perform the second recognition processing.

また、本発明の撮像装置の制御方法は、表示手段が、データベースに予め登録された1人以上の個人を認識するための参照情報に対応する個人の中から、1人以上をユーザーに指定させる表示を行う表示工程と、顔検出手段が、被写体を撮影して得た画像信号から顔を検出する顔検出工程と、認識手段が、前記顔検出工程により検出された顔と、前記指定された個人を認識するための参照情報とを比較することで、前記画像信号から検出された顔について個人を認識する第1の認識処理を行う第1の認識工程と、調節手段が、前記第1の認識工程の認識結果に基づいて、焦点調節、露出調節、ホワイトバランス調節の少なくともいずれか1つを含む撮影条件を調節する調節工程と、格納手段が、前記調節工程の後に、画像信号を記憶媒体に記憶する撮影処理を行う格納工程と、前認識手段が、前記ユーザーからの指示を待たずに、前記格納工程で前記記憶媒体に記憶された画像信号から検出された顔と、前記データベースに予め登録された全ての個人を認識するための前記参照情報とを順に比較て第2の認識処理を行う第2の認識工程とを有する。 In addition, according to the control method of the imaging apparatus of the present invention, the display unit causes the user to designate one or more individuals among the individuals corresponding to the reference information for recognizing one or more individuals registered in the database in advance. a display step of performing display, the face detection unit, a face detection step of detecting a face from an image signal obtained by photographing a subject, the recognition unit, the face detected by the face detection process, which is the designated A first recognition step for performing a first recognition process for recognizing an individual with respect to a face detected from the image signal by comparing with reference information for recognizing the individual ; An adjustment step for adjusting photographing conditions including at least one of focus adjustment, exposure adjustment, and white balance adjustment based on the recognition result of the recognition step; and a storage means that stores the image signal after the adjustment step. Recorded in A storing step of performing imaging processing for, before Symbol recognizing means, without waiting for instructions from the user, and the storing step in detected from the image signal stored in the storage medium face, previously registered in the database and a second recognition step and the reference information for recognizing all individuals are compared sequentially performs the second recognition process.

本発明によれば、撮像装置の動作に応じた速度及び精度で、得られた画像から予め記憶された個人を検出することができる。 According to the present invention, it is possible to detect an individual stored in advance from an obtained image at a speed and accuracy according to the operation of the imaging apparatus.

以下、添付図面を参照して本発明を実施するための最良の形態を詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the accompanying drawings.

<第1の実施形態>
図1は、本発明の実施の形態におけるデジタルカメラの概略構成を示すブロック図である。
<First Embodiment>
FIG. 1 is a block diagram showing a schematic configuration of a digital camera according to an embodiment of the present invention.

図1において、1はフォーカスレンズ2を含む光学系、3は被写体の光学像を電気的な画像信号に変換して出力する撮像素子であり、光学系1を介して入射した被写体の光学像を画像信号に変換する。4は、撮像素子3から出力された画像信号から、出力ノイズを除去するCDS回路や非線形増幅回路を備えた前置処理回路、5は、前置処理回路4により処理されたアナログ画像信号をデジタル画像信号に変換するA/D変換器である。A/C変換器5によりデジタル化された画像信号は、メモリコントローラ6を介してメモリ7に記憶され、更に、信号処理回路8によって画像データに変換されてから、記録媒体9に記録される。10は表示部であり、信号処理回路8はメモリ7に記憶された画像信号を表示に適したフォーマットに変換して表示部10に出力する処理も行う。表示部10を用いて、撮像した画像データを逐次表示することで、電子ビューファインダー(EVF)機能を実現することができる。   In FIG. 1, reference numeral 1 denotes an optical system including a focus lens 2, and 3 denotes an image sensor that converts an optical image of a subject into an electrical image signal and outputs the image, and an optical image of a subject incident through the optical system 1 is obtained. Convert to image signal. 4 is a pre-processing circuit including a CDS circuit and a non-linear amplification circuit that removes output noise from the image signal output from the image sensor 3, and 5 is a digital signal of the analog image signal processed by the pre-processing circuit 4. It is an A / D converter for converting into an image signal. The image signal digitized by the A / C converter 5 is stored in the memory 7 via the memory controller 6, further converted into image data by the signal processing circuit 8, and then recorded on the recording medium 9. Reference numeral 10 denotes a display unit, and the signal processing circuit 8 also performs a process of converting the image signal stored in the memory 7 into a format suitable for display and outputting it to the display unit 10. An electronic viewfinder (EVF) function can be realized by sequentially displaying captured image data using the display unit 10.

15は、撮像素子3により撮像して得られた画像信号から、顔の検出を行う顔検出回路である。ここでは、表示部10へのEVF表示用に作成される画像を用いて、顔の情報を検出し記憶する。これを繰り返し常に最新の顔検出結果を記憶しておく。   Reference numeral 15 denotes a face detection circuit that detects a face from an image signal obtained by imaging with the imaging element 3. Here, face information is detected and stored using an image created for EVF display on the display unit 10. This is repeated and the latest face detection result is always stored.

顔検出方法としては、例えば、ニュートラルネットワークに代表される学習を用いた方法や、目や鼻と言った物理的形状に特徴のある部位を画像領域からテンプレートマッチングで抽出する手法が知られている。他にも、肌の色や目の形といった画像特徴量を検出し、統計的手法を用いて解析する手法が挙げられる(例えば、特開平10−232934号公報及び特開2000−48184号公報を参照)。また、現在製品として提案されているものとしては、ウェーブレット変換と画像特徴量を利用して顔を検出する方法等や、テンプレートマッチング等を組み合わせた方法などがある。他にも多数の顔検出方法が提案されており、公知の方法を用いればよい。   As a face detection method, for example, a method using learning typified by a neutral network or a method of extracting a part having a physical shape such as an eye or nose from an image region by template matching is known. . Other methods include detecting image feature quantities such as skin color and eye shape and analyzing them using statistical methods (for example, Japanese Patent Laid-Open Nos. 10-232934 and 2000-48184). reference). Also, what is currently proposed as a product includes a method of detecting a face using wavelet transform and image feature amounts, a method of combining template matching, and the like. Many other face detection methods have been proposed, and known methods may be used.

13は制御部であり、デジタルカメラ全体の制御を行う。   A control unit 13 controls the entire digital camera.

16は個人認識回路であり、顔検出回路15による顔検出結果を利用して、個人を認識する。17は個人データベースであり、個人を認識するための参照情報のファイルが個人毎に記憶されている。18は個人指定操作部であり、個人データベース17に登録されている個人の内、認識対象にする個人を指定することができる。そして、個人認識回路16は、個人指定操作部18により指定された個人の参照情報を記憶したファイルを個人データベース17より取り出し、検出された顔との照合を行う。これにより、検出された顔が指定された個人であるかどうかを認識することができる。なお、照合の方法については、例えば、特許文献2に記載の方法など、公知の方法を用いればよい。なお、個人データベース17に記憶された、個人毎の参照情報を記憶した各ファイルを、以下、「個人情報ファイル」と呼ぶ。顔検出回路、個人認識回路、個人データベースにより検出手段が構成される。   Reference numeral 16 denotes an individual recognition circuit, which recognizes an individual using the face detection result by the face detection circuit 15. A personal database 17 stores a reference information file for recognizing an individual for each individual. Reference numeral 18 denotes an individual designation operation unit that can designate an individual to be recognized among individuals registered in the personal database 17. Then, the personal recognition circuit 16 takes out a file storing personal reference information designated by the personal designation operation unit 18 from the personal database 17 and collates it with the detected face. Thereby, it can be recognized whether or not the detected face is a designated individual. In addition, about the method of collation, what is necessary is just to use well-known methods, such as the method of patent document 2, for example. Each file stored in the personal database 17 and storing reference information for each individual is hereinafter referred to as a “personal information file”. The face detection circuit, personal recognition circuit, and personal database constitute detection means.

14は、制御部13の制御に基づいてフォーカスレンズ2を駆動するフォーカスレンズ駆動回路である。制御部13は撮像素子3により撮影して得た画像信号の内、測距枠内の画像信号のコントラストがピークとなるフォーカスレンズの位置を検出し、その位置にフォーカスレンズ2を駆動することにより合焦制御を行う。 Reference numeral 14 denotes a focus lens driving circuit that drives the focus lens 2 based on the control of the control unit 13. The control unit 13 of the image signal obtained by photographing by the image pickup device 3, the contrast of the image signal in the distance measurement frame detects the position of the focus lens reaches a peak, drives the focus lens 2 to the position To perform focusing control.

19は、撮影モード(撮影処理)と再生モード(再生処理)とを切り換えるための撮影/再生切り換えスイッチである。スイッチ(SW)1(11)は、不図示のシャッターボタンの第1ストローク(例えば半押し)によりONとなり、合焦制御処理、自動露出処理等の動作開始を指示する。撮影モード時には、顔検出および個人認識は常時行われ、SW1(11)が操作されると、個人認識された顔に測距枠を設定して合焦制御が行われる。また、スイッチ(SW)2(12)は、不図示のシャッターボタンの第2ストローク(例えば全押し)によりONとなり、本撮影及び撮影した画像の記録を指示する。SW2(12)が操作されると、撮影および撮影して得た画像信号の記録が行われる。   Reference numeral 19 denotes a shooting / playback switch for switching between a shooting mode (shooting process) and a playback mode (playback process). The switch (SW) 1 (11) is turned on by a first stroke (for example, half-pressed) of a shutter button (not shown), and instructs to start operations such as focusing control processing and automatic exposure processing. In the shooting mode, face detection and personal recognition are always performed, and when SW1 (11) is operated, a distance measurement frame is set for the personally recognized face and focus control is performed. In addition, the switch (SW) 2 (12) is turned on by a second stroke (for example, full press) of a shutter button (not shown), and instructs the main shooting and recording of the shot image. When SW2 (12) is operated, shooting and recording of an image signal obtained by shooting are performed.

●撮影モード時の動作
次に、本第1の実施形態における撮影モード時の動作について、図2のフローチャートを参照して詳細に説明する。
[Operation in Shooting Mode] Next, the operation in the shooting mode in the first embodiment will be described in detail with reference to the flowchart of FIG.

ステップS1において、被写体像を表示部10にEVF表示すると共に、個人データベース17に登録されている個人の中から、個人指定操作部18により検出したい個人の指定を行う。例えば、8人分の個人情報ファイルが個人データベース17に登録されている場合、図3に示すように、登録されている8人の名前や顔画像を一覧表示し、その中から1以上選択することで、認識対象とする個人を指定する。即ち、個人指定操作部18と制御部13により、制御手段が構成される。 In step S1, as well as the EVF display in the display section 10 the image of the subject, from among the individuals registered in the individual database 17, to designate individuals to be detected more individuals designation operation section 1 8. For example, when personal information files for eight people are registered in the personal database 17, as shown in FIG. 3, the registered names and face images of eight people are displayed as a list, and one or more are selected from the list. The individual to be recognized is specified. That is, the personal designation operation unit 18 and the control unit 13 constitute a control means.

ステップS2において、顔検出回路15による顔検出処理および個人認識回路16による個人認識処理を行う。ここでは公知の方法によりEVF表示された画像データに対して顔検出処理を行い、検出されたそれぞれの顔について、ステップS1で個人指定操作部18により選択された個人情報ファイルと比較、照合して、選択された個人か否かを判断する。なお、検出された顔がステップS1で選択された個人であると認識された場合には、認識できた人数と認識された個人の情報、および顔位置、サイズなどを記憶する。一方、認識されなかった場合にはその旨を記憶しておく。   In step S2, face detection processing by the face detection circuit 15 and personal recognition processing by the personal recognition circuit 16 are performed. Here, face detection processing is performed on the image data displayed in EVF by a known method, and each detected face is compared and collated with the personal information file selected by the personal designation operation unit 18 in step S1. To determine whether the selected individual. If it is recognized that the detected face is the individual selected in step S1, the number of recognized persons, the information of the recognized individual, the face position, the size, and the like are stored. On the other hand, if it is not recognized, that fact is stored.

ステップS3において、SW1(11)が押下されたか否かを判断し、押下されていなければステップS1に戻って、上述したEVF表示と顔検出処理および個人認識処理を繰り返す。また、SW1(11)が押下された場合にはステップS4に進み、その時点での最新の個人認識結果を取得する。ステップS5において、取得した結果が個人認識されたことを示している場合には、ステップS6において認識された顔すべてにAF枠を設定し、個人認識されていなかった場合には、ステップS7において画面中央にAF枠を1枠設定する。   In step S3, it is determined whether or not SW1 (11) has been pressed. If not, the process returns to step S1 to repeat the EVF display, face detection process, and personal recognition process described above. If SW1 (11) is pressed, the process proceeds to step S4, and the latest personal recognition result at that time is acquired. In step S5, if the acquired result indicates that the person is recognized, AF frames are set for all the faces recognized in step S6. If the person is not recognized, the screen is displayed in step S7. One AF frame is set at the center.

ステップS8において、制御部13は上記設定されたAF枠内の画像信号を用いて焦点調節制御を行い、ステップS9において、焦点調節制御により合焦した位置にフォーカスレンズ駆動回路14を制御してフォーカスレンズ2を固定する。このように、制御部13及びフォーカスレンズ駆動回路14が調節手段を構成する。   In step S8, the control unit 13 performs focus adjustment control using the set image signal in the AF frame, and in step S9, the focus lens drive circuit 14 is controlled to a position focused by the focus adjustment control to focus. The lens 2 is fixed. As described above, the control unit 13 and the focus lens driving circuit 14 constitute an adjusting unit.

ステップS10において、SW2(12)が押下されたかどうかを判断し、押下された場合には、ステップS11において、被写体の撮影及び撮影して得た画像信号の記録を行う本撮影を行う。SW2(12)が押下されていなかった場合には、ステップS12においてSW1(11)がまだ押下されているかを判断し、押下されていればステップS9に戻り、放されていれば、ステップS1に戻って上記処理を繰り返す。   In step S10, it is determined whether or not SW2 (12) has been pressed, and if it has been pressed, in step S11, the main shooting is performed for shooting the subject and recording the image signal obtained by shooting. If SW2 (12) is not pressed, it is determined in step S12 whether SW1 (11) is still pressed. If it is pressed, the process returns to step S9, and if released, the process returns to step S1. Return and repeat the above process.

上述したように撮像モードにおいては、選択した特定個人を検出し、その人物に合焦させて撮影する。限定した人物のみの個人認識を行うため、個人認識の為に用いる個人情報ファイルの数、即ち、参照情報の量を少なくすることができるため、個人認識に係る処理時間を短縮することができる。   As described above, in the imaging mode, the selected specific individual is detected, and the person is focused and photographed. Since personal recognition of only a limited person is performed, the number of personal information files used for personal recognition, that is, the amount of reference information can be reduced, so that the processing time for personal recognition can be shortened.

なお、上記説明では、個人認識結果を利用してAF枠を設定してAF(焦点調節)を行う場合について説明したが、本発明はAFに限るものではない。AF以外の撮影条件の調節として、例えば、設定した枠内の画像データを用いて露出を調節(露出調節)したり、ホワイトバランス補正値を調節(ホワイトバランス調節)してもよい。   In the above description, the case where AF (focus adjustment) is performed by setting an AF frame using the personal recognition result has been described, but the present invention is not limited to AF. As adjustment of shooting conditions other than AF, for example, the exposure may be adjusted (exposure adjustment) or the white balance correction value (white balance adjustment) may be adjusted using image data within a set frame.

●画像分類動作
次に、本第1の実施形態における画像分類動作について、図4のフローチャートを参照して詳細に説明する。この画像分類動作は、撮影/再生切り換えスイッチ19により再生モードが選択され、更に、再生した画像を個人認識機能を利用して分類する画像分類処理が選択されている場合に行われる。
Image Classification Operation Next, the image classification operation in the first embodiment will be described in detail with reference to the flowchart of FIG. This image classification operation is performed when the reproduction mode is selected by the shooting / reproduction switch 19 and the image classification process for classifying the reproduced image using the personal recognition function is selected.

ステップS21において、画像分類対象とする画像を記録媒体9から読み出して再生し、ステップS22において、顔検出回路15は再生した画像に対して顔検出処理を行う。この後、個人認識回路16は、検出されたすべての顔について、順に、個人データベース17に登録されている全ての個人情報ファイルを用いて、個人認識を行う。   In step S21, an image to be classified is read from the recording medium 9 and reproduced, and in step S22, the face detection circuit 15 performs face detection processing on the reproduced image. Thereafter, the personal recognition circuit 16 performs personal recognition on all detected faces in turn using all personal information files registered in the personal database 17.

先ず、ステップS23において、個人データベース17に登録されている個人情報ファイルを1つ読み出し、検出した顔の1つと比較し、照合する。照合の結果、個人が認識された場合には(ステップS24でYES)、ステップS26に進む。一方、個人が認識できなかった場合には(ステップS24でNO)、ステップS25に進んで、個人データベース17に登録されているすべての個人情報ファイルとの照合が終了したかを判断する。終了していなければステップS23に戻って、登録されている別の個人情報ファイルとの照合を行い、終了していれば、ステップS26に進む。   First, in step S23, one personal information file registered in the personal database 17 is read out and compared with one of the detected faces. If the individual is recognized as a result of the collation (YES in step S24), the process proceeds to step S26. On the other hand, if the individual cannot be recognized (NO in step S24), the process proceeds to step S25 to determine whether or not collation with all the personal information files registered in the personal database 17 has been completed. If not completed, the process returns to step S23 to collate with another registered personal information file. If completed, the process proceeds to step S26.

ステップS26では、検出した全ての顔について上記処理が終了したかを判断し、終了していれば、ステップS28に進み、終了していなければステップS27に進んで処理対象の顔を次の顔に設定し、ステップS23に戻る。   In step S26, it is determined whether the process has been completed for all detected faces. If completed, the process proceeds to step S28. If not completed, the process proceeds to step S27, and the face to be processed is set as the next face. Set and return to step S23.

ステップS28では、上述した個人認識回路16による個人認識処理の結果、個人が認識できたかどうかを調べる。認識できていればステップS29に進み、制御部13は、画像データを認識した個人に対応するフォルダに格納するように制御する。即ち、制御部13は分類手段としての役割も担う。認識された個人に対応するフォルダが無い場合には、新たにフォルダを作成してから画像データを格納する。個人認識できた顔が複数人分ある場合にはそれぞれのフォルダに画像データをコピーしてそれぞれ格納し、ステップS30へ進む。この処理により、再生された画像を検出された個人毎(対象毎)に分類することができる。なお、個人認識できた顔が複数人分ある場合に、画像データそのものをコピーして格納する代わりに、画像データへのポインタを格納するようにしてもよい。このようにすることで、画像データを記憶するためのメモリ容量を節約することができる。   In step S28, it is checked whether or not the individual can be recognized as a result of the personal recognition processing by the personal recognition circuit 16 described above. If it can be recognized, the process proceeds to step S29, and the control unit 13 controls the image data to be stored in a folder corresponding to the recognized individual. That is, the control unit 13 also serves as a classification unit. If there is no folder corresponding to the recognized individual, a new folder is created and image data is stored. If there are multiple faces that can be recognized individually, the image data is copied and stored in each folder, and the process proceeds to step S30. By this processing, the reproduced image can be classified for each detected individual (for each target). Note that when there are a plurality of faces that can be recognized individually, a pointer to the image data may be stored instead of copying and storing the image data itself. By doing so, it is possible to save memory capacity for storing image data.

ステップS28で個人認識できなかったと判断されると、そのままステップS30に進む。   If it is determined in step S28 that the individual cannot be recognized, the process directly proceeds to step S30.

ステップS30では、別の画像の分類を行うかどうかを判断し、行わない場合には処理を終了し、行う場合には、ステップS31において、分類処理の対象画像を変更してからステップS21に戻り、上述した処理を繰り返す。   In step S30, it is determined whether to classify another image. If not, the process ends. If so, the target image for classification processing is changed in step S31, and the process returns to step S21. The above process is repeated.

上記の通り第1の実施形態によれば、撮影時には照合する個人を予め指定しておくことで、照合に使用する個人情報ファイルの数、即ち参照情報の量を少なくすることができるため、目的とする対象を検出する処理に係る時間を短縮することが可能になる。一方、再生時には、全ての個人情報ファイル登録された、認識可能な個人全てを検出する対象とする、即ち全ての参照情報を利用することで、精度の高い個人認識を行うことができる。   As described above, according to the first embodiment, the number of personal information files used for collation, that is, the amount of reference information can be reduced by specifying in advance the individuals to be collated at the time of shooting. It is possible to shorten the time related to the process of detecting the target. On the other hand, at the time of reproduction, it is possible to recognize individuals with high accuracy by using all the recognizable individuals registered in all personal information files as targets for detection, that is, using all reference information.

なお、上述した第1の実施形態では、画像分類処理を再生モード時に行う処理として説明したが、本発明はこれに限るものではない。例えば、撮影前には指定した個人について個人認識し、その結果に応じてAF処理を行い、撮影後に、ユーザーからの指示を待たずに、個人データベースに登録された個人情報ファイルを全て自動的に照会して、画像の格納場所の分類を行うように構成しても良い。   In the above-described first embodiment, the image classification process is described as the process performed in the playback mode. However, the present invention is not limited to this. For example, it recognizes a specified individual before shooting, performs AF processing according to the result, and automatically captures all personal information files registered in the personal database without waiting for an instruction from the user after shooting. The image storage location may be classified by inquiring.

<第2の実施形態>
次に、本発明の第2の実施形態について説明する。
<Second Embodiment>
Next, a second embodiment of the present invention will be described.

なお、デジタルカメラの基本的な構成は図1に示すものと同様であるため、ここでは説明を省略する。以下、本第2の実施形態における動作について説明するが、再生モードにおける画像分類動作は図4を参照して説明した処理と同様であるため説明を省略し、撮影モード時の動作について以下に説明を行う。   Since the basic configuration of the digital camera is the same as that shown in FIG. 1, the description thereof is omitted here. Hereinafter, the operation in the second embodiment will be described. However, the image classification operation in the playback mode is the same as the processing described with reference to FIG. 4, and thus the description thereof will be omitted. The operation in the shooting mode will be described below. I do.

●撮影モード時の動作
図5は、本第2の実施形態における撮影モード時の動作を示すフローチャートである。
[Operation in Shooting Mode] FIG. 5 is a flowchart showing the operation in the shooting mode in the second embodiment.

先ず、ステップS41において、顔検出回路15は、表示部10にEVF表示された画像データに対して、顔検出処理を行う。そして、ステップS42において、個人認識回路16は、個人データベース17に登録されている個人情報ファイルを1つ読み出し、検出した顔の1つと比較し、照合する。照合の結果、個人が認識された場合には(ステップS43でYES)、ステップS3に進む。   First, in step S <b> 41, the face detection circuit 15 performs face detection processing on the image data displayed on the display unit 10 by EVF. In step S42, the personal recognition circuit 16 reads one personal information file registered in the personal database 17, compares it with one detected face, and collates it. As a result of the collation, if an individual is recognized (YES in step S43), the process proceeds to step S3.

一方、個人認識されなかった場合には(ステップS43でNO)、ステップS44に進んで、個人データベース17に登録されているすべての個人情報ファイルとの照合が終了したかを判断する。終了していなければステップS42に戻って、登録されている別の個人情報ファイルとの照合を行い、終了していれば、ステップS45に進む。   On the other hand, if the person is not recognized (NO in step S43), the process proceeds to step S44, and it is determined whether the collation with all the personal information files registered in the personal database 17 is completed. If not completed, the process returns to step S42 to collate with another registered personal information file. If completed, the process proceeds to step S45.

ステップS45では、検出した全ての顔について上記処理が終了したかを判断し、終了していれば、ステップS3に進み、終了していなければステップS46に進んで処理対象の顔を次の顔に設定し、ステップS42に戻る。   In step S45, it is determined whether or not the above process has been completed for all detected faces. If completed, the process proceeds to step S3. If not completed, the process proceeds to step S46, and the face to be processed is set as the next face. Set and return to step S42.

なお、ステップS3以降の処理は、図2のステップS3以降の処理と同様であるため、説明を省略する。   Note that the processing after step S3 is the same as the processing after step S3 in FIG.

上記の通り本第2の実施形態によれば、撮影時には個人データベース17に登録されているいずれかの個人が認識された時点で、個人の検出動作を抜けることになる。そのため、撮影時には、検出する対象の数が再生時に検出する対象の数以下となり、短時間で個人認識を行うことができるため、シャッターチャンスを逃すことなく撮影可能となる。一方、再生時には、全ての個人情報ファイル登録された、認識可能な個人全てを検出する対象とする、即ち全ての参照情報を利用することで、精度の高い個人認識を行うことができる。   As described above, according to the second embodiment, when one of the individuals registered in the personal database 17 is recognized at the time of shooting, the individual detection operation is exited. Therefore, at the time of shooting, the number of objects to be detected is less than or equal to the number of objects to be detected at the time of reproduction, and personal recognition can be performed in a short time, so that shooting can be performed without missing a photo opportunity. On the other hand, at the time of reproduction, it is possible to recognize individuals with high accuracy by using all the recognizable individuals registered in all personal information files as targets for detection, that is, using all reference information.

本発明の実施の形態に係るデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera which concerns on embodiment of this invention. 本発明の第1の実施形態に係る撮影モード時の処理を説明するフローチャートである。It is a flowchart explaining the process at the time of the imaging | photography mode which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る認識を行う個人の指定を行う為の画面の一例を示す図である。It is a figure which shows an example of the screen for performing designation | designated of the individual who performs recognition which concerns on the 1st Embodiment of this invention. 本発明の第1及び第2の実施形態に係る再生モード時の画像分類処理を説明するフローチャートである。It is a flowchart explaining the image classification process at the time of the reproduction | regeneration mode which concerns on the 1st and 2nd embodiment of this invention. 本発明の第2の実施形態に係る撮影モード時の処理を説明するフローチャートである。It is a flowchart explaining the process at the time of the imaging | photography mode which concerns on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 光学系
2 フォーカスレンズ
3 撮像素子
4 前置処理回路
5 A/D変換器
6 メモリコントローラ
7 メモリ
8 信号処理回路
9 記録媒体
10 表示部
11 スイッチ(SW)1
12 スイッチ(SW)2
13 制御部
14 フォーカスレンズ駆動回路
15 顔検出回路
16 個人認識回路
17 個人データベース
18 個人指定手段
19 撮影/再生切り換えスイッチ
DESCRIPTION OF SYMBOLS 1 Optical system 2 Focus lens 3 Image pick-up element 4 Pre-processing circuit 5 A / D converter 6 Memory controller 7 Memory 8 Signal processing circuit 9 Recording medium 10 Display part 11 Switch (SW) 1
12 Switch (SW) 2
DESCRIPTION OF SYMBOLS 13 Control part 14 Focus lens drive circuit 15 Face detection circuit 16 Personal recognition circuit 17 Personal database 18 Personal designation means 19 Shooting / reproduction | regeneration switch

Claims (3)

被写体を撮影して得た画像信号から顔を検出する顔検出手段と、
前記顔検出手段により検出された顔と、データベースに予め登録された、1人以上の個人を認識するための参照情報とを比較することで、前記画像信号から検出された顔について個人を認識する認識処理を行う認識手段と、
焦点調節、露出調節、ホワイトバランス調節の少なくともいずれか1つを含む撮影条件を調節する調節手段と、
画像信号を記憶媒体に記憶する撮影処理を行う格納手段と、
前記認識手段、前記調節手段、及び、前記格納手段を制御する制御手段とを有し、
前記制御手段は、
前記撮影処理に先立って、表示手段に、ユーザーに前記参照情報に対応する個人から1人以上を指定させるための表示を行わせ、
前記認識手段に、前記画像信号から検出された顔と、前記参照情報のうち、前記指定された個人を認識するための参照情報とを比較させて第1の認識処理を行わせ、
前記調節手段に、前記第1の認識処理の認識結果に基づいて前記撮影条件を調節させ、
前記調節手段に前記撮影条件を調整させた後に、前記格納手段に前記撮影処理を行わせ、
前記ユーザーからの指示を待たずに、前記認識手段に、前記記憶媒体に記憶された画像信号から検出された顔と、前記データベースに予め登録された全ての個人を認識するための前記参照情報とを順に比較させて第2の認識処理を行わせる
ことを特徴とする撮像装置。
Face detection means for detecting a face from an image signal obtained by photographing a subject;
An individual is recognized for the face detected from the image signal by comparing the face detected by the face detection means with reference information registered in the database in advance for recognizing one or more individuals. Recognition means for performing recognition processing;
Adjusting means for adjusting shooting conditions including at least one of focus adjustment, exposure adjustment, and white balance adjustment;
Storage means for performing imaging processing for storing an image signal in a storage medium;
Control means for controlling the recognition means, the adjustment means, and the storage means,
The control means includes
Prior to the shooting process, the display means causes the user to perform display for designating one or more individuals from the individual corresponding to the reference information,
Causing the recognition means to perform a first recognition process by comparing a face detected from the image signal with reference information for recognizing the designated individual among the reference information;
Let the adjustment means adjust the shooting condition based on the recognition result of the first recognition process;
After allowing the adjustment means to adjust the shooting conditions, the storage means performs the shooting process,
Without waiting for an instruction from the user, the recognizing unit detects the face detected from the image signal stored in the storage medium, and the reference information for recognizing all individuals registered in the database in advance. The imaging device is characterized in that the second recognition process is performed by sequentially comparing the two.
前記認識手段による前記第2の認識処理の認識結果に基づいて、前記画像信号を前記認識された個人毎に分類する分類手段を更に有することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a classifying unit that classifies the image signal for each of the recognized individuals based on a recognition result of the second recognition process performed by the recognition unit. 表示手段が、データベースに予め登録された1人以上の個人を認識するための参照情報に対応する個人の中から、1人以上をユーザーに指定させる表示を行う表示工程と、
顔検出手段が、被写体を撮影して得た画像信号から顔を検出する顔検出工程と、
認識手段が、前記顔検出工程により検出された顔と、前記指定された個人を認識するための参照情報とを比較することで、前記画像信号から検出された顔について個人を認識する第1の認識処理を行う第1の認識工程と、
調節手段が、前記第1の認識工程の認識結果に基づいて、焦点調節、露出調節、ホワイトバランス調節の少なくともいずれか1つを含む撮影条件を調節する調節工程と、
格納手段が、前記調節工程の後に、画像信号を記憶媒体に記憶する撮影処理を行う格納工程と
認識手段が、前記ユーザーからの指示を待たずに、前記格納工程で前記記憶媒体に記憶された画像信号から検出された顔と、前記データベースに予め登録された全ての個人を認識するための前記参照情報とを順に比較て第2の認識処理を行う第2の認識工程と
を有することを特徴とする撮像装置の制御方法。
A display step in which the display means performs a display for allowing the user to designate one or more of the individuals corresponding to the reference information for recognizing one or more individuals registered in the database in advance;
A face detection step in which the face detection means detects a face from an image signal obtained by photographing the subject;
A recognizing unit compares the face detected by the face detection step with reference information for recognizing the designated individual, thereby recognizing the individual with respect to the face detected from the image signal . A first recognition step for performing recognition processing;
An adjusting step in which the adjusting means adjusts photographing conditions including at least one of focus adjustment, exposure adjustment, and white balance adjustment based on the recognition result of the first recognition step ;
A storing step in which a storing unit performs a photographing process of storing an image signal in a storage medium after the adjusting step ;
Before SL recognition means, without waiting for instructions from the user, to recognize said storing step with detected from the image signal stored in the storage medium face, all individuals are pre-registered in the database control method of an imaging device and having a second recognition step of performing the second recognition process by comparing the reference information in order.
JP2007139525A 2007-05-25 2007-05-25 Imaging apparatus and control method thereof Expired - Fee Related JP5153211B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007139525A JP5153211B2 (en) 2007-05-25 2007-05-25 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007139525A JP5153211B2 (en) 2007-05-25 2007-05-25 Imaging apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2008294846A JP2008294846A (en) 2008-12-04
JP2008294846A5 JP2008294846A5 (en) 2010-07-08
JP5153211B2 true JP5153211B2 (en) 2013-02-27

Family

ID=40169112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007139525A Expired - Fee Related JP5153211B2 (en) 2007-05-25 2007-05-25 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5153211B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097075A1 (en) * 2011-12-26 2013-07-04 Intel Corporation Vehicle based determination of occupant audio and visual input

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4293055B2 (en) * 2004-05-25 2009-07-08 カシオ計算機株式会社 Camera apparatus and program
JP4926416B2 (en) * 2005-06-15 2012-05-09 キヤノン株式会社 Image display method, program, recording medium, and image display apparatus
JP4626425B2 (en) * 2005-07-11 2011-02-09 富士フイルム株式会社 Imaging apparatus, imaging method, and imaging program

Also Published As

Publication number Publication date
JP2008294846A (en) 2008-12-04

Similar Documents

Publication Publication Date Title
US8494286B2 (en) Face detection in mid-shot digital images
JP4096950B2 (en) Imaging apparatus and automatic imaging method
US8488847B2 (en) Electronic camera and image processing device
CN101867724B (en) Imaging device and imaging method
US8379108B2 (en) Electronic camera that detects and extracts faces
US20060028576A1 (en) Imaging apparatus
JP2011010275A (en) Image reproducing apparatus and imaging apparatus
JP4974812B2 (en) Electronic camera
JP2008311817A (en) Image photographing device and image photographing method, and computer program
JP4853707B2 (en) Imaging apparatus and program thereof
KR101630304B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JP2010098382A (en) Electronic camera
JP2005323015A (en) Digital camera
JP2007265149A (en) Image processor, image processing method and imaging device
JP4371219B2 (en) Digital camera
JP2009010472A (en) Imaging device and program thereof
JP5153211B2 (en) Imaging apparatus and control method thereof
JP4844073B2 (en) Imaging device
JP4306399B2 (en) Digital camera
JP5380833B2 (en) Imaging apparatus, subject detection method and program
JP2017192114A (en) Image processing apparatus and image processing method, program, and storage medium
JP5640377B2 (en) Image processing apparatus, camera, and image processing program
JP4872785B2 (en) Imaging apparatus, subject selection method, and subject selection program
JP2009089046A (en) Image data process method and photographing device
JP4305119B2 (en) Digital camera

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100520

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120528

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120725

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121204

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5153211

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees