JP2012160212A - Image data identification method, imaging device, program, and storage medium - Google Patents

Image data identification method, imaging device, program, and storage medium Download PDF

Info

Publication number
JP2012160212A
JP2012160212A JP2012114510A JP2012114510A JP2012160212A JP 2012160212 A JP2012160212 A JP 2012160212A JP 2012114510 A JP2012114510 A JP 2012114510A JP 2012114510 A JP2012114510 A JP 2012114510A JP 2012160212 A JP2012160212 A JP 2012160212A
Authority
JP
Japan
Prior art keywords
image data
identification
face
face image
processing
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.)
Granted
Application number
JP2012114510A
Other languages
Japanese (ja)
Other versions
JP5374612B2 (en
Inventor
Meiji Ito
明治 伊藤
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 JP2012114510A priority Critical patent/JP5374612B2/en
Publication of JP2012160212A publication Critical patent/JP2012160212A/en
Application granted granted Critical
Publication of JP5374612B2 publication Critical patent/JP5374612B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Collating Specific Patterns (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device capable of shortening time required for personal authentication.SOLUTION: An image data identification method for performing identification processing of either personal identification or facial expression identification on face image data pieces included in image data of plural frames, includes: a face detection step (S202) in which face detection means detects face image data pieces included in the image data; and an identification step (S207) in which identification means performs the identification processing on one or plural face image data pieces detected in the face detection step. In the identification step, a higher value is given to a face image data piece that indicates the same person as that of a face image data piece included in image data of a frame to be subjected to the identification processing and that is included in image data of a previous frame when the identification processing is successful than when it is unsuccessful, and the identification processing is performed on face image data pieces in descending order of the value until the number thereof reaches a predetermined upper limit.

Description

本発明は、個人認証機能を備えた画像データの識別方法及び撮像装置、プログラム、及び記憶媒体に関する。   The present invention relates to an image data identification method, an imaging apparatus, a program, and a storage medium having a personal authentication function.

最近、撮像装置であるデジタルカメラに被写体の顔を認識させる技術が組み込まれているものがある。さらに、単に被写体の顔を認識させるのみならず、その被写体の顔をさらに識別して個人認証することで、その被写体が誰であるかの人物の個人認証が可能なデジタルカメラも提案されている。   Recently, there has been a technology in which a digital camera, which is an imaging device, incorporates a technique for recognizing the face of a subject. Furthermore, a digital camera has been proposed that not only recognizes the face of the subject but also further identifies the face of the subject and personally authenticates the person who is the subject. .

たとえば、特許文献1に開示された発明では、被写体を個人認証する際に使用する特徴点候補の抽出方法を工夫することで、より高精度で高速に認証が可能な個人認証方法を提案している。また、特許文献2に開示された発明では、撮像時の被写体の照明条件が変化する場合の個人認証方法の工夫が提案されている。   For example, the invention disclosed in Patent Document 1 proposes a personal authentication method capable of performing authentication with higher accuracy and higher speed by devising a feature point candidate extraction method used for personal authentication of a subject. Yes. Further, the invention disclosed in Patent Document 2 proposes a device for a personal authentication method in the case where the illumination condition of the subject at the time of imaging changes.

特開平9−251534号公報JP-A-9-251534 特開2000−222576号公報JP 2000-222576 A

しかしながら、特許文献1で提案されている方法では、画像データに含まれる被写体である人物が1人のみの画像データを入力する必要がある。したがって、画像データの被写体として複数の人物が含まれる場合や、目標となる人物以外の被写体が同時に撮像される場合については考慮されていない。   However, in the method proposed in Patent Document 1, it is necessary to input image data in which only one person is a subject included in the image data. Therefore, no consideration is given to a case where a plurality of persons are included as subjects in the image data, or a case where subjects other than the target person are imaged simultaneously.

また、特許文献2に提案されている方法では、画像データに含まれる被写体として複数の人物が含まれ、含まれている複数の人物を検出する方法が紹介されている。しかしながら、特許文献2に提案されている方法では、被写体である人物の動き量を検出して人物の人数を判定する方法であるため、撮像装置が固定されている必要がある。さらに、特許文献2に提案されている方法では、固定された同じ画角の、過去の撮像した画像データが必要とされている。   Further, in the method proposed in Patent Document 2, a plurality of persons are included as subjects included in image data, and a method of detecting a plurality of included persons is introduced. However, since the method proposed in Patent Document 2 is a method for determining the number of persons by detecting the amount of movement of a person who is a subject, the imaging device needs to be fixed. Furthermore, the method proposed in Patent Document 2 requires past image data captured at the same fixed angle of view.

上記で説明したように、従来より提案されている方法では、複数の被写体である人物が含まれている場合や、複数の人物が画像フレーム毎に異なる画角で撮像されるデジタルカメラの様な撮像装置においては、個人認証が出来ない欠点がある。   As described above, the conventionally proposed methods include a case where a plurality of persons as subjects are included, or a case where a plurality of persons are captured at different angles of view for each image frame. An imaging device has a drawback that personal authentication cannot be performed.

また、従来の個人認証の方法では、撮像された複数の顔の全ての顔に対して個人認証処理を行うために多くの時間が必要となり、EVFを使用する表示動作に対して個人認証処理が間に合わなくなることが有った。逆にEVFでの表示動作に間に合う時間内で個人認証処理を行うためには、EVFでの表示のフレームレートを落とす必要があった。このように、表示のフレームレートの低い状態でEVFでの画面を見ながらでの撮像では、人物の位置や表情などが実時間で表示されないことになる。そのため、デジタルカメラとして最も重要なシャッタチャンスを逃す恐れが生じる。この問題は、個人を識別する個人認証のみならず、笑顔や目瞑りなどを識別する表情認識にも当てはめることができる。   In addition, in the conventional personal authentication method, a lot of time is required to perform the personal authentication process on all of the plurality of captured faces, and the personal authentication process is performed for the display operation using the EVF. Sometimes it was not in time. Conversely, in order to perform the personal authentication process within a time that is in time for the display operation in the EVF, it is necessary to reduce the frame rate of the display in the EVF. As described above, in the imaging while viewing the screen with the EVF in a state where the display frame rate is low, the position or expression of the person is not displayed in real time. Therefore, there is a risk that the most important shutter chance as a digital camera is missed. This problem can be applied not only to personal authentication for identifying an individual, but also to facial expression recognition for identifying a smile, eye meditation, and the like.

したがって本発明の目的は、個人や表情の識別処理に要する時間を短縮することが可能な撮像装置を提供することにある。   Accordingly, an object of the present invention is to provide an imaging apparatus capable of shortening the time required for identification processing of an individual or a facial expression.

上記の目的を達成するため、複数のフレームの画像データに含まれる顔画像データに対して、個人の識別と表情の識別のいずれかの識別処理を行う、本願発明にかかる画像データの識別方法は、   In order to achieve the above object, an identification method of image data according to the present invention for performing identification processing of individual identification or facial expression identification on face image data included in image data of a plurality of frames. ,

顔検出手段が、前記画像データに含まれる顔画像データを検出する顔検出工程と、   A face detection step in which a face detection means detects face image data included in the image data;

識別手段が、前記顔検出工程で検出された1つまたは複数の顔画像データに対して前記識別処理を行う識別工程とを有し、   An identification unit that performs the identification process on one or a plurality of face image data detected in the face detection step;

前記識別工程では、前記識別処理を行うフレームの画像データに含まれる顔画像データと同じ人物を示す、前のフレームの画像データに含まれる顔画像データについて、前記識別処理に成功した場合に、失敗した場合よりも、高い数値を与えるものであって、該数値の高いものから予め設けた上限に達する数までの顔画像データに対して前記識別処理を行うことを特徴とする。   In the identification step, the face image data included in the image data of the previous frame indicating the same person as the face image data included in the image data of the frame to be subjected to the identification process is failed when the identification process is successful. The identification processing is performed on face image data that gives a higher numerical value than that in the case where the numerical value is higher and reaches a predetermined upper limit.

本発明によれば、個人や表情の識別に要する時間を短縮することができ、適切な撮影が可能な識別機能を備える撮像装置を提供することが可能となる。   According to the present invention, it is possible to reduce the time required for identifying an individual or a facial expression, and it is possible to provide an imaging apparatus having an identification function capable of appropriate photographing.

本発明の実施形態に係る個人認証機能を備える撮像装置のブロック構成図である。It is a block block diagram of an imaging device provided with the personal authentication function which concerns on embodiment of this invention. 本発明の実施形態に係る個人認証機能を備える撮像装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of an imaging device provided with the personal authentication function which concerns on embodiment of this invention.

<実施形態1>
図1は、本発明の実施形態に係る個人認証機能を備える撮像装置100の構成を示すブロック図である。図1において、1は撮像レンズ、2はフォーカスレンズである。フォーカスレンズ2を制御することで、撮像される被写体の合焦状態を制御することが可能に構成されている。
<Embodiment 1>
FIG. 1 is a block diagram showing a configuration of an imaging apparatus 100 having a personal authentication function according to an embodiment of the present invention. In FIG. 1, 1 is an imaging lens and 2 is a focus lens. By controlling the focus lens 2, the in-focus state of the subject to be imaged can be controlled.

また、3は撮像レンズを通過した被写体の光束を光電変換し電気信号に変換するCCDやCMOS等の撮像素子である。4は撮像素子3から出力されたアナログの画像信号にクランプ処理、ゲイン処理等を行い、デジタル信号である画像データに変換するA/D変換部である。   Reference numeral 3 denotes an image sensor such as a CCD or CMOS that photoelectrically converts the light flux of the subject that has passed through the imaging lens into an electrical signal. Reference numeral 4 denotes an A / D conversion unit that performs clamp processing, gain processing, and the like on an analog image signal output from the image sensor 3 and converts the analog image signal into image data that is a digital signal.

5は信号処理部であり、A/D変換部4からの画像データに対して、予め定めた画素補間処理や色変換処理を実行する。また、信号処理部5は、撮像して得られた画像データを用いて予め定めた演算処理を実行し、得られた演算結果に基づいて自動白バランス処理等の信号処理を実行する。   A signal processing unit 5 executes predetermined pixel interpolation processing and color conversion processing on the image data from the A / D conversion unit 4. In addition, the signal processing unit 5 executes predetermined calculation processing using image data obtained by imaging, and performs signal processing such as automatic white balance processing based on the obtained calculation result.

信号処理部5で信号処理された画像データは、画像メモリ6に一時的に記憶される。また、画像メモリ6に一時的に記憶された画像データは、記録再生部7に供給され、ユーザの要求で取り外し可能な記録媒体8に記録される。また画像データは表示制御部9に送られ表示装置10で画像データの表示を実行する。記録媒体8は、光デイスク記録媒体、半導体記録媒体等、各種の取り外し可能な記録媒体が使用できる。   The image data subjected to signal processing by the signal processing unit 5 is temporarily stored in the image memory 6. Also, the image data temporarily stored in the image memory 6 is supplied to the recording / reproducing unit 7 and recorded on the removable recording medium 8 at the request of the user. The image data is sent to the display control unit 9 and the display device 10 displays the image data. As the recording medium 8, various removable recording media such as an optical disk recording medium and a semiconductor recording medium can be used.

システム制御部11は、基本的に、撮像装置100の全体の動作を制御するものであって、通常内部にCPUを備える。たとえば、撮像して得られる画像データを用いて予め定めた演算処理を信号処理部5で実行し、その演算結果に基づいて、焦点制御部12、及び露出制御部13を制御する。すなわち、フォーカスレンズ2に対して、焦点制御部12が制御を行ない自動焦点制御(AF)を実行する。また、撮像レンズ1内の絞り及びシャッタ、さらには撮像素子3の電子シャッタに対して、露出制御部13が制御を行い自動露出制御(AE)を実行する。   The system control unit 11 basically controls the entire operation of the imaging apparatus 100, and normally includes a CPU. For example, the signal processing unit 5 executes a predetermined calculation process using image data obtained by imaging, and controls the focus control unit 12 and the exposure control unit 13 based on the calculation result. That is, the focus control unit 12 controls the focus lens 2 to execute automatic focus control (AF). Further, the exposure control unit 13 controls the aperture and shutter in the imaging lens 1 and further the electronic shutter of the imaging device 3 to execute automatic exposure control (AE).

システム制御部11に接続されたRAM14は、表示装置10に表示する画像データを記憶してもよく、表示制御部9を介し表示装置10に画像データを供給して表示する。また、このRAM14は、システム制御部11の作業領域としても使用することが可能である。   The RAM 14 connected to the system control unit 11 may store image data to be displayed on the display device 10 and supplies the image data to the display device 10 via the display control unit 9 for display. The RAM 14 can also be used as a work area for the system control unit 11.

画像メモリ6は、撮像した静止画像データや動画像データを一時的に格納し、予め定めた枚数の静止画像データや、予め定めた時間分の動画像データを格納するのに十分に高速かつ大量の記憶容量を備える。これにより、複数枚の静止画像データを連続して撮像する連写撮像や複数枚の撮像画像データを合成するパノラマ撮像の場合にも、画像メモリ6を使用して実行することが可能となる。   The image memory 6 temporarily stores captured still image data and moving image data, and is high-speed and large enough to store a predetermined number of still image data and a predetermined amount of moving image data. Storage capacity. Thus, even in the case of continuous shooting that continuously captures a plurality of still image data or panoramic imaging that combines a plurality of captured image data, the image memory 6 can be used.

表示装置10は、撮像した画像データを逐次表示する事により電子ビューファインダ(以下EVF)として使用する。また、表示装置10は、システム制御部11でのプログラムの実行にしたがって任意に表示をオン/オフすることが可能に構成される。更に、顔検出状態表示、個人認証状態表示、合焦枠表示、合焦表示、非合焦の警告の表示なども行う。   The display device 10 is used as an electronic viewfinder (hereinafter, EVF) by sequentially displaying captured image data. Further, the display device 10 is configured to be able to arbitrarily turn on / off the display according to the execution of the program in the system control unit 11. Furthermore, face detection status display, personal authentication status display, focus frame display, focus display, out-of-focus warning display, and the like are also performed.

7はメモリカードやハードディスク等の取り外し可能な記録媒体8とのインタフェースである記録再生部である。この記録再生部7を用いて、画像データや画像データに付属した管理情報を、記録媒体8との間で転送し合うことができる。システム制御部11は、撮像装置100全体の動作を制御している。システム制御部11に接続されたRAM14及び/又はROM15に、このシステム制御部11の動作用の定数、変数、プログラムと、個人認証又は識別処理用の登録された人物の顔画像データの特徴情報、顔検出に必要なデータ等を記憶している。   A recording / reproducing unit 7 is an interface with a removable recording medium 8 such as a memory card or a hard disk. Using the recording / reproducing unit 7, image data and management information attached to the image data can be transferred to and from the recording medium 8. The system control unit 11 controls the operation of the entire imaging apparatus 100. In the RAM 14 and / or ROM 15 connected to the system control unit 11, constants, variables, programs for operation of the system control unit 11, feature information of face image data of a registered person for personal authentication or identification processing, Data necessary for face detection is stored.

16は顔検出部である。顔検出部16においては、撮像する画像データに含まれる被写体から、目、口等のエッジを検出して人物の顔の特徴部分を検出する。この場合、RAM14及び/又はROM15に、記憶された、顔検出に必要なデータに基づいて検出が実行される。   Reference numeral 16 denotes a face detection unit. The face detection unit 16 detects a feature portion of a person's face by detecting edges such as eyes and a mouth from a subject included in image data to be captured. In this case, detection is executed based on data stored in the RAM 14 and / or the ROM 15 and necessary for face detection.

すなわち、顔が占める画像データの領域(顔位置と顔の大きさ)、顔の確からしさ(顔信頼度)から、その画像領域のデータを顔画像データとして検出する顔検出処理や識別処理を実行する。さらに顔検出部16は、検出された顔画像データの数も同時に検出する。顔検出処理は、個人認証のように個人別に参照用データを蓄積しておく必要がないため、個人認証に比較して十分に早く処理を完了させることが可能である。   In other words, the face detection process and the identification process that detect the image area data as face image data based on the area of the image data (face position and face size) occupied by the face and the likelihood of the face (face reliability) are executed. To do. Furthermore, the face detection unit 16 also detects the number of detected face image data. Since the face detection process does not need to store reference data for each individual as in the case of personal authentication, the process can be completed sufficiently earlier than the personal authentication.

17は特徴情報抽出部であり、顔検出部16で検出された顔画像データから、個人認証の際に用いる特徴情報を抽出する。   Reference numeral 17 denotes a feature information extraction unit that extracts feature information used for personal authentication from the face image data detected by the face detection unit 16.

18は主顔率算出部、19は主顔選択部である。これらについては、その詳細は後述する。20は認証部であり、RAM14及びまたはROM15に記憶された個人認証用の登録された人物の顔画像データの特徴情報と、特徴情報抽出部17で抽出された検出された顔画像データとに基づく、たとえばテンプレートマッチングによる個人認証を実行する。   Reference numeral 18 denotes a main face rate calculation unit, and 19 denotes a main face selection unit. Details of these will be described later. An authentication unit 20 is based on the feature information of the registered person face image data for personal authentication stored in the RAM 14 and / or the ROM 15 and the detected face image data extracted by the feature information extraction unit 17. For example, personal authentication is performed by template matching.

なお、図1に示して説明した撮像装置の構成は1例であり、以下に説明する動作を実行できるのであれば、本発明に係る撮像装置の構成は、図1に示した構成に限定されるものではない。   The configuration of the imaging apparatus illustrated in FIG. 1 is an example, and the configuration of the imaging apparatus according to the present invention is limited to the configuration illustrated in FIG. 1 as long as the operations described below can be performed. It is not something.

次に、図2のフローチャートを参照して、本発明の実施形態に係る撮像装置100の動作について詳細に説明する。先ず、処理の開始後、ステップS201で、撮像素子3から出力される画像信号を、A/D変換部4及び信号処理部5により画像データを取得する。取得した画像データは、たとえば画像メモリ6に一時的に記憶される。   Next, the operation of the imaging apparatus 100 according to the embodiment of the present invention will be described in detail with reference to the flowchart of FIG. First, after the process is started, the image data output from the image sensor 3 is acquired by the A / D conversion unit 4 and the signal processing unit 5 in step S201. The acquired image data is temporarily stored in the image memory 6, for example.

次にステップS202に進み、ステップS201で取得して画像メモリ6に記録された画像データに対して、顔検出部16で顔検出処理を実行する。この顔検出部16での顔検出処理の結果、撮像する画像データに含まれる被写体から、目、口等のエッジを検出して顔の特徴部分を検出する。そして被写体である人物の顔が占める画像データの領域(顔の位置「S」と顔の大きさ「S」)、顔の確からしさ(顔信頼度「R」)から顔画像データを検出するとともに、顔画像データの数が検出される。   In step S202, the face detection unit 16 performs face detection processing on the image data acquired in step S201 and recorded in the image memory 6. As a result of the face detection process by the face detection unit 16, the feature part of the face is detected by detecting edges such as eyes and mouth from the subject included in the image data to be captured. The face image data is detected from the image data area (face position “S” and face size “S”) occupied by the face of the person who is the subject, and the likelihood of the face (face reliability “R”). The number of face image data is detected.

次にステップS203に進み、顔検出部16で検出された顔画像データの数が2または2より大きいかを判断する。この判断はたとえば、システム制御部11で実行する。ステップS203の判断で、検出された顔画像データの数が2以上の場合には、ステップS205に進み、主顔率算出処理が主顔率算出部18で実行される。なお、主顔率とは、画像データにおける各顔画像データの主要である割合い、即ち主要度合いを表す。   In step S203, it is determined whether the number of face image data detected by the face detection unit 16 is 2 or greater. This determination is performed by the system control unit 11, for example. If it is determined in step S203 that the number of detected face image data is 2 or more, the process proceeds to step S205, and the main face ratio calculation unit 18 executes the main face ratio calculation process. Note that the main face ratio represents a main ratio of each face image data in the image data, that is, a main degree.

ステップS205の主顔率算出処理では、ステップS202の顔検出で得られた全ての顔画像データに関し、主要度合いを表す主顔率「M」を算出する。この場合、少なくとも画像データにおける顔画像データの中心からの距離「D」及び顔画像データの大きさ「S」、さらには顔信頼度「R」を使用して下記の計算式より主顔率「M」を算出する。この場合、画像データにおける顔画像データの中心からの距離「D」は、顔画像データの画像データ内での位置を意味する。距離「D」、大きさ「S」、顔信頼度「R」は、それぞれ顔画像データが画像データの中心に近いほど、顔画像データが大きいほど、顔画像データの顔信頼度が高いほど、主顔率「M」が大きくなるように設定される。   In the main face ratio calculation process in step S205, the main face ratio “M” representing the main degree is calculated for all face image data obtained by the face detection in step S202. In this case, at least the distance “D” from the center of the face image data in the image data, the size “S” of the face image data, and the face reliability “R” are used. M "is calculated. In this case, the distance “D” from the center of the face image data in the image data means the position of the face image data in the image data. The distance “D”, the size “S”, and the face reliability “R” are respectively closer to the center of the image data, larger face image data, and higher face reliability of the face image data. The main face ratio “M” is set to be large.

主顔率「M」の算出は、主顔率算出部18で実行され、以下の計算式で主要度合いを表す主顔率「M」が算出される。   The calculation of the main face ratio “M” is executed by the main face ratio calculation unit 18, and the main face ratio “M” representing the main degree is calculated by the following calculation formula.

M=(Dis=W×D)+(Siz=W×S)+(Rel=W×R)   M = (Dis = W × D) + (Siz = W × S) + (Rel = W × R)

上記の計算式での計算の結果、主顔率「M」が最大となる顔画像データの顔を主顔とする主顔選択処理をステップS206で実行する。主顔選択部19は、この主顔選択処理を実行する。尚、距離重み係数「Dis=W」、顔大きさ重み係数「Siz=W」、および顔信頼度重み係数「Rel=W」は予めROM15に設定する。   As a result of the calculation using the above calculation formula, a main face selection process in which the face of the face image data having the maximum main face ratio “M” is the main face is executed in step S206. The main face selection unit 19 executes this main face selection process. The distance weight coefficient “Dis = W”, the face size weight coefficient “Siz = W”, and the face reliability weight coefficient “Rel = W” are set in the ROM 15 in advance.

上記した計算式は1例であり、ここで重要なことは、顔画像データの画像データ内での主要度合いの主顔率「M」を得ることである。したがって、ここで説明した以外の方法であっても、顔画像データの画像データ内での主要度合いの主顔率「M」が得られるのであれば、この実施形態におけるパラメータや計算式以外でも使用可能である。当然のことながら、主要度合いの定義の仕方によっても、パラメータや計算式は異なる場合がありうる。   The above calculation formula is an example, and what is important here is to obtain the main face ratio “M” of the main degree in the image data of the face image data. Therefore, even if a method other than the method described here is used, if the main face ratio “M” of the main degree in the image data of the face image data can be obtained, the parameters and calculation formulas other than those in this embodiment can be used. Is possible. Of course, parameters and calculation formulas may differ depending on how the main degree is defined.

ステップS206では、検出された複数の顔画像データから現在調べている画像データに含まれる顔画像データのなかで主要である、すなわち算出された主顔率「M」を調べて、たとえば主顔率「M」が最大である顔画像データを選ぶ主顔選択処理を実行する。ステップS206の主顔選択処理は、主顔選択部19で実行される。   In step S206, the main face ratio “M” that is the main face image data included in the image data that is currently being examined from the plurality of detected face image data, that is, the calculated main face ratio “M” is checked. A main face selection process for selecting face image data having the maximum “M” is executed. The main face selection process in step S206 is executed by the main face selection unit 19.

そして、ステップS207に進み、選択された1人の主顔とされた顔画像データについて認証部20での個人認証を実行することにより、短時間での個人認証を行うことが可能となる。   Then, the process proceeds to step S207, and the personal authentication in the authentication unit 20 is executed for the selected face image data of one main face, whereby the personal authentication can be performed in a short time.

ステップS203およびS204の判断で検出された顔の数が1であれば、主顔選択処理は不要であるので直接ステップS207に進み、1人の主顔とされた人物の顔画像データについて個人認証を行う事により、短時間での個人認証を行うことが可能となる。勿論、ステップS204でNOの場合は、ステップS202において、顔画像データが検出されなかった、すなわち、画像データに顔画像データがなく人物がいないことを意味し、個人認証処理を行うことなくステップS208に進むこととなる。   If the number of faces detected in the determinations in steps S203 and S204 is 1, the main face selection process is unnecessary, and the process directly proceeds to step S207, and personal authentication is performed on the face image data of the person who is set as one main face. By performing this, it is possible to perform personal authentication in a short time. Of course, if NO in step S204, this means that no face image data was detected in step S202, that is, there was no face image data in the image data and there was no person, and step S208 was performed without performing personal authentication processing. Will proceed to.

この時点で、ステップS208でシャッタSW1が押されたと判断された場合には、ステップS209に進み、焦点制御部12及び露出制御部13を制御して自動焦点制御および自動露出制御を実行する。その後ステップS210でシャッタSW2が押されているのを確認して、ステップS211で撮像動作、すなわち、顔画像データを含む画像データの記録媒体8への記録を実行し、処理を終了する。   At this point, if it is determined in step S208 that the shutter SW1 has been pressed, the process proceeds to step S209, where the focus control unit 12 and the exposure control unit 13 are controlled to execute automatic focus control and automatic exposure control. Thereafter, in step S210, it is confirmed that the shutter SW2 is pressed, and in step S211, an imaging operation, that is, recording of image data including face image data on the recording medium 8 is executed, and the process is terminated.

また、顔画像データ位置、顔画像データの大きさ「S」及び主顔率「M」を画像フレーム毎に記憶する事により、画像フレーム間で画角の変化が少ないと判断できる場合には、以下のように補正して処理することもできる。   Further, by storing the face image data position, the size “S” of the face image data, and the main face ratio “M” for each image frame, when it can be determined that the change in the angle of view between the image frames is small, It is also possible to correct and process as follows.

すなわち、前に撮像した画像データから得られた顔画像データの個人認証処理の結果に応じて、主顔率「M」に対して主顔率重み「Main=W」を乗算して補正し、その後に主顔率「M」が最大となる顔画像データを主顔としても良い。この場合のステップS206における主顔率「M」を補正する計算式を下記に示す。   That is, according to the result of personal authentication processing of face image data obtained from previously captured image data, the main face rate “M” is corrected by multiplying the main face rate weight “Main = W”, After that, face image data with the largest main face ratio “M” may be used as the main face. A calculation formula for correcting the main face ratio “M” in step S206 in this case is shown below.

M=Main=WxM   M = Main = WxM

さらに、主顔率重み「Main=W」は、個人認証が出来た場合はその数値を大きくするように補正し、個人認証が出来なかった場合には数値を小さくするするように補正することにより、主顔選択処理の精度を高める事も可能である。   Furthermore, the main face ratio weight “Main = W” is corrected by increasing the numerical value when personal authentication can be performed, and by decreasing the numerical value when personal authentication cannot be performed. It is also possible to increase the accuracy of the main face selection process.

主顔率「M」が予め定めた閾値より大きい顔画像データが複数ある場合などは、複数の顔画像データに対して個人認証処理を実行することも考えられる。しかし、個人認証する顔画像データの数があまり多くならないように閾値を決めることが必要である。あるいは、個人認証処理する対象の数の上限を設け、主顔率「M」が高いものから上限に達する数までの顔画像データに対して個人認証処理をするようにしてもよい。   When there are a plurality of face image data whose main face ratio “M” is larger than a predetermined threshold value, it is also conceivable to execute the personal authentication process for the plurality of face image data. However, it is necessary to determine a threshold value so that the number of face image data to be personally authenticated does not increase too much. Alternatively, an upper limit on the number of subjects to be subjected to personal authentication processing may be provided, and personal authentication processing may be performed on face image data from a high main face ratio “M” to a number reaching the upper limit.

本発明によれば、1つの画角で撮像される画像データ内に、被写体として複数の人物の顔画像データが含まれる場合においても、ユーザの意図した人物の個人認証が可能である。また、効率的に個人認証を行なうため、高いフレームレートでのEVFでの表示処理が可能となり、シャッタチャンスを逃す事無く撮像が可能な撮像装置を提供することができる。   According to the present invention, even when face image data of a plurality of persons is included as a subject in image data captured at one angle of view, personal authentication of a person intended by the user is possible. Further, since the personal authentication is performed efficiently, display processing with EVF at a high frame rate is possible, and an imaging apparatus capable of imaging without missing a photo opportunity can be provided.

また、笑顔や目瞑りなどを識別する表情認識処理も、目の動きや口角の形状等、顔検出処理よりも詳細な情報を必要とするため、蓄積すべき参照用データが顔検出処理よりも多いという点では共通している。したがって、表情認識処理についても、主顔率の高い顔に関してのみ識別処理を行うという構成にすることにより、識別に要する時間を短縮することができるという効果を得ることが可能となる。   In addition, facial expression recognition processing that identifies smiles and eye meditation requires more detailed information than face detection processing, such as eye movements and mouth corner shapes, so the reference data to be stored is more than face detection processing. It is common in that there are many. Accordingly, with regard to the facial expression recognition process, it is possible to obtain an effect that the time required for the identification can be shortened by adopting a configuration in which the identification process is performed only for a face having a high main face ratio.

また、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給することによっても実施可能である。すなわち本発明の目的は、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても達成される。   The present invention can also be implemented by supplying a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus. That is, the object of the present invention can also be achieved by reading and executing a program code stored in a storage medium by a computer (or CPU or MPU) of the system or apparatus.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することで、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行いこともありうる。それにより、本発明は、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS or the like running on the computer performs actual processing based on an instruction of the program code. Some or all may be done. Thus, the present invention includes a case where the functions of the above-described embodiments are realized by the processing.

さらに本発明においては、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれて実施することも可能である。したがって、書込まれプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Furthermore, in the present invention, the program code read from the storage medium can be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Therefore, the function of the above-described embodiment is realized by performing part or all of the actual processing by the CPU provided in the function expansion board or function expansion unit based on the written program code instruction. Is also included.

Claims (4)

複数のフレームの画像データに含まれる顔画像データに対して、個人の識別と表情の識別のいずれかの識別処理を行う画像データの識別方法において、
顔検出手段が、前記画像データに含まれる顔画像データを検出する顔検出工程と、
識別手段が、前記顔検出工程で検出された1つまたは複数の顔画像データに対して前記識別処理を行う識別工程とを有し、
前記識別工程では、前記識別処理を行うフレームの画像データに含まれる顔画像データと同じ人物を示す、前のフレームの画像データに含まれる顔画像データについて、前記識別処理に成功した場合に、失敗した場合よりも、高い数値を与えるものであって、該数値の高いものから予め設けた上限に達する数までの顔画像データに対して前記識別処理を行うことを特徴とする画像データの識別方法。
In an image data identification method for performing identification processing of either individual identification or facial expression identification on face image data included in image data of a plurality of frames,
A face detection step in which a face detection means detects face image data included in the image data;
An identification unit that performs the identification process on one or a plurality of face image data detected in the face detection step;
In the identification step, the face image data included in the image data of the previous frame indicating the same person as the face image data included in the image data of the frame to be subjected to the identification process is failed when the identification process is successful. A method for identifying image data, wherein the identification processing is performed on face image data from a higher value to a number that reaches a predetermined upper limit. .
複数のフレームの画像データに含まれる顔画像データに対して、個人の識別と表情の識別のいずれかの識別処理を行う撮像装置において、
前記画像データに含まれる顔画像データを検出する顔検出手段と、
前記顔検出手段で検出された1つまたは複数の顔画像データに対して前記識別処理を行う識別手段とを有し、
前記識別手段は、前記識別処理を行うフレームの画像データに含まれる顔画像データと同じ人物を示す、前のフレームの画像データに含まれる顔画像データについて、前記識別処理に成功した場合に、失敗した場合よりも、高い数値を与えるものであって、該数値の高いものから予め設けた上限に達する数までの顔画像データに対して前記識別処理を行うことを特徴とする撮像装置。
In an imaging device that performs identification processing of either personal identification or facial expression identification on face image data included in image data of a plurality of frames,
Face detection means for detecting face image data included in the image data;
Identification means for performing the identification processing on one or a plurality of face image data detected by the face detection means,
The identification unit fails when the identification process is successful for the face image data included in the image data of the previous frame indicating the same person as the face image data included in the image data of the frame on which the identification process is performed. An image pickup apparatus that gives a higher numerical value than the case where the identification processing is performed on face image data from a higher numerical value to a number that reaches a preset upper limit.
請求項1に記載の画像データの識別方法の各工程をコンピュータに実行させるためのプログラム。   The program for making a computer perform each process of the identification method of the image data of Claim 1. 請求項1に記載の画像データの識別方法の各工程をコンピュータに実行させるためのプログラムが記憶されたコンピュータで読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute each step of the image data identification method according to claim 1.
JP2012114510A 2012-05-18 2012-05-18 Image data identification method, imaging apparatus, program, and storage medium Active JP5374612B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012114510A JP5374612B2 (en) 2012-05-18 2012-05-18 Image data identification method, imaging apparatus, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012114510A JP5374612B2 (en) 2012-05-18 2012-05-18 Image data identification method, imaging apparatus, program, and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007103301A Division JP5002311B2 (en) 2007-04-10 2007-04-10 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Publications (2)

Publication Number Publication Date
JP2012160212A true JP2012160212A (en) 2012-08-23
JP5374612B2 JP5374612B2 (en) 2013-12-25

Family

ID=46840630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012114510A Active JP5374612B2 (en) 2012-05-18 2012-05-18 Image data identification method, imaging apparatus, program, and storage medium

Country Status (1)

Country Link
JP (1) JP5374612B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015012441A1 (en) * 2013-07-24 2015-01-29 Lg Electronics Inc. Digital device and control method thereof
US11048785B2 (en) 2018-02-14 2021-06-29 Samsung Electronics Co., Ltd Method and apparatus of performing authentication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002191044A (en) * 2001-10-15 2002-07-05 Toshiba Corp Face image supervisory system
JP2006031690A (en) * 2004-06-17 2006-02-02 Fuji Photo Film Co Ltd Specific image area dividing device and method and program for executing specific image area sectioning processing on computer
JP2006277038A (en) * 2005-03-28 2006-10-12 Nec Personal Products Co Ltd Image display method, image display device and program
JP2006311108A (en) * 2005-04-27 2006-11-09 Fuji Photo Film Co Ltd Image processor, image processing method, image processing program and camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002191044A (en) * 2001-10-15 2002-07-05 Toshiba Corp Face image supervisory system
JP2006031690A (en) * 2004-06-17 2006-02-02 Fuji Photo Film Co Ltd Specific image area dividing device and method and program for executing specific image area sectioning processing on computer
JP2006277038A (en) * 2005-03-28 2006-10-12 Nec Personal Products Co Ltd Image display method, image display device and program
JP2006311108A (en) * 2005-04-27 2006-11-09 Fuji Photo Film Co Ltd Image processor, image processing method, image processing program and camera

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015012441A1 (en) * 2013-07-24 2015-01-29 Lg Electronics Inc. Digital device and control method thereof
US9530046B2 (en) 2013-07-24 2016-12-27 Lg Electronics Inc. Digital device and method of sharing image with at least one person contained in the image
US11048785B2 (en) 2018-02-14 2021-06-29 Samsung Electronics Co., Ltd Method and apparatus of performing authentication
US11720658B2 (en) 2018-02-14 2023-08-08 Samsung Electronics Co., Ltd. Method and apparatus of performing authentication

Also Published As

Publication number Publication date
JP5374612B2 (en) 2013-12-25

Similar Documents

Publication Publication Date Title
KR101280920B1 (en) Image recognition apparatus and method
US8494286B2 (en) Face detection in mid-shot digital images
JP4274233B2 (en) Imaging apparatus, image processing apparatus, image processing method therefor, and program causing computer to execute the method
JP4702418B2 (en) Imaging apparatus, image region existence determination method and program
US8009204B2 (en) Image capturing apparatus, image capturing method, image processing apparatus, image processing method and computer-readable medium
JP5713055B2 (en) Imaging apparatus, imaging method, and program
US8989504B2 (en) Image processing device that renews identification information of specific subject
JP6025557B2 (en) Image recognition apparatus, control method thereof, and program
JP6149854B2 (en) Imaging apparatus, imaging control method, and program
JP5918996B2 (en) Subject recognition apparatus and dictionary data registration method
US20140285649A1 (en) Image acquisition apparatus that stops acquisition of images
JP2014186580A (en) Authentication device, imaging device, registration method of authentication data, program, and storage medium
JP5374612B2 (en) Image data identification method, imaging apparatus, program, and storage medium
JP2007301166A (en) Imaging apparatus, its control method, program and storage medium
JP2014067315A (en) Authentication device, authentication method and program therefor
JP5002311B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5386880B2 (en) Imaging device, mobile phone terminal, imaging method, program, and recording medium
JP2013152643A (en) Image processing apparatus, image processing method, and program
JP5267136B2 (en) Electronic camera
JP2017147764A (en) Image processing apparatus, image processing method, and program
JP5995610B2 (en) Subject recognition device and control method therefor, imaging device, display device, and program
JP2010171841A (en) Imaging apparatus
JP2012015912A (en) Electronic device
JP5740934B2 (en) Subject detection apparatus, subject detection method, and program
JP5242491B2 (en) Display control apparatus and operation control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130809

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: 20130823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130920

R151 Written notification of patent or utility model registration

Ref document number: 5374612

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151