Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5071404B2 - Image processing method, image processing apparatus, and image processing program - Google Patents
[go: Go Back, main page]

JP5071404B2 - Image processing method, image processing apparatus, and image processing program - Google Patents

Image processing method, image processing apparatus, and image processing program Download PDF

Info

Publication number
JP5071404B2
JP5071404B2 JP2009030856A JP2009030856A JP5071404B2 JP 5071404 B2 JP5071404 B2 JP 5071404B2 JP 2009030856 A JP2009030856 A JP 2009030856A JP 2009030856 A JP2009030856 A JP 2009030856A JP 5071404 B2 JP5071404 B2 JP 5071404B2
Authority
JP
Japan
Prior art keywords
smile
unit
face image
evaluation
measurement
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.)
Active
Application number
JP2009030856A
Other languages
Japanese (ja)
Other versions
JP2010186373A (en
Inventor
聡志 石井
良輔 高橋
純 山中
亮司 大橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2009030856A priority Critical patent/JP5071404B2/en
Publication of JP2010186373A publication Critical patent/JP2010186373A/en
Application granted granted Critical
Publication of JP5071404B2 publication Critical patent/JP5071404B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

この発明は、画像データから検知した顔画像の特徴部位の変化量の測定結果に基づいて笑顔の状態を評価する画像処理方法、画像処理装置、及び画像処理プログラムに関する。   The present invention relates to an image processing method, an image processing apparatus, and an image processing program for evaluating a smile state based on a measurement result of a change amount of a characteristic part of a face image detected from image data.

近年、他人とのコミュニケーションを円滑に図ることを目的として、先ずは、自身の喜怒哀楽の状態おける表情の豊かさを客観的に評価したいという要求が高まっている。   In recent years, for the purpose of smoothly communicating with others, there is an increasing demand for objectively evaluating the richness of facial expressions in the state of emotions.

そこで、下記特許文献1では、カメラによって抽出したユーザの顔の特徴部分の変化を測定し、その測定結果に基づいて表情の豊かさに関連する表情力を数値化することにより、ユーザの表情を客観的に評価することを可能にしたものが開示されている。   Therefore, in the following Patent Document 1, the change in the facial feature of the user extracted by the camera is measured, and the facial expression related to the richness of the facial expression is quantified based on the measurement result, thereby expressing the user's facial expression. What has been made possible to evaluate objectively is disclosed.

特開2008−264367号公報JP 2008-264367 A

ところで、友人、知人等とのプライベートな付き合いの場や、接客業の接客業務においては、自身(従業員)の笑顔により他人や顧客に与える印象をより良いものにすることができ、友人、知人や、顧客との関係をより深めることができる。   By the way, in private contact with friends, acquaintances, etc., or in the customer service business of the customer service industry, it is possible to improve the impression given to others and customers by the smile of themselves (employees). And deepen customer relationships.

そこで、前記特許文献1に開示されている技術を用いて、自身の笑顔の豊かさ、つまりは笑顔の度合い(笑顔度という)を客観的に評価し、その評価結果に基づいて笑顔度をより向上させるためのトレーニングを行うようにすることも考えられる。   Therefore, by using the technology disclosed in Patent Document 1, the richness of one's smile, that is, the degree of smile (called smile level) is objectively evaluated, and the smile level is further increased based on the evaluation result. It is conceivable to perform training for improvement.

しかしながら、前記特許文献1に開示されているものは、あくまでもユーザの瞬間的な表情の変化を捉え、その瞬間的な変化に基づいて評価をしているに過ぎない。   However, what is disclosed in Patent Document 1 merely captures a change in a user's instantaneous facial expression and evaluates based on the instantaneous change.

人間の喜怒哀楽のうち、特に「喜」、「楽」に関連する笑顔については、それが瞬間的でなく、持続的である時に、初めて他人により笑顔の状態であると認識(評価)されると考えられる。従って、前記特許文献1に開示されているものでは、笑顔の持続性を客観的に評価することができず、笑顔の状態についてより正確な評価を得るには不十分であった。   Among human emotions, especially smiles related to “joy” and “easy” are recognized (evaluated) as smiles by other people for the first time when they are not instantaneous but persistent. It is thought. Therefore, the technique disclosed in Patent Document 1 cannot objectively evaluate the persistence of a smile, and is insufficient to obtain a more accurate evaluation of the smile status.

この発明は、ユーザの笑顔の持続性を客観的に評価することを可能にし、その結果ユーザの笑顔の状態をより正確に評価することができる画像処理方法、画像処理装置、及び画像処理プログラムを提供することを目的とする。   The present invention provides an image processing method, an image processing apparatus, and an image processing program capable of objectively evaluating the sustainability of a user's smile and, as a result, more accurately evaluating the state of the user's smile. The purpose is to provide.

この発明は、画像データから顔画像検知手段により顔画像を検知するステップと、該顔画像検知手段により検知した顔画像の特徴部位の変化量を、測定手段により測定するステップと、該測定手段の測定結果に基づいて笑顔の状態を評価手段により評価するステップとを備え、前記測定手段による測定時間を測定時間設定手段により設定するステップと、該測定時間設定手段により設定した測定時間内に、前記測定手段により前記変化量を複数回測定するステップと、前記測定手段により測定した前記変化量に基づいて、前記評価手段の笑顔度数値化部により、笑顔の認識度を笑顔度として数値化するステップと、該数値化した笑顔度を前記測定時間内にて前記評価手段の積算部により積算するステップと、該積算部にて積算した積算値に基づいて、前記評価手段の笑顔評価情報生成部により、笑顔の状態の評価に関連する笑顔評価情報を生成するステップと、該笑顔評価情報生成部にて生成した前記笑顔評価情報を出力手段により出力するステップとを備えた画像処理方法、及びこの方法を実行する画像処理装置、及び画像処理プログラムであることを特徴とする。   The present invention includes a step of detecting a face image from image data by a face image detecting unit, a step of measuring a change amount of a characteristic part of the face image detected by the face image detecting unit by a measuring unit, A step of evaluating a smile state by an evaluation unit based on a measurement result, the step of setting a measurement time by the measurement unit by a measurement time setting unit, and the measurement time set by the measurement time setting unit, A step of measuring the amount of change a plurality of times by a measuring unit, and a step of digitizing a smile recognition level as a smile level by a smile level digitizing unit of the evaluation unit based on the change amount measured by the measuring unit And a step of integrating the digitized smile degree by the integration unit of the evaluation means within the measurement time, and an integration value integrated by the integration unit. And a step of generating smile evaluation information related to the evaluation of the smile state by the smile evaluation information generation unit of the evaluation unit, and outputting the smile evaluation information generated by the smile evaluation information generation unit by the output unit An image processing method including steps, an image processing apparatus that executes the method, and an image processing program.

出力手段は、液晶ディスプレイや、CRTディスプレイ等、文字、図形等で表された笑顔評価情報を画面表示する表示装置や、笑顔評価情報を音声案内出力するスピーカ等の音声出力装置で構成することができる。   The output means may be composed of a liquid crystal display, a CRT display, or the like, a display device for displaying smile evaluation information represented by characters, graphics, etc. on the screen, or a voice output device such as a speaker for outputting the smile evaluation information by voice guidance. it can.

この発明により、瞬間的な笑顔のみならず、測定時間内における自身の笑顔の持続性を客観的に評価することができ、その結果、ユーザの笑顔の状態をより正確に評価することができる。   According to the present invention, it is possible to objectively evaluate not only the instantaneous smile but also the sustainability of the smile within the measurement time, and as a result, the user's smile state can be more accurately evaluated.

この発明の態様として、前記笑顔度の目標値を入力する入力手段を備え、前記笑顔評価情報生成部は、前記積算部にて積算した積算値に基づいて、前記笑顔度の平均値を算出しつつ、前記笑顔評価情報として、前記平均値に関連する平均値情報を生成し、前記出力手段は、前記入力手段により入力した目標値と、前記笑顔評価情報生成部にて生成した前記平均値情報とを併せて出力する構成とすることができる。
これにより、測定時間内における笑顔の持続性の度合いと、目標との差を容易に認識することができる。そして、ユーザが今後笑顔作りのトレーニングを続けるにあたり、前記差分を、トレーニングのスケジュールやトレーニングメニュー等を設定する際の目安とすることができる。
As an aspect of the present invention, the smile evaluation information generation unit includes an input unit that inputs a target value of the smile level, and the smile evaluation information generation unit calculates an average value of the smile level based on the integrated value integrated by the integration unit. Meanwhile, as the smile evaluation information, average value information related to the average value is generated, and the output means outputs the target value input by the input means and the average value information generated by the smile evaluation information generation unit. Can be output together.
Thereby, the difference between the degree of smile persistence within the measurement time and the target can be easily recognized. Then, as the user continues training for making a smile in the future, the difference can be used as a guideline for setting a training schedule, a training menu, and the like.

この発明の態様として、前記測定時間にわたって算出した前記平均値を、1ユーザにおいて複数件分記憶する平均値記憶手段を備え、前記笑顔評価情報生成部は、前記複数件分の各平均値を前記平均値記憶手段から読み出しつつ、前記笑顔評価情報として、前記各平均値を時系列に配列した個人履歴情報を生成し、前記出力手段は、前記個人履歴情報を出力する構成とすることができる。
これにより、ユーザは、自身の笑顔の持続性がどの程度向上しているかといったトレーニングの成果をより長期的にウォッチングすることができる。従って、今後のトレーニングのスケジュールやトレーニングメニュー等の設定をより容易なものとすることができる。
As an aspect of the present invention, there is provided an average value storage means for storing a plurality of the average values calculated over the measurement time for one user, and the smile evaluation information generating unit calculates each average value for the plurality of cases as the average value. While reading from the average value storage means, personal history information in which the respective average values are arranged in time series is generated as the smile evaluation information, and the output means outputs the personal history information.
Thereby, the user can watch the result of training, such as how much the sustainability of his / her smile is improved, in the long term. Therefore, it is possible to more easily set a schedule for a future training, a training menu, and the like.

この発明の態様として、前記積算部にて積算した笑顔度の積算値を、複数のユーザ分記憶する積算値記憶手段を備え、前記笑顔評価情報生成部は、前記積算値記憶手段に記憶したユーザの積算値を読み出して、該積算値の大小に基づくランク付け処理を実行しつつ、前記笑顔評価情報として、前記ランク付け処理結果に関連するランキング情報を生成し、前記出力手段は、前記ランク付けに関連する情報を出力する構成とすることができる。
これにより、自身の笑顔の持続性と他ユーザの笑顔の持続性とを相対的に評価することができる。このため、複数のユーザ同士で競争意識を高揚させることができ、その結果、笑顔の持続性向上をより促進させることができる。
As an aspect of the present invention, there is provided integrated value storage means for storing the integrated value of the smile degree integrated by the integrating unit for a plurality of users, and the smile evaluation information generating unit stores the user stored in the integrated value storage means The ranking information related to the ranking processing result is generated as the smile evaluation information while performing ranking processing based on the magnitude of the integration value, and the output means generates the ranking It can be set as the structure which outputs the information relevant to.
Thereby, the sustainability of own smile and the sustainability of smiles of other users can be relatively evaluated. For this reason, competition consciousness can be raised among several users, As a result, the sustainability improvement of a smile can be promoted more.

この発明の態様として、前記積算部は、前記顔画像検知手段により複数のユーザの顔画像を検知した状態において各ユーザ毎に笑顔度を同時に積算するものであり、前記笑顔評価情報生成部は、前記複数のユーザの積算値の総和を算出するとともに、該積算値の総和に対する、各ユーザの前記積算値の比率を算出し、前記笑顔評価情報として、前記比率に関連する比率情報を生成し、前記出力手段は、前記比率情報を出力する構成とすることができる。
これにより、笑顔作りをゲーム感覚で楽しむことができ、ユーザは、持続的な笑顔を自然に身に付けることが可能になる。
As an aspect of the present invention, the integration unit is configured to simultaneously integrate smile levels for each user in a state in which the face image detection unit detects a plurality of user face images, and the smile evaluation information generation unit includes: Calculating the sum of the integrated values of the plurality of users, calculating the ratio of the integrated value of each user to the sum of the integrated values, and generating ratio information related to the ratio as the smile evaluation information; The output means may be configured to output the ratio information.
Thereby, it is possible to enjoy making a smile as if it were a game, and the user can naturally wear a continuous smile.

この発明の態様として、前記画像データから顔画像を含む領域を抽出して該顔画像を表示手段に表示させる制御を実行する表示制御手段を備え、該表示制御手段は、前記顔画像検知手段により検知した前記顔画像を含む顔画像表示領域を、前記画像データから選択し、抽出する顔画像抽出部を備えるとともに、前記画像データと、前記顔画像表示領域の全画像データ内における位置とに基づいて、前記顔画像表示領域を除いた領域の中から、最も広範囲な領域を検索し、該検索結果に基づいて、該領域を背景画像表示領域として選択し、抽出する背景画像抽出部を備え、該表示制御手段は、前記表示手段に対し、前記顔画像抽出部により抽出した顔画像を含む顔画像表示領域と、前記背景画像抽出部により抽出した前記背景画像表示領域とを並列に表示させる制御を実行する構成とすることができる。
これにより、装置の操作を行ったユーザ以外の他ユーザが、前記顔画像と並列に表示された背景画像表示領域に基づいて、自身の顔画像が検知されるための位置を容易に特定することができる。
As an aspect of the present invention, there is provided display control means for executing control for extracting a region including a face image from the image data and displaying the face image on a display means, and the display control means includes A face image extraction unit that selects and extracts a face image display area including the detected face image from the image data is provided, and based on the image data and the position of the face image display area in all image data A background image extraction unit that searches for the widest area from the areas excluding the face image display area, selects the area as a background image display area based on the search result, and extracts the area; The display control means includes, for the display means, a face image display area including the face image extracted by the face image extraction unit and the background image display area extracted by the background image extraction unit. It can be configured to perform control to display the column.
Thereby, a user other than the user who has operated the device can easily specify the position for detecting his / her face image based on the background image display area displayed in parallel with the face image. Can do.

この発明の態様として、前記笑顔度に応じて予め設定したアドバイス情報を記憶するアドバイス情報記憶手段を備え、前記出力手段は、前記笑顔度に応じて前記アドバイス情報記憶手段から読み出したアドバイス情報を、前記測定時間内に出力する構成とすることができる。
これにより、測定中のユーザに対し、リアルタイムで的確なアドバイスを送ることができ、その結果、笑顔の持続性のさらなる向上を図ることができる。
As an aspect of the present invention, the information processing apparatus includes an advice information storage unit that stores advice information set in advance according to the smile level, and the output unit reads the advice information read from the advice information storage unit according to the smile level, It can be set as the structure output within the said measurement time.
Thereby, accurate advice can be sent to the user under measurement in real time, and as a result, the sustainability of smile can be further improved.

この発明の態様として、前記測定時間内において最高の笑顔度を示した時の最高笑顔度画像データを検索する検索手段と、該検索手段の検索結果に基づいて前記最高笑顔度画像データを記憶する画像データ記憶手段とを備えた構成とすることができる。
これにより、測定を行ったユーザ自身、または他ユーザが笑顔作りのためのトレーニングを行うにあたり、最高笑顔度を示した顔画像データを参考材料として使用することができる。
As an aspect of the present invention, search means for searching for the highest smile degree image data when the highest smile degree is exhibited within the measurement time, and the highest smile degree image data is stored based on a search result of the search means. An image data storage means can be provided.
Thereby, when the user who performed the measurement or the other user performs training for making a smile, the face image data showing the maximum smile can be used as a reference material.

この発明により、ユーザの笑顔の持続性を客観的に評価することを可能にし、その結果ユーザの笑顔の状態をより正確に評価することができる。   According to the present invention, it is possible to objectively evaluate the sustainability of a user's smile, and as a result, the user's smile status can be more accurately evaluated.

この発明の実施形態に係る画像処理装置の使用状態を示す図。The figure which shows the use condition of the image processing apparatus which concerns on embodiment of this invention. 画像処理装置を示すブロック図。The block diagram which shows an image processing apparatus. 制御装置によるユーザの顔形状特定方法を説明するための図。The figure for demonstrating the user's face shape specific method by a control apparatus. 笑顔の状態における顔の特徴部位の変化を説明するための図。The figure for demonstrating the change of the feature part of the face in the state of a smile. 笑顔度算出マップを示す図。The figure which shows a smile degree calculation map. 初期画面を示す図。The figure which shows an initial screen. トレーニングモードにおける、(a)ログイン画面を示す図、(b)トレーニング画面を示す図。(A) The figure which shows a login screen in training mode, (b) The figure which shows a training screen. トレーニング結果表示画面を示す図。The figure which shows a training result display screen. 設定画面のうち、ユーザ管理タブの表示画面を示す図。The figure which shows the display screen of a user management tab among setting screens. 設定画面のうち、個人設定タブの表示画面を示す図。The figure which shows the display screen of a personal setting tab among setting screens. 設定画面のうち、全体設定タブの表示画面を示す図。The figure which shows the display screen of a general setting tab among setting screens. アドバイスメッセージの表示処理を説明するための図。The figure for demonstrating the display process of an advice message. ランキングモードにおけるランキング測定画面を示す図。The figure which shows the ranking measurement screen in ranking mode. ランキングモードにおける積算値算出処理を説明するための図。The figure for demonstrating the integrated value calculation process in ranking mode. ランキング結果表示画面を示す図。The figure which shows a ranking result display screen. (a)カメラの撮影画像示す図、(b)対戦モードにおける対戦画面を示す図。(A) The figure which shows the picked-up image of a camera, (b) The figure which shows the battle | competition screen in battle | competition mode. 対戦モードにおける対戦画面を示す図であって、対戦中の状態を示す図。The figure which shows the battle | competition screen in battle | competition mode, Comprising: The figure which shows the state in battle | competition. 対戦モードにおける比率算出処理を説明するための図。The figure for demonstrating the ratio calculation process in battle | competition mode. 画像処理装置のトレーニングモードにおける動作を示すフローチャート。The flowchart which shows the operation | movement in the training mode of an image processing apparatus. 笑顔度算出サブルーチンの動作を示すフローチャート。The flowchart which shows operation | movement of a smile degree calculation subroutine. 画像処理装置のランキングモードにおける動作を示すフローチャート。6 is a flowchart showing an operation in a ranking mode of the image processing apparatus. 画像処理装置の対戦モードにおける動作を示すフローチャート。The flowchart which shows the operation | movement in battle | competition mode of an image processing apparatus. (a)適性検査モードにおける適正検査画面を示す図、(b)評価ランクテーブルを示す図。(A) The figure which shows the appropriate inspection screen in aptitude inspection mode, (b) The figure which shows an evaluation rank table. 適性検査モードにおける適正検査結果表示画面を示す図。The figure which shows the appropriate test result display screen in aptitude test mode.

以下、図面に基づいて本発明の実施形態を詳述する。
図1は、本発明の実施形態に係る画像処理装置1の使用状態を示す図である。画像処理装置1は、図1に示すように、主に、笑顔の状態を評価するための諸演算を実行するコンピュータ1aと、表示装置としてのディスプレイ装置10、及び入力装置20を構成するキーボード21、マウス22を備えたパーソナルコンピュータ1b(以下コンピュータ1bと略記する。)とからなり、両コンピュータ1a、1bは、LANケーブル2により接続されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram illustrating a usage state of an image processing apparatus 1 according to an embodiment of the present invention. As shown in FIG. 1, the image processing apparatus 1 mainly includes a computer 1 a that executes various calculations for evaluating a smile state, a display device 10 as a display device, and a keyboard 21 that constitutes an input device 20. And a personal computer 1b (hereinafter abbreviated as a computer 1b) provided with a mouse 22, both computers 1a and 1b being connected by a LAN cable 2.

また、図1では、ユーザUを撮影するカメラ3が専用のケーブル4を介してコンピュータ1aに接続されている。このような接続により、カメラ3により撮影されたユーザUの画像データは、コンピュータ1aを介してコンピュータ1bに送信され、そのディスプレイ装置10に表示されるようになっている。なお、図1では、コンピュータ1bとしてノート型のパーソナルコンピュータを使用しているが、表示装置及び入力装置を備えているものであればこれに限定されるものではない。また、本実施形態では、2つのコンピュータ1a、1bにより画像処理装置1を構成しているが、コンピュータ1aをコンピュータ1b内に集約させた構成としてもよい。   In FIG. 1, a camera 3 for photographing the user U is connected to a computer 1 a via a dedicated cable 4. With such connection, the image data of the user U taken by the camera 3 is transmitted to the computer 1b via the computer 1a and displayed on the display device 10. In FIG. 1, a notebook personal computer is used as the computer 1b. However, the present invention is not limited to this as long as it includes a display device and an input device. In the present embodiment, the image processing apparatus 1 is configured by the two computers 1a and 1b. However, the computer 1a may be integrated in the computer 1b.

図2は、画像処理装置1を示すブロック図である。画像処理装置1は、図2に示すように、制御装置30にディスプレイ装置10、入力装置20、記憶装置40及びタイマ装置50が接続されることにより構成される。   FIG. 2 is a block diagram showing the image processing apparatus 1. As shown in FIG. 2, the image processing apparatus 1 is configured by connecting a display device 10, an input device 20, a storage device 40, and a timer device 50 to a control device 30.

制御装置30は、例えばCPUにより構成されており、記憶装置40内に記憶されたプログラムに基づいて制御動作を実行するものである。なお、図2では、説明の便宜上、2つのコンピュータ1a、1bに搭載された制御装置や記憶装置を一体化して示している。   The control device 30 is constituted by a CPU, for example, and executes a control operation based on a program stored in the storage device 40. In FIG. 2, for convenience of explanation, a control device and a storage device mounted on the two computers 1 a and 1 b are shown integrally.

ディスプレイ装置10は、カメラ3(図1参照)により撮影されたユーザUの顔画像を制御装置30で演算処理し、その結果生成された画像データを表示するものである。入力装置20は、例えば、ユーザUの適宜の入力操作によりその操作に関連する命令やデータを入力するためのものである。   The display device 10 performs arithmetic processing on the face image of the user U taken by the camera 3 (see FIG. 1) by the control device 30, and displays the image data generated as a result. The input device 20 is, for example, for inputting a command or data related to the operation by an appropriate input operation of the user U.

記憶装置40は、例えばROM、RAMや、ハードディスク等により構成され、この記憶装置40には、主に制御装置30が制御動作を実行するためのプログラムの他、後述する三次元顔モデルデータ、笑顔度算出マップ、測定時間、ユーザの登録情報、笑顔度の目標値、アドバイスメッセージ情報、出力件数等が記憶されている。   The storage device 40 includes, for example, a ROM, a RAM, a hard disk, and the like. The storage device 40 mainly includes a program for the control device 30 to execute a control operation, as well as three-dimensional face model data and a smile described later. A degree calculation map, measurement time, user registration information, smile degree target value, advice message information, number of outputs, and the like are stored.

タイマ装置50は、記憶装置40に記憶された測定時間を設定するためのものである。   The timer device 50 is for setting the measurement time stored in the storage device 40.

図3は、制御装置30によるユーザUの顔形状特定方法を説明するための図である。本実施形態では、ユーザUの顔形状を特定すべく、図3(a)に示すような三次元顔モデルMのデータが、図2に示す記憶装置40内に記憶されている。この三次元顔モデルMは、数千人分の顔画像のサンプルに基づき作成されたものであり、顔の表面や、目、鼻、口等の顔の特徴部位を線で結んだものとなっている。   FIG. 3 is a diagram for explaining a method of specifying the face shape of the user U by the control device 30. In this embodiment, in order to specify the face shape of the user U, data of the three-dimensional face model M as shown in FIG. 3A is stored in the storage device 40 shown in FIG. This three-dimensional face model M is created based on samples of face images for thousands of people, and connects the surface of the face and facial features such as eyes, nose and mouth with lines. ing.

本実施形態に係る制御装置30は、先ずカメラ3により撮影された画像からユーザUの顔画像を検知し、その画像データを抽出する。そして、図3(b)に示すように、二次元の顔画像データに対して上述した三次元顔モデルMを適合させる(フィッティングという)。これにより、ユーザUの顔表面の凹凸や、特徴部位の位置を特定し、ユーザUの顔形状を特定する。   The control device 30 according to the present embodiment first detects the face image of the user U from the image taken by the camera 3 and extracts the image data. Then, as shown in FIG. 3B, the above-described three-dimensional face model M is adapted to the two-dimensional face image data (referred to as fitting). Thereby, the unevenness | corrugation of the user's U face surface and the position of a characteristic part are specified, and the user's U face shape is specified.

さらに、本実施形態では、上述した方法により特定したユーザUの顔形状から、笑顔の状態、つまりは他人による笑顔の認識度を笑顔度として数値化することを可能としている。例えば、ユーザUが笑顔の状態となった時には、図4に示すように、しわの数(図中丸印で囲んだ部位P1)が増える、口の開き幅(図中矢印部位P2)が大きくなる、口角(図中丸印で囲んだ部位P3)が上がる、目尻(図中丸印で囲んだ部位P4)が下がる、目の開き幅(図中の矢印部位P2で示す)が小さくなるといった変化が現れる。そこで、制御装置30では、これら各特徴部位P1〜P5における変化量の測定に基づいて前記笑顔度を算出している。   Furthermore, in this embodiment, it is possible to quantify the smile state, that is, the recognition level of smiles by others, as the smile level from the face shape of the user U specified by the above-described method. For example, when the user U is in a smiling state, as shown in FIG. 4, the number of wrinkles (portion P1 surrounded by a circle in the drawing) increases, and the opening width of the mouth (arrow portion P2 in the drawing) increases. Changes such as an increase in the corner of the mouth (part P3 surrounded by a circle in the figure), a decrease in the corner of the eye (part P4 surrounded by a circle in the figure), and a decrease in the opening width of the eye (indicated by an arrow part P2 in the figure) appear. . Therefore, the control device 30 calculates the smile level based on the measurement of the amount of change in each of the characteristic parts P1 to P5.

具体的には、各特徴部位P1〜P5毎に、その変化量と、笑顔度に関連する度数との関係を示す、図5(a)〜(e)のような笑顔度算出マップを予め作成している。そして、特徴部位P1〜P5の変化量の測定結果に基づいて、それに対応する度数を求めることにより、笑顔度を算出することを可能にしている。   Specifically, for each of the characteristic parts P1 to P5, a smile degree calculation map as shown in FIGS. 5A to 5E is created in advance, showing the relationship between the amount of change and the frequency related to the smile degree. is doing. And based on the measurement result of the variation | change_quantity of characteristic site | part P1-P5, it is possible to calculate a smile degree by calculating | requiring the frequency | count corresponding to it.

ここで、図5に示す笑顔度算出マップは、千人以上の顔サンプルをもとに作成されている。具体的には、この顔サンプルを評価者(モニター)に見せ、それぞれの表情が笑顔の状態であるか否かを評価させる。そして、大多数の評価者が笑顔であると評価した半数の顔サンプルと、大多数の評価者が笑顔でないと評価した半数の顔サンプルとに分ける。   Here, the smile degree calculation map shown in FIG. 5 is created on the basis of more than 1,000 face samples. Specifically, this face sample is shown to an evaluator (monitor), and whether or not each expression is in a smiling state is evaluated. Then, it is divided into half of the face samples evaluated by most evaluators as smiling and half of the face samples evaluated by most evaluators as not smiling.

さらに、笑顔と評価されなかった顔サンプルにおける、特徴部位P1〜P5の変化量について平均値「x1」、「x3」、「x5」、「x7」、「x9」(図5参照)を算出する。そして、前記部位P1〜P5の各測定値が前記平均値「x1」、「x3」、「x5」、「x7」、「x9」以下の時をそれぞれ度数「0」と定義している。   Further, average values “x1”, “x3”, “x5”, “x7”, and “x9” (see FIG. 5) are calculated for the amount of change in the characteristic portions P1 to P5 in the face sample that is not evaluated as a smile. . And when each measured value of the said parts P1-P5 is less than the said average value "x1", "x3", "x5", "x7", "x9", it defines as frequency "0", respectively.

一方、笑顔と評価された顔サンプルにおける各特徴部位P1〜P5の変化量の各平均値「x2」、「x4」、「x6」、「x8」、「x10」(図5参照)を算出する。そして、前記部位P1〜P5の各測定値が前記平均値「x2」、「x4」、「x6」、「x8」、「x10」以上の時をそれぞれ度数「100」と定義している。   On the other hand, the average values “x2”, “x4”, “x6”, “x8”, “x10” (see FIG. 5) of the variation amounts of the respective characteristic portions P1 to P5 in the face sample evaluated as smile are calculated. . And when each measured value of said site | part P1-P5 is more than said average value "x2", "x4", "x6", "x8", "x10", it defines as frequency "100", respectively.

前記笑顔度算出マップでは、このような度数の定義に基づき、直線グラフが作成され、特徴部位P1〜P5毎に、その変化量と度数との関係を定義している。この笑顔度算出マップでは、例えば、ユーザUのしわの数が(x2−x1)/2(本)であった時、度数は50とされる。   In the smile degree calculation map, a straight line graph is created based on such definition of the frequency, and the relationship between the amount of change and the frequency is defined for each of the characteristic parts P1 to P5. In this smile level calculation map, for example, when the number of wrinkles of the user U is (x2−x1) / 2 (lines), the frequency is set to 50.

ここで、制御装置30が、前記笑顔度算出マップに基づき、各特徴部位P1〜P5毎に度数を求め、さらにその度数の平均値を算出することで、ユーザUの笑顔度が数値化される(この平均値の算出による笑顔度算出の方法は統合推論と呼ばれる。)。   Here, the control device 30 obtains the frequency for each of the characteristic parts P1 to P5 based on the smile level calculation map, and further calculates the average value of the frequency, whereby the smile level of the user U is quantified. (This method of calculating the smile level by calculating the average value is called integrated reasoning.)

この数値化された笑顔度は、換言すれば、他人により笑顔の状態であると認識される認識度であり、この認識度を笑顔度という形で数値化することにより、笑顔の状態を客観的に示す際の目安とすることができる。   This quantified smile level is, in other words, the level of recognition recognized by other people as being in a smile state. By expressing this level of recognition in the form of a smile level, the smile status can be objectively determined. It can be used as a guide when showing in

但し、他人に笑顔の状態であると評価(認識)されるにあたっては、特徴部位P1〜P5毎にその寄与率が異なる。このため、実際、度数の平均値を求める際には、前記寄与率が高いと思われる特徴部位について、その度数に重み付けがなされる。   However, in evaluating (recognizing) that someone else is smiling, the contribution ratio differs for each of the characteristic parts P1 to P5. For this reason, when the average value of the frequencies is actually obtained, the frequencies are weighted for the characteristic portions that are considered to have a high contribution rate.

次に、図6〜図18を参照して、本実施形態に係る画像処理装置1の使用例を説明する。先ず、画像処理装置1を起動させると、制御装置30は、ディスプレイ装置10に、図6に示すような初期画面11を表示させる。   Next, a usage example of the image processing apparatus 1 according to the present embodiment will be described with reference to FIGS. First, when the image processing apparatus 1 is activated, the control apparatus 30 causes the display apparatus 10 to display an initial screen 11 as shown in FIG.

初期画面11では、トレーニングモード選択ボタン11a、ランキングモード選択ボタン11b、及び対戦モード選択ボタン11cが表示され、ユーザUが入力装置20の操作によって、各ボタン11a〜11cのいずれを押下操作することにより、動作モードが選択されるようになっている。   On the initial screen 11, a training mode selection button 11a, a ranking mode selection button 11b, and a battle mode selection button 11c are displayed, and the user U presses any of the buttons 11a to 11c by operating the input device 20. The operation mode is selected.

先ず、図7、図8を参照して、トレーニングモードにおける使用例を説明する。図6に示す初期画面11Aにおいてトレーニングモード選択ボタン11aを押すと、制御装置30は、いわゆるトレーニングモードを開始し、ディスプレイ装置10に対し、図7(a)に示すようなログイン画面12Aを表示させる。ログイン画面12Aでは、パスワード入力部12aと、パスワード入力用の文字を選択するための文字一覧表示部12bとが表示される。ここで、ユーザU1(図7(b)参照)は、入力装置20を用いて、文字一覧表示部12bに表示された文字を押下操作することにより、文字を選択できるようになっている。   First, an example of use in the training mode will be described with reference to FIGS. When the training mode selection button 11a is pressed on the initial screen 11A shown in FIG. 6, the control device 30 starts a so-called training mode and causes the display device 10 to display a login screen 12A as shown in FIG. . On the login screen 12A, a password input unit 12a and a character list display unit 12b for selecting a password input character are displayed. Here, the user U1 (see FIG. 7B) can select a character by pressing the character displayed on the character list display unit 12b using the input device 20.

この時、制御装置30は、入力されたパスワードと予め登録されたパスワードとの照合を実行し、前記入力されたパスワードが正しい時には、図7(b)に示すようなトレーニング画面12Bをディスプレイ装置10に表示させる。このトレーニング画面12Bでは、ユーザU1の顔がカメラ3(図1参照)の撮影範囲に入っていた時には、顔画像が表示され、制御装置30は、ユーザU1の顔の位置の検知により、ユーザU1の顔画像を囲む枠部12cを表示させる。   At this time, the control device 30 performs verification of the input password and a pre-registered password. When the input password is correct, the control device 30 displays a training screen 12B as shown in FIG. To display. In the training screen 12B, when the face of the user U1 is within the shooting range of the camera 3 (see FIG. 1), a face image is displayed, and the control device 30 detects the position of the face of the user U1 and detects the face of the user U1. A frame portion 12c surrounding the face image is displayed.

そして、制御装置30は、トレーニング画面12Bに表示されたユーザU1の顔の各特徴部位P1〜P5(図4参照)を検知し、図3〜図5を参照して説明した前記方法に基づいて笑顔度の算出を開始する。この笑顔度の算出開始により、笑顔作りのためのトレーニングが開始される。   And the control apparatus 30 detects each characteristic site | part P1-P5 (refer FIG. 4) of the user's U1 face displayed on the training screen 12B, and based on the said method demonstrated with reference to FIGS. 3-5. Start calculating smile level. This smile start calculation starts training for making a smile.

トレーニング画面12Bでは、算出した笑顔度が枠部12cの表示部12dにて数字で示されるとともに(図では「17」)、三角形状をなす表示部12eの大小によって図形の形で表示される。表示部12eでは、笑顔度が増すほど三角形部分が拡大するようになっている。   On the training screen 12B, the calculated smile level is indicated by a number on the display portion 12d of the frame portion 12c (“17” in the figure), and is displayed in the form of a figure depending on the size of the triangular display portion 12e. In the display unit 12e, the triangular portion expands as the smile level increases.

また、本実施形態では、トレーニングモードにおいて笑顔度の算出を開始すると、タイマ装置50(図2参照)が作動し、予め設定した測定時間で、前記特徴部位P1〜P5の変化量の測定を行い、かつ笑顔度の算出を行うようになっている。トレーニング画面12Bでは、測定開始からの経過時間を示す表示部12fが表示されるとともに(図では7秒)、予め設定した測定(設定)時間(図では30秒)が表示部12gに表示されている。   In this embodiment, when calculation of the smile level is started in the training mode, the timer device 50 (see FIG. 2) is activated, and the amount of change of the characteristic parts P1 to P5 is measured during a preset measurement time. And the smile level is calculated. On the training screen 12B, a display unit 12f indicating the elapsed time from the start of measurement is displayed (7 seconds in the figure), and a preset measurement (setting) time (30 seconds in the figure) is displayed on the display unit 12g. Yes.

また、本実施形態では、制御装置30が、所定時間(例えば0.5秒)毎にユーザU1の顔画像データを抽出し、これを記憶装置40に記憶させつつ、新たに抽出された顔画像データに対して都度笑顔度を算出するようになっている。トレーニング画面12Bでは、表示部12d、12eにて笑顔度をリアルタイムで更新表示するようになっている。   In the present embodiment, the control device 30 extracts the face image data of the user U1 every predetermined time (for example, 0.5 seconds) and stores the extracted face image data in the storage device 40, while newly extracting the face image. Smile level is calculated for each data. On the training screen 12B, the smile level is updated and displayed in real time on the display units 12d and 12e.

また、トレーニング画面12Bでは、算出した笑顔度に対応したアドバイスメッセージが表示部12hに表示されるようになっている。これにより、ユーザU1に対し、笑顔度を増すために必要な事柄等をメッセージの形で伝えることができるようになっている。   On the training screen 12B, an advice message corresponding to the calculated smile level is displayed on the display unit 12h. As a result, the user U1 can be notified of matters necessary for increasing the smile level in the form of a message.

また、トレーニング画面12Bでは、予め設定された、笑顔度の目標値となる笑顔らしさ指数が表示部12iに表示されている(図では「80」)。これにより、ユーザU1は、現在の笑顔度と目標値との比較によって笑顔作りの達成度を知ることができるようになっている。   On the training screen 12B, a smileiness index that is a preset target value of the smile level is displayed on the display unit 12i (“80” in the figure). Thereby, the user U1 can know the achievement level of smile making by comparing the current smile level with the target value.

また、トレーニングモードでは、制御装置30が、このように時々刻々と更新される笑顔度を積算している。そして、この積算値と画像データの抽出回数とに基づいて都度平均値を算出しており、トレーニング画面12Bの表示部12jに平均値情報としての平均笑顔度を表示するようになっている(図では「25」)。   Further, in the training mode, the control device 30 accumulates the smile degree updated every moment in this way. An average value is calculated each time based on the integrated value and the number of times image data is extracted, and the average smile level is displayed as average value information on the display unit 12j of the training screen 12B (FIG. Then “25”).

そして、測定時間が経過すると、ディスプレイ装置10には、図8に示すようなトレーニング結果表示画面12Cが表示される。トレーニング結果表示画面12Cでは、表示部12kに、最終の総合平均笑顔度の算出結果(図では「25」)が表示される。   Then, when the measurement time has elapsed, the training result display screen 12C as shown in FIG. On the training result display screen 12C, the calculation result of the final total average smile degree (“25” in the figure) is displayed on the display unit 12k.

また、制御装置30は、測定時間中における笑顔度の最大値、つまりは最高笑顔度を記憶装置40に記憶させるようになっている。トレーニング結果表示画面12Cでは、設定時間内に記憶装置40に記憶された最高笑顔度が、最高笑顔度表示部12mにおいてMAX笑顔度として表示される(図では「61」)。また、トレーニング結果表示画面12Cでは、その下部に最大笑顔度履歴グラフ12nが表示され、ユーザU1の過去の測定結果も踏まえて生成された最大笑顔度履歴(後述)がグラフ化された形で表示されている。   In addition, the control device 30 stores the maximum value of the smile level during the measurement time, that is, the maximum smile level in the storage device 40. On the training result display screen 12C, the maximum smile level stored in the storage device 40 within the set time is displayed as the MAX smile level on the maximum smile level display unit 12m ("61" in the figure). Further, on the training result display screen 12C, a maximum smile level history graph 12n is displayed at the bottom, and a maximum smile level history (described later) generated based on the past measurement results of the user U1 is displayed in a graph form. Has been.

ところで、画像処理装置1では、入力装置20を用いたユーザU1等の適宜の操作により、図9〜図11に示すような、各種設定を行うための設定画面13を表示可能としている。図9では、設定画面13において、ユーザ管理タブ13Aが表示選択された状態を示しており、画像処理装置1を利用するユーザU1等がログインする際に必要となる個人情報等の各種管理情報が表示されている。   By the way, the image processing apparatus 1 can display a setting screen 13 for performing various settings as shown in FIGS. 9 to 11 by an appropriate operation of the user U1 or the like using the input device 20. FIG. 9 shows a state in which the user management tab 13A is displayed and selected on the setting screen 13, and various management information such as personal information required when the user U1 using the image processing apparatus 1 logs in. It is displayed.

ユーザ管理タブ13Aでは、アカウント欄13a、パスワード欄13b、個人名称欄13c、目標笑顔度欄13d、権限欄13eが表示されている。   In the user management tab 13A, an account column 13a, a password column 13b, a personal name column 13c, a target smile level column 13d, and an authority column 13e are displayed.

アカウント欄13aでは、画像処理装置1を利用可能とされるユーザに割り当てられたアカウントが示されている。パスワード欄13bでは、各ユーザが自ら設定したパスワードが示されている。個人名称欄13cでは、各ユーザの実名やニックネーム等の個人名称が示されている。   In the account column 13a, an account assigned to a user who can use the image processing apparatus 1 is shown. In the password column 13b, a password set by each user is shown. In the personal name column 13c, personal names such as real names and nicknames of the respective users are shown.

目標笑顔度欄13dでは、上述したトレーニングモードにおいて各ユーザ毎に設定された目標笑顔度が示されている。権限欄13e欄では、管理情報を変更できる権限者を示しており、ここで管理者とは、例えば、画像処理装置1の所有者、または、管理責任者とされる。   In the target smile level column 13d, the target smile level set for each user in the training mode described above is shown. The authority column 13e indicates an authorized person who can change the management information. Here, the administrator is, for example, the owner of the image processing apparatus 1 or the manager.

ここで、既に画像処理装置1のユーザとして登録された各種管理情報を変更する場合や、新たにユーザ登録する場合には、ユーザ管理タブ13Aの表示画面にて入力装置20を用いて所定の入力操作を行った後、設定・登録ボタン13fを押すことにより、その入力された情報が記憶装置40に記憶されるようになっている。   Here, when changing various management information already registered as a user of the image processing apparatus 1 or newly registering a user, a predetermined input is made using the input device 20 on the display screen of the user management tab 13A. After the operation, the inputted information is stored in the storage device 40 by pressing the setting / registration button 13f.

図10では、設定画面13において、個人設定タブ13Bが表示選択された状態を示しており、トレーニングモードで測定を行ったユーザ毎の各種情報が表示されている。   FIG. 10 shows a state where the personal setting tab 13B is selected and displayed on the setting screen 13, and various types of information for each user who has performed measurement in the training mode are displayed.

個人設定タブ13Bでは、過去にトレーニングモードで測定を行った際の測定結果に関する個人履歴情報を示しており、「トレーニングモード個人履歴」一覧において、履歴日時欄13g、最大笑顔度欄13h、平均笑顔度欄13iが表示されている。なお、これら個人履歴情報は、記憶装置40内に記憶され、ユーザの適宜の操作により制御装置30が記憶装置40内のデータを読み出して個人設定タブ13Bの表示画面に表示するようになっている。   The personal setting tab 13B shows personal history information related to the measurement result when the measurement was performed in the training mode in the past. In the “training mode personal history” list, the history date / time column 13g, the maximum smile level column 13h, the average smile A degree column 13i is displayed. The personal history information is stored in the storage device 40, and the control device 30 reads out the data in the storage device 40 and displays it on the display screen of the personal setting tab 13B by an appropriate operation of the user. .

そして、本実施形態では、過去にトレーニングモードで測定を行った際の測定結果のうち、最大笑顔度及び平均笑顔度を時系列に配列してグラフ化し、このグラフを目標笑顔度と併せて個人履歴情報として表示部13jにて表示するようになっている。該当するユーザは、最新の測定結果から遡ってグラフ化を希望する件数(前記設定時間にわたって測定を行った回数)を設定部13kにて設定できるようになっている。   In the present embodiment, among the measurement results obtained when the measurement was performed in the training mode in the past, the maximum smile degree and the average smile degree are arranged in a time series and graphed. The history information is displayed on the display unit 13j. The corresponding user can set the number of cases desired to be graphed retroactively from the latest measurement result (the number of times of measurement performed over the set time) in the setting unit 13k.

図10では、設定部13kの設定により、最新のものから10件分をグラフ化する設定となっている。この設定に基づき、図8に示すトレーニング結果表示画面12Cの最大笑顔度履歴グラフ12nでは、最新の結果も含めた過去10件分の最大笑顔度の推移が表示される。   In FIG. 10, the setting of the setting unit 13k is set to graph 10 cases from the latest. Based on this setting, the maximum smile degree history graph 12n on the training result display screen 12C shown in FIG. 8 displays the transition of the maximum smile degree for the past 10 cases including the latest result.

また、本実施形態では、トレーニングモードにおいて算出された平均笑顔度や最高笑顔度等の個人履歴情報の他にも、最高笑顔度を示したユーザU1の顔画像データを記憶装置40に記憶できるようになっている。   In the present embodiment, in addition to the personal history information such as the average smile level and the maximum smile level calculated in the training mode, the face image data of the user U1 indicating the maximum smile level can be stored in the storage device 40. It has become.

ここで、設定部13mでは、ユーザ自身が、最大笑顔度における顔画像データ(写真)を保存するか、または、トレーニングモードにおけるユーザの個人履歴情報を保存するか、またはその両方を保存するかを指定できるようになっており、この選択結果に基づいて、制御装置30は、記憶装置40に記憶するデータを選択する。   Here, in the setting unit 13m, the user himself / herself saves the face image data (photograph) at the maximum smile degree, or saves the user's personal history information in the training mode, or both. The control device 30 selects data to be stored in the storage device 40 based on the selection result.

また、個人設定タブ13Bでは、設定部13nにて、トレーニングモードにおける目標笑顔度(トレーニング画面12Bにおける「笑顔らしさ」)を設定できるようになっている。   In the personal setting tab 13B, the setting section 13n can set a target smile level in the training mode (“smileiness” on the training screen 12B).

ここで、個人設定タブ13Bの設定部13k、13m、13nにて設定値の新規設定操作、または変更操作がなされた場合には、設定・登録ボタン13pを押すことにより、その設定、変更された情報が記憶装置40に記憶されるようになっている。   Here, when a setting value is newly set or changed in the setting sections 13k, 13m, 13n of the personal setting tab 13B, the setting / registration button 13p is pressed to change the setting. Information is stored in the storage device 40.

図11では、設定画面13において、全体設定タブ13Cが表示選択された状態を示しており、上述したトレーニングモードの他、後述するランキングモード、対戦モードに関連する各種情報が表示されている。   FIG. 11 shows a state where the overall setting tab 13C is displayed and selected on the setting screen 13, and various information related to the ranking mode and the battle mode described later are displayed in addition to the training mode described above.

全体設定タブ13Cでは、表示部12h(図7参照)に表示されるメッセージパターンが表示されており、「笑顔度とアドバイスメッセージ」一覧において、笑顔度欄13q、アドバイスメッセージ欄13rが表示されている。   In the overall setting tab 13C, a message pattern displayed on the display unit 12h (see FIG. 7) is displayed, and a smile level column 13q and an advice message column 13r are displayed in the “smile level and advice message” list. .

記憶装置40では、笑顔度に応じて異なる文言が設定されたアドバイスメッセージパターンが記憶されており、そのパターン一覧が「笑顔度とアドバイスメッセージ」一覧に示されている。   The storage device 40 stores advice message patterns in which different words are set according to the smile level, and the pattern list is shown in the “smile level and advice message” list.

ここで、前記アドバイスメッセージは、制御装置30の制御によって、図12に示すように、顔画像データの複数抽出回毎に(図では6抽出回毎であって、つまりは3秒毎)に更新されるようになっている。図12では、ハッチングを施した抽出回での笑顔度に基づき、次の顔画像データ抽出時にアドバイスメッセージを更新表示するようになっている。例えば、図12において、抽出回数が12回目の時には、笑顔度が「16」であるため、抽出回数が13回目の時には、図11の前記一覧に基づいて、笑顔度「16」に対応する「精一杯の笑顔を!」とのアドバイスメッセージが表示される。   Here, as shown in FIG. 12, the advice message is updated every plurality of extraction times of face image data (in the drawing, every 6 extraction times, that is, every 3 seconds) under the control of the control device 30. It has come to be. In FIG. 12, an advice message is updated and displayed at the time of the next face image data extraction based on the degree of smile at the extraction time when hatching is performed. For example, in FIG. 12, when the number of extractions is the twelfth, the smile degree is “16”. Therefore, when the number of extractions is the thirteenth, the smile degree “16” corresponding to the smile degree “16” is displayed based on the list of FIG. An advice message is displayed, saying, “Please smile as much as you can!”.

なお、現在の笑顔度に限らず、測定開始からの平均笑顔度に基づいて、前記一覧からアドバイスメッセージを選択するようにしてもよい。また、6抽出回分(3秒間)の平均笑顔度に基づいて、前記一覧からアドバイスメッセージを選択するようにしてもよい。   In addition, you may make it select an advice message from the said list based not only on the present smile degree but on the average smile degree from the measurement start. Further, an advice message may be selected from the list based on the average smile level of 6 extractions (3 seconds).

また、制御装置30におけるアドバイスメッセージの更新は、各抽出回毎に実行するものの、ユーザU1がメッセージ内容を把握するのに要する時間を考慮して、抽出回数が所定回(例えば、6抽出回)に達するまで表示状態を維持するように制御してもよい。   In addition, although the update of the advice message in the control device 30 is executed at each extraction time, the number of extraction times is predetermined (for example, 6 extraction times) in consideration of the time required for the user U1 to grasp the message content. Control may be performed to maintain the display state until reaching.

また、図11に示す全体設定タブ13Cでは、設定部13sにて、トレーニングモードにおける測定時間、設定部13tにて、ランキングモードにおけるランキング時間(測定時間)、設定部13uにて、ランキング維持笑顔度(後述)、設定部13vにて、対戦モード時における対戦時間(測定時間)を設定できるようになっている。   In the overall setting tab 13C shown in FIG. 11, the setting unit 13s sets the measurement time in the training mode, the setting unit 13t sets the ranking time (measurement time) in the ranking mode, and the setting unit 13u sets the ranking maintaining smile degree. In the setting unit 13v (described later), the battle time (measurement time) in the battle mode can be set.

また、設定部13wでは、全ユーザについて、最大笑顔度における顔画像データ(写真)を保存するか、または、トレーニングモードにおけるユーザの個人履歴情報を保存するか、またはその両方を保存するかを指定できるようになっている。そして、最新の測定結果から遡って記憶する件数を設定部13xにて設定できるようになっている。制御装置30は、この設定部13xでの選択結果に基づいて記憶装置40に記憶するデータを選択する。   In addition, the setting unit 13w designates whether to store face image data (photographs) at the maximum smile level, or save personal history information of users in the training mode, or both for all users. It can be done. And the number of cases to be stored retroactively from the latest measurement result can be set by the setting unit 13x. The control device 30 selects data to be stored in the storage device 40 based on the selection result in the setting unit 13x.

ここで、全体設定タブ13Cの設定部13s〜13xにて設定値の新規設定操作、または変更操作がなされた場合には、設定・登録ボタン13yを押すことにより、その設定、変更された情報が記憶装置40に記憶されるようになっている。   Here, when a setting value new setting operation or a changing operation is performed in the setting sections 13s to 13x of the overall setting tab 13C, by pressing the setting / registration button 13y, the set and changed information is displayed. It is stored in the storage device 40.

次に、図13〜図15を参照して、ランキングモードにおける使用例を説明する。図6に示す初期画面11Aにおいてランキングモード選択ボタン11bを押すと、制御装置30は、いわゆるランキングモードを開始させ、ディスプレイ装置10に対し、図7(a)のログイン画面12Aと同様の画面を表示させる。そして、ランキングモードを使用するユーザU2(図13参照)に対し、パスワードの入力を求める。   Next, a usage example in the ranking mode will be described with reference to FIGS. When the ranking mode selection button 11b is pressed on the initial screen 11A shown in FIG. 6, the control device 30 starts a so-called ranking mode, and displays the same screen as the login screen 12A of FIG. Let Then, the user U2 (see FIG. 13) who uses the ranking mode is requested to input a password.

ここで、制御装置30では、入力されたパスワードが正しい時には、図13に示すようなランキング測定画面14Aをディスプレイ装置10に表示させる。このランキング測定画面14Aでは、トレーニングモードの場合と同様、ユーザU2の顔画像を囲む枠部14aを表示させつつ、笑顔度を算出し、該算出値を表示部14b、14cに表示させる。この笑顔度の算出開始により、後述する他ユーザと笑顔度を競うための測定が開始される。   Here, when the input password is correct, the control device 30 causes the display device 10 to display a ranking measurement screen 14A as shown in FIG. In the ranking measurement screen 14A, as in the training mode, the smile level is calculated while displaying the frame portion 14a surrounding the face image of the user U2, and the calculated value is displayed on the display portions 14b and 14c. With this smile level calculation start, measurement for competing smile levels with other users described later is started.

ランキング測定画面14Aでは、算出した笑顔度が、トレーニング画面12B(図6参照)と同様、枠部14aの表示部14bにて数字で示されるとともに(図では26)、表示部14cによって図形の形で表示される。   On the ranking measurement screen 14A, the calculated smile level is indicated by a number on the display portion 14b of the frame portion 14a (26 in the figure) as in the training screen 12B (see FIG. 6), and the shape of the figure is displayed by the display portion 14c. Is displayed.

また、ランキングモードにおいても、タイマ装置50の作動により、全体設定タブ13C(図11参照)の設定部13tにて予め設定されたランキング時間(測定時間)で測定を行うようになっている。ランキング測定画面14Aでは、測定開始からの経過時間(図では5秒)、及びランキング時間(図では30秒)が、それぞれ表示部14d、表示部14eに表示されている。   Also, in the ranking mode, the timer device 50 is operated to perform measurement at a ranking time (measurement time) preset in the setting unit 13t of the overall setting tab 13C (see FIG. 11). On the ranking measurement screen 14A, the elapsed time from the start of measurement (5 seconds in the figure) and the ranking time (30 seconds in the figure) are displayed on the display unit 14d and the display unit 14e, respectively.

また、ランキング測定画面14Aでは、既にランキングモードにおける測定を行った他ユーザの測定結果が表示部14fに表示されている。   In the ranking measurement screen 14A, the measurement results of other users who have already performed the measurement in the ranking mode are displayed on the display unit 14f.

ここで、記憶装置40では、ランキングモードで測定を行った結果に関する情報が、そのユーザの個人情報と併せて複数ユーザ分記憶されており、制御装置30が記憶装置40の前記情報を読み出すことにより、表示部14fでの表示が可能となっている。   Here, in the storage device 40, information on the result of measurement in the ranking mode is stored for a plurality of users together with the personal information of the user, and the control device 30 reads the information in the storage device 40. Display on the display unit 14f is possible.

表示部14fでは、ユーザ管理タブ13Aの表示画面で表示される個人名称、及びユーザ毎の積算ポイント数が表示され、積算ポイント数の多いユーザ(ここでは「800」ポイントを獲得した「A山B男」)から、各ユーザの結果を下方に向けて順番に並べたいわゆるランキング情報が示されている。   In the display unit 14f, the personal name displayed on the display screen of the user management tab 13A and the number of accumulated points for each user are displayed, and a user with a large number of accumulated points (here, “A mountain B that has acquired“ 800 ”points). "Man") shows so-called ranking information in which the results of each user are arranged in the downward direction.

ところで、ランキング測定画面14Aでは、全体設定をタブ13C(図11参照)の表示画面で予め設定された目標値としての維持笑顔度が表示部14gに表示されている(図では「90」)。   By the way, on the ranking measurement screen 14A, the maintenance smile degree as a target value set in advance on the display screen of the tab 13C (see FIG. 11) is displayed on the display unit 14g (“90” in the figure).

また、ランキング測定画面14Aにおいても、図13に示すように、笑顔度に対応したアドバイスメッセージが表示部14hに表示されるようになっている。   Also, on the ranking measurement screen 14A, as shown in FIG. 13, an advice message corresponding to the smile level is displayed on the display unit 14h.

ここで、ランキングモードでは、制御装置30が、算出した笑顔度と、維持笑顔度とを都度比較しており、笑顔度が維持笑顔度以上となった時、その時の笑顔度を獲得ポイントとして積算ポイントに加算し、記憶装置40に記憶するようになっている。   Here, in the ranking mode, the control device 30 compares the calculated smile level with the maintenance smile level each time. When the smile level becomes equal to or higher than the maintenance smile level, the smile level at that time is integrated as an acquisition point. The points are added and stored in the storage device 40.

例えば、図14では、抽出回数が10回目の時、笑顔度が「92」となっていることから、制御装置30は、これまでの積算ポイントに「92」ポイントを加算する。そして、同図では、積算ポイント数が「351」となった時、次に笑顔度が維持笑顔度以上となった抽出回数15回目で、再びこれまでの積算ポイント数「351」に「98」ポイントを加算し、積算ポイントを「449」とする。このようにして、ユーザU2の笑顔度が維持笑顔度「90」以上となった抽出回数のみ、その時点での笑顔度を積算ポイントにさらに加算するようになっている。   For example, in FIG. 14, when the number of extractions is the tenth, the smile level is “92”, so the control device 30 adds “92” points to the accumulated points so far. In the same figure, when the accumulated point number becomes “351”, the number of extraction times at which the smile level becomes equal to or higher than the maintenance smile level is 15th, and the accumulated point number “351” so far becomes “98” again. Points are added and the accumulated point is set to “449”. In this way, the smile level at that time is further added to the accumulated points only for the number of extractions when the smile level of the user U2 is greater than or equal to the maintenance smile level “90”.

ここで、測定時間が経過すると、ディスプレイ装置10は、図15に示すようなランキング結果表示画面14Bを表示する。ランキング結果表示画面14Bでは、表示部14iに、既に測定を終えた他ユーザの積算ポイント測定結果を含めたランキング情報を更新表示するようになっている。図示の場合、ユーザU2(アカウント「111」の「C川D子」)の積算ポイント数は「674」であり、アカウント「11」の「A山B男」(積算ポイント「800」)と、アカウント「12」の「E野F美」(積算ポイント「332」)の間の2位にランクインしたことを示している。   Here, when the measurement time has elapsed, the display device 10 displays a ranking result display screen 14B as shown in FIG. On the ranking result display screen 14B, ranking information including the accumulated point measurement results of other users who have already completed the measurement is updated and displayed on the display unit 14i. In the illustrated example, the accumulated number of points of the user U2 (account “111” “C river D child”) is “674”, and “account B11” (accumulated point “800”) of the account “11” This indicates that the user has been ranked in the second place between “E field F beauty” (accumulation point “332”) of the account “12”.

なお、このランキング結果表示画面14Bでは、アカウントを表示することに必ずしも限定されるものではなく、個人名称を表示してもよいし、個人名称とアカウントを併記した形で表示してもよい。   Note that the ranking result display screen 14B is not necessarily limited to displaying an account, and may display a personal name, or may display a personal name and an account together.

次に、図16〜図18を参照して、対戦モードにおける使用例を説明する。図に示す初期画面11Aにおいて対戦モード選択ボタン11cを押すと、制御装置30は、いわゆる対戦モードを開始させる。   Next, a usage example in the battle mode will be described with reference to FIGS. When the battle mode selection button 11c is pressed on the initial screen 11A shown in the figure, the control device 30 starts a so-called battle mode.

そして、制御装置30は、図16に示すように、カメラ3(図1参照)の撮影画像データから、初期画面11の操作を行ったユーザU3の顔画像が含まれる領域Ar1と、該領域Ar1を除いた背景画像の領域Ar2とを抽出し、図16(b)に示すように、両領域Ar1、Ar2を並列に表示した対戦画面15を表示させる。   Then, as illustrated in FIG. 16, the control device 30 includes, from the captured image data of the camera 3 (see FIG. 1), an area Ar1 that includes the face image of the user U3 who has operated the initial screen 11, and the area Ar1. A background image area Ar2 is extracted, and a battle screen 15 in which both areas Ar1 and Ar2 are displayed in parallel is displayed as shown in FIG.

ここで、対戦モードでは、図17に示すように、2人のユーザU3、U4の笑顔度を同時に算出、積算し、その積算値を競うものとなっている。図16、図17では、ユーザU3が先ず画像処理装置1の操作を行い、その後該装置1の操作を行っていないユーザU4を対戦モードでの対戦相手として誘った場合を示している。   Here, in the battle mode, as shown in FIG. 17, the smile levels of the two users U3 and U4 are simultaneously calculated and integrated, and the integrated values are competed. 16 and 17 show a case where the user U3 first operates the image processing apparatus 1 and then invites the user U4 who has not operated the apparatus 1 as an opponent in the battle mode.

この場合、仮にユーザU3の領域Ar1の画像のみをディスプレイ装置10に表示していると、ユーザU4がユーザU3に誘われた時、ユーザU4は、どこに位置すればカメラ3の撮影範囲内に入るのかが分からないという問題がある。   In this case, if only the image of the area Ar1 of the user U3 is displayed on the display device 10, when the user U4 is invited to the user U3, the user U4 is within the shooting range of the camera 3 where the user U4 is located. There is a problem of not knowing.

そこで、対戦モードでは、上述したように、ユーザU3の顔画像を含む領域Ar1を除いた背景画像の領域Ar2を表示することとし、この領域Ar2の画像に基づいて、ユーザU4自身の顔がカメラ3の撮影範囲に入るための位置、つまりは、自身の顔画像が制御装置30により検知されるための位置を容易に特定できるようにしている。   Therefore, in the battle mode, as described above, the background image area Ar2 excluding the area Ar1 including the face image of the user U3 is displayed, and the face of the user U4 himself / herself is displayed on the camera based on the image of the area Ar2. 3, that is, a position for detecting its own face image by the control device 30 can be easily specified.

具体的には、制御装置30は、先ずカメラ3の全撮影画像データの中から、既に検知した顔画像を中心とした領域Ar1を選択し、抽出する。そして、カメラ3の全撮影画像において、領域Ar1の位置に基づいて、該領域Ar1を除いた残りの領域の中から、領域Ar2のために最も広い範囲を確保することができる位置(領域)を自動的に選択する。つまり、ここでは、制御装置30は、領域Ar1以外で最も横方向、縦方向を最も広く確保することができる領域を選択して、抽出し、該領域を、背景画像表示のための領域Ar2としてディスプレイ装置10に表示させ、2人目のユーザU4を待つ。   Specifically, the control device 30 first selects and extracts a region Ar1 centered on the already detected face image from all the captured image data of the camera 3. Based on the position of the area Ar1, the position (area) that can secure the widest area for the area Ar2 among the remaining areas excluding the area Ar1 in all the captured images of the camera 3 is determined. Select automatically. That is, here, the control device 30 selects and extracts a region that can ensure the widest horizontal direction and vertical direction other than the region Ar1, and extracts the region as a region Ar2 for displaying a background image. Display on the display device 10 and wait for the second user U4.

図16に示す例では、ユーザU3の背景に、絵画αが飾られており、背景画像の領域Ar2には、額縁Fの左下の角部F1が映し出されている。ユーザU3に誘われたユーザU4は、図16(b)に表示された画像を見ながら、額縁Fの角部F1の位置を頼りに、自身の顔がカメラ3の撮影範囲に入るための位置を容易に特定することができる。   In the example illustrated in FIG. 16, the painting α is displayed on the background of the user U3, and the lower left corner F1 of the frame F is displayed in the area Ar2 of the background image. The user U4 invited by the user U3 looks at the image displayed in FIG. 16B and relies on the position of the corner F1 of the frame F so that his / her face enters the shooting range of the camera 3 Can be easily identified.

対戦するユーザU3、U4の顔画像がディスプレイ装置10に表示されると、制御装置30は、2人の顔画像を検知し、両者の笑顔度の算出を同時に開始する。そして、上述した各モードと同様、笑顔度を、枠部15a、15bの表示部15c、15dにて数字で示すとともに(図ではユーザU3の笑顔度「88」、ユーザU4の笑顔度「50」)、表示部15e、15fによって図形の形で表示させる。   When the face images of the fighting users U3 and U4 are displayed on the display device 10, the control device 30 detects the face images of the two people and starts calculating the smile levels of the two at the same time. As in the above-described modes, the smile level is indicated by numbers on the display portions 15c and 15d of the frame portions 15a and 15b (in the figure, the smile level of the user U3 is “88” and the smile level of the user U4 is “50”). ) And displayed in the form of a figure by the display units 15e and 15f.

また、対戦モードにおいても、タイマ装置50の動作により、全体設定タブ13C(図11参照)の設定部13vにて予め設定された対戦時間(測定時間)で測定を行うようになっており、対戦画面15では、対戦開始からの経過時間が表示部15g(図では4秒)に表示されている。   Also in the battle mode, the timer device 50 operates to measure the battle time (measurement time) set in advance by the setting unit 13v of the overall setting tab 13C (see FIG. 11). On the screen 15, the elapsed time from the start of the battle is displayed on the display unit 15g (4 seconds in the figure).

ここで、対戦モードでは、制御装置30が、両者の笑顔度を算出するとともに、その笑顔度を積算し、その結果を記憶装置40に記憶するようになっている。   Here, in the battle mode, the control device 30 calculates the smile levels of both, accumulates the smile levels, and stores the results in the storage device 40.

また、対戦画面15では、比率情報表示部としての対戦バー15hが表示されており、上述した両ユーザU3、U4の笑顔度の積算値の比がバー15h1、15h2の長さの比率によって図形の形で示されるようになっている。   Also, the battle screen 15 displays a battle bar 15h as a ratio information display unit, and the ratio of the smile values of both users U3 and U4 described above depends on the ratio of the lengths of the bars 15h1 and 15h2. As shown in the form.

例えば、図18では、抽出回数が41回目の時、ユーザU3の笑顔度が「50」であり、前回までの積算値が「200」であることから、制御装置30は、これまでの積算値「200」に、新たに算出した笑顔度「50」を加算する(図中の(1))。また、この時、ユーザU4の笑顔度が「80」であり、前回の積算値が「240」であることから、制御装置30は、これまでの積算値「240」に、新たに算出した笑顔度「80」を加算する(図の(2))。   For example, in FIG. 18, when the number of extractions is the 41st, the smile level of the user U3 is “50”, and the integrated value up to the previous time is “200”. The newly calculated smile degree “50” is added to “200” ((1) in the figure). At this time, since the smile level of the user U4 is “80” and the previous integrated value is “240”, the control device 30 sets the newly calculated smile to the previous integrated value “240”. The degree “80” is added ((2) in the figure).

そして、制御装置30は、両ユーザU3、U4の積算値の総和を算出し(図中の(1)+(2))、該総和に対するユーザU3の積算値の比率(図の(1)/(1)+(2))、及びユーザU4の積算値の比率(図の(2)/(1)+(2))を算出する。   Then, the control device 30 calculates the sum of the integrated values of both users U3 and U4 ((1) + (2) in the figure), and the ratio of the integrated value of the user U3 to the sum ((1) / in the figure). (1) + (2)) and the ratio of the integrated values of the user U4 ((2) / (1) + (2) in the figure) are calculated.

対戦バー15hでは、図17に示すように、ユーザU3、U4の位置に対応して異なる色のバー15h1、15h2が表示される。そして、この対戦バー15hでは、算出されたユーザU3の積算値の比率、及びユーザU4の積算値の比率に基づいて、その比率を、対戦画面15のバー15h1、15h2の画面横方向における長さの比によって表現している。   In the battle bar 15h, as shown in FIG. 17, bars 15h1 and 15h2 having different colors corresponding to the positions of the users U3 and U4 are displayed. And in this battle | competition bar 15h, based on the calculated ratio of the integrated value of the user U3 and the ratio of the integrated value of the user U4, the ratio is set to the length in the horizontal direction of the bars 15h1 and 15h2 of the battle screen 15. It is expressed by the ratio of.

ここで、対戦時間が経過すると、ディスプレイ装置10は、最終的に前記比率が高かった側(ここではユーザU3)に、勝利者であることを示す「Win!」の文字15iを表示させ、この表示をもって対戦結果の表示とする。   Here, when the battle time elapses, the display device 10 finally displays the letters “Win!” 15i indicating that the player is a winner on the side where the ratio is high (here, the user U3). The display is the display of the match result.

なお、この対戦モードでは、終了間際の所定時間において、加算する笑顔度に重み付けをし、終盤での逆転の可能性を持たせるようにしてもよい。これにより、ゲーム性を高めることができ、ユーザに対し、笑顔作りの楽しさをより強く認識させることができる。   In this battle mode, the smile level to be added may be weighted at a predetermined time just before the end to give a possibility of reverse at the end. Thereby, game nature can be raised and it can make a user recognize the joy of making a smile more strongly.

また、対戦モードにおいては、上述したトレーニングモード及びランキングモードとは異なり、対戦画面15にアドバイスメッセージを表示しないこととしたが、対戦モードにおいてもアドバイスメッセージを表示するようにしてもよい。   In the battle mode, unlike the training mode and the ranking mode described above, the advice message is not displayed on the battle screen 15. However, the advice message may also be displayed in the battle mode.

次に、図19、図20に示すフローチャートとともに、本実施形態に係る画像処理装置1のトレーニングモードにおける動作について説明する。
制御装置30は、トレーニングモード選択ボタン11a(図6参照)を押す所定の操作がユーザによってなされたか否かを監視している(ステップS1)。制御装置30が、前記所定の操作ありと判定し(ステップS1:YES)、ユーザU1のログイン操作(パスワード入力等)がなされると(ステップS2)、制御装置30は、ユーザU1の顔画像検知処理を実行する(ステップS3)。一方、前記所定の操作がなされていないと判定した場合には(ステップS1:NO)、ステップS1の処理を継続する。
Next, the operation in the training mode of the image processing apparatus 1 according to the present embodiment will be described with the flowcharts shown in FIGS. 19 and 20.
The control device 30 monitors whether or not a predetermined operation for pressing the training mode selection button 11a (see FIG. 6) has been performed by the user (step S1). When the control device 30 determines that the predetermined operation is present (step S1: YES) and the user U1 performs a login operation (password input or the like) (step S2), the control device 30 detects the face image of the user U1. Processing is executed (step S3). On the other hand, when it is determined that the predetermined operation has not been performed (step S1: NO), the process of step S1 is continued.

ステップS3においてユーザU1の顔画像を検知すると、制御装置30は、顔画像データを抽出して、ディスプレイ装置10に表示させるとともに、顔画像データを記憶装置40に記憶させる(ステップS4)。そして、抽出した顔画像データに対し、笑顔度算出サブルーチンを実行する(ステップS5)。   When the face image of the user U1 is detected in step S3, the control device 30 extracts the face image data, displays it on the display device 10, and stores the face image data in the storage device 40 (step S4). Then, a smile degree calculation subroutine is executed on the extracted face image data (step S5).

笑顔度算出サブルーチンでは、図20に示すように、先ず、三次元顔モデルM(図3参照)をユーザU1の顔画像データに適合させるフィッティングを行い(ステップS51)、ユーザU1の顔形状を特定する(ステップS52)。   In the smile degree calculation subroutine, as shown in FIG. 20, first, fitting is performed to match the three-dimensional face model M (see FIG. 3) with the face image data of the user U1 (step S51), and the face shape of the user U1 is specified. (Step S52).

次に、制御装置30は、顔の特徴部位P1〜P5の変化を測定し(ステップS53)、特徴部位P1〜P5の変化に対応する各度数を求める。そして、これら各度数の平均値の算出による統合推論を実行することにより(ステップS54)、笑顔度を求め、笑顔度算出サブルーチンを終了する。   Next, the control device 30 measures changes in the facial feature parts P1 to P5 (step S53), and obtains frequencies corresponding to the changes in the feature parts P1 to P5. Then, by executing integrated reasoning by calculating the average value of these frequencies (step S54), the smile level is obtained, and the smile level calculation subroutine is terminated.

図19に戻り、制御装置30は、算出した笑顔度の積算値、及び平均笑顔度を算出しつつ、ディスプレイ装置10に対し、笑顔度と併せて平均笑顔度を表示させる。そして、この時、同時に笑顔度を記憶装置40に記憶させる(ステップS6)。   Returning to FIG. 19, the control device 30 causes the display device 10 to display the average smile degree together with the smile degree while calculating the integrated value of the calculated smile degree and the average smile degree. At this time, the smile level is simultaneously stored in the storage device 40 (step S6).

また、制御装置30は、アドバイスメッセージの更新タイミングであるか否かを判定し(ステップS7)、該更新タイミングであると判定すると(ステップS7:YES)、記憶装置40から、笑顔度に対応するアドバイスメッセージを読み出してこれを表示し(ステップS8)、ステップS9に移行する。一方、更新タイミングでないと判定した時には(ステップS7:NO)、制御装置30は、アドバイスメッセージを更新することなくステップS9に移行する。   Further, the control device 30 determines whether or not it is the update timing of the advice message (step S7), and if it is determined that it is the update timing (step S7: YES), it corresponds to the smile degree from the storage device 40. The advice message is read and displayed (step S8), and the process proceeds to step S9. On the other hand, when it is determined that it is not the update timing (step S7: NO), the control device 30 proceeds to step S9 without updating the advice message.

ステップS9では、制御装置30が、測定時間が所定の設定時間に達したか否かを判定する。ここで、所定の測定時間が経過した場合には(ステップS9:YES)、制御装置30は、ステップS10に移行し、前記測定時間が経過していない場合には(ステップS9:NO)、ステップS3に戻り、ステップS3以降の処理を繰り返す。   In step S9, the control device 30 determines whether or not the measurement time has reached a predetermined set time. Here, when the predetermined measurement time has elapsed (step S9: YES), the control device 30 proceeds to step S10, and when the measurement time has not elapsed (step S9: NO), the step Returning to S3, the processes after step S3 are repeated.

制御装置30は、ステップS10において記憶装置40に記憶した笑顔度のデータから測定時間内における最高笑顔度を検索し、該最高笑顔度を、最終の総合平均笑顔度とともに、ディスプレイ装置10のトレーニング結果表示画面12Cに表示させる(ステップS11)。   The control device 30 retrieves the maximum smile degree within the measurement time from the smile degree data stored in the storage device 40 in step S10, and uses the maximum smile degree together with the final overall average smile degree as a training result of the display device 10. It is displayed on the display screen 12C (step S11).

次に、設定画面13にて、最高笑顔度を示した顔画像データの保存が指定されている場合(ステップS12:YES)、制御装置30は、最高笑顔度を示した顔画像データを記憶装置40に記憶させて(ステップS13)、ステップS14に移行する一方、顔画像データの保存が指定されていない場合(ステップS12:NO)、制御装置30は、顔画像データの記憶処理を実行することなく、ステップS14に移行する。   Next, when saving of the face image data indicating the maximum smile level is designated on the setting screen 13 (step S12: YES), the control device 30 stores the face image data indicating the maximum smile level as a storage device. 40 (step S13), the process proceeds to step S14, but when the saving of the face image data is not designated (step S12: NO), the control device 30 executes the storing process of the face image data. Instead, the process proceeds to step S14.

ここで、最高笑顔度を示した顔画像データ以外の画像データや、最高笑顔度を示した顔画像データの保存が指定されていない場合の画像データは、記憶装置40の容量を確保するために、適宜のタイミングで削除するのが好ましい。   Here, image data other than the face image data indicating the highest smile level, or image data when the storage of the face image data indicating the highest smile level is not designated is used to secure the capacity of the storage device 40. It is preferable to delete at an appropriate timing.

次に、設定画面13にて、ユーザU1の個人履歴情報の保存が指定されている場合(ステップS14:YES)、制御装置30は、平均値及び最高笑顔度のデータを記憶装置40に記憶させて、過去のユーザU1の測定結果に、今回測定した平均値及び最高笑顔度の結果を加えて個人履歴情報を更新する(ステップS15)。そして、制御装置30は、個人履歴情報に関連するグラフを作成し(ステップS16)、そのうち、最高笑顔度のグラフをトレーニング結果表示画面12Cに表示させて(ステップS17)、一連の処理を終了する。   Next, when saving of the personal history information of the user U1 is specified on the setting screen 13 (step S14: YES), the control device 30 stores the average value and the maximum smile degree data in the storage device 40. Then, the personal history information is updated by adding the result of the average value and the maximum smile degree measured this time to the past measurement result of the user U1 (step S15). Then, the control device 30 creates a graph related to the personal history information (Step S16), displays the graph of the highest smile level on the training result display screen 12C (Step S17), and ends the series of processes. .

一方、ユーザU1の個人履歴情報の保存が指定されていない場合(ステップS14:NO)、制御装置30は、ユーザU1の個人履歴情報のデータを記憶装置40に記憶させることなく、一連の処理を終了する。   On the other hand, when the storage of the personal history information of the user U1 is not designated (step S14: NO), the control device 30 performs a series of processes without storing the data of the personal history information of the user U1 in the storage device 40. finish.

次に、図21に示すフローチャートとともに、本実施形態に係る画像処理装置1のランキングモードにおける動作について説明する。
制御装置30は、トレーニングモード選択ボタン11b(図6参照)を押す所定の操作がユーザによってなされたか否かを監視している(ステップS101)。制御装置30が、前記所定の操作ありと判定し(ステップS101:YES)、ユーザU2のログイン操作がなされると(ステップS102)、図19のステップS3〜S5に対応するステップS103〜S105の処理を実行する。そして、ステップS106において、ディスプレイ装置10に対し、笑顔度を表示させつつ、この笑顔度を記憶装置40に記憶させる。一方、前記所定の操作がなされていないと判定した場合には(ステップS101:NO)、ステップS101の処理を継続する。
Next, the operation in the ranking mode of the image processing apparatus 1 according to the present embodiment will be described with the flowchart shown in FIG.
The control device 30 monitors whether or not a predetermined operation for pressing the training mode selection button 11b (see FIG. 6) has been performed by the user (step S101). When the control device 30 determines that the predetermined operation is present (step S101: YES) and the user U2 performs a login operation (step S102), the processing of steps S103 to S105 corresponding to steps S3 to S5 in FIG. Execute. In step S <b> 106, the smile degree is displayed on the display device 10 and the smile degree is stored in the storage device 40. On the other hand, if it is determined that the predetermined operation has not been performed (step S101: NO), the process of step S101 is continued.

ステップS107では、制御装置30が、算出した笑顔度が維持笑顔度(目標値)以上であるか否かを判定し、笑顔度が維持笑顔度以上であると判定すると(ステップS107:YES)、笑顔度の積算を実行して(ステップ108)、ステップS109に移行する一方、笑顔度が維持笑顔度以上でなければ(ステップS107:NO)、笑顔度の積算を実行することなくステップS109に移行する。   In step S107, the control device 30 determines whether or not the calculated smile level is equal to or higher than the maintenance smile level (target value), and if it is determined that the smile level is equal to or higher than the maintenance smile level (step S107: YES), Smile level integration is performed (step 108), and the process proceeds to step S109. If the smile level is not equal to or greater than the maintenance smile level (step S107: NO), the process proceeds to step S109 without performing smile level integration. To do.

ステップS109、S110では、図19におけるステップSS7、S8と同様の処理がなされ、ステップS110において、所定の測定時間が経過した場合(ステップS111:YES)、制御装置30は、ステップS112に移行し、前記測定時間が経過していない場合には(ステップS111:NO)、ステップS103に戻り、ステップS103以降の処理を繰り返す。   In steps S109 and S110, processing similar to that in steps SS7 and S8 in FIG. 19 is performed. When a predetermined measurement time has elapsed in step S110 (step S111: YES), the control device 30 proceeds to step S112. When the measurement time has not elapsed (step S111: NO), the process returns to step S103, and the processes after step S103 are repeated.

ステップS112では、笑顔度の積算値データをランキング表示するための登録処理がなされる(ステップS112)。そして、ステップS113では、既に他ユーザの積算値が登録されているか否かを判定する。ここで、既に登録がある場合には(ステップS113:YES)、ステップS112で登録された積算値データを踏まえて、制御装置30がランキングの並べ替えを実行する(ステップS114)。そして、最新のランキング情報を表示し(ステップS115)、ステップS116に移行する。一方、他ユーザの積算値登録がない場合には(ステップS112:NO)、ランキングの並べ替え等を実行することなくステップS116に移行する。   In step S112, registration processing for ranking display of smile value integrated value data is performed (step S112). In step S113, it is determined whether or not the integrated value of another user has already been registered. Here, when there is already registration (step S113: YES), the control device 30 rearranges the ranking based on the integrated value data registered in step S112 (step S114). Then, the latest ranking information is displayed (step S115), and the process proceeds to step S116. On the other hand, if there is no other user's accumulated value registration (step S112: NO), the process proceeds to step S116 without performing ranking rearrangement or the like.

ステップS116では、制御装置30が、図19のステップS12に対応する処理を実行する。ここで、最高笑顔度を示した顔画像データの保存が指定されている場合(ステップS116:YES)、制御装置30は、最高笑顔度を検索し(ステップS117)、該最高笑顔度を示した顔画像データを記憶装置40に記憶させて(ステップS118)、一連の処理を終了する。一方、顔画像データの保存が指定されていない場合(ステップS116:NO)、制御装置30は、最高笑顔度の検索処理や、顔画像データの記憶処理を実行することなく、一連の処理を終了する。   In step S116, the control device 30 executes a process corresponding to step S12 in FIG. Here, when saving of face image data indicating the maximum smile level is designated (step S116: YES), the control device 30 searches for the maximum smile level (step S117) and indicates the maximum smile level. The face image data is stored in the storage device 40 (step S118), and the series of processing ends. On the other hand, when the saving of the face image data is not designated (step S116: NO), the control device 30 ends the series of processes without executing the search process of the highest smile level and the storage process of the face image data. To do.

次に、図22に示すフローチャートとともに、本実施形態に係る画像処理装置1の対戦モードにおける動作について説明する。
制御装置30は、トレーニングモード選択ボタン11c(図6参照)を押す所定の操作がユーザによってなされたか否かを監視している(ステップS201)。制御装置30が、前記所定の操作ありと判定すると(ステップS201:YES)、図19のステップS3、S4に対応するステップS202、S203の処理を実行する。ここで、制御装置30は、ステップS203において、カメラ3の全撮影画像データの中から、既に検知した顔画像を中心とした領域Ar1(図16、図17参照)を選択して、抽出し、ディスプレイ装置10に領域Ar1を表示させる。
Next, the operation in the battle mode of the image processing apparatus 1 according to the present embodiment will be described with the flowchart shown in FIG.
The control device 30 monitors whether or not a predetermined operation for pressing the training mode selection button 11c (see FIG. 6) has been performed by the user (step S201). When the control device 30 determines that the predetermined operation is present (step S201: YES), the processing of steps S202 and S203 corresponding to steps S3 and S4 in FIG. 19 is executed. Here, in step S203, the control device 30 selects and extracts an area Ar1 (see FIGS. 16 and 17) centered on the already detected face image from all the captured image data of the camera 3, The area Ar1 is displayed on the display device 10.

一方、前記所定の操作がなされていないと判定した場合には(ステップS201:NO)、ステップS201の処理を継続する。   On the other hand, when it is determined that the predetermined operation has not been performed (step S201: NO), the process of step S201 is continued.

ステップS204では、制御装置30が、背景画像表示のための領域Ar2の検索を行う。具体的には、カメラ3の全撮影画像データと、領域Ar1の全画像データ内における位置とに基づいて領域Ar1を除いた領域の中から、最も広範囲な領域Ar2を検索する。   In step S204, the control device 30 searches for the area Ar2 for displaying the background image. Specifically, the most extensive area Ar2 is searched from the areas excluding the area Ar1 based on the entire captured image data of the camera 3 and the position of the area Ar1 in the entire image data.

そして、ステップS205では、ステップS204の検索結果に基づいて、制御装置30が、領域Ar2を背景画像表示領域として選択して、抽出し、ディスプレイ装置10に領域Ar2を表示させる。   In step S205, based on the search result in step S204, the control device 30 selects and extracts the region Ar2 as the background image display region, and causes the display device 10 to display the region Ar2.

次に、制御装置30は、第2のユーザU4の顔画像を検知すると(ステップS206)、2人のユーザU3、U4の顔画像を同時に抽出してディスプレイ装置10に表示させつつ、顔画像データを記憶装置40に記憶させる(ステップS207)。   Next, when detecting the face image of the second user U4 (step S206), the control device 30 extracts the face images of the two users U3 and U4 simultaneously and displays them on the display device 10 while displaying the face image data. Is stored in the storage device 40 (step S207).

ここで、制御装置30は、図19におけるステップS5に対応するステップS208を実行する。そして、ステップS209では、制御装置30が、ディスプレイ装置10に対し、各ユーザU3、U4の笑顔度を表示させ、この笑顔度を記憶装置40に記憶させると同時に、ユーザU3、U4の笑顔度の各積算値、及び該積算値の比率を算出する。そして、ステップS209における算出結果に基づき、制御装置30は、対戦画面15における対戦バーの表示を更新する(ステップS210)。   Here, the control device 30 executes Step S208 corresponding to Step S5 in FIG. In step S209, the control device 30 causes the display device 10 to display the smile levels of the users U3 and U4, and stores the smile levels in the storage device 40. At the same time, the control device 30 stores the smile levels of the users U3 and U4. Each integrated value and the ratio of the integrated values are calculated. And based on the calculation result in step S209, the control apparatus 30 updates the display of the battle bar on the battle screen 15 (step S210).

次に、ステップS211では、図19におけるステップS9に対応する処理がなされ、ステップS210において、所定の測定時間が経過した場合には(ステップS211:YES)、制御装置30は、ステップS212に移行し、前記測定時間が経過していない場合には(ステップS211:NO)、ステップS206に戻り、ステップS206以降の処理を繰り返す。   Next, in step S211, processing corresponding to step S9 in FIG. 19 is performed. When a predetermined measurement time has elapsed in step S210 (step S211: YES), the control device 30 proceeds to step S212. If the measurement time has not elapsed (step S211: NO), the process returns to step S206, and the processes after step S206 are repeated.

ステップS212では、制御装置30が、最終の積算値の比率に基づき、勝敗結果を判定し、そして、ステップS213では、ステップS212の判定に基づく対戦結果を表示する。   In step S212, the control device 30 determines the winning / losing result based on the ratio of the final integrated value, and in step S213, the battle result based on the determination in step S212 is displayed.

ステップS214〜S216では、制御装置30が、図21のステップS116〜S118に対応する処理を実行し、その後一連の処理を終了する。   In Steps S214 to S216, the control device 30 executes processing corresponding to Steps S116 to S118 in FIG. 21, and then ends a series of processing.

このように、本実施形態に係る画像処理装置1では、いずれのモードにおいても、測定時間内において、制御装置30が笑顔度を積算し、その積算値に基づいて、トレーニングモードにおける平均値情報(総合平均笑顔度)、ランキングモードにおけるランキング情報、及び対戦モードにおける比率情報を生成し、ディスプレイ装置10にて各種情報を表示させるようになっている。   As described above, in the image processing apparatus 1 according to the present embodiment, in any mode, the control device 30 integrates the smile level within the measurement time, and based on the integrated value, the average value information in the training mode ( Total average smile degree), ranking information in ranking mode, and ratio information in battle mode are generated, and various information is displayed on the display device 10.

この測定時間内における笑顔度の積算により、ユーザU1〜U4は、瞬間的な笑顔のみならず、測定時間内における自身の笑顔の持続性を客観的に評価することができ、その結果、ユーザの笑顔の状態をより正確に評価することができる。   By integrating the smile level within the measurement time, the users U1 to U4 can objectively evaluate not only the instantaneous smile but also the persistence of their smile within the measurement time. Smile status can be evaluated more accurately.

また、特に、トレーニングモードのトレーニング画面12Bにおいて、積算値に基づいた平均笑顔度と、笑顔度の目標値(笑顔らしさ)とを併せて表示することにより、測定時間内における笑顔の持続性の度合いと、目標との差を容易に認識することができる。そして、ユーザU1が今後笑顔作りのトレーニングを続けるにあたり、前記差分を、トレーニングのスケジュールやトレーニングメニュー等を設定する際の目安とすることができる。   In particular, on the training screen 12B in the training mode, the average smile degree based on the integrated value and the target value (smileiness) of the smile degree are displayed together, and the degree of smile persistence within the measurement time And the difference from the target can be easily recognized. Then, when the user U1 continues training for making a smile in the future, the difference can be used as a guideline when setting a training schedule, a training menu, and the like.

また、図10のグラフ13jのように、1人のユーザU1に対し、複数件分の平均笑顔度の推移を個人履歴情報として表示することにより、ユーザU1は、自身の笑顔の持続性がどの程度向上しているかといったトレーニングの成果をより長期的にウォッチングすることができる。従って、今後のトレーニングのスケジュールやトレーニングメニュー等の設定をより容易なものとすることができる。   Further, as shown in the graph 13j of FIG. 10, by displaying the transition of the average smile degree for a plurality of cases as the personal history information for one user U1, the user U1 has the ability to maintain his / her smile. It is possible to watch the training results such as the degree of improvement in the long term. Therefore, it is possible to more easily set a schedule for a future training, a training menu, and the like.

このトレーニングモードは、例えば、接客業において、始業前の従業員が笑顔作りのウォーミングアップを行う場合、または新人の従業員が、笑顔の持続性向上を図る場合に好適である。また、個人の場合であっても、友人、知人に対する印象度を向上させたい場合に好適である。   This training mode is suitable, for example, in the hospitality business when an employee before starting work warms up to make a smile, or when a new employee tries to improve the sustainability of a smile. Moreover, even if it is an individual, it is suitable when it is desired to improve the degree of impression to friends and acquaintances.

また、特に、ランキングモードにおいて、他ユーザの積算値の結果をランキング情報として表示することにより、自身の笑顔の持続性と他ユーザの笑顔の持続性とを相対的に評価することができる。このため、画像処理装置1を使用する複数のユーザ同士で競争意識を高揚させることができ、その結果、笑顔の持続性向上をより促進させることができる。   In particular, in the ranking mode, by displaying the result of the integrated value of other users as ranking information, it is possible to relatively evaluate the persistence of own smile and the persistence of smiles of other users. For this reason, a plurality of users who use the image processing apparatus 1 can enhance competition consciousness, and as a result, it is possible to further promote the improvement of the smile sustainability.

このランキングモードは、例えば、接客業において、全従業員の笑顔の持続性向上を図る場合に好適であり、各従業員の競争意識高揚により、店舗内において顧客に与える印象度を向上させることができる。   This ranking mode is suitable for improving the sustainability of all employees' smiles, for example, in the hospitality industry, and it is possible to improve the degree of impression given to customers in the store by raising the competitive awareness of each employee. it can.

また、特に、対戦モードにおいて、複数(図17、図22では2人)のユーザの笑顔度の積算値を同時に算出し、該積算値の比率情報を表示するようにしたことで、笑顔作りをゲーム感覚で楽しむことができ、ユーザは、持続的な笑顔を自然に身に付けることが可能になる。   In addition, in particular, in the battle mode, the integrated value of smile levels of a plurality of users (two people in FIGS. 17 and 22) is calculated at the same time, and the ratio information of the integrated values is displayed, thereby making a smile. The game can be enjoyed as if it were a game, and the user can naturally wear a continuous smile.

また、トレーニング画面12Bやランキング測定画面14Aにおいて、測定時間内に笑顔度に応じたアドバイスメッセージを表示させることにより、測定中のユーザU1に対し、リアルタイムで的確なアドバイスを送ることができ、その結果、笑顔の持続性のさらなる向上を図ることができる。   Further, by displaying an advice message corresponding to the smile level within the measurement time on the training screen 12B and the ranking measurement screen 14A, it is possible to send accurate advice in real time to the user U1 who is measuring, and as a result. , Can further improve the sustainability of smiles.

また、測定時間内における最高笑顔度を検索し、その時の顔画像データを記憶装置40に記憶するようにしたことで、測定を行ったユーザ自身、または他ユーザが笑顔作りのためのトレーニングを行うにあたり、最高笑顔度を示した顔画像データを参考材料として使用することができる。   Further, by searching for the maximum smile level within the measurement time and storing the face image data at that time in the storage device 40, the user who performed the measurement or another user performs training for making a smile. In this case, face image data showing the maximum smile level can be used as a reference material.

ところで、上述したトレーニングモードでは、算出した平均値に基づき平均値情報としての総合平均笑顔度を表示することとしたが、新たに適正検査モードなるものを設け、前記総合平均笑顔度を絶対的に評価する評価基準を予め設定し、前記総合平均笑顔度の結果をランク付けした評価ランク情報を表示するようにしてもよい。   By the way, in the training mode described above, the total average smile level is displayed as average value information based on the calculated average value. However, a new appropriate inspection mode is provided, and the total average smile level is absolutely set. Evaluation criteria to be evaluated may be set in advance, and evaluation rank information ranking the results of the overall average smile degree may be displayed.

図23(a)は、適性検査モードにおける適正検査画面112を示している。図23(a)は、例えば、宿泊施設等の受付業務を担当する従業員としての適正を検査すべく、受験者U5の笑顔度を測定している場合を示している。   FIG. 23A shows a proper inspection screen 112 in the proper inspection mode. FIG. 23A shows a case where the degree of smile of the examinee U5 is measured in order to check the suitability as an employee who is in charge of reception work such as accommodation facilities.

適正検査画面112Aでは、枠部12c(図6参照)と同様、笑顔度が、枠部112aの表示部112b、及び表示部112cによって図形の形で表示される(図では「70」)。   On the appropriate inspection screen 112A, as in the frame portion 12c (see FIG. 6), the smile level is displayed in the form of a graphic (“70” in the figure) by the display portion 112b and the display portion 112c of the frame portion 112a.

また、適正試験モードにおいても、タイマ装置50の動作により、予め設定された設定時間(測定時間)で測定を行うようになっている。適性検査画面112Aでは、測定開始からの経過時間が表示部112d(図では1分)で表示される。また、適正検査画面112Aでは、平均笑顔度(図では「72」)が表示部112e、測定時間が表示部112fに表示されている。   Further, even in the proper test mode, measurement is performed at a preset time (measurement time) by the operation of the timer device 50. On the aptitude test screen 112A, the elapsed time from the start of measurement is displayed on the display unit 112d (1 minute in the figure). In the appropriate inspection screen 112A, the average smile degree (“72” in the figure) is displayed on the display unit 112e and the measurement time is displayed on the display unit 112f.

ところで、適性検査モードを実行するにあたっては、図23(b)に示すような、測定時間内における総合平均笑顔度を4つの評価ランク「A」〜「D」に振り分けるための評価ランクテーブルTが記憶装置40に記憶される。   By the way, in executing the aptitude test mode, an evaluation rank table T for distributing the total average smile degree within the measurement time into four evaluation ranks “A” to “D” as shown in FIG. It is stored in the storage device 40.

そして、所定の測定時間が経過し、総合平均笑顔度が算出されると、ディスプレイ装置10には、図24に示すような検査結果表示画面112Bが表示される。この検査結果表示画面112Bでは、平均値情報として、受験者U5の総合平均笑顔度を示す平均笑顔度(図では「73」)が表示部112gに表示される。そして、表示部112hにおいて、図23(b)の評価ランクテーブルTに基づく、評価ランク(図では「B」ランク)が併せて表示される。   Then, when the predetermined measurement time has elapsed and the total average smile degree is calculated, an inspection result display screen 112 </ b> B as shown in FIG. 24 is displayed on the display device 10. On the test result display screen 112B, the average smile level (“73” in the figure) indicating the total average smile level of the examinee U5 is displayed on the display unit 112g as average value information. Then, on the display unit 112h, the evaluation rank (“B” rank in the figure) based on the evaluation rank table T in FIG. 23B is also displayed.

このように、総合平均笑顔度をランク付けする評価ランク情報を表示することにより、接客業における適性検査において、受験者U5の適正を客観的に評価することができ、公平な検査結果を得ることができる。そして、このような適性検査に笑顔評価装置1を使用することにより、該装置1の汎用性を高めることができる。   In this way, by displaying the evaluation rank information that ranks the overall average smile degree, it is possible to objectively evaluate the suitability of the examinee U5 in the aptitude test in the hospitality industry, and obtain a fair test result Can do. And the versatility of this apparatus 1 can be improved by using the smile evaluation apparatus 1 for such an aptitude test.

なお、笑顔評価装置1では、千人以上の顔のサンプルに基づいて笑顔度を算出することとしたが、必ずしもこれに限定されるものではない。例えば、各ユーザ毎に顔画像データを取得し、無表情の時と笑顔の状態の時の対比に基づいてユーザ個々の笑顔度算出マップを作成するようにしてもよい。これにより各ユーザの顔形状の特徴や個性等に基づいた評価が行え、より正確な笑顔度の算出を実現できる。   The smile evaluation device 1 calculates the smile level based on a sample of more than 1,000 faces, but the present invention is not necessarily limited to this. For example, face image data may be acquired for each user, and a smile degree calculation map for each user may be created based on the comparison between the expressionless state and the smile state. Thereby, evaluation based on the characteristics and individuality of each user's face shape can be performed, and more accurate calculation of the smile degree can be realized.

また、画像処理装置1では、主に、笑顔度の積算値に関連する各種情報の出力をディスプレイ装置10の画面表示により行うこととしたが、必ずしもこれに限定されるものではなく、例えば音声案内出力としてもよい。   In the image processing apparatus 1, various information related to the smile level integrated value is mainly output by the screen display of the display apparatus 10. However, the present invention is not necessarily limited thereto. It may be output.

この発明の構成と、上述の実施形態との対応において、
この発明の、顔画像検知手段は、ステップS3、S103、S202を実行する制御装置30に対応し、
以下同様に、
測定手段は、ステップS53を実行する制御装置30に対応し、
評価手段は、ステップS5、S6、S16、S105、S108、S114、S207、S208、S212を実行する制御装置30に対応し、
測定時間設定手段は、タイマ装置50に対応し、
出力手段は、ディスプレイ装置10に対応し、
笑顔度数値化部は、ステップS5、S105、S208を実行する制御装置30に対応し、
積算部は、ステップS6、S108、S209を実行する制御装置30に対応し、
笑顔評価情報生成部は、ステップS6、S16、S108、S114、S212を実行する制御装置30に対応し、
平均値記憶手段、積算値記憶手段、アドバイス情報記憶手段、画像データ記憶手段は、記憶装置40に対応し、
表示制御手段は、ステップS4、S104、S203、S205、S207を実行する制御装置30に対応し、
顔画像表示領域は、領域Ar1に対応し、
顔画像抽出部は、ステップS4、S104、S203、S207を実行する制御装置30に対応し、
背景画像表示領域は、領域Ar2に対応し、
背景画像抽出部は、ステップS204、S205を実行する制御装置30に対応し、
検索手段は、ステップS10、S117、S215を実行する制御装置30に対応するも、
この発明は、上述の実施形態の構成のみに限定されるものではなく、多くの実施の形態を得ることができる。
In correspondence between the configuration of the present invention and the above-described embodiment,
The face image detection means of the present invention corresponds to the control device 30 that executes steps S3, S103, and S202,
Similarly,
The measuring means corresponds to the control device 30 that executes step S53,
The evaluation means corresponds to the control device 30 that executes steps S5, S6, S16, S105, S108, S114, S207, S208, and S212.
The measurement time setting means corresponds to the timer device 50,
The output means corresponds to the display device 10,
The smile degree digitizing unit corresponds to the control device 30 that executes steps S5, S105, and S208.
The integrating unit corresponds to the control device 30 that executes steps S6, S108, and S209,
The smile evaluation information generation unit corresponds to the control device 30 that executes steps S6, S16, S108, S114, and S212.
Mean value storage means, integrated value storage means, advice information storage means, image data storage means correspond to the storage device 40,
The display control means corresponds to the control device 30 that executes steps S4, S104, S203, S205, and S207,
The face image display area corresponds to the area Ar1,
The face image extraction unit corresponds to the control device 30 that executes steps S4, S104, S203, and S207,
The background image display area corresponds to the area Ar2,
The background image extraction unit corresponds to the control device 30 that executes steps S204 and S205,
The search means corresponds to the control device 30 that executes steps S10, S117, and S215.
The present invention is not limited only to the configuration of the above-described embodiment, and many embodiments can be obtained.

1…画像処理装置
10…ディスプレイ装置
20…入力装置
30…制御装置
40…記憶措置
50…タイマ装置
DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus 10 ... Display apparatus 20 ... Input apparatus 30 ... Control apparatus 40 ... Memory | storage means 50 ... Timer apparatus

Claims (10)

画像データから顔画像を検知する顔画像検知手段と、
該顔画像検知手段により検知した顔画像の特徴部位の変化量を測定する測定手段と、
該測定手段の測定結果に基づいて笑顔の状態を評価する評価手段とを備えた画像処理装置であって、
前記測定手段による測定時間を設定する測定時間設定手段と、
出力手段とを備えるとともに、
前記測定手段は、前記測定時間設定手段により設定した測定時間内に、前記変化量を複数回測定し、
前記評価手段は、前記測定手段により測定した前記変化量に基づいて、笑顔の認識度を笑顔度として数値化する笑顔度数値化部と、
該笑顔度数値化部により数値化した笑顔度を前記測定時間内にて積算する積算部と、
該積算部にて積算した積算値に基づいて、笑顔の状態の評価に関連する笑顔評価情報を生成する笑顔評価情報生成部とを備え、
前記出力手段は、前記笑顔評価情報生成部にて生成した前記笑顔評価情報を出力する
画像処理装置。
A face image detecting means for detecting a face image from image data;
Measuring means for measuring the amount of change in the characteristic part of the face image detected by the face image detecting means;
An image processing apparatus comprising: an evaluation unit that evaluates a smile state based on a measurement result of the measurement unit;
Measurement time setting means for setting a measurement time by the measurement means;
Output means,
The measurement means measures the change amount a plurality of times within the measurement time set by the measurement time setting means,
The evaluation means includes a smile degree quantification unit that quantifies a smile recognition degree as a smile degree based on the amount of change measured by the measurement means;
A summing unit that sums up the smile level digitized by the smile level digitizing unit within the measurement time;
A smile evaluation information generating unit that generates smile evaluation information related to the evaluation of the smile status based on the integrated value integrated by the integrating unit;
The output means is an image processing apparatus that outputs the smile evaluation information generated by the smile evaluation information generation unit.
前記笑顔度の目標値を入力する入力手段を備え、
前記笑顔評価情報生成部は、前記積算部にて積算した積算値に基づいて、前記笑顔度の平均値を算出しつつ、
前記笑顔評価情報として、前記平均値に関連する平均値情報を生成し、
前記出力手段は、前記入力手段により入力した目標値と、前記笑顔評価情報生成部にて生成した前記平均値情報とを併せて出力する
請求項1記載の画像処理置。
Input means for inputting a target value of the smile degree;
The smile evaluation information generating unit calculates an average value of the smile degree based on the integrated value integrated by the integrating unit,
As the smile evaluation information, generate average value information related to the average value,
The image processing apparatus according to claim 1, wherein the output unit outputs the target value input by the input unit and the average value information generated by the smile evaluation information generation unit.
前記測定時間にわたって算出した前記平均値を、1ユーザにおいて複数件分記憶する平均値記憶手段を備え、
前記笑顔評価情報生成部は、前記複数件分の各平均値を前記平均値記憶手段から読み出しつつ、前記笑顔評価情報として、前記各平均値を時系列に配列した個人履歴情報を生成し、
前記出力手段は、前記個人履歴情報を出力する
請求項2記載の画像処理装置。
The average value calculated over the measurement time is provided with an average value storage means for storing a plurality of cases in one user,
The smile evaluation information generation unit generates personal history information in which the average values are arranged in time series as the smile evaluation information while reading the average values for the plurality of cases from the average value storage unit,
The image processing apparatus according to claim 2, wherein the output unit outputs the personal history information.
前記積算部にて積算した笑顔度の積算値を、複数のユーザ分記憶する積算値記憶手段を備え、
前記笑顔評価情報生成部は、前記積算値記憶手段に記憶したユーザの積算値を読み出して、該積算値の大小に基づくランク付け処理を実行しつつ、
前記笑顔評価情報として、前記ランク付け処理結果に関連するランキング情報を生成し、
前記出力手段は、前記ランク付けに関連する情報を出力する
請求項1記載の画像処理装置。
The integrated value storage means for storing the integrated value of the smile degree integrated by the integrating unit for a plurality of users,
The smile evaluation information generation unit reads the user's integrated value stored in the integrated value storage unit, and executes a ranking process based on the magnitude of the integrated value,
As the smile evaluation information, generate ranking information related to the ranking processing result,
The image processing apparatus according to claim 1, wherein the output unit outputs information related to the ranking.
前記積算部は、前記顔画像検知手段により複数のユーザの顔画像を検知した状態において各ユーザ毎に笑顔度を同時に積算するものであり、
前記笑顔評価情報生成部は、前記複数のユーザの積算値の総和を算出するとともに、
該積算値の総和に対する、各ユーザの前記積算値の比率を算出し、
前記笑顔評価情報として、前記比率に関連する比率情報を生成し、
前記出力手段は、前記比率情報を出力する
請求項1記載の画像処理装置。
The integration unit is configured to simultaneously integrate smile levels for each user in a state in which a plurality of user face images are detected by the face image detection unit,
The smile evaluation information generation unit calculates a sum of integrated values of the plurality of users,
Calculate the ratio of each user's integrated value to the total integrated value,
As the smile evaluation information, generate ratio information related to the ratio,
The image processing apparatus according to claim 1, wherein the output unit outputs the ratio information.
前記画像データから顔画像を含む領域を抽出して該顔画像を表示手段に表示させる制御を実行する表示制御手段を備え、
該表示制御手段は、前記顔画像検知手段により検知した前記顔画像を含む顔画像表示領域を、前記画像データから選択し、抽出する顔画像抽出部を備えるとともに、
前記画像データと、前記顔画像表示領域の全画像データ内における位置とに基づいて、前記顔画像表示領域を除いた領域の中から、最も広範囲な領域を検索し、該検索結果に基づいて、該領域を背景画像表示領域として選択し、抽出する背景画像抽出部を備え、
該表示制御手段は、前記表示手段に対し、前記顔画像抽出部により抽出した顔画像を含む顔画像表示領域と、前記背景画像抽出部により抽出した前記背景画像表示領域とを並列に表示させる制御を実行する
請求項5記載の画像処理装置。
A display control means for executing control for extracting a region including a face image from the image data and displaying the face image on a display means;
The display control means includes a face image extraction unit that selects and extracts a face image display area including the face image detected by the face image detection means from the image data,
Based on the image data and the position in the entire image data of the face image display area, the most extensive area is searched from the areas excluding the face image display area, and based on the search result, A background image extraction unit for selecting and extracting the region as a background image display region;
The display control means controls the display means to display in parallel the face image display area including the face image extracted by the face image extraction section and the background image display area extracted by the background image extraction section. The image processing apparatus according to claim 5, wherein
前記笑顔度に応じて予め設定したアドバイス情報を記憶するアドバイス情報記憶手段を備え、
前記出力手段は、前記笑顔度に応じて前記アドバイス情報記憶手段から読み出したアドバイス情報を、前記測定時間内に出力する
請求項1から6のいずれか1つに記載の画像処理装置。
Provided with advice information storage means for storing advice information set in advance according to the degree of smile;
The image processing apparatus according to claim 1, wherein the output unit outputs the advice information read from the advice information storage unit according to the smile level within the measurement time.
前記測定時間内において最高の笑顔度を示した時の最高笑顔度画像データを検索する検索手段と、
該検索手段の検索結果に基づいて前記最高笑顔度画像データを記憶する画像データ記憶手段とを備えた
請求項1から7のいずれか1つに記載の画像処理装置。
Search means for searching for the highest smile degree image data when the highest smile degree is indicated within the measurement time;
The image processing apparatus according to claim 1, further comprising an image data storage unit that stores the highest smile degree image data based on a search result of the search unit.
画像データから顔画像検知手段により顔画像を検知するステップと。
該顔画像検知手段により検知した顔画像の特徴部位の変化量を、測定手段により測定するステップと、
該測定手段の測定結果に基づいて笑顔の状態を評価手段により評価するステップとを備えた画像処理方法であって、
前記測定手段による測定時間を測定時間設定手段により設定するステップと、
該測定時間設定手段により設定した測定時間内に、前記測定手段により前記変化量を複数回測定するステップと、
前記測定手段により測定した前記変化量に基づいて、前記評価手段の笑顔度数値化部により、笑顔の認識度を笑顔度として数値化するステップと、
該数値化した笑顔度を前記測定時間内にて前記評価手段の積算部により積算するステップと、
該積算部にて積算した積算値に基づいて、前記評価手段の笑顔評価情報生成部により、笑顔の状態の評価に関連する笑顔評価情報を生成するステップと、
該笑顔評価情報生成部にて生成した前記笑顔評価情報を出力手段により出力するステップとを備えた
画像処理方法。
Detecting a face image from the image data by a face image detecting means;
Measuring the amount of change of the characteristic part of the face image detected by the face image detecting means by the measuring means;
An image processing method comprising a step of evaluating a smile state by an evaluation unit based on a measurement result of the measurement unit,
Setting a measurement time by the measurement means by a measurement time setting means;
Measuring the amount of change a plurality of times by the measuring means within the measuring time set by the measuring time setting means;
Based on the amount of change measured by the measuring unit, the smile level digitizing unit of the evaluation unit quantifies the smile recognition level as a smile level;
Integrating the digitized smile level by the integration unit of the evaluation means within the measurement time;
A step of generating smile evaluation information related to the evaluation of a smile state by the smile evaluation information generation unit of the evaluation means based on the integrated value integrated by the integration unit;
An image processing method comprising: outputting the smile evaluation information generated by the smile evaluation information generation unit by an output unit.
コンピュータに、
画像データから顔画像検知手段により顔画像を検知するステップと。
該顔画像検知手段により検知した顔画像の特徴部位の変化量を、測定手段により測定するステップと、
該測定手段の測定結果に基づいて笑顔の状態を評価手段により評価するステップとを実行させる画像処理プログラムであって、
前記測定手段による測定時間を測定時間設定手段により設定するステップと、
該測定時間設定手段により設定した測定時間内に、前記測定手段により前記変化量を複数回測定するステップと、
前記測定手段により測定した前記変化量に基づいて、前記評価手段の笑顔度数値化部により、笑顔の認識度を笑顔度として数値化するステップと、
該数値化した笑顔度を前記測定時間内にて前記評価手段の積算部により積算するステップと、
該積算部にて積算した積算値に基づいて、前記評価手段の笑顔評価情報生成部により、笑顔の状態の評価に関連する笑顔評価情報を生成するステップと、
該笑顔評価情報生成部にて生成した前記笑顔評価情報を出力手段により出力するステップとを実行させる
画像処理プログラム。
On the computer,
Detecting a face image from the image data by a face image detecting means;
Measuring the amount of change of the characteristic part of the face image detected by the face image detecting means by the measuring means;
An image processing program for executing a step of evaluating a smile state by an evaluation unit based on a measurement result of the measurement unit,
Setting a measurement time by the measurement means by a measurement time setting means;
Measuring the amount of change a plurality of times by the measuring means within the measuring time set by the measuring time setting means;
Based on the amount of change measured by the measuring unit, the smile level digitizing unit of the evaluation unit quantifies the smile recognition level as a smile level;
Integrating the digitized smile level by the integration unit of the evaluation means within the measurement time;
A step of generating smile evaluation information related to the evaluation of a smile state by the smile evaluation information generation unit of the evaluation means based on the integrated value integrated by the integration unit;
An image processing program for executing the step of outputting the smile evaluation information generated by the smile evaluation information generation unit by an output means.
JP2009030856A 2009-02-13 2009-02-13 Image processing method, image processing apparatus, and image processing program Active JP5071404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009030856A JP5071404B2 (en) 2009-02-13 2009-02-13 Image processing method, image processing apparatus, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009030856A JP5071404B2 (en) 2009-02-13 2009-02-13 Image processing method, image processing apparatus, and image processing program

Publications (2)

Publication Number Publication Date
JP2010186373A JP2010186373A (en) 2010-08-26
JP5071404B2 true JP5071404B2 (en) 2012-11-14

Family

ID=42766986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009030856A Active JP5071404B2 (en) 2009-02-13 2009-02-13 Image processing method, image processing apparatus, and image processing program

Country Status (1)

Country Link
JP (1) JP5071404B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012169777A (en) * 2011-02-10 2012-09-06 Sony Corp Information processor, information processing method, and program
JP5766470B2 (en) * 2011-03-07 2015-08-19 株式会社日本総合研究所 Smile banking system
US11392979B2 (en) 2015-05-01 2022-07-19 Sony Corporation Information processing system, communication device, control method, and storage medium
JP5939493B1 (en) * 2015-05-25 2016-06-22 パナソニックIpマネジメント株式会社 Service evaluation device, service evaluation system and service evaluation method provided with the same
CN105956570B (en) * 2016-05-11 2019-08-20 电子科技大学 Smile recognition method based on lip features and deep learning
JP2019208906A (en) * 2018-06-05 2019-12-12 カシオ計算機株式会社 Information processing device, information processing method, and information processing program
JP2023167859A (en) * 2022-05-13 2023-11-24 沖電気工業株式会社 Information processing device, information processing method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242567A (en) * 2004-02-25 2005-09-08 Canon Inc Operation evaluation apparatus and method
US20050289582A1 (en) * 2004-06-24 2005-12-29 Hitachi, Ltd. System and method for capturing and using biometrics to review a product, service, creative work or thing
JP2007108620A (en) * 2005-10-13 2007-04-26 Ichiro Hagiwara Expression training machine

Also Published As

Publication number Publication date
JP2010186373A (en) 2010-08-26

Similar Documents

Publication Publication Date Title
JP5071404B2 (en) Image processing method, image processing apparatus, and image processing program
RU2607953C2 (en) Capturing of optical data on exercises in addition to calculation of assessment of health
US10019690B2 (en) Intellectual-productivity analysis apparatus and program
KR20090027024A (en) Stress analysis method based on multi-measured bio signals
JP2016029963A (en) Server device control method, server device, and program
JP5792703B2 (en) Information sharing system, information sharing apparatus, and information sharing method
JP2015220574A (en) Information processing system, storage medium, and content acquisition method
KR20080102275A (en) Biometric information measuring device
JP2013066672A (en) Training support system
JP2025029197A (en) Learning model generation method, challenge support system and program
JP7393578B1 (en) Information processing program, information processing system, information processing device, server, and information processing method
KR101216316B1 (en) Method for self-management using user terminal and system for processing the method
KR101498593B1 (en) Apparatus and method for evaluating game or internet addiction
KR101922708B1 (en) System for creating avatar based on user and game system using the same
JP6110434B2 (en) Server device control method, server device, and program
JP6647543B1 (en) Information processing apparatus, information processing method and program
US20250169732A1 (en) Psychological state estimation device and psychological state estimation method
JP2016137270A (en) Control method of server device, server device, and program
JP2022043399A (en) Health care device, health care system, and program
Ayed et al. Towards a context based evaluation support system for quality in use assessment of mobile systems
WO2020116069A1 (en) Information processing device and program
KR102402684B1 (en) Method for providing an information of self skin condition based on big data in non-facing environment
WO2023090103A1 (en) Information processing device and information processing method
JP2019025048A (en) Program, information processing apparatus, and control method
KR102375175B1 (en) Method and system for providing an information of self skin oil condition based on big data in non-facing environment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120713

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120806

R150 Certificate of patent or registration of utility model

Ref document number: 5071404

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150831

Year of fee payment: 3