Movatterモバイル変換


[0]ホーム

URL:


JP2013058828A - Smile determination device and method - Google Patents

Smile determination device and method
Download PDF

Info

Publication number
JP2013058828A
JP2013058828AJP2011194731AJP2011194731AJP2013058828AJP 2013058828 AJP2013058828 AJP 2013058828AJP 2011194731 AJP2011194731 AJP 2011194731AJP 2011194731 AJP2011194731 AJP 2011194731AJP 2013058828 AJP2013058828 AJP 2013058828A
Authority
JP
Japan
Prior art keywords
smile
face
level
detected
degree
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.)
Withdrawn
Application number
JP2011194731A
Other languages
Japanese (ja)
Inventor
Masaru Ninomiya
賢 二宮
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.)
JVCKenwood Corp
Original Assignee
JVCKenwood 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 JVCKenwood CorpfiledCriticalJVCKenwood Corp
Priority to JP2011194731ApriorityCriticalpatent/JP2013058828A/en
Publication of JP2013058828ApublicationCriticalpatent/JP2013058828A/en
Withdrawnlegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

PROBLEM TO BE SOLVED: To provide a smile determination device capable of improving smile determination accuracy even when the facial specs and smile level of each person are different.SOLUTION: A face detector 11 and a face detection program 181 are used to detect a face in an image. A face organ detector 15 and a face organ detection program 184 are used to detect face organ information. A smile level detection program 182 is used to detect a smile level on the basis of the face organ information. A registration part 186 registers normal face image information in a state where a smile is not instructed, smile non-instruction smile level in a state where a smile is not instructed, and a smile instruction smile level in a state where a smile is instructed. When a face is authenticated with the use of a face authenticator 16 and a face authentication program 185, a face determination program 183 determines whether it is a smile or not through the use of a present smile level, a smile non-instruction smile level, and a smile instruction smile level.

Description

Translated fromJapanese

本発明は、映像信号に含まれている顔画像の顔が笑顔であるか否かを判定する笑顔判定装置及び方法に関する。  The present invention relates to a smile determination device and method for determining whether or not a face of a face image included in a video signal is a smile.

ビデオカメラやデジタルスチルカメラ等の撮像装置において、被写体の顔が笑顔であるか否かを判定し、笑顔でない通常の顔から笑顔になった時点で被写体を撮像するという技術が実用化されている。笑顔は、顔器官情報の内、目と口の情報に基づいて判定するのが一般的である。  In an imaging device such as a video camera or a digital still camera, a technique has been put to practical use in which it is determined whether or not a subject's face is smiling, and the subject is imaged when a normal face that is not a smile becomes a smile. . In general, smile is determined based on information on eyes and mouth in facial organ information.

特開2009−177678号公報JP 2009-177678 A特開2010−186373号公報JP 2010-186373 A特開2008−42319号公報JP 2008-42319 A

ところが、人によって顔の作りが異なり、笑顔の程度(笑い方)も異なる。また、顔の向きは必ずしも正面を向いているとは限らず、顔の向きは一定ではない。従って、笑顔となっているにもかかわらず笑顔であると判定されない場合が多々発生する。そこで、笑顔の判定精度を向上させることが求められている。  However, the face creation varies from person to person, and the degree of smile (how to laugh) also varies. Also, the face orientation is not necessarily facing the front, and the face orientation is not constant. Therefore, there are many cases in which it is not determined that a smile is made even though it is a smile. Therefore, it is required to improve the accuracy of smile determination.

本発明はこのような要望に対応するため、人それぞれの顔の作りや笑顔の程度が異なっても、笑顔の判定精度を向上させることができる笑顔判定装置及び方法を提供することを目的とする。また、顔の向きが異なっても、笑顔の判定精度を向上させることができる笑顔判定装置及び方法を提供することを目的とする。  SUMMARY OF THE INVENTION In order to meet such demands, the present invention has an object to provide a smile determination device and method that can improve smile determination accuracy even if each person has different face creation and smile levels. . It is another object of the present invention to provide a smile determination device and method that can improve smile determination accuracy even when the orientation of the face is different.

本発明は、上述した従来の技術の課題を解決するため、画像内の顔を検出する顔検出部(11,181)と、画像内の顔から少なくとも目と口の顔器官情報を検出する顔器官検出部(15,184)と、前記顔器官情報に基づいて笑顔の程度を示す値である笑顔度を検出する笑顔度検出部(182)と、被写体に対して笑顔を指示していない状態での通常顔画像情報と、被写体に対して笑顔を指示していない状態で前記笑顔度検出部が検出した笑顔非指示時笑顔度と、被写体に対して笑顔を指示した状態で前記笑顔度検出部が検出した笑顔指示時笑顔度とを登録する登録部(186)と、前記通常顔画像情報を用いて、前記顔検出部で検出された顔が前記登録部に登録された顔であるか否かを判定して顔を認証する顔認証部(16,185)と、前記顔認証部によって、前記顔検出部で検出された顔が登録された顔であると認証された場合に、前記笑顔度検出部が、前記顔検出部で検出された顔が笑顔であるか否かを判定しようとする時点で検出した現在の笑顔度と、前記笑顔非指示時笑顔度と、前記笑顔指示時笑顔度とを用いて、前記顔検出部で検出された顔が笑顔であるか否かを判定する笑顔判定部(183)とを備えることを特徴とする笑顔判定装置を提供する。  In order to solve the above-described problems of the prior art, the present invention provides a face detection unit (11, 181) for detecting a face in an image, and a face for detecting at least eye and mouth facial organ information from the face in the image. An organ detection unit (15, 184), a smile level detection unit (182) that detects a smile level that is a value indicating the degree of smile based on the facial organ information, and a state in which no smile is instructed to the subject The normal face image information at the face, the smile level when the smile level detection unit detects the smile level when the smile level is not instructed to the subject, and the smile level detection level when the smile is commanded to the subject A registration unit (186) for registering the smile level at the time of smile instruction detected by the unit, and whether the face detected by the face detection unit using the normal face image information is a face registered in the registration unit Face authentication unit (16, 185) for determining whether or not to authenticate the face When the face authentication unit authenticates that the face detected by the face detection unit is a registered face, the smile degree detection unit detects that the face detected by the face detection unit is a smile The face detected by the face detection unit is a smile using the current smile level detected at the time of determining whether or not, the smile level when the smile is not specified, and the smile level when the smile is specified. There is provided a smile determination device comprising a smile determination unit (183) for determining whether or not there is a smile.

上記の笑顔判定装置において、前記登録部は、前記笑顔度検出部が前記通常顔画像情報に基づいて検出した笑顔度を前記笑顔非指示時笑顔度として登録することができる。  In the smile determination apparatus, the registration unit can register the smile level detected by the smile level detection unit based on the normal face image information as the smile level when the smile is not instructed.

上記の笑顔判定装置において、前記登録部は、前記顔検出部で検出された顔が前記登録部に登録された顔であると認証された場合に、前記笑顔度検出部が、前記顔検出部で検出された顔の笑顔度を複数回検出して平均した笑顔度を前記笑顔非指示時笑顔度として登録することができる。  In the smile determination device described above, when the face detected by the face detector is authenticated as a face registered in the register, the smile degree detector The smile degree averaged by detecting the smile degree of the face detected a plurality of times can be registered as the smile degree when not instructed to smile.

上記の笑顔判定装置において、前記登録部は、前記笑顔度検出部が前記通常顔画像情報に基づいて検出した第1の笑顔度と、前記顔検出部で検出された顔が前記登録部に登録された顔であると認証された場合に、前記笑顔度検出部が、前記顔検出部で検出された顔の笑顔度を複数回検出して平均した第2の笑顔度とを所定の割合で加算した第3の笑顔度を前記笑顔非指示時笑顔度として登録することが好ましい。  In the smile determination device, the registration unit registers the first smile level detected by the smile level detection unit based on the normal face image information and the face detected by the face detection unit in the registration unit. When the face is authenticated, the smile level detection unit detects the smile level of the face detected by the face detection unit a plurality of times and averages the second smile level at a predetermined ratio. It is preferable to register the added third smile degree as the smile degree when not instructed to smile.

上記の笑顔判定装置において、前記登録部は、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、前記笑顔度検出部が前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記笑顔非指示時笑顔度として登録することができる。  In the smile determination apparatus, the registration unit includes front face image information with a face facing the front of the photographing apparatus and a non-front face image with the face facing at least one of up, down, left, and right. Information is registered as the normal face image information, and the smile degree detected by the smile degree detection unit based on the front face image information and the smile degree detected based on the non-front face image information at a predetermined ratio The added smile level can be registered as the smile level when the smile is not instructed.

上記の笑顔判定装置において、前記登録部は、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、前記笑顔度検出部が前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記第1の笑顔度とすることが好ましい。  In the smile determination apparatus, the registration unit includes front face image information with a face facing the front of the photographing apparatus and a non-front face image with the face facing at least one of up, down, left, and right. Information is registered as the normal face image information, and the smile degree detected by the smile degree detection unit based on the front face image information and the smile degree detected based on the non-front face image information at a predetermined ratio It is preferable that the added smile degree is the first smile degree.

上記の笑顔判定装置において、前記笑顔判定部は、前記笑顔指示時笑顔度が前記前記第1の笑顔度より小さいか、前記笑顔指示時笑顔度が前記第2の笑顔度より小さい場合に、前記笑顔非指示時笑顔度を無効とし、前記笑顔非指示時笑顔度及び前記笑顔指示時笑顔度を用いることなく、前記現在の笑顔度に基づいて、前記顔検出部で検出された顔が笑顔であるか否かを判定することが好ましい。  In the above-described smile determination device, the smile determination unit is configured such that when the smile instruction smile degree is less than the first smile degree, or when the smile instruction smile degree is less than the second smile degree, The smile detected when the smile is not instructed is invalidated, and the face detected by the face detection unit is determined to be a smile based on the current smile level without using the smile level when the smile is not specified and the smile level when the smile is specified. It is preferable to determine whether or not there is.

上記の笑顔判定装置において、前記笑顔判定部は、前記笑顔指示時笑顔度が前記前記第1の笑顔度以上であり、前記笑顔指示時笑顔度が前記第2の笑顔度以上である場合に、前記笑顔非指示時笑顔度を有効とし、前記現在の笑顔度が前記笑顔指示時笑顔度以上であり、前記現在の笑顔度が前記第3の笑顔度よりも第1の所定の値以上大きい場合に、前記顔検出部で検出された顔が笑顔であると判定することが好ましい。  In the above smile determination device, the smile determination unit has a smile degree when the smile instruction is greater than or equal to the first smile degree, and when the smile degree when the smile instruction is equal to or greater than the second smile degree, When the smile level when the smile is not instructed is valid, the current smile level is greater than or equal to the smile level when the smile is instructed, and the current smile level is greater than the third predetermined smile level by a first predetermined value or more Furthermore, it is preferable to determine that the face detected by the face detection unit is a smile.

上記の笑顔判定装置において、前記笑顔判定部は、前記現在の笑顔度が前記笑顔指示時笑顔度未満である場合に、前記現在の笑顔度が前記第3の笑顔度よりも前記第1の所定の値より大きい第2の所定の値以上大きい場合に、前記顔検出部で検出された顔が笑顔であると判定することが好ましい。  In the smile determination device, the smile determination unit may be configured such that the current smile level is less than the third smile level when the current smile level is less than the smile level at the time of the smile instruction. It is preferable to determine that the face detected by the face detection unit is a smile when it is greater than a second predetermined value that is greater than the value of.

また、本発明は、上述した従来の技術の課題を解決するため、画像内の顔を検出する顔検出ステップ(S101)と、画像内の顔から少なくとも目と口の顔器官情報を検出する顔器官検出ステップ(S102)と、前記顔器官情報に基づいて笑顔の程度を示す値である笑顔度を検出する笑顔度検出ステップ(S104)と、被写体に対して笑顔を指示していない状態での通常顔画像情報を登録する第1の登録ステップ(S204)と、被写体に対して笑顔を指示していない状態で前記笑顔度検出ステップにて検出した笑顔非指示時笑顔度を登録する第2の登録ステップ(S205,S210)と、被写体に対して笑顔を指示した状態で前記笑顔度検出ステップが検出した笑顔指示時笑顔度とを登録する第3の登録ステップ(S216)と、前記通常顔画像情報を用いて、前記顔検出ステップで検出された顔が前記第1の登録ステップにて登録された顔であるか否かを判定して顔を認証する顔認証ステップ(S301)と、前記顔認証ステップにて、前記顔検出ステップにて検出された顔が登録された顔であると認証された場合に、前記顔検出ステップにて検出された顔が笑顔であるか否かを判定しようとする時点で前記笑顔度検出ステップにて検出された現在の笑顔度と、前記笑顔非指示時笑顔度と、前記笑顔指示時笑顔度とを用いて、前記顔検出ステップにて検出された顔が笑顔であるか否かを判定する笑顔判定ステップ(S401〜S410)とを含むことを特徴とする笑顔判定方法を提供する。  Further, the present invention solves the above-described problems of the prior art by a face detection step (S101) for detecting a face in an image, and a face for detecting at least eye and mouth facial organ information from the face in the image. An organ detection step (S102), a smile level detection step (S104) for detecting a smile level, which is a value indicating the degree of smile based on the facial organ information, and a state in which the subject is not instructed to smile A first registration step (S204) for registering normal face image information, and a second step for registering the smile level when the smile is not instructed detected in the smile level detection step in a state where no smile is instructed to the subject. A registration step (S205, S210), a third registration step (S216) for registering the smile level at the time of smile indication detected by the smile level detection step in a state where a smile is instructed to the subject; A face authentication step (S301) for authenticating a face by determining whether or not the face detected in the face detection step is a face registered in the first registration step using normal face image information; Whether the face detected in the face detection step is a smile when the face authentication step determines that the face detected in the face detection step is a registered face. It is detected in the face detection step using the current smile level detected in the smile level detection step at the time of determination, the smile level when not instructing smiles, and the smile level when instructing smiles. And a smile determination step (S401 to S410) for determining whether or not the face is a smile.

上記の笑顔判定方法において、前記第2の登録ステップは、前記笑顔度検出ステップにて前記通常顔画像情報に基づいて検出した笑顔度を前記笑顔非指示時笑顔度として登録することができる。  In the smile determination method, in the second registration step, the smile level detected based on the normal face image information in the smile level detection step can be registered as the smile level when the smile is not instructed.

上記の笑顔判定方法において、前記第2の登録ステップは、前記顔検出ステップにて検出された顔が前記第1の登録ステップにて登録された顔であると認証された場合に、前記笑顔度検出部にて、前記顔検出ステップにて検出された顔の笑顔度を複数回検出して平均した笑顔度を前記笑顔非指示時笑顔度として登録することができる。  In the smile determination method, the smile level is determined when the second registration step authenticates that the face detected in the face detection step is the face registered in the first registration step. The detection unit can register the smile degree averaged by detecting the smile degree of the face detected in the face detection step a plurality of times as the smile degree when the smile is not instructed.

上記の笑顔判定方法において、前記第2の登録ステップは、前記笑顔度検出部ステップにて前記通常顔画像情報に基づいて検出した第1の笑顔度と、前記顔検出ステップにて検出された顔が前記第1の登録ステップにて登録された顔であると認証された場合に、前記笑顔度検出ステップにて、前記顔検出ステップにて検出された顔の笑顔度を複数回検出して平均した第2の笑顔度とを所定の割合で加算した第3の笑顔度を前記笑顔非指示時笑顔度として登録することが好ましい。  In the smile determination method, the second registration step includes the first smile degree detected based on the normal face image information in the smile degree detection unit step, and the face detected in the face detection step. Is recognized as the face registered in the first registration step, the smile level detection step detects the smile level of the face detected in the face detection step a plurality of times and calculates the average It is preferable to register a third smile level obtained by adding the second smile level at a predetermined ratio as the smile level when the smile is not instructed.

上記の笑顔判定方法において、前記第1の登録ステップは、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、前記第2の登録ステップは、前記笑顔度検出ステップにて前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記笑顔非指示時笑顔度として登録することができる。  In the smile determination method, the first registration step includes front face image information with the face facing the front of the photographing apparatus and non-face direction with at least one of up, down, left, and right. Front face image information is registered as the normal face image information, and the second registration step includes the smile degree detected based on the front face image information in the smile degree detection step and the non-front face image information. The smile level obtained by adding the smile level detected on the basis of a predetermined ratio can be registered as the smile level when the smile is not instructed.

上記の笑顔判定方法において、前記第1の登録ステップは、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、前記第2の登録ステップは、前記笑顔度検出ステップにて前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記第1の笑顔度とすることが好ましい。  In the smile determination method, the first registration step includes front face image information with the face facing the front of the photographing apparatus and non-face direction with at least one of up, down, left, and right. Front face image information is registered as the normal face image information, and the second registration step includes the smile degree detected based on the front face image information in the smile degree detection step and the non-front face image information. It is preferable that a smile degree obtained by adding the smile degree detected based on a predetermined ratio as the first smile degree.

上記の笑顔判定方法において、前記笑顔判定ステップは、前記笑顔指示時笑顔度が前記前記第1の笑顔度より小さいか、前記笑顔指示時笑顔度が前記第2の笑顔度より小さい場合に、前記笑顔非指示時笑顔度を無効とし、前記笑顔非指示時笑顔度及び前記笑顔指示時笑顔度を用いることなく、前記現在の笑顔度に基づいて、前記顔検出ステップにて検出された顔が笑顔であるか否かを判定することが好ましい。  In the smile determination method, the smile determination step includes the step of determining whether the smile level at the smile instruction is smaller than the first smile level or the smile level at the smile instruction is lower than the second smile level. The face detected in the face detection step is made into a smile based on the current smile level without using the smile level when not smiling and not using the smile level when not smiling and the smile level when smiling It is preferable to determine whether or not.

上記の笑顔判定方法において、前記笑顔判定ステップは、前記笑顔指示時笑顔度が前記前記第1の笑顔度以上であり、前記笑顔指示時笑顔度が前記第2の笑顔度以上である場合に、前記笑顔非指示時笑顔度を有効とし、前記現在の笑顔度が前記笑顔指示時笑顔度以上であり、前記現在の笑顔度が前記第3の笑顔度よりも第1の所定の値以上大きい場合に、前記顔検出ステップにて検出された顔が笑顔であると判定することが好ましい。  In the smile determination method, the smile determination step includes a case where the smile level at the time of smile instruction is equal to or higher than the first smile level, and the smile level at the time of smile command is equal to or higher than the second smile level. When the smile level when the smile is not instructed is valid, the current smile level is greater than or equal to the smile level when the smile is instructed, and the current smile level is greater than the third predetermined smile level by a first predetermined value or more In addition, it is preferable to determine that the face detected in the face detection step is a smile.

上記の笑顔判定方法において、前記笑顔判定ステップは、前記現在の笑顔度が前記笑顔指示時笑顔度未満である場合に、前記現在の笑顔度が前記第3の笑顔度よりも前記第1の所定の値より大きい第2の所定の値以上大きい場合に、前記顔検出ステップにて検出された顔が笑顔であると判定することが好ましい。  In the smile determination method, in the smile determination step, the current smile level is less than the third smile level when the current smile level is less than the smile level at the time of the smile instruction. It is preferable to determine that the face detected in the face detection step is a smile when it is greater than a second predetermined value greater than the value of.

本発明の笑顔判定装置及び方法によれば、人それぞれの顔の作りや笑顔の程度が異なっても、精度よく笑顔であるか否かを判定することが可能となる。また、顔の向きが異なっても、精度よく笑顔であるか否かを判定することが可能となる。  According to the smile determination device and method of the present invention, it is possible to accurately determine whether or not a person is smiling even if each person's face creation and smile level differ. Even if the face orientation is different, it is possible to accurately determine whether the face is smiling.

本発明の笑顔判定装置の一実施形態を示すブロック図である。It is a block diagram which shows one Embodiment of the smile determination apparatus of this invention.笑顔度を検出する際の処理を示すフローチャートである。It is a flowchart which shows the process at the time of detecting a smile degree.顔画像を登録する際の処理を示すフローチャートである。It is a flowchart which shows the process at the time of registering a face image.図3の処理で登録される顔画像の例を概念的に示す図である。It is a figure which shows notionally the example of the face image registered by the process of FIG.撮影時の笑顔度を検出する際の処理を示すフローチャートである。It is a flowchart which shows the process at the time of detecting the smile degree at the time of imaging | photography.笑顔であるか否かを判定する際の処理を示すフローチャートである。It is a flowchart which shows the process at the time of determining whether it is a smile.

以下、本発明の笑顔判定装置及び方法の一実施形態について、添付図面を参照して説明する。図1は、一実施形態の笑顔判定装置を備える映像処理装置(撮影装置)100を示している。  Hereinafter, an embodiment of a smile determination device and method according to the present invention will be described with reference to the accompanying drawings. FIG. 1 shows a video processing device (photographing device) 100 including a smile determination device according to an embodiment.

<映像処理装置100の全体構成>
図1において、被写体を撮像して生成した映像データを記録する記録モードでは、撮像部2は、撮像レンズ1で集光した光を光電変換して電気信号として出力する。撮像部2は例えばCMOSセンサまたはCCDセンサである。撮像部2より出力された電気信号はカメラコントローラ3でデジタル信号に変換されて、映像データとしてメモリセレクタ6へと出力される。
<Overall Configuration ofVideo Processing Device 100>
In FIG. 1, in a recording mode in which video data generated by imaging a subject is recorded, the imaging unit 2 photoelectrically converts the light collected by the imaging lens 1 and outputs it as an electrical signal. The imaging unit 2 is, for example, a CMOS sensor or a CCD sensor. The electrical signal output from the imaging unit 2 is converted into a digital signal by thecamera controller 3 and output to thememory selector 6 as video data.

記録された映像データを再生する再生モードでは、映像メモリ4から読み出された映像データはメモリコントローラ5を介してメモリセレクタ6へと出力される。メモリセレクタ6は、記録モードではカメラコントローラ3から供給された映像データを選択し、再生モードではメモリコントローラ5から供給された映像データを選択してリサイズコントローラ7へと出力する。リサイズコントローラ7は、入力された映像データに対してゲイン,オフセット等を調整し、ユーザ操作に従って電子ズーム,デジタルエフェクト等の処理を施して、これらの信号処理を施した映像データをVGAセレクタ8へと出力する。  In the reproduction mode for reproducing the recorded video data, the video data read from thevideo memory 4 is output to thememory selector 6 via thememory controller 5. Thememory selector 6 selects the video data supplied from thecamera controller 3 in the recording mode, and selects the video data supplied from thememory controller 5 in the reproduction mode and outputs it to the resize controller 7. The resize controller 7 adjusts gain, offset, and the like for the input video data, performs processing such as electronic zoom and digital effect according to the user operation, and applies the video data subjected to these signal processing to theVGA selector 8. Is output.

VGAセレクタ8は、映像データをQVGAコントローラ9及びVGAコントローラ13に供給する。VGAセレクタ8より出力される映像データは、一例として水平方向の画素数が640、垂直方向の画素数が480のいわゆるVGAの大きさである。QVGAコントローラ9は、ワークメモリであるメモリ10を用いて、入力された映像データをQVGAの大きさに変換して、顔検出用の映像データを生成する。QVGAの大きさは、水平方向の画素数が320、垂直方向の画素数が240である。本実施形態では顔検出用の映像データをQVGAの大きさとしているが、これに限定されるものではなく、VGAの大きさのままでもよいし、他の大きさに変換してもよい。  TheVGA selector 8 supplies the video data to theQVGA controller 9 and theVGA controller 13. For example, the video data output from theVGA selector 8 has a so-called VGA size in which the number of pixels in the horizontal direction is 640 and the number of pixels in the vertical direction is 480. TheQVGA controller 9 converts the input video data into a QVGA size using thememory 10 which is a work memory, and generates video data for face detection. The size of QVGA is 320 in the horizontal direction and 240 in the vertical direction. In the present embodiment, the video data for face detection has a QVGA size, but the present invention is not limited to this, and the VGA size may be used as it is or may be converted to another size.

顔検出器11は、制御部18に格納されている顔検出プログラム181に従って、QVGAコントローラ9から出力された顔検出用の映像データによる画像内の顔を検出する。検出された顔の画像情報はワークメモリであるメモリ12に格納される。顔検出器11は、顔検出プログラム181に従って顔を検出する主としてハードウェアにて構成される部分である。顔検出器11と顔検出プログラム181とで顔検出部を構成する。メモリ12に格納された顔の画像情報は制御部18に供給される。  Theface detector 11 detects a face in an image based on face detection video data output from theQVGA controller 9 according to aface detection program 181 stored in thecontrol unit 18. The detected face image information is stored in thememory 12 which is a work memory. Theface detector 11 is a part mainly composed of hardware that detects a face in accordance with theface detection program 181. Theface detector 11 and theface detection program 181 constitute a face detection unit. The face image information stored in thememory 12 is supplied to thecontrol unit 18.

VGAコントローラ13は、入力された映像データを顔器官検出及び顔認証用の映像データとしてワークメモリであるメモリ14に保持する。顔器官検出器15は、制御部18に格納されている顔器官検出プログラム184に従って、顔の画像情報を参照しながら、顔の器官を検出する。検出された顔器官情報は、顔に対する目や口の位置や、目や口の特徴情報を含む。顔器官情報はワークメモリであるメモリ17に格納される。顔の器官は少なくとも目と口である。顔器官検出器15は、顔器官検出プログラム184に従って顔の器官を検出する主としてハードウェアにて構成される部分である。顔器官検出器15と顔器官検出プログラム184とで顔器官検出部を構成する。メモリ17に格納された顔器官情報は制御部18に供給される。  TheVGA controller 13 holds the input video data in thememory 14 as a work memory as video data for face organ detection and face authentication. Theface organ detector 15 detects a face organ while referring to face image information in accordance with a faceorgan detection program 184 stored in thecontrol unit 18. The detected facial organ information includes the position of the eyes and mouth with respect to the face and the feature information of the eyes and mouth. The facial organ information is stored in thememory 17 which is a work memory. The facial organs are at least the eyes and mouth. Theface organ detector 15 is a part mainly composed of hardware that detects a face organ in accordance with the faceorgan detection program 184. Thefacial organ detector 15 and the facialorgan detection program 184 constitute a facial organ detector. The facial organ information stored in thememory 17 is supplied to thecontrol unit 18.

顔認証器16は、制御部18に格納されている顔認証プログラム185に従って、顔検出器11が検出した顔を認証する。具体的には、顔認証器16は、顔検出器11が検出した顔が、制御部18内の登録部186に予め登録されている顔の画像と同一人物であるかを判定する。顔認証器16は、複数の顔の画像が登録されている場合には、どの顔の画像と同一人物であるかを判定する。認証結果は、メモリ17に格納される。顔認証器16は、顔認証プログラム185に従って顔の画像を認証する主としてハードウェアにて構成される部分である。顔認証器16と顔認証プログラム185とで顔認証部を構成する。  Theface authenticator 16 authenticates the face detected by theface detector 11 according to theface authentication program 185 stored in thecontrol unit 18. Specifically, theface authenticator 16 determines whether the face detected by theface detector 11 is the same person as the face image registered in theregistration unit 186 in thecontrol unit 18 in advance. When a plurality of face images are registered, theface authenticator 16 determines which face image is the same person. The authentication result is stored in thememory 17. Theface authenticator 16 is a part mainly configured by hardware that authenticates a face image in accordance with theface authentication program 185. Theface authentication unit 16 and theface authentication program 185 constitute a face authentication unit.

制御部18は、詳細には、中央処理装置(CPU)と、各種のプログラムを格納するROMと、ワークエリアとしてのRAM等を含む半導体集積回路であり、映像処理装置100の全体を制御する。制御部18は、笑顔度検出プログラム182と笑顔判定プログラム183も格納している。笑顔度検出プログラム182は、顔器官情報をワークエリアであるメモリ19に展開しながら、顔器官情報に基づいて笑顔の程度を示す値である笑顔度を検出する。笑顔度は、目と口の特徴情報として、例えば目じりの状態、口角の状態、歯が見えているか否か等を用いて検出することができる。図1の例では、ソフトウェアのみで笑顔度の検出を行っており、笑顔度検出プログラム182が笑顔度検出部となっている。  Specifically, thecontrol unit 18 is a semiconductor integrated circuit including a central processing unit (CPU), a ROM that stores various programs, a RAM as a work area, and the like, and controls the entirevideo processing apparatus 100. Thecontrol unit 18 also stores a smilelevel detection program 182 and asmile determination program 183. The smilelevel detection program 182 detects the smile level, which is a value indicating the degree of smile based on the facial organ information, while developing the facial organ information in the memory 19 which is a work area. The degree of smile can be detected by using, for example, the state of eye contact, the state of the mouth corner, whether or not teeth are visible, etc. as the feature information of the eyes and mouth. In the example of FIG. 1, the smile level is detected only by software, and the smilelevel detection program 182 serves as a smile level detection unit.

笑顔判定プログラム183は、笑顔度検出プログラム182で検出した笑顔度と、顔の画像を登録した際の笑顔度と、顔認証器16で顔を認証した際の笑顔度とを用いて、被写体に含まれている顔が笑顔であるか否かを判定する。笑顔判定プログラム183による笑顔であるか否かの判定の具体的処理についは後に詳述する。図1の例では、ソフトウェアのみで笑顔であるか否かを判定しており、笑顔判定プログラム183が笑顔判定部となっている。  Thesmile determination program 183 uses the smile level detected by the smilelevel detection program 182, the smile level when a face image is registered, and the smile level when a face is authenticated by theface authenticator 16 as a subject. It is determined whether the included face is a smile. A specific process for determining whether or not the smile is determined by thesmile determination program 183 will be described in detail later. In the example of FIG. 1, it is determined whether or not a smile is made only by software, and thesmile determination program 183 is a smile determination unit.

<笑顔度検出処理>
図2のフローチャートを用いて笑顔度を検出する処理について説明する。図2では、顔検出部,顔器官検出部,笑顔度検出プログラム182で行われる動作について説明する。図2において、顔検出部(顔検出器11及び顔検出プログラム181)は、ステップS101にて画像内の顔を検出する。顔器官検出部(顔器官検出器15及び顔器官検出プログラム184)は、ステップS102にて顔の器官を検出し、ステップS103にて顔器官情報を制御部18に供給する。
<Smile level detection process>
Processing for detecting the smile level will be described with reference to the flowchart of FIG. 2, operations performed by the face detection unit, the face organ detection unit, and the smilelevel detection program 182 will be described. In FIG. 2, the face detection unit (facedetector 11 and face detection program 181) detects a face in the image in step S101. The facial organ detection unit (thefacial organ detector 15 and the facial organ detection program 184) detects the facial organ in step S102, and supplies the facial organ information to thecontrol unit 18 in step S103.

笑顔度検出プログラム182は、ステップS104にて笑顔度を検出する。笑顔度は、一例として、100%を最大として笑顔の程度を割合である%で表したものである。勿論、割合ではなく、笑顔の程度によって数値が大小するスコアのような数字であってもよい。  The smilelevel detection program 182 detects the smile level in step S104. As an example, the degree of smile represents 100% as a maximum and the degree of smile as a percentage. Of course, it may be a number such as a score that is not a ratio but a value that increases or decreases depending on the degree of smile.

笑顔度検出プログラム182によって検出された笑顔度は、人それぞれの顔の作りや笑い方の違いを考慮せず、顔器官情報に基づいて客観的に検出されたものである。従って、笑顔度検出プログラム182によって検出された笑顔度のみに基づいて笑顔であるか否かを判定すると、笑顔の判定精度はさほど高くはならない。そこで、本実施形態においては、顔認証部(顔認証器16及び顔認証プログラム185)で顔認証を行う際に必要となる顔の画像を登録する際に笑顔度の情報を取得しておく。  The smile level detected by the smilelevel detection program 182 is objectively detected on the basis of facial organ information without considering the difference in face creation and laughing method of each person. Therefore, when it is determined whether or not a smile is based only on the smile level detected by the smilelevel detection program 182, the smile determination accuracy is not so high. Therefore, in this embodiment, smile level information is acquired when a face image necessary for face authentication is registered by the face authentication unit (faceauthentication device 16 and face authentication program 185).

<顔画像登録処理>
図3のフローチャートを用いて、制御部18が顔の画像を登録する際の処理について説明する。図3において、制御部18は、ステップS201にて、被写体である人に対して映像処理装置100の正面を向くよう指示する。図1では図示していないが、表示部に“正面を向いて下さい”と文字で表記したり、スピーカより音声にて“正面を向いて下さい”と発音したりすればよい。制御部18は、ステップS202にて、顔器官検出部によって検出された顔器官情報に基づいて顔の角度を測定する。制御部18は、ステップS203にて、ステップS202にて測定された顔の角度に基づいて顔の角度が正面の範囲内に入ったか否かを判定する。
<Face image registration process>
A process when thecontrol unit 18 registers a face image will be described with reference to the flowchart of FIG. In FIG. 3, in step S <b> 201, thecontrol unit 18 instructs a person who is a subject to face the front of thevideo processing apparatus 100. Although not shown in FIG. 1, it is only necessary to write “Please turn to the front” on the display section, or to pronounce “Please turn to the front” from the speaker. In step S202, thecontrol unit 18 measures the face angle based on the facial organ information detected by the facial organ detection unit. In step S203, thecontrol unit 18 determines whether the face angle is within the front range based on the face angle measured in step S202.

制御部18は、正面の範囲内に入っていなければ(NO)、処理をステップS202に戻し、正面の範囲内に入っていれば(YES)、ステップS204にて、顔検出器11より出力された顔の画像を正面顔画像情報として登録部186に登録する。図4(A)は、登録した正面顔画像情報を概念的に示している。図4(A)〜(C)において、枠画像20は、被写体の撮影位置を指定するために表示されたものである。制御部18(笑顔度検出プログラム182)は、正面顔画像情報に基づいて笑顔度P(A1)を検出して保持する。なお、ここでは特に笑顔を要求していないので、正面顔は通常は笑顔ではなく普通の顔であることが多い。従って、笑顔度P(A1)は比較的低い値となる可能性が高い。  If it is not within the front range (NO), thecontrol unit 18 returns the process to step S202. If it is within the front range (YES), thecontrol unit 18 outputs it from theface detector 11 at step S204. The face image is registered in theregistration unit 186 as front face image information. FIG. 4A conceptually shows the registered front face image information. 4A to 4C, theframe image 20 is displayed for designating the shooting position of the subject. The control unit 18 (smile level detection program 182) detects and holds the smile level P (A1) based on the front face image information. Since no smile is particularly required here, the front face is usually not a smile but an ordinary face in many cases. Therefore, the smile degree P (A1) is likely to be a relatively low value.

制御部18は、ステップS206にて、被写体である人に対して顔の向きを回転させるよう指示する。例えば、表示部に“顔を上下左右に回転させて下さい”と文字で表記したり、スピーカより音声にて“顔を上下左右に回転させて下さい”と発音したりすればよい。制御部18は、ステップS207にて顔の角度を測定し、ステップS208にて、上・下・左・右の内、未登録の顔の角度を検出したか否かを判定する。未登録の顔の角度を検出しなければ(NO)、制御部18は、処理をステップS207に戻す。未登録の顔の角度を検出したら(YES)、制御部18は、ステップS209にて顔画像情報を登録部186に登録する。図4(B)は、登録した左向き顔画像情報を概念的に示している。  In step S206, thecontrol unit 18 instructs the person who is the subject to rotate the face direction. For example, “Please rotate your face up, down, left and right” may be written on the display unit, or you may pronounce “Please rotate your face up, down, left, right” from the speaker. Thecontrol unit 18 measures the face angle in step S207, and determines in step S208 whether an unregistered face angle is detected among the upper, lower, left, and right. If the angle of the unregistered face is not detected (NO), thecontrol unit 18 returns the process to step S207. If the angle of the unregistered face is detected (YES), thecontrol unit 18 registers the face image information in theregistration unit 186 in step S209. FIG. 4B conceptually shows the registered left-facing face image information.

制御部18は、ステップS210にて、笑顔度P(A2)〜P(A5)のいずれかを取得して保持する。笑顔度P(A2)〜P(A5)は、顔の角度が上・下・左・右であるときの笑顔度である。  In step S210, thecontrol unit 18 acquires and holds any one of smile levels P (A2) to P (A5). Smile levels P (A2) to P (A5) are smile levels when the face angle is up, down, left, or right.

制御部18は、ステップS211にて、上・下・左・右の全ての方向の顔画像情報の登録が完了したか否かを判定する。全ての方向の顔登録が完了していなければ(NO)、制御部18は、処理をステップS207に戻す。全ての方向の顔登録が完了していれば(YES)、顔の角度が上・下・左・右のときの笑顔度P(A2)〜P(A5)を全て取得したということである。正面顔と同様に、ここでは特に笑顔を要求していないので、上・下・左・右を向いた顔も普通の顔であることが多い。従って、笑顔度P(A2)〜P(A5)は比較的低い値となる可能性が高い。  In step S211, thecontrol unit 18 determines whether or not registration of face image information in all directions of up, down, left, and right has been completed. If face registration in all directions has not been completed (NO), thecontrol unit 18 returns the process to step S207. If face registration in all directions has been completed (YES), it means that all smile levels P (A2) to P (A5) when the face angle is up / down / left / right are acquired. Like the front face, no smile is required here, so faces facing up, down, left, and right are often normal faces. Therefore, the smile levels P (A2) to P (A5) are likely to be relatively low values.

全ての方向の顔登録が完了していれば(YES)、制御部18は、ステップS212にて、被写体に対して笑顔とするよう指示する。例えば、表示部に“正面を向いて笑顔にして下さい”と文字で表記したり、スピーカより音声にて“正面を向いて笑顔にして下さい”と発音したりすればよい。制御部18(笑顔度検出プログラム182)は、ステップS213にて笑顔度を検出する。制御部18は、ステップS214にて、ステップS213にて検出した笑顔度が所定の値以上であるか否かを判定する。所定の値は例えば60%以上である。笑顔度60%を標準笑顔度とする。所定の値以上でなければ(NO)、制御部18は、処理をステップS213に戻す。  If face registration in all directions has been completed (YES), thecontrol unit 18 instructs the subject to smile in step S212. For example, it may be written on the display section with the words “Please turn to the front and make a smile,” or voiced from the speaker to “Please turn to the front and make it smile.” The controller 18 (smile level detection program 182) detects the smile level in step S213. In step S214, thecontrol unit 18 determines whether or not the smile level detected in step S213 is greater than or equal to a predetermined value. The predetermined value is 60% or more, for example. The standard smile level is 60%. If the value is not equal to or greater than the predetermined value (NO), thecontrol unit 18 returns the process to step S213.

所定の値以上であれば(YES)、制御部18は、ステップS215にて顔画像情報を登録部186に登録する。図4(C)は、登録した笑顔の顔画像情報を概念的に示している。制御部18は、ステップS216にて、ステップS215にて登録した笑顔の顔画像情報の笑顔度P(S)を保持する。ステップS214での所定の値が60%以上であるから、笑顔度P(S)は60%以上となる。  If it is equal to or greater than the predetermined value (YES), thecontrol unit 18 registers the face image information in theregistration unit 186 in step S215. FIG. 4C conceptually shows the registered smile face image information. In step S216, thecontrol unit 18 holds the smile degree P (S) of the smile face image information registered in step S215. Since the predetermined value in step S214 is 60% or more, the smile degree P (S) is 60% or more.

制御部18は、ステップS217にて、次の式(1)を用い、笑顔度P(A1),P(A2)〜P(A5)に基づいて通常登録時笑顔度P(A)を計算して終了する。
P(A)=P(A1)/2+(P(A2)+P(A3)+P(A4)+P(A5))/4/2 …(1)
制御部18は、笑顔度P(S)をそのまま笑顔指示時笑顔度とする。以下、笑顔指示時笑顔度P(S)と称する。
In step S217, thecontrol unit 18 calculates the smile level P (A) during normal registration based on the smile levels P (A1) and P (A2) to P (A5) using the following formula (1). To finish.
P (A) = P (A1) / 2 + (P (A2) + P (A3) + P (A4) + P (A5)) / 4/2 (1)
Thecontrol unit 18 uses the smile level P (S) as it is as the smile level at the time of smile instruction. Hereinafter, it is referred to as smile degree P (S) at the time of smile instruction.

本実施形態では、正面の顔画像情報に加えて、上・下・左・右それぞれの方向での顔画像情報を登録するので、顔認証部での顔の認証精度を向上させることができる。簡略化のため、正面の顔画像情報のみを登録してもよい。正面の顔画像情報と、上・下・左・右の内、選択した1または複数の方向での顔画像情報を登録してもよい。勿論、正面の顔画像情報と上・下・左・右全ての方向での顔画像情報を登録することが好ましい。  In the present embodiment, in addition to the front face image information, face image information in each of the up, down, left, and right directions is registered, so that the face authentication accuracy in the face authentication unit can be improved. For simplification, only front face image information may be registered. Front face image information and face image information in one or more selected directions among upper, lower, left, and right may be registered. Of course, it is preferable to register the face image information of the front and the face image information in all the upper, lower, left and right directions.

本実施形態では、認証のための顔画像情報の登録に併せて、笑顔度P(A1),P(A2)〜P(A5)を検出し、通常登録時笑顔度P(A)を取得するので、笑顔を指示していない状態の普通の顔の笑顔度を得ることができる。なお、正面の顔画像情報のみを登録する場合には、通常登録時笑顔度P(A)は笑顔度P(A1)となる。例えば、笑顔度P(A2),P(A3)のみを検出した場合には、笑顔度P(A1)と笑顔度P(A2),P(A3)の平均値とを所定の割合で加算して通常登録時笑顔度P(A)とすればよい。また、本実施形態では、笑顔を指示した状態での笑顔指示時笑顔度P(S)を得ることができる。後述する笑顔であるか否かの判定の際に通常登録時笑顔度P(A)及び笑顔指示時笑顔度P(S)を用いることによって、笑顔の判定精度を向上させることができる。  In this embodiment, in addition to registration of face image information for authentication, smile levels P (A1) and P (A2) to P (A5) are detected, and smile level P (A) is acquired during normal registration. Therefore, it is possible to obtain the smile level of an ordinary face that is not instructed to smile. When only front face image information is registered, the smile level P (A) during normal registration is the smile level P (A1). For example, when only smile levels P (A2) and P (A3) are detected, smile levels P (A1) and average values of smile levels P (A2) and P (A3) are added at a predetermined rate. The smile level P (A) during normal registration may be used. Further, in the present embodiment, the smile degree P (S) at the time of smile instruction in the state where the smile is instructed can be obtained. The smile determination accuracy can be improved by using the normal registration smile degree P (A) and the smile instruction smile degree P (S) when determining whether or not a smile is described later.

映像処理装置100は、被写体を撮影している際に、顔検出器11が顔を検出した場合には、顔認証部が登録されている顔であるかを認証する。認証の際には、少なくとも正面の顔画像情報を用いる。認証の際に、正面の顔画像情報に加えて、上・下・左・右の方向での顔画像情報を用いることが好ましい。本実施形態では、登録されている顔であることが認証された場合に、所定時間毎に笑顔度を検出して、後述する笑顔であるか否かの判定の際に用いる。  When theface detector 11 detects a face while photographing a subject, thevideo processing apparatus 100 authenticates whether the face authentication unit is a registered face. At the time of authentication, at least front face image information is used. In the authentication, it is preferable to use face image information in the upward, downward, left, and right directions in addition to the front face image information. In this embodiment, when it is authenticated that the face is registered, the smile level is detected every predetermined time and used when determining whether the face is a smile described later.

<通常撮影時処理>
図5のフローチャートを用いて、通常撮影時の処理について説明する。図5において、制御部18は、ステップS301にて、顔認証の結果、登録された顔であるか否かを判定する。登録された顔でなければ(NO)、制御部18は処理をステップS301に戻す。登録された顔であれば(YES)、制御部18(笑顔度検出プログラム182)は、ステップS302にて、所定時間毎に笑顔度を検出する。所定時間毎とは例えば10秒毎である。
<Processing during normal shooting>
With reference to the flowchart of FIG. 5, processing during normal shooting will be described. In FIG. 5, in step S <b> 301, thecontrol unit 18 determines whether the face is a registered face as a result of face authentication. If it is not a registered face (NO), thecontrol unit 18 returns the process to step S301. If it is a registered face (YES), the control unit 18 (smile level detection program 182) detects the smile level every predetermined time in step S302. For example, every predetermined time is every 10 seconds.

制御部18は、ステップS303にて、ステップS302にて検出した過去の笑顔度を積算した積算笑顔度Tと積算回数nとを求めて保持する。制御部18は、ステップS304にて、次の式(2)に基づいて、撮影時笑顔度P(T)を計算する。
P(T)=T/n …(2)
即ち、過去所定期間の笑顔度の平均を撮影時笑顔度P(T)とする。同一人物を検出している期間中、順次笑顔度を積算して積算笑顔度Tを求め、撮影時笑顔度P(T)をその都度計算すればよい。
In step S303, thecontrol unit 18 obtains and holds an accumulated smile level T obtained by integrating the past smile levels detected in step S302 and the accumulated number n. In step S304, thecontrol unit 18 calculates the shooting smile P (T) based on the following equation (2).
P (T) = T / n (2)
That is, the average smile level during a predetermined period in the past is defined as the smile level P (T) during shooting. During the period when the same person is detected, the smile levels are sequentially integrated to obtain the integrated smile level T, and the smile level P (T) at the time of shooting is calculated each time.

さらに本実施形態では、撮影時笑顔度P(T)をそのまま笑顔であるか否かの判定の際に用いるのではなく、次のように条件分けして、通常笑顔度P(N)を求めて、通常笑顔度P(N)を笑顔であるか否かの判定の際に用いる。まず、P(A)<P(T)<P(S)を満たす場合には、次の式(3)に基づいて、通常笑顔度P(N)を計算する。
P(N)=(P(A)+P(T))/2 …(3)
即ち、通常登録時笑顔度P(A)と撮影時笑顔度P(T)との平均を通常笑顔度P(N)とする。
Further, in the present embodiment, the normal smile degree P (N) is obtained by dividing as follows, instead of using the smile degree P (T) at the time of shooting as it is to determine whether or not the face is a smile. Thus, the normal smile degree P (N) is used when determining whether or not the user is smiling. First, when P (A) <P (T) <P (S) is satisfied, the normal smile degree P (N) is calculated based on the following equation (3).
P (N) = (P (A) + P (T)) / 2 (3)
That is, the average of the smile level P (A) during normal registration and the smile level P (T) during shooting is defined as the normal smile level P (N).

次に、P(T)<P(A)<P(S)を満たす場合には、次の式(4)に基づいて、通常笑顔度P(N)を計算する。
P(N)=2/3×P(A)+1/3×P(T) …(4)
即ち、通常登録時笑顔度P(A)と撮影時笑顔度P(T)とを、通常登録時笑顔度P(A)の方の比率を大きくして加算する。
Next, when P (T) <P (A) <P (S) is satisfied, the normal smile degree P (N) is calculated based on the following equation (4).
P (N) = 2/3 × P (A) + 1/3 × P (T) (4)
That is, the normal registration smile level P (A) and the shooting smile level P (T) are added with a larger ratio of the normal registration smile level P (A).

さらに、P(S)<P(A)またはP(S)<P(T)を満たす場合、即ち、笑顔指示時笑顔度P(S)が通常登録時笑顔度P(A)または撮影時笑顔度P(T)より小さい場合には、通常笑顔度P(N)を無効とする。  Furthermore, when P (S) <P (A) or P (S) <P (T) is satisfied, that is, the smile degree P (S) when instructing smile is the smile degree P (A) when registering normally or smiling when shooting When it is smaller than the degree P (T), the normal smile degree P (N) is invalidated.

通常登録時笑顔度P(A)は、笑顔を指示していない状態で検出した通常の顔の笑顔度(笑顔非指示時笑顔度)である。撮影時笑顔度P(T)も、笑顔を指示していない状態で検出した通常の顔の笑顔度(笑顔非指示時笑顔度)である。通常登録時笑顔度P(A)と撮影時笑顔度P(T)とを用いて通常笑顔度P(N)を求めているのは、笑顔非指示時笑顔度の精度を向上させるためである。通常笑顔度P(N)は、通常登録時笑顔度P(A)と撮影時笑顔度P(T)とを用いて精度を向上させた笑顔非指示時笑顔度である。  The normal smile level P (A) at the time of registration is a normal smile level of a face detected when no smile is instructed (a smile level when no smile is instructed). The smile level P (T) at the time of shooting is also the normal smile level of the face detected in the state where the smile is not instructed (the smile level when the smile is not instructed). The reason why the normal smile level P (N) is calculated using the normal smile level P (A) and the shooting smile level P (T) is to improve the accuracy of the smile level when the smile is not instructed. . The normal smile level P (N) is a smile level when the smile is not instructed and the accuracy is improved by using the normal smile level P (A) at the time of registration and the smile level P (T) at the time of shooting.

後述する笑顔判定処理において、笑顔非指示時笑顔度として通常登録時笑顔度P(A)を用いて笑顔であるか否かを判定してもよい。笑顔非指示時笑顔度として撮影時笑顔度P(T)を用いて笑顔であるか否かを判定してもよい。笑顔判定処理で通常登録時笑顔度P(A)を用いる場合には、登録部186に通常登録時笑顔度P(A)を登録しておく。笑顔判定処理で撮影時笑顔度P(T)を用いる場合には、登録部186に撮影時笑顔度P(T)を登録しておく。笑顔判定処理で通常笑顔度P(N)を用いる場合には、登録部186に通常笑顔度P(N)を登録しておく。  In the smile determination process described later, it may be determined whether or not the face is a smile using the normal registration smile degree P (A) as the smile degree when not instructing smile. Whether or not it is a smile may be determined by using the smiling degree P (T) at the time of shooting as the smiling degree when the smile is not instructed. When the smile level P (A) during normal registration is used in the smile determination process, the smile level P (A) during normal registration is registered in theregistration unit 186. When the smile level P (T) at the time of shooting is used in the smile determination process, the smile level P (T) at the time of shooting is registered in theregistration unit 186. When the normal smile degree P (N) is used in the smile determination process, the normal smile degree P (N) is registered in theregistration unit 186.

勿論、笑顔非指示時笑顔度として通常笑顔度P(N)を用いて笑顔であるか否かを判定する方が高精度となる。後述する笑顔判定処理においては、笑顔非指示時笑顔度として通常笑顔度P(N)を用いて笑顔であるか否かを判定する例について説明する。  Of course, it is more accurate to use the normal smile degree P (N) as the smile degree when not instructing a smile to determine whether or not the face is a smile. In the smile determination process described later, an example will be described in which it is determined whether or not a smile is made using the normal smile level P (N) as the smile level when smile is not instructed.

<笑顔判定処理>
図6のフローチャートを用いて、笑顔判定プログラム183が、顔検出部によって検出された顔が笑顔であるか否かを判定する処理について説明する。図6において、笑顔判定プログラム183は、ステップS401にて、笑顔度検出プログラム182によって検出された現在の笑顔度Pを取得する。現在の笑顔度Pは、顔検出部で検出された顔の画像が笑顔であるか否かを判定しようとする時点で検出した笑顔度である。
<Smile determination processing>
A process in which thesmile determination program 183 determines whether the face detected by the face detection unit is a smile using the flowchart of FIG. In FIG. 6, thesmile determination program 183 obtains the current smile level P detected by the smilelevel detection program 182 in step S401. The current smile level P is a smile level detected at the time when it is determined whether or not the face image detected by the face detection unit is a smile.

笑顔判定プログラム183は、ステップS402にて、顔認証部での認証結果を参照して登録された顔であるか否かを判定する。登録された顔でなければ(NO)、笑顔判定プログラム183は、処理をステップS404に移行させる。登録された顔であれば(YES)、笑顔判定プログラム183は、ステップS403にて、笑顔非指示時笑顔度である通常笑顔度P(N)が有効であるか否かを判定する。  In step S402, thesmile determination program 183 determines whether the face is a registered face with reference to the authentication result in the face authentication unit. If it is not a registered face (NO), thesmile determination program 183 shifts the processing to step S404. If it is a registered face (YES),smile determination program 183 determines in step S403 whether or not the normal smile level P (N), which is the smile level when no smile is instructed, is valid.

通常笑顔度P(N)が有効でなければ(NO)、笑顔判定プログラム183は、処理をステップS404に移行させ、有効であれば(YES)、処理をステップS405に移行させる。笑顔判定プログラム183は、ステップS404にて、現在の笑顔度Pが標準笑顔度である60%以上であるか否かを判定する。60%以上であれば(YES)、笑顔判定プログラム183は、ステップS409にて、笑顔であると判定する。ステップS404からステップS409へと移行した場合の笑顔であるとの判定は、笑顔であるか否かを判定しようとする時点で検出した顔器官情報のみに基づく判定である。  If the normal smile degree P (N) is not valid (NO), thesmile determination program 183 shifts the process to step S404, and if valid (YES), shifts the process to step S405. In step S404, thesmile determination program 183 determines whether or not the current smile level P is 60% or higher, which is the standard smile level. If it is 60% or more (YES), thesmile determination program 183 determines that it is a smile in step S409. The determination that the face is a smile when the process proceeds from step S404 to step S409 is based on only the facial organ information detected at the time when it is determined whether or not the face is a smile.

笑顔判定プログラム183は、ステップS405にて、現在の笑顔度Pが絶対笑顔度である90%以上であるか否かを判定する。90%以上であれば(YES)、笑顔判定プログラム183は、ステップS409にて笑顔であると判定する。90%以上でなければ(NO)、笑顔判定プログラム183は、ステップS406にて、現在の笑顔度Pが笑顔指示時笑顔度P(S)以上であるか否かを判定する。現在の笑顔度Pが笑顔指示時笑顔度P(S)以上であれば(YES)、笑顔判定プログラム183は、ステップS407にて、現在の笑顔度Pが(通常笑顔度P(N)+10%)以上であるか否かを判定する。現在の笑顔度Pが(通常笑顔度P(N)+10%)以上であれば、笑顔判定プログラム183は、ステップS409にて笑顔であると判定する。  In step S405, thesmile determination program 183 determines whether or not the current smile level P is 90% or more, which is the absolute smile level. If it is 90% or more (YES), thesmile determination program 183 determines that it is a smile in step S409. If it is not 90% or more (NO), thesmile determination program 183 determines in step S406 whether or not the current smile level P is greater than or equal to the smile level P (S) at the time of smile instruction. If the current smile level P is greater than or equal to the smile level P (S) at the time of smile instruction (YES), thesmile determination program 183 determines that the current smile level P is (normal smile level P (N) + 10%) in step S407. ) Determine whether it is above. If the current smile level P is equal to or greater than (normal smile level P (N) + 10%), thesmile determination program 183 determines that it is a smile in step S409.

ステップS406にて現在の笑顔度Pが笑顔指示時笑顔度P(S)以上でなければ(NO)、笑顔判定プログラム183は、ステップS408にて、現在の笑顔度Pが(通常笑顔度P(N)+30%)以上であるか否かを判定する。現在の笑顔度Pが(通常笑顔度P(N)+30%)以上であれば、笑顔判定プログラム183は、ステップS409にて笑顔であると判定する。ステップS407では、現在の笑顔度Pが(通常笑顔度P(N)+10%)以上としたので、ステップS408では、10%よりも大きい例えば30%とし、(通常笑顔度P(N)+30%)以上とすることが好ましい。  If the current smile level P is not equal to or greater than the smile level P (S) at the time of smile instruction in step S406 (NO), thesmile determination program 183 determines that the current smile level P is (normal smile level P ( N) + 30%) or not is determined. If the current smile level P is equal to or greater than (normal smile level P (N) + 30%), thesmile determination program 183 determines that it is a smile in step S409. In step S407, since the current smile degree P is set to (normal smile degree P (N) + 10%) or more, in step S408, it is set to, for example, 30% larger than 10%, and (normal smile degree P (N) + 30%). ) Or more.

ステップS405からステップS409へと移行した場合、ステップS407からステップS409へと移行した場合、ステップS408からステップS409へと移行した場合の笑顔であるとの判定は、笑顔であるか否かを判定しようとする時点で検出した顔器官情報と、予め登録しておいた通常笑顔度P(N)や笑顔指示時笑顔度P(S)とに基づく判定である。  When the process proceeds from step S405 to step S409, when the process proceeds from step S407 to step S409, or when the process proceeds from step S408 to step S409, it is determined whether the smile is a smile. Is determined based on the facial organ information detected at the time and the normal smile level P (N) and the smile level P (S) when instructed to smile.

一方、ステップS404にて、現在の笑顔度Pが標準笑顔度である60%以上でなかった場合(NO)、ステップS407にて、現在の笑顔度Pが(通常笑顔度P(N)+10%)以上でなかった場合(NO)、ステップS408にて、現在の笑顔度Pが(通常笑顔度P(N)+30%)以上でなかった場合(NO)には、笑顔判定プログラム183は、ステップS410にて笑顔ではないと判定する。笑顔判定プログラム183は、ステップS409及びステップS410での判定後、処理をステップS401に戻す。  On the other hand, if the current smile degree P is not 60% or more which is the standard smile degree in step S404 (NO), the current smile degree P is (normal smile degree P (N) + 10%) in step S407. ) If not (NO), if the current smile level P is not (normal smile level P (N) + 30%) or higher (NO) in step S408, thesmile determination program 183 In S410, it is determined that it is not a smile. Thesmile determination program 183 returns the process to step S401 after the determination in step S409 and step S410.

ステップS404における標準笑顔度60%以上、ステップS405における絶対笑顔度90%以上、ステップS407における(通常笑顔度P(N)+10%)の10%、ステップS408における(通常笑顔度P(N)+30%)の30%は好適な例であるが、これらの数値に限定されるものではない。  Standard smile degree 60% or more in step S404, absolute smile degree 90% or more in step S405, 10% of (normal smile degree P (N) + 10%) in step S407, (normal smile degree P (N) +30 in step S408) %) Is a preferred example, but is not limited to these values.

以上説明したように、本実施形態では、被写体に対して笑顔を指示していない状態で笑顔度検出部が検出した笑顔非指示時笑顔度と、被写体に対して笑顔を指示した状態で笑顔度検出部が検出した笑顔指示時笑顔度とを用いて、笑顔判定部が笑顔であるか否かを判定するので、人それぞれの顔の作りや笑顔の程度が異なっても、笑顔の判定精度を向上させることができる。顔の作りが異なれば笑い方も異なることになり、笑顔の程度がばらつくことになる。笑顔非指示時笑顔度と笑顔指示時笑顔度とを用いることにより、笑顔の程度がばらついても、人それぞれの笑顔でない状態と笑顔の状態とを区別することが可能となる。  As described above, in this embodiment, the smile level when the smile level detection unit detects the smile level when the smile level is not instructed to the subject and the smile level when the smile level is instructed to the subject. The smile determination unit uses the smile level detected by the detection unit to determine whether or not the smile is smiling. Can be improved. Different faces make different ways of laughing, and the degree of smiles will vary. By using the smile level when not instructing smiles and the smile level when instructing smiles, even if the degree of smile varies, it is possible to distinguish between a non-smile state and a smile state of each person.

また、本実施形態では、好ましい構成として、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを通常顔画像情報として登録するので、顔の認証精度が向上する。正面顔画像情報に基づいて検出した笑顔度と非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を用いれば、顔の向きが異なっても、精度よく笑顔であるか否かを判定すること可能となる。  In the present embodiment, as a preferred configuration, front face image information with the face facing the front of the photographing apparatus and non-front face image information with the face facing at least one of up, down, left, and right Are registered as normal face image information, so that the face authentication accuracy is improved. If you use a smile degree that adds a smile ratio detected based on front face image information and a smile degree detected based on non-front face image information at a predetermined ratio, even if the face direction is different, you can smile accurately It can be determined whether or not there is.

本発明は以上説明した本実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々変更可能である。図6に示す笑顔判定処理は好ましい判定処理の例を示すが、図6に限定されるものではない。笑顔判定部は、笑顔であるか否かを判定しようとする時点で検出した現在の笑顔度と、笑顔非指示時笑顔度と、笑顔指示時笑顔度とを用い、これらを適宜比較して、現在の笑顔度と笑顔非指示時笑顔度または笑顔指示時笑顔度の大小関係や差の程度に基づいて笑顔であるか否かを判定すればよい。  The present invention is not limited to the embodiment described above, and various modifications can be made without departing from the scope of the present invention. The smile determination process shown in FIG. 6 shows an example of a preferable determination process, but is not limited to FIG. The smile determination unit uses the current smile level detected at the time of determining whether or not it is a smile, the smile level at the time of smile non-instruction, and the smile level at the time of smile instruction. Whether or not it is a smile may be determined based on the magnitude relationship or the degree of difference between the current smile level and the smile level when no smile is specified or when the smile level is specified.

本発明はハードウェアで構成してもソフトウェアで構成してもよい。両者を適宜組み合わせてもよく、ハードウェアとソフトウェアの使い分けは任意である。本発明をコンピュータプログラムとして構成して、記録媒体に記録して頒布したり、インターネット等の通信回線によって提供したりしてもよい。  The present invention may be configured by hardware or software. Both may be combined as appropriate, and the proper use of hardware and software is arbitrary. The present invention may be configured as a computer program, recorded on a recording medium and distributed, or provided via a communication line such as the Internet.

1 撮像レンズ
2 撮像部
3 カメラコントローラ
4 映像メモリ
5 メモリコントローラ
6 メモリセレクタ
7 リサイズコントローラ
8 VGAセレクタ
9 QVGAコントローラ
10,12,14,17,19 メモリ
11 顔検出器(顔検出部)
13 VGAコントローラ
15 顔器官検出器(顔器官検出部)
16 顔認証器(顔認証部)
18 制御部
181 顔検出プログラム(顔検出部)
182 笑顔度検出プログラム(笑顔度検出部)
183 笑顔判定プログラム(笑顔判定部)
184 顔器官検出プログラム(顔器官検出部)
185 顔認証プログラム(顔認証部)
186 登録部
DESCRIPTION OF SYMBOLS 1 Imaging lens 2Imaging part 3Camera controller 4Video memory 5Memory controller 6 Memory selector 7Resize controller 8VGA selector 9QVGA controller 10, 12, 14, 17, 19Memory 11 Face detector (face detection part)
13VGA controller 15 Facial organ detector (facial organ detector)
16 Face recognition device (face recognition part)
18Control unit 181 Face detection program (face detection unit)
182 Smile level detection program (smile level detector)
183 Smile determination program (smile determination part)
184 Face organ detection program (face organ detection unit)
185 Face Authentication Program (Face Authentication Department)
186 Registration Department

Claims (18)

Translated fromJapanese
画像内の顔を検出する顔検出部と、
画像内の顔から少なくとも目と口の顔器官情報を検出する顔器官検出部と、
前記顔器官情報に基づいて笑顔の程度を示す値である笑顔度を検出する笑顔度検出部と、
被写体に対して笑顔を指示していない状態での通常顔画像情報と、被写体に対して笑顔を指示していない状態で前記笑顔度検出部が検出した笑顔非指示時笑顔度と、被写体に対して笑顔を指示した状態で前記笑顔度検出部が検出した笑顔指示時笑顔度とを登録する登録部と、
前記通常顔画像情報を用いて、前記顔検出部で検出された顔が前記登録部に登録された顔であるか否かを判定して顔を認証する顔認証部と、
前記顔認証部によって、前記顔検出部で検出された顔が登録された顔であると認証された場合に、前記笑顔度検出部が、前記顔検出部で検出された顔が笑顔であるか否かを判定しようとする時点で検出した現在の笑顔度と、前記笑顔非指示時笑顔度と、前記笑顔指示時笑顔度とを用いて、前記顔検出部で検出された顔が笑顔であるか否かを判定する笑顔判定部と、
を備えることを特徴とする笑顔判定装置。
A face detection unit for detecting a face in the image;
A facial organ detection unit for detecting facial organ information of at least eyes and mouth from a face in the image;
A smile level detection unit that detects a smile level, which is a value indicating the degree of smile based on the facial organ information;
Normal face image information when the subject is not instructed to smile, smile level when the smile level detection unit detects the smile level when the subject is not instructed to smile, A registration unit for registering the smile level at the time of smile instruction detected by the smile level detection unit in a state of instructing smile
A face authentication unit that determines whether the face detected by the face detection unit is a face registered in the registration unit by using the normal face image information;
When the face authentication unit authenticates that the face detected by the face detection unit is a registered face, the smile level detection unit determines whether the face detected by the face detection unit is a smile The face detected by the face detection unit is a smile using the current smile level detected at the time of determining whether or not, the smile level when not smiling, and the smile level when smiling A smile determination unit that determines whether or not
A smile determination device comprising:
前記登録部は、前記笑顔度検出部が前記通常顔画像情報に基づいて検出した笑顔度を前記笑顔非指示時笑顔度として登録することを特徴とする請求項1記載の笑顔判定装置。  The smile determination apparatus according to claim 1, wherein the registration unit registers the smile level detected by the smile level detection unit based on the normal face image information as the smile level when the smile is not instructed. 前記登録部は、前記顔検出部で検出された顔が前記登録部に登録された顔であると認証された場合に、前記笑顔度検出部が、前記顔検出部で検出された顔の笑顔度を複数回検出して平均した笑顔度を前記笑顔非指示時笑顔度として登録することを特徴とする請求項1記載の笑顔判定装置。  If the face detected by the face detection unit is authenticated as a face registered in the registration unit, the smile detection unit detects the smile of the face detected by the face detection unit. The smile determination device according to claim 1, wherein the smile degree averaged by detecting the degree a plurality of times is registered as the smile degree when the smile is not instructed. 前記登録部は、前記笑顔度検出部が前記通常顔画像情報に基づいて検出した第1の笑顔度と、前記顔検出部で検出された顔が前記登録部に登録された顔であると認証された場合に、前記笑顔度検出部が、前記顔検出部で検出された顔の笑顔度を複数回検出して平均した第2の笑顔度とを所定の割合で加算した第3の笑顔度を前記笑顔非指示時笑顔度として登録することを特徴とする請求項1記載の笑顔判定装置。  The registration unit authenticates the first smile level detected by the smile level detection unit based on the normal face image information and the face detected by the face detection unit as a face registered in the registration unit. A third smile degree obtained when the smile degree detection unit adds the second smile degree averaged by detecting the smile degree of the face detected by the face detection unit a plurality of times at a predetermined ratio. The smile determination device according to claim 1, wherein the smile level is registered as the smile level when the smile is not instructed. 前記登録部は、
顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、
前記笑顔度検出部が前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記笑顔非指示時笑顔度として登録する
ことを特徴とする請求項1または2に記載の笑顔判定装置。
The registration unit
Registering the front face image information with the face facing the front of the photographing device and the non-front face image information with the face facing at least one of up, down, left, and right as the normal face image information,
The smile degree when the smile is not instructed is a smile degree obtained by adding the smile degree detected by the smile degree detection unit based on the front face image information and the smile degree detected based on the non-front face image information at a predetermined ratio. The smile determination device according to claim 1, wherein the smile determination device is registered as
前記登録部は、
顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、
前記笑顔度検出部が前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記第1の笑顔度とする
ことを特徴とする請求項4記載の笑顔判定装置。
The registration unit
Registering the front face image information with the face facing the front of the photographing device and the non-front face image information with the face facing at least one of up, down, left, and right as the normal face image information,
The smile level obtained by adding the smile level detected by the smile level detection unit based on the front face image information and the smile level detected based on the non-frontal face image information at a predetermined ratio is defined as the first smile level. The smile determination device according to claim 4, wherein:
前記笑顔判定部は、
前記笑顔指示時笑顔度が前記前記第1の笑顔度より小さいか、前記笑顔指示時笑顔度が前記第2の笑顔度より小さい場合に、前記笑顔非指示時笑顔度を無効とし、
前記笑顔非指示時笑顔度及び前記笑顔指示時笑顔度を用いることなく、前記現在の笑顔度に基づいて、前記顔検出部で検出された顔が笑顔であるか否かを判定する
ことを特徴とする請求項4または6に記載の笑顔判定装置。
The smile determination unit
When the smile level at the time of smile instruction is smaller than the first smile level, or when the smile level at the time of smile command is smaller than the second smile level, the smile level when not instructed to smile is invalidated,
It is determined whether the face detected by the face detection unit is a smile based on the current smile level without using the smile level when not smiling and the smile level when smiling. The smile determination device according to claim 4 or 6.
前記笑顔判定部は、
前記笑顔指示時笑顔度が前記前記第1の笑顔度以上であり、前記笑顔指示時笑顔度が前記第2の笑顔度以上である場合に、前記笑顔非指示時笑顔度を有効とし、
前記現在の笑顔度が前記笑顔指示時笑顔度以上であり、前記現在の笑顔度が前記第3の笑顔度よりも第1の所定の値以上大きい場合に、前記顔検出部で検出された顔が笑顔であると判定することを特徴とする請求項4,6,7のいずれか1項に記載の笑顔判定装置。
The smile determination unit
When the smile level at the time of smile instruction is equal to or greater than the first smile level and the smile level at the time of smile direction is equal to or greater than the second smile level,
The face detected by the face detection unit when the current smile level is equal to or greater than the smile level at the time of smile instruction and the current smile level is greater than the third smile level by a first predetermined value or more. The smile determination device according to claim 4, wherein it is determined that the smile is a smile.
前記笑顔判定部は、前記現在の笑顔度が前記笑顔指示時笑顔度未満である場合に、前記現在の笑顔度が前記第3の笑顔度よりも前記第1の所定の値より大きい第2の所定の値以上大きい場合に、前記顔検出部で検出された顔が笑顔であると判定することを特徴とする請求項8記載の笑顔判定装置。  The smile determination unit, when the current smile level is less than the smile level at the time of the smile instruction, the second smile level is greater than the first predetermined value than the third smile level. The smile determination device according to claim 8, wherein the face detected by the face detection unit is determined to be a smile when it is greater than a predetermined value. 画像内の顔を検出する顔検出ステップと、
画像内の顔から少なくとも目と口の顔器官情報を検出する顔器官検出ステップと、
前記顔器官情報に基づいて笑顔の程度を示す値である笑顔度を検出する笑顔度検出ステップと、
被写体に対して笑顔を指示していない状態での通常顔画像情報を登録する第1の登録ステップと、
被写体に対して笑顔を指示していない状態で前記笑顔度検出ステップにて検出した笑顔非指示時笑顔度を登録する第2の登録ステップと、
被写体に対して笑顔を指示した状態で前記笑顔度検出ステップが検出した笑顔指示時笑顔度とを登録する第3の登録ステップと、
前記通常顔画像情報を用いて、前記顔検出ステップで検出された顔が前記第1の登録ステップにて登録された顔であるか否かを判定して顔を認証する顔認証ステップと、
前記顔認証ステップにて、前記顔検出ステップにて検出された顔が登録された顔であると認証された場合に、前記顔検出ステップにて検出された顔が笑顔であるか否かを判定しようとする時点で前記笑顔度検出ステップにて検出された現在の笑顔度と、前記笑顔非指示時笑顔度と、前記笑顔指示時笑顔度とを用いて、前記顔検出ステップにて検出された顔が笑顔であるか否かを判定する笑顔判定ステップと、
を含むことを特徴とする笑顔判定方法。
A face detection step for detecting a face in the image;
A facial organ detection step for detecting facial organ information of at least eyes and mouth from a face in the image;
A smile level detection step of detecting a smile level, which is a value indicating the degree of smile based on the facial organ information;
A first registration step of registering normal face image information in a state where no smile is instructed to the subject;
A second registration step of registering the smile level when the smile is not instructed detected in the smile level detection step in a state where no smile is instructed to the subject;
A third registration step of registering the smile level at the time of smile instruction detected by the smile level detection step in a state of instructing the subject to smile;
Using the normal face image information, a face authentication step of determining whether the face detected in the face detection step is a face registered in the first registration step and authenticating the face;
In the face authentication step, when the face detected in the face detection step is authenticated as a registered face, it is determined whether the face detected in the face detection step is a smile Detected in the face detection step using the current smile level detected in the smile level detection step, the smile level when the smile is not instructed, and the smile level when the smile is instructed. A smile determination step for determining whether or not the face is smiling;
A smile determination method characterized by comprising:
前記第2の登録ステップは、前記笑顔度検出ステップにて前記通常顔画像情報に基づいて検出した笑顔度を前記笑顔非指示時笑顔度として登録することを特徴とする請求項10記載の笑顔判定方法。  The smile determination according to claim 10, wherein the second registration step registers the smile level detected based on the normal face image information in the smile level detection step as the smile level when the smile is not instructed. Method. 前記第2の登録ステップは、前記顔検出ステップにて検出された顔が前記第1の登録ステップにて登録された顔であると認証された場合に、前記笑顔度検出部にて、前記顔検出ステップにて検出された顔の笑顔度を複数回検出して平均した笑顔度を前記笑顔非指示時笑顔度として登録することを特徴とする請求項10記載の笑顔判定方法。  In the second registration step, when the face detected in the face detection step is authenticated as the face registered in the first registration step, the smile degree detection unit detects the face The smile determination method according to claim 10, wherein the smile degree averaged by detecting the smile degree of the face detected in the detecting step a plurality of times is registered as the smile degree when the smile is not instructed. 前記第2の登録ステップは、前記笑顔度検出部ステップにて前記通常顔画像情報に基づいて検出した第1の笑顔度と、前記顔検出ステップにて検出された顔が前記第1の登録ステップにて登録された顔であると認証された場合に、前記笑顔度検出ステップにて、前記顔検出ステップにて検出された顔の笑顔度を複数回検出して平均した第2の笑顔度とを所定の割合で加算した第3の笑顔度を前記笑顔非指示時笑顔度として登録することを特徴とする請求項10記載の笑顔判定方法。  In the second registration step, the first smile level detected based on the normal face image information in the smile level detection unit step and the face detected in the face detection step are the first registration step. A second smile level that is averaged by detecting the smile level of the face detected in the face detection step a plurality of times in the smile level detection step. The smile determination method according to claim 10, wherein a third smile level obtained by adding the values at a predetermined ratio is registered as the smile level when the smile is not instructed. 前記第1の登録ステップは、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、
前記第2の登録ステップは、前記笑顔度検出ステップにて前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記笑顔非指示時笑顔度として登録する
ことを特徴とする請求項10または11に記載の笑顔判定方法。
In the first registration step, the front face image information with the face facing the front of the photographing apparatus and the non-front face image information with the face facing at least one of up, down, left, and right are described above. Register as normal face image information,
In the second registration step, a smile obtained by adding the smile degree detected based on the front face image information in the smile degree detection step and the smile degree detected based on the non-front face image information at a predetermined ratio The smile determination method according to claim 10 or 11, wherein a smile degree is registered as the smile degree when no smile is instructed.
前記第1の登録ステップは、顔を撮影装置の正面に向けた正面顔画像情報と、顔を上・下・左・右の内の少なくとも1つの方向に向けた非正面顔画像情報とを前記通常顔画像情報として登録し、
前記第2の登録ステップは、前記笑顔度検出ステップにて前記正面顔画像情報に基づいて検出した笑顔度と前記非正面顔画像情報に基づいて検出した笑顔度とを所定の割合で加算した笑顔度を前記第1の笑顔度とする
ことを特徴とする請求項13記載の笑顔判定方法。
In the first registration step, the front face image information with the face facing the front of the photographing apparatus and the non-front face image information with the face facing at least one of up, down, left, and right are described above. Register as normal face image information,
In the second registration step, a smile obtained by adding the smile degree detected based on the front face image information in the smile degree detection step and the smile degree detected based on the non-front face image information at a predetermined ratio The smile determination method according to claim 13, wherein a degree is set as the first smile degree.
前記笑顔判定ステップは、
前記笑顔指示時笑顔度が前記前記第1の笑顔度より小さいか、前記笑顔指示時笑顔度が前記第2の笑顔度より小さい場合に、前記笑顔非指示時笑顔度を無効とし、
前記笑顔非指示時笑顔度及び前記笑顔指示時笑顔度を用いることなく、前記現在の笑顔度に基づいて、前記顔検出ステップにて検出された顔が笑顔であるか否かを判定する
ことを特徴とする請求項13または15に記載の笑顔判定方法。
The smile determination step includes
When the smile level at the time of smile instruction is smaller than the first smile level, or when the smile level at the time of smile command is smaller than the second smile level, the smile level when not instructed to smile is invalidated,
Determining whether or not the face detected in the face detection step is a smile based on the current smile level without using the smile level when the smile is not specified and the smile level when the smile is specified. The smile determination method according to claim 13 or 15, characterized in that
前記笑顔判定ステップは、
前記笑顔指示時笑顔度が前記前記第1の笑顔度以上であり、前記笑顔指示時笑顔度が前記第2の笑顔度以上である場合に、前記笑顔非指示時笑顔度を有効とし、
前記現在の笑顔度が前記笑顔指示時笑顔度以上であり、前記現在の笑顔度が前記第3の笑顔度よりも第1の所定の値以上大きい場合に、前記顔検出ステップにて検出された顔が笑顔であると判定することを特徴とする請求項13,15,16のいずれか1項に記載の笑顔判定方法。
The smile determination step includes
When the smile level at the time of smile instruction is equal to or greater than the first smile level and the smile level at the time of smile direction is equal to or greater than the second smile level,
Detected in the face detection step when the current smile level is greater than or equal to the smile level at the time of smile instruction, and the current smile level is greater than the third smile level by a first predetermined value or more. The smile determination method according to claim 13, wherein the face is determined to be a smile.
前記笑顔判定ステップは、前記現在の笑顔度が前記笑顔指示時笑顔度未満である場合に、前記現在の笑顔度が前記第3の笑顔度よりも前記第1の所定の値より大きい第2の所定の値以上大きい場合に、前記顔検出ステップにて検出された顔が笑顔であると判定することを特徴とする請求項17記載の笑顔判定方法。  In the smile determination step, when the current smile level is less than the smile level at the time of smile instruction, the second smile level is greater than the first predetermined value than the third smile level. 18. The smile determination method according to claim 17, wherein, when the value is larger than a predetermined value, it is determined that the face detected in the face detection step is a smile.
JP2011194731A2011-09-072011-09-07Smile determination device and methodWithdrawnJP2013058828A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP2011194731AJP2013058828A (en)2011-09-072011-09-07Smile determination device and method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP2011194731AJP2013058828A (en)2011-09-072011-09-07Smile determination device and method

Publications (1)

Publication NumberPublication Date
JP2013058828Atrue JP2013058828A (en)2013-03-28

Family

ID=48134344

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP2011194731AWithdrawnJP2013058828A (en)2011-09-072011-09-07Smile determination device and method

Country Status (1)

CountryLink
JP (1)JP2013058828A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10748153B2 (en)2014-05-292020-08-18Apple Inc.User interface for payments
US10749967B2 (en)2016-05-192020-08-18Apple Inc.User interface for remote authorization
JP2020525868A (en)*2017-09-092020-08-27アップル インコーポレイテッドApple Inc. Implementation of biometrics
US10783576B1 (en)2019-03-242020-09-22Apple Inc.User interfaces for managing an account
US10783227B2 (en)2017-09-092020-09-22Apple Inc.Implementation of biometric authentication
US10803281B2 (en)2013-09-092020-10-13Apple Inc.Device, method, and graphical user interface for manipulating user interfaces based on fingerprint sensor inputs
US10860096B2 (en)2018-09-282020-12-08Apple Inc.Device control using gaze information
US10956550B2 (en)2007-09-242021-03-23Apple Inc.Embedded authentication systems in an electronic device
US11037150B2 (en)2016-06-122021-06-15Apple Inc.User interfaces for transactions
US11074572B2 (en)2016-09-062021-07-27Apple Inc.User interfaces for stored-value accounts
US11100349B2 (en)2018-09-282021-08-24Apple Inc.Audio assisted enrollment
US11170085B2 (en)2018-06-032021-11-09Apple Inc.Implementation of biometric authentication
US11200309B2 (en)2011-09-292021-12-14Apple Inc.Authentication with secondary approver
US11321731B2 (en)2015-06-052022-05-03Apple Inc.User interface for loyalty accounts and private label accounts
US11481769B2 (en)2016-06-112022-10-25Apple Inc.User interface for transactions
US11574041B2 (en)2016-10-252023-02-07Apple Inc.User interface for managing access to credentials for use in an operation
US11676373B2 (en)2008-01-032023-06-13Apple Inc.Personal computing device control using face detection and recognition
US11783305B2 (en)2015-06-052023-10-10Apple Inc.User interface for loyalty accounts and private label accounts for a wearable device
US11816194B2 (en)2020-06-212023-11-14Apple Inc.User interfaces for managing secure operations
US12002042B2 (en)2016-06-112024-06-04Apple, IncUser interface for transactions
US12079458B2 (en)2016-09-232024-09-03Apple Inc.Image data for enhanced user interactions
US12099586B2 (en)2021-01-252024-09-24Apple Inc.Implementation of biometric authentication
US12216754B2 (en)2021-05-102025-02-04Apple Inc.User interfaces for authenticating to perform secure operations
US12262111B2 (en)2011-06-052025-03-25Apple Inc.Device, method, and graphical user interface for accessing an application in a locked device

Cited By (55)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11468155B2 (en)2007-09-242022-10-11Apple Inc.Embedded authentication systems in an electronic device
US10956550B2 (en)2007-09-242021-03-23Apple Inc.Embedded authentication systems in an electronic device
US12406490B2 (en)2008-01-032025-09-02Apple Inc.Personal computing device control using face detection and recognition
US11676373B2 (en)2008-01-032023-06-13Apple Inc.Personal computing device control using face detection and recognition
US12262111B2 (en)2011-06-052025-03-25Apple Inc.Device, method, and graphical user interface for accessing an application in a locked device
US11755712B2 (en)2011-09-292023-09-12Apple Inc.Authentication with secondary approver
US11200309B2 (en)2011-09-292021-12-14Apple Inc.Authentication with secondary approver
US11287942B2 (en)2013-09-092022-03-29Apple Inc.Device, method, and graphical user interface for manipulating user interfaces
US12314527B2 (en)2013-09-092025-05-27Apple Inc.Device, method, and graphical user interface for manipulating user interfaces based on unlock inputs
US10803281B2 (en)2013-09-092020-10-13Apple Inc.Device, method, and graphical user interface for manipulating user interfaces based on fingerprint sensor inputs
US11494046B2 (en)2013-09-092022-11-08Apple Inc.Device, method, and graphical user interface for manipulating user interfaces based on unlock inputs
US11768575B2 (en)2013-09-092023-09-26Apple Inc.Device, method, and graphical user interface for manipulating user interfaces based on unlock inputs
US10902424B2 (en)2014-05-292021-01-26Apple Inc.User interface for payments
US10977651B2 (en)2014-05-292021-04-13Apple Inc.User interface for payments
US10748153B2 (en)2014-05-292020-08-18Apple Inc.User interface for payments
US11836725B2 (en)2014-05-292023-12-05Apple Inc.User interface for payments
US10796309B2 (en)2014-05-292020-10-06Apple Inc.User interface for payments
US11783305B2 (en)2015-06-052023-10-10Apple Inc.User interface for loyalty accounts and private label accounts for a wearable device
US11321731B2 (en)2015-06-052022-05-03Apple Inc.User interface for loyalty accounts and private label accounts
US12333509B2 (en)2015-06-052025-06-17Apple Inc.User interface for loyalty accounts and private label accounts for a wearable device
US11734708B2 (en)2015-06-052023-08-22Apple Inc.User interface for loyalty accounts and private label accounts
US11206309B2 (en)2016-05-192021-12-21Apple Inc.User interface for remote authorization
US10749967B2 (en)2016-05-192020-08-18Apple Inc.User interface for remote authorization
US12002042B2 (en)2016-06-112024-06-04Apple, IncUser interface for transactions
US11481769B2 (en)2016-06-112022-10-25Apple Inc.User interface for transactions
US11900372B2 (en)2016-06-122024-02-13Apple Inc.User interfaces for transactions
US11037150B2 (en)2016-06-122021-06-15Apple Inc.User interfaces for transactions
US11074572B2 (en)2016-09-062021-07-27Apple Inc.User interfaces for stored-value accounts
US12165127B2 (en)2016-09-062024-12-10Apple Inc.User interfaces for stored-value accounts
US12079458B2 (en)2016-09-232024-09-03Apple Inc.Image data for enhanced user interactions
US11995171B2 (en)2016-10-252024-05-28Apple Inc.User interface for managing access to credentials for use in an operation
US11574041B2 (en)2016-10-252023-02-07Apple Inc.User interface for managing access to credentials for use in an operation
JP2020525868A (en)*2017-09-092020-08-27アップル インコーポレイテッドApple Inc. Implementation of biometrics
US10783227B2 (en)2017-09-092020-09-22Apple Inc.Implementation of biometric authentication
US11393258B2 (en)2017-09-092022-07-19Apple Inc.Implementation of biometric authentication
US11765163B2 (en)2017-09-092023-09-19Apple Inc.Implementation of biometric authentication
US11386189B2 (en)2017-09-092022-07-12Apple Inc.Implementation of biometric authentication
US10872256B2 (en)2017-09-092020-12-22Apple Inc.Implementation of biometric authentication
US11928200B2 (en)2018-06-032024-03-12Apple Inc.Implementation of biometric authentication
US11170085B2 (en)2018-06-032021-11-09Apple Inc.Implementation of biometric authentication
US12189748B2 (en)2018-06-032025-01-07Apple Inc.Implementation of biometric authentication
US10860096B2 (en)2018-09-282020-12-08Apple Inc.Device control using gaze information
US11100349B2 (en)2018-09-282021-08-24Apple Inc.Audio assisted enrollment
US11809784B2 (en)2018-09-282023-11-07Apple Inc.Audio assisted enrollment
US12124770B2 (en)2018-09-282024-10-22Apple Inc.Audio assisted enrollment
US12105874B2 (en)2018-09-282024-10-01Apple Inc.Device control using gaze information
US12131374B2 (en)2019-03-242024-10-29Apple Inc.User interfaces for managing an account
US11328352B2 (en)2019-03-242022-05-10Apple Inc.User interfaces for managing an account
US11669896B2 (en)2019-03-242023-06-06Apple Inc.User interfaces for managing an account
US11688001B2 (en)2019-03-242023-06-27Apple Inc.User interfaces for managing an account
US10783576B1 (en)2019-03-242020-09-22Apple Inc.User interfaces for managing an account
US11610259B2 (en)2019-03-242023-03-21Apple Inc.User interfaces for managing an account
US11816194B2 (en)2020-06-212023-11-14Apple Inc.User interfaces for managing secure operations
US12099586B2 (en)2021-01-252024-09-24Apple Inc.Implementation of biometric authentication
US12216754B2 (en)2021-05-102025-02-04Apple Inc.User interfaces for authenticating to perform secure operations

Similar Documents

PublicationPublication DateTitle
JP2013058828A (en)Smile determination device and method
US9521310B2 (en)Method and apparatus for focusing on subject in digital image processing device
TWI425828B (en)Image capturing apparatus, method for determing image area ,and computer-readable recording medium
US20150139534A1 (en)Image processing apparatus, imaging apparatus and distance correction method
US9060129B2 (en)Imaging device, control method of imaging device, and computer program
CN105554403B (en)Control method, control device and electronic device
KR20100075167A (en)Apparatus and method for capturing digital image using face recognition function
JP2009284462A (en)Imaging device and method of controlling ranging area
US8400532B2 (en)Digital image capturing device providing photographing composition and method thereof
CN108605087A (en) Terminal photographing method, photographing device and terminal
US20220417427A1 (en)Image processing apparatus that retouches and displays picked-up image, image processing method, and storage medium
KR20110029002A (en) Facial judgment device and method
JP2008035125A (en) Imaging apparatus, image processing method, and program
KR20110014450A (en) Apparatus and method for improving face recognition rate
CN103039068A (en) Image processing device and image processing program
JP2012068948A (en)Face attribute estimating apparatus and method therefor
EP2200275A2 (en)Method and apparatus of displaying portrait on display
JP6098133B2 (en) Face component extraction device, face component extraction method and program
KR20160062665A (en)Apparatus and method for analyzing motion
US9143684B2 (en)Digital photographing apparatus, method of controlling the same, and computer-readable storage medium
JP5374612B2 (en) Image data identification method, imaging apparatus, program, and storage medium
KR101825321B1 (en)System and method for providing feedback of real-time optimal shooting composition using mobile camera recognition technology
JP5002311B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2014068280A (en)Imaging apparatus
JP7614805B2 (en) Information processing device, information processing method, and program

Legal Events

DateCodeTitleDescription
A300Application deemed to be withdrawn because no request for examination was validly filed

Free format text:JAPANESE INTERMEDIATE CODE: A300

Effective date:20141202


[8]ページ先頭

©2009-2025 Movatter.jp