JP2012075020A - Image processing device, imaging device, face image recognition method and program - Google Patents

Image processing device, imaging device, face image recognition method and program Download PDF

Info

Publication number
JP2012075020A
JP2012075020A JP2010219509A JP2010219509A JP2012075020A JP 2012075020 A JP2012075020 A JP 2012075020A JP 2010219509 A JP2010219509 A JP 2010219509A JP 2010219509 A JP2010219509 A JP 2010219509A JP 2012075020 A JP2012075020 A JP 2012075020A
Authority
JP
Japan
Prior art keywords
face image
image
face
person
target person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010219509A
Other languages
Japanese (ja)
Inventor
Aiko Hizume
愛子 肥爪
Masahiro Azuma
正浩 東
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.)
NEC Personal Computers Ltd
Original Assignee
NEC Personal Computers Ltd
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 NEC Personal Computers Ltd filed Critical NEC Personal Computers Ltd
Priority to JP2010219509A priority Critical patent/JP2012075020A/en
Publication of JP2012075020A publication Critical patent/JP2012075020A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device, an imaging device, a face image recognition method and program, capable of continuing face recognition even in such a case in which no person of a face recognition object is imaged at all in an in-frame image.SOLUTION: The image processing device includes: in-frame image acquisition means for acquiring an in-frame image of the imaging device; face image recognition means for recognizing the face image of the person of the face recognition object and a related person in regard to the in-frame image, based on the face image of the object person of the face recognition object registered in advance, and the face image of the related person linked to the face image of the object person; and when the face image recognition of the object person fails and the face image recognition of the related person is successful, control means for controlling the face image recognition means to continue the face image recognition of the object person for a prescribed time duration.

Description

本発明は、フレーム内の画像において特定の人物の顔画像を認識する画像処理装置、撮像装置、顔画像認識方法及びプログラムに関する。   The present invention relates to an image processing apparatus, an imaging apparatus, a face image recognition method, and a program for recognizing a face image of a specific person in an image in a frame.

例えばデジタルスチルカメラ等の撮像装置では、フレーム内の画像において特定の人物A(顔認識の対象となる人物)の顔画像を認識する場合、その人物Aの正面向きの顔画像から特徴点(例えば目、鼻、口等)を抽出することで人物Aの顔として認識しているが、人物Aが正面を向いていない場合には特徴点が抽出できず、顔認識が行えないという問題がある。   For example, in an imaging apparatus such as a digital still camera, when recognizing a face image of a specific person A (person who is a target of face recognition) in an image in a frame, a feature point (for example, the face image of the person A facing front) The face of the person A is recognized by extracting the eyes, nose, mouth, etc., but if the person A is not facing the front, the feature points cannot be extracted and the face cannot be recognized. .

この問題を解決する技術として、人物Aが正面を向いていない場合における顔認識の方法が、例えば特許文献1、2に開示されている。特許文献1には、髪領域と肌領域の色の比率から人物Aの顔が横向き又は後ろ向きであると判断し、そのまま人物Aの顔として認識を継続する方法が開示されている。また、特許文献2には、顔領域や胴体領域の動きを基に現在の顔領域の場所を推定し、そのまま人物Aの顔として認識を継続する方法が開示されている。   As a technique for solving this problem, for example, Patent Documents 1 and 2 disclose a face recognition method when the person A is not facing the front. Patent Document 1 discloses a method of determining that the face of the person A is sideways or backwards from the color ratio of the hair area and the skin area, and continuing the recognition as the face of the person A as it is. Patent Document 2 discloses a method of estimating the location of the current face area based on the movement of the face area and the body area and continuing the recognition as the face of the person A as it is.

特開2008−263424号公報JP 2008-263424 A 特開2009−81714号公報JP 2009-81714 A

しかしながら、上記特許文献1及び2の技術はいずれも、フレーム内の画像に、人物Aの身体の一部(例えば、横向き又は後ろ向きの顔、頭髪、胴体等)が写っている必要がある。よって、これらの技術では、フレーム内の画像において、人物Aの身体が全く写っていない場合や、写っている人物Aの身体の一部が顔認識を行えないものである場合には、顔認識は継続されず、顔認識が中止されてしまうという問題がある。   However, in both of the techniques of Patent Documents 1 and 2, it is necessary that a part of the body of the person A (for example, a laterally or backwardly facing face, hair, torso, etc.) is reflected in the image in the frame. Therefore, in these techniques, when the body of the person A is not shown at all in the image in the frame, or when a part of the body of the person A is not able to perform face recognition, the face recognition is performed. Is not continued and face recognition is stopped.

本発明は、上記問題に鑑みてなされたものであり、フレーム内の画像において、顔認識の対象となる人物が全く写っていない場合や、写っている人物の身体の一部が顔認識を行えないものである場合でも、顔認識を継続して行うことができる画像処理装置、撮像装置、顔画像認識方法及びプログラムを提供することを目的とする。   The present invention has been made in view of the above problems, and in the image in the frame, when a person who is a target of face recognition is not shown at all, or a part of the body of the person who is shown can perform face recognition. An object of the present invention is to provide an image processing apparatus, an imaging apparatus, a face image recognition method, and a program capable of continuously performing face recognition even if they are not present.

かかる目的を達成するために、本発明の画像処理装置は、撮像装置のフレーム内画像を取得するフレーム内画像取得手段と、予め登録された、顔認識の対象となる対象人物の顔画像と、対象人物の顔画像に紐付けられた関連人物の顔画像とに基づいて、フレーム内画像に対して対象人物の顔画像及び関連人物の顔画像の認識を行う顔画像認識手段と、対象人物の顔画像の認識ができず、関連人物の顔画像の認識ができた場合に、対象人物の顔画像の認識を所定時間継続するように、顔画像認識手段を制御する制御手段と、を有することを特徴とする。   In order to achieve such an object, an image processing apparatus of the present invention includes an in-frame image acquisition unit that acquires an in-frame image of an imaging apparatus, a face image of a target person that is a target of face recognition registered in advance, Face image recognition means for recognizing the face image of the target person and the face image of the related person with respect to the in-frame image based on the face image of the related person linked to the face image of the target person; Control means for controlling the face image recognition means so that recognition of the face image of the target person is continued for a predetermined time when the face image cannot be recognized and the face image of the related person can be recognized. It is characterized by.

本発明の撮像装置は、上記本発明の画像処理装置を備えたことを特徴とする。   An imaging apparatus according to the present invention includes the image processing apparatus according to the present invention.

本発明の顔画像認識方法は、撮像装置のフレーム内画像を取得するステップと、予め登録された、顔認識の対象となる対象人物の顔画像と、対象人物の顔画像に紐付けられた関連人物の顔画像とに基づいて、フレーム内画像に対して対象人物の顔画像及び関連人物の顔画像の認識を行うステップと、対象人物の顔画像の認識ができず、関連人物の顔画像の認識ができた場合に、対象人物の顔画像の認識を所定時間継続するステップと、を有することを特徴とする。   According to the face image recognition method of the present invention, a step of acquiring an intra-frame image of an imaging device, a face image of a target person that is a target of face recognition registered in advance, and a relationship associated with the face image of the target person The step of recognizing the face image of the target person and the face image of the related person with respect to the in-frame image based on the face image of the person, and the face image of the target person cannot be recognized. A step of continuing the recognition of the face image of the target person for a predetermined time when the recognition is successful.

本発明のプログラムは、撮像装置のフレーム内画像を取得する処理と、予め登録された、顔認識の対象となる対象人物の顔画像と、対象人物の顔画像に紐付けられた関連人物の顔画像とに基づいて、フレーム内画像に対して対象人物の顔画像及び関連人物の顔画像の認識を行う処理と、対象人物の顔画像の認識ができず、関連人物の顔画像の認識ができた場合に、対象人物の顔画像の認識を所定時間継続する処理と、をコンピュータに実行させることを特徴とする。   The program according to the present invention includes a process for acquiring an in-frame image of an imaging device, a face image of a target person that is registered in advance, and a face of a related person linked to the face image of the target person. Based on the image, the process of recognizing the face image of the target person and the face image of the related person with respect to the image in the frame, and the face image of the target person cannot be recognized, and the face image of the related person In this case, the computer is caused to execute processing for continuing recognition of the face image of the target person for a predetermined time.

本発明によれば、フレーム内の画像において、顔認識の対象となる人物が全く写っていない場合や、写っている人物の身体の一部が顔認識を行えないものである場合でも、顔認識を継続して行うことが可能となる。   According to the present invention, face recognition can be performed even when a person to be face-recognized is not shown at all in the image in the frame, or when a part of the body of the person being shown cannot perform face recognition. Can be continued.

本発明の一実施形態に係る撮像装置の構成例を示すブロック図である。It is a block diagram showing an example of composition of an imaging device concerning one embodiment of the present invention. 本発明の一実施形態に係る撮像装置の準備動作1の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the preparation operation | movement 1 of the imaging device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る撮像装置の準備動作2の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the preparation operation 2 of the imaging device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る撮像装置の顔認識動作の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the face recognition operation | movement of the imaging device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus which concerns on one Embodiment of this invention.

以下、本発明を実施するための形態(実施形態)について添付図面を参照して詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments (embodiments) for carrying out the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の撮像装置の一実施形態としてのデジタルスチルカメラ(以下、カメラという)の構成例を示す図である。図1に示すように、本実施形態のカメラは、光学系1、撮像素子2、AFE(Analog Front End)3、メモリ4、液晶パネル5、画像処理部6、入力部7を有する。画像処理部6は、本発明の画像処理装置の一実施形態である。   FIG. 1 is a diagram illustrating a configuration example of a digital still camera (hereinafter referred to as a camera) as an embodiment of an imaging apparatus of the present invention. As shown in FIG. 1, the camera of this embodiment includes an optical system 1, an image sensor 2, an AFE (Analog Front End) 3, a memory 4, a liquid crystal panel 5, an image processing unit 6, and an input unit 7. The image processing unit 6 is an embodiment of the image processing apparatus of the present invention.

光学系1は、撮影レンズ等を含み、入射する被写体の像を撮像素子2に結像する。撮像素子2は、CCD(Charge Coupled Device)やCMOS(Complementary MOC)から構成され、光学系1により結像された像を、光電変換によりアナログ信号に変える。AFE3は、撮像素子2により変換されたアナログ信号を、A/D変換によりデジタル信号に変え、画像データとして画像処理部6に出力する。画像処理部6は、AFE3から入力された画像データを、フレーム内画像として液晶パネル5(ファインダを兼ねる)に出力する。これにより、撮影者は、フレーム内画像を視認することができる。また、画像処理部6は、予め登録された顔画像データを基に、液晶パネル5に表示されるフレーム内画像において、顔認識を行う機能を有する。この顔認識機能は従来一般的に知られている技術を適用できるので、ここでの説明は省略する。メモリ4は、カメラに内蔵される又はカメラに着脱可能な記憶媒体であり、過去に撮影された写真データ(フレーム内画像を取得した静止画像データ)や、顔認識の際に用いるための顔画像データ等を記憶する。液晶パネル5は、画像処理部6にて出力されるフレーム内画像、画像処理部6にてメモリ4から読み出され、出力される写真データや顔画像データを表示する。これにより、撮影者は、フレーム内画像、写真データ、顔画像データを視認することができる。入力部6は、撮影者による各種操作(指示)の入力を受け付けるためのボタンやキーなどである。なお、入力部7は、液晶パネル5から独立して設けられてもよいし、あるいは、タッチパネルのように液晶パネル5と一緒に設けられてもよい。また、図1には示していないが、カメラには、時間を計測するタイマ部(時計部)も備えられる。   The optical system 1 includes a photographic lens and the like, and forms an image of an incident subject on the image sensor 2. The imaging device 2 is composed of a CCD (Charge Coupled Device) or a CMOS (Complementary MOC), and changes an image formed by the optical system 1 into an analog signal by photoelectric conversion. The AFE 3 converts the analog signal converted by the image sensor 2 into a digital signal by A / D conversion, and outputs the digital signal to the image processing unit 6 as image data. The image processing unit 6 outputs the image data input from the AFE 3 to the liquid crystal panel 5 (also serving as a finder) as an in-frame image. Thereby, the photographer can visually recognize the in-frame image. Further, the image processing unit 6 has a function of performing face recognition on an intra-frame image displayed on the liquid crystal panel 5 based on face image data registered in advance. Since this face recognition function can apply a conventionally known technique, the description thereof is omitted here. The memory 4 is a storage medium built in the camera or detachable from the camera. The memory 4 is photograph data taken in the past (still image data obtained from an in-frame image) or a face image for use in face recognition. Store data etc. The liquid crystal panel 5 displays the intra-frame image output by the image processing unit 6 and the photo data and face image data read from the memory 4 by the image processing unit 6 and output. Thereby, the photographer can visually recognize the in-frame image, the photo data, and the face image data. The input unit 6 is a button or key for receiving input of various operations (instructions) by the photographer. The input unit 7 may be provided independently of the liquid crystal panel 5 or may be provided together with the liquid crystal panel 5 like a touch panel. Although not shown in FIG. 1, the camera also includes a timer unit (clock unit) that measures time.

次に、本実施形態のカメラにおける動作について、図2〜図4を用いて説明する。本実施形態のカメラでは、顔認識の実行(図4)の前に、事前の準備動作(図2、図3)が必要となる。   Next, the operation of the camera according to the present embodiment will be described with reference to FIGS. In the camera of the present embodiment, prior preparation operations (FIGS. 2 and 3) are required before the face recognition is performed (FIG. 4).

まず、図2を用いて準備動作1について説明する。準備動作1は、ユーザ(カメラを使用する人)が、顔認識の対象となる人物(以下、対象人物という)の顔画像をカメラに登録するときの動作である。   First, the preparatory operation 1 will be described with reference to FIG. The preparatory operation 1 is an operation when a user (a person who uses a camera) registers a face image of a person who is a target of face recognition (hereinafter referred to as a target person) in the camera.

まず、入力部7は、所定の写真データにおいて、対象人物Aの顔画像の指定を受け付ける(S1)。ここでいう写真データは、例えば、メモリ4に記憶されている過去に撮影された写真データの中からユーザが選択したものであってもよいし、あるいは、ユーザが対象人物Aを実際に撮影した直後の写真データであってもよい。いずれにせよ、この写真データは液晶パネル5に表示され、ユーザは、表示された写真データに写っている対象人物Aの画像から、顔の部分の画像(顔画像の領域)を指定する。指定の方法としては、例えば、カメラに搭載されているマーク付け機能(公知の技術)を用いることで、顔画像にマークを付けるなどの方法がある。   First, the input unit 7 accepts designation of a face image of the target person A in predetermined photo data (S1). The photograph data here may be, for example, one selected by the user from the photograph data photographed in the past stored in the memory 4, or the user actually photographed the target person A. It may be the photo data immediately after. In any case, this photographic data is displayed on the liquid crystal panel 5, and the user designates an image of the face portion (face image area) from the image of the target person A shown in the displayed photographic data. As a designation method, for example, there is a method of marking a face image by using a marking function (known technique) mounted on the camera.

次に、入力部7は、後述する図4における顔認識の実行の際に、所定のフレーム内画像において、S1で指定した対象人物Aの顔画像の認識を継続(続行)して行う時間(以下、認識継続時間という)の指定を受け付ける。この認識継続時間は、例えば数秒単位が好ましい。また、認識継続時間は、デフォルトの値(例えば3秒)がメモリ4に設定されており、ユーザは、このS2において、デフォルトの値を使用するか、あるいは、所望の値(例えば5秒)に変更するかを指定する。   Next, when executing the face recognition in FIG. 4 described later, the input unit 7 continues (continues) the recognition of the face image of the target person A specified in S1 in a predetermined intra-frame image ( Hereinafter, the designation of the recognition duration is accepted. This recognition duration time is preferably, for example, several seconds. The recognition duration is set to a default value (for example, 3 seconds) in the memory 4, and the user uses the default value in S2 or sets it to a desired value (for example, 5 seconds). Specify whether to change.

なお、上記S1における顔画像の指定及びS2における認識継続時間の指定の際には、それらの指定の受け付けをガイドする画面やメッセージが液晶パネル5に表示される。ユーザは、その画面やメッセージを見ながら入力部7を操作することで、所望の指定を入力する。   Note that when the face image is designated in S1 and the recognition duration time is designated in S2, a screen and a message for guiding acceptance of the designation are displayed on the liquid crystal panel 5. The user inputs a desired designation by operating the input unit 7 while viewing the screen or message.

次に、画像処理部6は、S1で指定された対象人物Aの顔画像と、S2で指定された認識継続時間とを紐付けるとともに、所定のID(識別情報)を割り当てて、メモリ4に記憶させる(S3)。メモリ4への記憶が完了したら、対象人物の顔画像の登録が完了した旨のメッセージを、液晶パネル5に表示したり、あるいは、図示しないスピーカから音声出力したりしてもよい(表示及び音声出力の両方でもよい)。   Next, the image processing unit 6 associates the face image of the target person A specified in S <b> 1 with the recognition duration time specified in S <b> 2 and assigns a predetermined ID (identification information) to the memory 4. Store (S3). When the storage in the memory 4 is completed, a message indicating that the registration of the face image of the target person has been completed may be displayed on the liquid crystal panel 5 or may be output as audio from a speaker (not shown). Both can be output).

以上のようにして、準備動作1としての、対象人物の顔画像の登録が終了する。なお、ユーザが、上記S1〜S3を繰り返すことで、異なる複数の対象人物の顔画像を登録することもできる。   As described above, the registration of the target person's face image as the preparation operation 1 is completed. Note that the user can register face images of a plurality of different target persons by repeating S1 to S3.

次に、図3を用いて準備動作2について説明する。準備動作2は、ユーザが、準備動作1で登録した対象人物に関連する人物(対象人物と一緒の写真に写ったことのある人物で、対象人物とは別の人物。以下、関連人物という)の顔画像をカメラに登録するときの動作である。   Next, the preparatory operation 2 will be described with reference to FIG. The preparation operation 2 is a person related to the target person registered in the preparation operation 1 (a person who has been shown in a photo together with the target person and is a person different from the target person, hereinafter referred to as a related person). This is the operation when registering the face image of the camera to the camera.

まず、入力部7は、先に登録された対象人物の顔画像の中から、ユーザが所望する対象人物の顔画像の指定を受け付ける(S11)。例えば、入力部7が、ユーザから関連人物の登録の指示を受け付けると、画像処理部6は、予め登録されている対象人物の顔画像の一覧をメモリ4から読み出し、液晶パネル5に表示させる。ユーザは、その一覧を見て、所望の対象人物の顔画像を指定(選択)する。すなわち、ここでいう顔画像の指定とは、準備動作1のS1における「写真データに写っている画像(対象人物の身体の画像)の中から顔画像の領域を指定すること」ではなく、「予め登録された顔画像の一覧の中から所望の顔画像自体を指定すること」を意味する。なお、ここでは、ユーザにより、対象人物Aの顔画像が指定されたとする。   First, the input unit 7 accepts designation of a face image of a target person desired by the user from the face images of the target person registered in advance (S11). For example, when the input unit 7 receives an instruction to register a related person from the user, the image processing unit 6 reads a list of face images of the target person registered in advance from the memory 4 and displays the list on the liquid crystal panel 5. The user looks at the list and designates (selects) a face image of a desired target person. That is, the designation of the face image here is not “designating the area of the face image from the image (image of the target person's body) shown in the photographic data” in S1 of the preparation operation 1. This means “designating a desired face image itself from a list of face images registered in advance”. Here, it is assumed that the face image of the target person A is designated by the user.

次に、画像処理部6は、所定の写真データの中から、S11にて指定された対象人物Aの顔画像と、少なくとも一人の関連人物の顔画像とを含むものを検索する(S12)。ここでいう所定の写真データは、例えば、メモリ4に記憶されている過去に撮影された写真データが挙げられる。よって、例えばメモリ4に100枚の写真データが記憶されている場合、画像処理部6は、それら100枚の写真データの中から、対象人物Aの顔画像と、少なくとも一人の関連人物の顔画像とを含む写真データを全て検索する。   Next, the image processing unit 6 searches the predetermined photograph data for an image including the face image of the target person A designated in S11 and the face image of at least one related person (S12). The predetermined photograph data here is, for example, photograph data taken in the past stored in the memory 4. Therefore, for example, when 100 pieces of photographic data are stored in the memory 4, the image processing unit 6 selects the face image of the target person A and the face image of at least one related person from the 100 pieces of photographic data. Search all photo data including

なお、S2における検索のときに、関連人物の顔画像が含まれてはいるものの、その顔画像が対象人物Aの顔画像の周囲(予め設定された範囲内)に存在していない写真データについては除外するようにしてもよい。言い換えれば、関連人物の顔画像が対象人物Aの顔画像の近傍に位置している写真データだけを、最終的な検索結果とするということである。このようにする理由としては、対象人物Aの近傍に位置して撮影されている人物は、対象人物Aとの関連性が高いと推測されるためである。   Note that the photo data that includes the face image of the related person at the time of the search in S2, but the face image does not exist around the face image of the target person A (within a preset range). May be excluded. In other words, only the photograph data in which the face image of the related person is located in the vicinity of the face image of the target person A is used as the final search result. The reason for this is that a person who is photographed in the vicinity of the target person A is assumed to be highly related to the target person A.

また、メモリ4に記憶されている写真データが複数あり、かつ、S2における検索のときに複数の写真データが検索された場合には、撮影日時が最新の写真データ1枚を最終的な検索結果としてもよい。このようにする理由としては、対象人物Aと一緒に最近撮影されている人物は、対象人物Aとの関連性が高いと推測されるためである。   If there are a plurality of pieces of photo data stored in the memory 4 and a plurality of pieces of photo data are searched at the time of the search in S2, one photo data having the latest shooting date and time is obtained as a final search result. It is good. The reason for this is that a person who has recently been photographed together with the target person A is assumed to be highly related to the target person A.

次に、画像処理部6は、検索した写真データに含まれる全ての関連人物の顔画像を認識する(S13)。ここでは、例として、3人の関連人物B、C、Dの顔画像が認識されたとする。   Next, the image processing unit 6 recognizes face images of all related persons included in the retrieved photographic data (S13). Here, as an example, it is assumed that face images of three related persons B, C, and D are recognized.

次に、画像処理部6は、認識した関連人物B、C、Dの顔画像のそれぞれに対して、対象人物Aの顔画像に割り当てられたIDを紐付けるとともに、所定のID(識別情報)を割り当てて、メモリ4に記憶させる(S14)。メモリ4への記憶が完了したら、関連人物の顔画像の登録が完了した旨のメッセージを、液晶パネル5に表示したり、あるいは、図示しないスピーカから音声出力したりしてもよい(表示及び音声出力の両方でもよい)。   Next, the image processing unit 6 associates an ID assigned to the face image of the target person A with each of the recognized face images of the related persons B, C, and D, and a predetermined ID (identification information). Is stored in the memory 4 (S14). When the storage in the memory 4 is completed, a message indicating that the registration of the face image of the related person is completed may be displayed on the liquid crystal panel 5 or may be output as sound from a speaker (not shown). Both can be output).

以上のようにして、準備動作2としての、関連人物の顔画像の登録が終了する。なお、図3の説明では、カメラ(画像処理部6)が動的に、関連人物の顔画像を含む写真データを検索し、関連人物の顔画像を認識する例としたが、関連人物の顔画像の登録は、これに限定されない。例えば、ユーザが、対象人物の関連人物を把握又は推測できている場合には、ユーザが手動で、関連人物の顔画像の登録を行うことができる。その場合、図3において、S11の後、S12、S13の代わりに、図2のS1と同様にして関連人物の顔画像の指定がユーザによって行われ、最後にS14が行われる。   As described above, the registration of the related person's face image as the preparation operation 2 is completed. In the description of FIG. 3, the camera (image processing unit 6) dynamically searches for photo data including a face image of a related person and recognizes the face image of the related person. Image registration is not limited to this. For example, when the user can grasp or guess the related person of the target person, the user can manually register the face image of the related person. In this case, in FIG. 3, after S11, instead of S12 and S13, the face image of the related person is designated by the user in the same manner as S1 in FIG. 2, and finally S14 is performed.

また、上記図3の説明では、S14において、関連人物B、C、Dの顔画像に対して、対象人物Aの顔画像に割り当てられたIDを紐付けるようにしたが、関連人物B、C、Dの顔画像を、対象人物Aの顔画像に直接紐付けるようにしてもよい。すなわち、準備動作1で登録されたID、対象人物Aの顔画像、認識継続時間に加えて、関連人物B、C、Dの顔画像が紐付けられて登録されるようにしてもよい。   In the description of FIG. 3, the ID assigned to the face image of the target person A is associated with the face images of the related persons B, C, and D in S14. The face image of D may be directly linked to the face image of the target person A. That is, in addition to the ID registered in the preparatory operation 1, the face image of the target person A, and the recognition duration time, the face images of the related persons B, C, and D may be associated and registered.

次に、顔認識の実行動作について、図4を用いて説明する。ここでは、ユーザ(撮影者)が、複数の人物に対してカメラを構え、静止画を撮影しようとする場合において、対象人物Aの顔画像を認識させる例とする。対象人物Aの顔画像は、上記準備動作1にて予め登録されており、また、その対象人物Aに関連する関連人物B、C、Dの顔画像も、上記準備動作2にて予め登録されているとする。   Next, the face recognition execution operation will be described with reference to FIG. Here, an example in which a user (photographer) holds a camera for a plurality of persons and recognizes a face image of the target person A when shooting a still image. The face image of the target person A is registered in advance in the preparation operation 1, and the face images of the related persons B, C, and D related to the target person A are also registered in advance in the preparation operation 2. Suppose that

ユーザは、カメラを構える前に、図3のS11と同様にして、認識させたい顔画像の選択(指定)を入力部7にて行う。ここでは、対象人物Aの顔画像が選択されたとする。この選択により、対象人物Aの顔画像に紐付けられた関連人物B、C、Dの顔画像も認識の対象となる。   The user selects (specifies) a face image to be recognized by the input unit 7 in the same manner as S11 in FIG. Here, it is assumed that the face image of the target person A is selected. By this selection, the face images of the related persons B, C, and D associated with the face image of the target person A are also recognized.

ユーザが、複数の人物がいる場所に対してカメラを構えると、画像処理部6は、液晶パネル5にフレーム内画像の表示を行わせる(S21)。これにより、ユーザは、撮影しようとする画像(カメラを構えた先にある画像)を視認できる。このとき、ユーザは、カメラを動かさないようにする。   When the user holds the camera at a place where a plurality of persons are present, the image processing unit 6 causes the liquid crystal panel 5 to display the image in the frame (S21). As a result, the user can visually recognize an image to be taken (an image ahead of the camera). At this time, the user does not move the camera.

画像処理部6は、液晶パネル5に表示されたフレーム内画像において、対象人物Aの顔画像及び関連人物B、C、Dの顔画像の認識を開始する(S22)。この顔認識は、メモリ4に登録されている対象人物A、関連人物B、C、Dの顔画像を基に、公知の顔認識技術を用いて行われる。   The image processing unit 6 starts recognizing the face image of the target person A and the face images of the related persons B, C, and D in the in-frame image displayed on the liquid crystal panel 5 (S22). This face recognition is performed using a known face recognition technique based on the face images of the target person A and related persons B, C, and D registered in the memory 4.

S22の後で、対象人物Aの顔画像を認識できた場合(S23/YES)、画像処理部6は、その旨のユーザへの通知を、液晶パネル5及び図示しないスピーカの少なくとも一方に行わせる(S32)。すなわち、対象人物Aの顔画像が認識できた旨を示す画面表示及び音声出力の少なくとも一方が行われることになる。また、このとき、画像処理部6は、認識できた対象人物Aの顔画像の位置をユーザが視認できるような表示(例えば、対象人物Aの顔画像にマークを被せる表示等)を、液晶パネル5に行わせるようにしてもよい。なお、画像処理部6が対象人物Aの顔画像を認識できた場合とは、対象人物Aの顔画像(又は身体の一部の画像)がフレーム内画像に写っている場合である。   If the face image of the target person A can be recognized after S22 (S23 / YES), the image processing unit 6 causes at least one of the liquid crystal panel 5 and a speaker (not shown) to notify the user to that effect. (S32). That is, at least one of screen display and sound output indicating that the face image of the target person A has been recognized is performed. At this time, the image processing unit 6 displays a display that allows the user to visually recognize the position of the recognized face image of the target person A (for example, a display that puts a mark on the face image of the target person A). 5 may be performed. The case where the image processing unit 6 can recognize the face image of the target person A is a case where the face image (or an image of a part of the body) of the target person A is reflected in the in-frame image.

S22の後で、対象人物Aの顔画像及び関連人物B、C、Dの顔画像のいずれも認識できない場合(S23/NO、S24/NO)、画像処理部6は、その旨のユーザへの通知を、液晶パネル5及び図示しないスピーカの少なくとも一方に行わせる(S29)。すなわち、対象人物Aの顔画像及び関連人物B、C、Dの顔画像のいずれも認識できない旨を示す画面表示及び音声出力の少なくとも一方が行われることになる。S29以降については後述する。なお、画像処理部6が対象人物Aの顔画像及び関連人物B、C、Dの顔画像のいずれも認識できない場合とは、対象人物A及び関連人物B、C、Dの全員が、フレーム外に存在していたり、又は、物や人などの背後に隠れていたりして、フレーム内画像に全く写っていない場合、あるいは、フレーム内画像に身体の一部は写っているものの、例えば上記特許文献1、2等の公知の技術を用いても対象人物Aあるいは関連人物B、C、Dの顔として認識されない場合である。   After S22, when neither the face image of the target person A nor the face images of the related persons B, C, D can be recognized (S23 / NO, S24 / NO), the image processing unit 6 notifies the user to that effect. At least one of the liquid crystal panel 5 and a speaker (not shown) is notified (S29). That is, at least one of a screen display and an audio output indicating that the face image of the target person A and the face images of the related persons B, C, and D cannot be recognized is performed. S29 and subsequent steps will be described later. Note that when the image processing unit 6 cannot recognize both the face image of the target person A and the face images of the related persons B, C, and D, all of the target person A and the related persons B, C, and D are outside the frame. Or is hidden behind an object or person and is not reflected in the frame image at all, or a part of the body is reflected in the frame image. This is a case where the face of the target person A or the related person B, C, or D is not recognized even if known techniques such as Documents 1 and 2 are used.

S22の後で、対象人物Aの顔画像は認識できないが、関連人物B、C、Dの顔画像のいずれかが認識できた場合(S23/NO、S24/YES)、画像処理部6は、その旨のユーザへの通知を、液晶パネル5及び図示しないスピーカの少なくとも一方に行わせる(S25)。すなわち、関連人物B、C、Dの顔画像のうちどの顔画像が認識できたかを示すとともに、対象人物Aの顔画像の認識を継続する旨を示す画面表示及び音声出力の少なくとも一方が行われることになる。なお、画像処理部6が対象人物Aの顔画像は認識できないが、関連人物B、C、Dの顔画像のいずれかが認識できた場合とは、関連人物B、C、Dのいずれかの顔画像(又は身体の一部の画像)がフレーム内画像に写っていて関連人物B、C、Dのいずれかの顔認識ができているものの、対象人物Aが、フレーム外に存在していたり、あるいは、物や人などの背後に隠れていたりして、フレーム内画像に全く写っていない場合、あるいは、フレーム内画像に対象人物Aの身体の一部が写っているものの、例えば上記特許文献1、2等の公知の技術を用いても対象人物Aの顔として認識されない場合である。   After S22, the face image of the target person A cannot be recognized, but if any of the face images of the related persons B, C, D can be recognized (S23 / NO, S24 / YES), the image processing unit 6 A notification to that effect is sent to at least one of the liquid crystal panel 5 and a speaker (not shown) (S25). That is, at least one of the screen display and the sound output indicating which face image of the related person B, C, and D can be recognized and indicating that the recognition of the face image of the target person A is continued is performed. It will be. Note that the image processing unit 6 cannot recognize the face image of the target person A, but if any of the face images of the related person B, C, or D is recognized, it means any of the related person B, C, or D. Although the face image (or the image of a part of the body) is reflected in the image in the frame and any of the related persons B, C, D can be recognized, the target person A exists outside the frame. Or, it is hidden behind an object or a person and is not reflected in the image in the frame at all, or a part of the body of the target person A is reflected in the image in the frame. This is a case where it is not recognized as the face of the target person A even if a known technique such as 1 or 2 is used.

S25の後、画像処理部6は、液晶パネル5に表示されたフレーム内画像において、対象人物Aの顔画像の認識を継続する(S26)。すなわち、従来では、対象人物Aがフレーム内画像に全く写っていない場合、又は、その顔画像が認識できなかった時点で(S23/NO)、対象人物Aの顔画像の認識は中止されていたが、本実施形態では、関連人物B、C、Dのいずれかの顔認識ができていれば(S23/NO、S24/YES)、対象人物Aの顔画像の認識は中止されずに、継続されることになる。   After S25, the image processing unit 6 continues to recognize the face image of the target person A in the in-frame image displayed on the liquid crystal panel 5 (S26). That is, conventionally, when the target person A is not shown in the image within the frame or when the face image cannot be recognized (S23 / NO), the recognition of the face image of the target person A has been stopped. However, in this embodiment, if any of the related persons B, C, D is recognized (S23 / NO, S24 / YES), the recognition of the face image of the target person A is continued without being stopped. Will be.

S26の後、対象人物Aの顔画像が認識できた場合(S27/YES)、画像処理部6は、上述したS32の動作を行う(説明は省略する)。なお、画像処理部6が対象人物Aの顔画像が認識できた場合とは、フレーム外に存在していたり、あるいは、物や人などの背後に隠れていたりしていた対象人物Aが移動するなどして、対象人物Aの顔画像(又は身体の一部の画像)がフレーム内画像に写り、対象人物Aの顔として認識された場合である。   If the face image of the target person A can be recognized after S26 (S27 / YES), the image processing unit 6 performs the above-described operation of S32 (description is omitted). Note that when the image processing unit 6 can recognize the face image of the target person A, the target person A that exists outside the frame or is hidden behind an object or person moves. For example, the face image of the target person A (or an image of a part of the body) appears in the in-frame image and is recognized as the face of the target person A.

S26の後、対象人物Aの顔画像が認識できない場合(S27/NO)、画像処理部6は、予め指定された認識継続時間が経過するまで、対象人物Aの顔画像の認識を継続する(S28/NO)。認識継続時間が経過したかどうかは、図示しないタイマ部の計時結果を基に、画像処理部6が判断する。   If the face image of the target person A cannot be recognized after S26 (S27 / NO), the image processing unit 6 continues to recognize the face image of the target person A until a predetermined recognition duration time elapses ( S28 / NO). The image processing unit 6 determines whether or not the recognition continuation time has elapsed, based on a time measurement result of a timer unit (not shown).

認識継続時間が経過した場合(S28/YES)、画像処理部6は、上述したS29の動作を行う(説明は省略する)。   When the recognition continuation time has elapsed (S28 / YES), the image processing unit 6 performs the above-described operation of S29 (description is omitted).

次に、画像処理部6は、対象人物Aの顔画像に紐付けられた全ての関連人物B、C、Dの顔認識ができたかどうかを判断する(S30)。例えば、S24/YESの場合にて関連人物Bの顔認識ができたとすると、関連人物C、Dについては顔認識ができなかったので(S30/NO)、S31へ移行することになる。   Next, the image processing unit 6 determines whether or not all related persons B, C, and D associated with the face image of the target person A have been recognized (S30). For example, in the case of S24 / YES, if the face of related person B can be recognized, face recognition cannot be performed for related persons C and D (S30 / NO), and the process proceeds to S31.

次に、画像処理部6は、現在液晶パネル5に表示中のフレーム内画像が変更されたかどうかを判断する(S31)。フレーム内画像の変更は、ユーザが、これまでに構えていたカメラを移動させ、別の場所に対してカメラを構えることで行われる。すなわち、ユーザは、現在表示中のフレーム内画像における対象人物Aの顔画像の認識が失敗したことから、現在の位置からカメラを移動させ、別の場所に対してカメラを構え、別のフレーム内画像の表示を試みることになる。   Next, the image processing unit 6 determines whether or not the in-frame image currently displayed on the liquid crystal panel 5 has been changed (S31). The in-frame image is changed by moving the camera that has been held by the user and holding the camera at another location. That is, since the user has failed to recognize the face image of the target person A in the currently displayed frame image, the user moves the camera from the current position, holds the camera at another location, Attempts to display images.

画像処理部6は、フレーム内画像の変更を検出すると(S31/YES)、再びS21から動作を開始する。ただし、この場合、S22にて認識対象となる関連人物の顔画像は、変更前のフレーム内画像において既に認識された顔画像が除外される。例えば、変更前のフレーム内画像において関連人物Bの顔認識が行われたとすると(S24/YES)、変更後のフレーム内画像(新たに表示されたフレーム内画像)においては、関連人物C、Dの顔画像が認識の対象となる。なお、上記説明では、対象人物Aの顔認識が失敗した後に再度画像処理部6が顔認識を開始する契機として、「ユーザが、カメラを別の場所に移動させて、カメラを構えて別のフレーム内画像の表示を試み、画像処理部6がフレーム内画像の変更を検出したとき」を例としたが、これに限定されない。例えば、カメラの移動中、フレーム内画像のズームイン時、フレーム内画像のズームアウト時、のいずれかを契機として顔認識が行われるようにしてもよい。   When detecting the change of the intra-frame image (S31 / YES), the image processing unit 6 starts the operation again from S21. In this case, however, the face image of the related person to be recognized in S22 is excluded from the face image already recognized in the intra-frame image before the change. For example, when the face recognition of the related person B is performed in the pre-change intra-frame image (S24 / YES), in the post-change intra-frame image (the newly displayed intra-frame image), the related persons C and D The face image is a recognition target. In the above description, the trigger for the image processing unit 6 to start the face recognition again after the face recognition of the target person A has failed is as follows: “The user moves the camera to another location, holds the camera, Although “when the image processing unit 6 detects a change in the intra-frame image when attempting to display the intra-frame image” is taken as an example, the present invention is not limited to this. For example, face recognition may be performed when the camera is moving, when the in-frame image is zoomed in or when the in-frame image is zoomed out.

S31にて、フレーム内画像の変更が一定時間検出されなかった場合(S31/NO)、図4に示す一連の動作は終了される。また、S30にて、フレーム内画像の変更に伴って、関連人物B、C、Dの顔画像の全てを認識できたものの、いずれのフレーム内画像においても対象人物Aの顔画像が認識できなかった場合(S30/YES)、図4に示す一連の動作は終了される。また、図示はしていないが、S21〜S31のいずれかの段階で、入力部7が、ユーザから顔認識の実行終了の指示を受け付けた場合、図4に示す一連の動作は終了される。   If no change in the image within the frame is detected for a certain time in S31 (S31 / NO), the series of operations shown in FIG. 4 is terminated. In S30, all the face images of the related persons B, C, and D can be recognized along with the change of the in-frame image, but the face image of the target person A cannot be recognized in any of the in-frame images. If this is the case (S30 / YES), the series of operations shown in FIG. Although not shown, when the input unit 7 receives an instruction to end face recognition from the user at any stage of S21 to S31, the series of operations shown in FIG.

なお、図4の例では、全ての関連人物の顔認識ができなかった場合(S30/NO)、フレーム内画像の変更後に(S31/YES)、対象人物A及び残りの関連人物の顔画像の認識を開始するようにしたが、フレーム内画像の変更が無くても、対象人物A及び残りの関連人物の顔画像の認識を開始するようにしてもよい。   In the example of FIG. 4, when face recognition of all the related persons cannot be performed (S30 / NO), after the intra-frame image is changed (S31 / YES), the face images of the target person A and the remaining related persons are changed. Although the recognition is started, the recognition of the face images of the target person A and the remaining related persons may be started even if the intra-frame image is not changed.

以上説明したように、本実施形態の撮像装置によれば、予め対象人物の顔画像と関連人物の顔画像とを紐付けておき、所定のフレーム内画像において、対象人物が全く写っていないために、あるいは、対象人物の身体の一部が写っているものの、その身体の一部が顔認識を行えないものであるために、対象人物の顔画像が認識できなくても、関連人物の顔画像が認識できていれば、対象人物の顔画像の認識を中止することなく、継続することができる。   As described above, according to the imaging apparatus of the present embodiment, the target person's face image and the related person's face image are linked in advance, and the target person is not captured at all in the predetermined frame image. Even if a part of the body of the target person is shown but the body part cannot recognize the face, the face of the related person can be detected even if the face image of the target person cannot be recognized. If the image can be recognized, it can be continued without stopping the recognition of the face image of the target person.

また、図4の説明では、本実施形態のカメラによる静止画像の撮影を例に説明したが、動画像の撮影についても同様に適用できる。   In the description of FIG. 4, still image shooting by the camera of the present embodiment has been described as an example. However, the present invention can be similarly applied to moving image shooting.

以上、本発明の実施形態について説明したが、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲において種々の変形が可能である。以下、変形例について説明する。   As mentioned above, although embodiment of this invention was described, it is not limited to the said embodiment, A various deformation | transformation is possible in the range which does not deviate from the summary. Hereinafter, modified examples will be described.

〔変形例1〕
上述した実施形態では、本発明の画像処理装置の一実施形態である画像処理部6を、本発明の撮像装置の一実施形態であるカメラ(デジタルスチルカメラ)に搭載した例について説明したが、画像処理部6は、カメラ以外の情報処理装置に搭載されてもよいし、あるいは、情報処理装置に搭載されることなく単体で用いられてもよい。ここで、画像処理部6がPC(Personal Computer)に搭載された例について図5を用いて説明する。
[Modification 1]
In the above-described embodiment, the example in which the image processing unit 6 that is one embodiment of the image processing apparatus of the present invention is mounted on the camera (digital still camera) that is one embodiment of the imaging apparatus of the present invention has been described. The image processing unit 6 may be mounted on an information processing apparatus other than the camera, or may be used alone without being mounted on the information processing apparatus. Here, an example in which the image processing unit 6 is mounted on a PC (Personal Computer) will be described with reference to FIG.

図5に示すように、撮像装置10とPC20は、有線又は無線で接続されており、データの送受信が可能となっている。撮像装置10は、例えば、デジタルスチルカメラでもよいし、遠隔地に配置されたビデオカメラであってもよい(フレーム内画像の撮像が可能な一般的な撮像装置であればよい)。PC20には、記憶装置21、表示装置22、入力装置23の他に、本実施形態の画像処理部6が内蔵されている。記憶装置21は、例えばHDD(Hard Disk Drive)等の不揮発性メモリであり、図1に示すメモリ4に相当する。表示装置22は、ディスプレイであり、図1に示す液晶パネル5に相当する。入力装置23は、例えばキーボードやマウス等のデバイスであり、図1に示す入力部7に相当する。なお、図5には図示していないが、画像処理部6と、記憶装置21、表示装置22、入力装置23とはそれぞれバス等によって電気的に接続されており、互いにデータの送受信が可能となっている。また、図5において、記憶装置21は、PC20に内蔵としたが、PC20の外部に設けられてもよい(例えば、ネットワーク上のサーバ等)。   As shown in FIG. 5, the imaging device 10 and the PC 20 are connected by wire or wirelessly and can transmit and receive data. The imaging device 10 may be, for example, a digital still camera or a video camera disposed at a remote place (a general imaging device capable of capturing an image in a frame). In addition to the storage device 21, the display device 22, and the input device 23, the PC 20 includes the image processing unit 6 of this embodiment. The storage device 21 is a nonvolatile memory such as an HDD (Hard Disk Drive), and corresponds to the memory 4 shown in FIG. The display device 22 is a display and corresponds to the liquid crystal panel 5 shown in FIG. The input device 23 is a device such as a keyboard or a mouse, and corresponds to the input unit 7 shown in FIG. Although not shown in FIG. 5, the image processing unit 6, the storage device 21, the display device 22, and the input device 23 are electrically connected to each other by a bus or the like, and data can be transmitted and received between them. It has become. 5, the storage device 21 is built in the PC 20, but may be provided outside the PC 20 (for example, a server on a network).

図5に示す画像処理部6は、フレーム内画像取得手段61、顔画像認識手段62、制御手段63を有する。これらの手段により、上述した図4の顔認識の実行が行われる。このときの動作例を以下に説明する。   The image processing unit 6 illustrated in FIG. 5 includes an intra-frame image acquisition unit 61, a face image recognition unit 62, and a control unit 63. The above-described face recognition in FIG. 4 is executed by these means. An operation example at this time will be described below.

まず、フレーム内画像取得手段61は、撮像装置10から所定のインターフェースを介してPC20に出力されたフレーム内画像を、画像処理部6に取り込む。このフレーム内画像は、表示装置22により、画面表示される(S21)。   First, the intra-frame image acquisition unit 61 captures the intra-frame image output from the imaging device 10 to the PC 20 via a predetermined interface into the image processing unit 6. This in-frame image is displayed on the screen by the display device 22 (S21).

次に、顔画像認識手段62は、記憶装置21に予め登録されている、対象人物の顔画像と、それに紐付けられた関連人物の顔画像とに基づいて、フレーム内画像に対して対象人物及び関連人物の顔画像の認識を開始する(S22)。なお、記憶装置21への各顔画像の登録は、例えば図2、図3で説明した各準備動作をPC20上で行うことができる。特に、図3に示す準備動作2については、制御手段63が行うようにしてもよい。すなわち、制御手段63は、ユーザにより指定された対象人物の顔画像を基に、所定の写真データ(例えば記憶装置21に予め記憶されているもの)の中から、対象人物の顔画像と少なくとも一人の関連人物の顔画像とを含む写真データを検索する(図3のS11、S12)。次に、制御手段63は、検索した写真データに含まれる全ての関連人物の顔画像の認識を行うように顔画像認識手段を制御する(図3のS13)。次に、制御手段63は、認識された関連人物の顔画像を、ユーザにより指定された対象人物の顔画像に紐付けて所定の記憶手段(例えば記憶装置21)に登録する(図3のS14)。   Next, the face image recognition unit 62 applies the target person to the in-frame image based on the face image of the target person registered in advance in the storage device 21 and the face image of the related person associated therewith. And the recognition of the related person's face image is started (S22). The registration of each face image in the storage device 21 can be performed on the PC 20 by performing each of the preparation operations described with reference to FIGS. In particular, the controller 63 may perform the preparation operation 2 shown in FIG. That is, the control means 63 is based on the face image of the target person designated by the user, and from at least one person face image of the target person from predetermined photo data (for example, those stored in advance in the storage device 21). The photograph data including the related person's face image is searched (S11, S12 in FIG. 3). Next, the control means 63 controls the face image recognition means so as to recognize face images of all related persons included in the retrieved photographic data (S13 in FIG. 3). Next, the control means 63 associates the recognized related person's face image with the face image of the target person designated by the user and registers it in a predetermined storage means (for example, the storage device 21) (S14 in FIG. 3). ).

S22の顔画像の認識開始後、対象人物の顔画像が認識できないが(S23/NO)、関連人物の顔画像が認識できた場合(S24/YES)、制御手段63は、認識できた関連人物の顔画像をユーザに通知するように、所定の通知手段(例えば表示装置22)を制御する(S25)。次に、制御手段63は、対象人物の顔画像の認識を所定時間(例えば、上述した認識継続時間)継続するように、顔画像認識手段62を制御する(S26、S27/NO、S28/NO)。制御手段63は、対象人物の顔画像の認識を所定時間継続しても、対象人物の顔画像の認識ができなかった場合(S28/YES)、対象人物の顔画像が認識できなかった旨をユーザに通知するように、所定の通知手段(例えば表示装置22)を制御する(S29)。   When the face image of the target person cannot be recognized after the start of the face image recognition in S22 (S23 / NO), but the face image of the related person can be recognized (S24 / YES), the control means 63 recognizes the related person who has been recognized. A predetermined notification means (for example, the display device 22) is controlled so as to notify the user of the face image (S25). Next, the control means 63 controls the face image recognition means 62 so as to continue recognition of the face image of the target person for a predetermined time (for example, the above-described recognition continuation time) (S26, S27 / NO, S28 / NO). ). If the face image of the target person cannot be recognized even after the face image of the target person has been recognized for a predetermined time (S28 / YES), the control means 63 indicates that the face image of the target person could not be recognized. A predetermined notification means (for example, the display device 22) is controlled so as to notify the user (S29).

次に、制御手段63は、全ての関連人物の顔画像を認識したかどうかを判断する(S30)。まだ検索していない関連人物の顔画像がある場合で(S30/NO)、フレーム内画像の変更があった場合、すなわち撮像装置10から新たなフレーム内画像が送られてきた場合には(S31/YES)、新たなフレーム内画像(変更後のフレーム内画像)に対して、対象人物の顔画像及び関連人物の顔画像の認識を行うように、顔画像認識手段62を制御する。但しこのとき、制御手段63は、新たなフレーム内画像に対し、変更前のフレーム内画像で認識できた関連人物の顔画像を認識の対象から除外して顔画像の認識を行うように制御する。これにより、新たなフレーム内画像が表示装置22に表示され(S21)、顔画像認識手段62は、新たなフレーム内画像に対して、対象人物の顔画像及び未認識である関連人物の顔画像の認識を開始する(S22)。   Next, the control means 63 determines whether or not all related person face images have been recognized (S30). If there is a related person's face image that has not yet been searched (S30 / NO), and if the intra-frame image has been changed, that is, if a new intra-frame image has been sent from the imaging device 10 (S31). / YES), the face image recognition means 62 is controlled so as to recognize the face image of the target person and the face image of the related person with respect to the new in-frame image (the changed in-frame image). However, at this time, the control means 63 performs control so that the face image of the related person that can be recognized in the frame image before the change is excluded from the recognition target with respect to the new frame image. . As a result, a new in-frame image is displayed on the display device 22 (S21), and the face image recognition means 62 performs the face image of the target person and the unrecognized related person face image with respect to the new in-frame image. Is started (S22).

〔変形例2〕
例えば、上述した実施形態における動作は、ハードウェア、または、ソフトウェア、あるいは、両者の複合構成によって実行することも可能である。ソフトウェアによる処理を実行する場合には、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれているコンピュータ内のメモリにインストールして実行させてもよい。あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させてもよい。そのようなプログラムは、例えば、記録媒体としてのハードディスクやROM(Read Only Memory)に予め記録しておくことが可能である。あるいは、プログラムは、CD−ROM(Compact Disc Read Only Memory)、MO(Magneto Optical)ディスク、DVD(Digital Versatile Disc)、USB(Universal Serial Bus)メモリ、磁気ディスク、半導体メモリなどのリムーバブル記録媒体に、一時的、あるいは、永続的に格納(記録)しておくことが可能である。このようなリムーバブル記録媒体は、いわゆるパッケージソフトウエアとして提供することが可能である。
[Modification 2]
For example, the operation in the above-described embodiment can be executed by hardware, software, or a combined configuration of both. When executing processing by software, a program in which a processing sequence is recorded may be installed and executed in a memory in a computer incorporated in dedicated hardware. Or you may install and run a program in the general purpose computer which can perform various processes. Such a program can be recorded in advance on, for example, a hard disk or a ROM (Read Only Memory) as a recording medium. Alternatively, the program is stored on a removable recording medium such as a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto Optical) disc, a DVD (Digital Versatile Disc), a USB (Universal Serial Bus) memory, a magnetic disc, and a semiconductor memory. It is possible to store (record) temporarily or permanently. Such a removable recording medium can be provided as so-called package software.

なお、上記プログラムは、上述したようなリムーバブル記録媒体からコンピュータにインストールする他、ダウンロードサイトから、コンピュータに無線転送してもよい。または、LAN(Local Area Network)、インターネットといったネットワークを介して、コンピュータに有線で転送してもよい。コンピュータでは、転送されてきたプログラムを受信し、内蔵するハードディスク等の記録媒体にインストールすることが可能である。   The program may be wirelessly transferred to a computer from a download site, in addition to being installed on the computer from a removable recording medium as described above. Or you may wire-transfer to a computer via networks, such as LAN (Local Area Network) and the internet. The computer can receive the transferred program and install it on a recording medium such as a built-in hard disk.

また、上述した実施形態における動作は、上述したように時系列的に実行されるのみならず、処理を実行する装置の処理能力、あるいは、必要に応じて並列的にあるいは個別に実行するように構築することも可能である。   In addition, the operations in the above-described embodiments are not only executed in time series as described above, but are also executed in parallel or individually as required by the processing capability of the apparatus that executes the processing. It is also possible to construct.

1 光学系
2 撮像素子
3 AFE
4 メモリ
5 液晶パネル
6 画像処理部
7 入力部
10 撮像装置
20 PC
21 記憶装置
22 表示装置
23 入力装置
61 フレーム内画像取得手段
62 顔画像認識手段
63 制御手段
DESCRIPTION OF SYMBOLS 1 Optical system 2 Image sensor 3 AFE
4 Memory 5 Liquid Crystal Panel 6 Image Processing Unit 7 Input Unit 10 Imaging Device 20 PC
DESCRIPTION OF SYMBOLS 21 Memory | storage device 22 Display apparatus 23 Input device 61 In-frame image acquisition means 62 Face image recognition means 63 Control means

Claims (9)

撮像装置のフレーム内画像を取得するフレーム内画像取得手段と、
予め登録された、顔認識の対象となる対象人物の顔画像と、前記対象人物の顔画像に紐付けられた関連人物の顔画像とに基づいて、前記フレーム内画像に対して前記対象人物の顔画像及び前記関連人物の顔画像の認識を行う顔画像認識手段と、
前記対象人物の顔画像の認識ができず、前記関連人物の顔画像の認識ができた場合に、前記対象人物の顔画像の認識を所定時間継続するように、前記顔画像認識手段を制御する制御手段と、
を有することを特徴とする画像処理装置。
An intra-frame image acquisition means for acquiring an intra-frame image of the imaging apparatus;
Based on the face image of the target person to be face-recognized in advance and the face image of the related person linked to the face image of the target person, the target person's face image is compared with the in-frame image. Face image recognition means for recognizing a face image and a face image of the related person;
When the face image of the target person cannot be recognized and the face image of the related person can be recognized, the face image recognition means is controlled so as to continue recognition of the face image of the target person for a predetermined time. Control means;
An image processing apparatus comprising:
前記制御手段は、
前記対象人物の顔画像の認識ができず、前記関連人物の顔画像の認識ができた場合に、認識できた前記関連人物の顔画像をユーザに通知するように、所定の通知手段を制御することを特徴とする請求項1記載の画像処理装置。
The control means includes
When the face image of the target person cannot be recognized and the face image of the related person can be recognized, a predetermined notification unit is controlled so as to notify the user of the recognized face image of the related person. The image processing apparatus according to claim 1.
前記制御手段は、
前記対象人物の顔画像の認識を所定時間継続しても、前記対象人物の顔画像の認識ができなかった場合に、前記対象人物の顔画像が認識できなかった旨をユーザに通知するように、所定の通知手段を制御することを特徴とする請求項2記載の画像処理装置。
The control means includes
If the face image of the target person cannot be recognized even if the recognition of the face image of the target person is continued for a predetermined time, the user is notified that the face image of the target person cannot be recognized. 3. The image processing apparatus according to claim 2, wherein a predetermined notification means is controlled.
前記制御手段は、
前記対象人物の顔画像の認識を所定時間継続しても、前記対象人物の顔画像の認識ができなかった後で、前記フレーム内画像の変更があった場合には、変更後のフレーム内画像に対して、前記対象人物の顔画像及び前記関連人物の顔画像の認識を行うように、前記顔画像認識手段を制御することを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
The control means includes
If the in-frame image is changed after the face image of the target person cannot be recognized even if the recognition of the face image of the target person is continued for a predetermined time, the in-frame image after the change 4. The apparatus according to claim 1, wherein the face image recognition means is controlled to recognize the face image of the target person and the face image of the related person. Image processing device.
前記制御手段は、
前記変更後のフレーム内画像に対して前記対象人物の顔画像及び前記関連人物の顔画像の認識が行われる場合、変更前のフレーム内画像で認識できた関連人物の顔画像を認識の対象から除外して顔画像の認識を行うように、前記顔画像認識手段を制御することを特徴とする請求項4記載の画像処理装置。
The control means includes
When the face image of the target person and the face image of the related person are recognized with respect to the image in the frame after the change, the face image of the related person that can be recognized in the image in the frame before the change is recognized from the recognition target. The image processing apparatus according to claim 4, wherein the face image recognition unit is controlled so as to exclude the face image and exclude the face image.
前記制御手段は、
ユーザにより指定された前記対象人物の顔画像を基に、所定の写真データの中から、前記対象人物の顔画像と少なくとも一人の前記関連人物の顔画像とを含む写真データを検索し、
検索した前記写真データに含まれる全ての前記関連人物の顔画像の認識を行うように、前記顔画像認識手段を制御し、
認識された前記関連人物の顔画像を、前記ユーザにより指定された前記対象人物の顔画像に紐付けて所定の記憶手段に登録することを特徴とする請求項1から5のいずれか1項に記載の画像処理装置。
The control means includes
Based on the face image of the target person specified by the user, search for photo data including the face image of the target person and the face image of at least one related person from predetermined photo data,
Controlling the face image recognition means to recognize face images of all the related persons included in the searched photographic data;
6. The recognized face image of the related person is registered in a predetermined storage unit in association with the face image of the target person specified by the user. The image processing apparatus described.
請求項1から6のいずれか1項に記載の画像処理装置を備えたことを特徴とする撮像装置。   An imaging apparatus comprising the image processing apparatus according to claim 1. 撮像装置のフレーム内画像を取得するステップと、
予め登録された、顔認識の対象となる対象人物の顔画像と、前記対象人物の顔画像に紐付けられた関連人物の顔画像とに基づいて、前記フレーム内画像に対して前記対象人物の顔画像及び前記関連人物の顔画像の認識を行うステップと、
前記対象人物の顔画像の認識ができず、前記関連人物の顔画像の認識ができた場合に、前記対象人物の顔画像の認識を所定時間継続するステップと、
を有することを特徴とする顔画像認識方法。
Obtaining an in-frame image of the imaging device;
Based on the face image of the target person to be face-recognized in advance and the face image of the related person linked to the face image of the target person, the target person's face image is compared with the in-frame image. Recognizing a face image and a face image of the related person;
Continuing recognition of the face image of the target person for a predetermined time when the face image of the target person cannot be recognized and the face image of the related person can be recognized;
A face image recognition method characterized by comprising:
撮像装置のフレーム内画像を取得する処理と、
予め登録された、顔認識の対象となる対象人物の顔画像と、前記対象人物の顔画像に紐付けられた関連人物の顔画像とに基づいて、前記フレーム内画像に対して前記対象人物の顔画像及び前記関連人物の顔画像の認識を行う処理と、
前記対象人物の顔画像の認識ができず、前記関連人物の顔画像の認識ができた場合に、前記対象人物の顔画像の認識を所定時間継続する処理と、
をコンピュータに実行させることを特徴とするプログラム。
Processing to acquire an image within the frame of the imaging device;
Based on the face image of the target person to be face-recognized in advance and the face image of the related person linked to the face image of the target person, the target person's face image is compared with the in-frame image. Processing for recognizing a face image and a face image of the related person;
A process of continuing recognition of the face image of the target person for a predetermined time when the face image of the target person cannot be recognized and the face image of the related person can be recognized;
A program that causes a computer to execute.
JP2010219509A 2010-09-29 2010-09-29 Image processing device, imaging device, face image recognition method and program Withdrawn JP2012075020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010219509A JP2012075020A (en) 2010-09-29 2010-09-29 Image processing device, imaging device, face image recognition method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010219509A JP2012075020A (en) 2010-09-29 2010-09-29 Image processing device, imaging device, face image recognition method and program

Publications (1)

Publication Number Publication Date
JP2012075020A true JP2012075020A (en) 2012-04-12

Family

ID=46170755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010219509A Withdrawn JP2012075020A (en) 2010-09-29 2010-09-29 Image processing device, imaging device, face image recognition method and program

Country Status (1)

Country Link
JP (1) JP2012075020A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017021844A (en) * 2016-09-29 2017-01-26 富士フイルム株式会社 Device for determining main face image in picked-up images, control method thereof, and control program therefor
US9832439B2 (en) 2013-09-26 2017-11-28 Fujifilm Corporation Device for determining principal facial image in photographic image, and method and program for controlling same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9832439B2 (en) 2013-09-26 2017-11-28 Fujifilm Corporation Device for determining principal facial image in photographic image, and method and program for controlling same
JP2017021844A (en) * 2016-09-29 2017-01-26 富士フイルム株式会社 Device for determining main face image in picked-up images, control method thereof, and control program therefor

Similar Documents

Publication Publication Date Title
JP2008276214A (en) Digital camera
US10630891B2 (en) Image processing apparatus, image processing method, and program
US8532345B2 (en) Camera and image recording program product
JP2007329784A (en) Imaging apparatus, method for controlling the same, and computer program
JP5959923B2 (en) Detection device, control method thereof, control program, imaging device and display device
US10455154B2 (en) Image processing device, image processing method, and program including stable image estimation and main subject determination
JP5430428B2 (en) Photography equipment
JP5388611B2 (en) Imaging apparatus, control method therefor, and program
JP4730478B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP2010171964A (en) Imaging apparatus
JP2008099246A (en) Imaging device and subject detection method
JP2009199049A (en) Imaging apparatus and imaging apparatus control method, and computer program
JP2010165012A (en) Imaging apparatus, image retrieval method, and program
JP2008299784A (en) Object determination device and program therefor
JP5820210B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2009060355A (en) Imaging apparatus, imaging method, and program
JP2012075020A (en) Image processing device, imaging device, face image recognition method and program
JP2011186547A (en) Display control apparatus, control method of the same, program and storage medium
JP2011259384A (en) Imaging apparatus, display device, program, and recording media
JP2010183253A (en) Information display device and information display program
JP2002084412A (en) Image processing unit and image processing method
JP2013242408A (en) Imaging device and control method of the same
JP5293769B2 (en) Imaging apparatus and program thereof
JP2011066828A (en) Imaging device, imaging method and program
JP2014023054A (en) Image processing apparatus, imaging apparatus, and image processing program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20131203