JP2012128521A - Image processing device, control method of image processing device and program - Google Patents

Image processing device, control method of image processing device and program Download PDF

Info

Publication number
JP2012128521A
JP2012128521A JP2010277315A JP2010277315A JP2012128521A JP 2012128521 A JP2012128521 A JP 2012128521A JP 2010277315 A JP2010277315 A JP 2010277315A JP 2010277315 A JP2010277315 A JP 2010277315A JP 2012128521 A JP2012128521 A JP 2012128521A
Authority
JP
Japan
Prior art keywords
image
face
determination
image processing
processing apparatus
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.)
Pending
Application number
JP2010277315A
Other languages
Japanese (ja)
Inventor
Tomonori Kudo
朋紀 工藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010277315A priority Critical patent/JP2012128521A/en
Publication of JP2012128521A publication Critical patent/JP2012128521A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device which accurately determines whether a photograph is a group photograph, a control method of the image processing device and a program.SOLUTION: An image is acquired (S300), face images existing in the acquired image are analyzed (S301), determination is made as to whether each face image existing in the analyzed image satisfies the conditions of a group photograph (S302 to S307), and based on the determination result, determination is made as to whether it is a group photograph (S308, S309).

Description

本発明は、撮影された写真画像に対する画像処理装置、画像処理装置の制御方法及びプログラムに関する。   The present invention relates to an image processing apparatus for a photographed image, a control method for the image processing apparatus, and a program.

近年、写真などの画像を解析し、キーワードなどメタデータを付与して検索などに利用している。具体的には、写真に写っている顔を検出して、検出した顔の個数によってキーワードを付与し、3人以上の場合、「集合写真」と判定するということが提案されている。(特許文献1)。
また、画像を縮小レイアウト処理した場合に、オリジナルの描画情報中に含まれる文字、線、画像が可読できないような印刷が実行されてしまうことの防止も提案されている。(特許文献2)。
In recent years, an image such as a photograph is analyzed, and metadata such as a keyword is added to be used for searching. Specifically, it has been proposed to detect a face in a photograph, assign a keyword depending on the number of detected faces, and determine “group photo” when there are three or more people. (Patent Document 1).
In addition, it has been proposed to prevent printing such that characters, lines, and images included in the original drawing information cannot be read when the image is subjected to reduced layout processing. (Patent Document 2).

特開2006−350552公報JP 2006-350552 A 特開2006−185307公報JP 2006-185307 A

しかしながら顔の個数で集合写真を判断した場合、写真にたまたま写りこんだ顔によって、集合写真と判断されてしまうことがあった。そのため、集合写真のキーワードが付与され、検索されてしまうことがあった。
また、画像を縮小処理する場合に、集合写真であれば顔を識別するために、縮小率を制限していたが、写真にたまたま写りこんだ対象外の顔によって画像が小さくなり過ぎないように縮小率が制限されてしまい必要以上に大きなサイズになっていた。
However, when a group photo is determined based on the number of faces, it may be determined as a group photo depending on the face that happens to be in the photo. For this reason, a keyword of a group photo may be assigned and searched.
Also, when reducing the image, the reduction rate was limited in order to identify the face if it was a group photo, but the image would not be too small due to an untargeted face that happened to appear in the photo. The reduction rate was limited and the size was larger than necessary.

そこで、本発明は、写真が集合写真かどうかを精度よく判定することを目的とする。   Accordingly, an object of the present invention is to accurately determine whether a photograph is a group photograph.

上記の目的を達成するための本発明の一態様による画像処理装置は以下の構成を備える。すなわち、画像を取得する取得手段と、前記取得手段で取得した画像中に存在する顔画像を解析する解析手段と、前記解析手段で解析した画像中に存在する顔画像各々が集合写真の条件を満たすかどうかを判定する顔画像判定手段と、前記顔画像判定手段による判定結果に基づいて集合写真であるかどうかを判定する集合写真判定手段とを有する。   In order to achieve the above object, an image processing apparatus according to an aspect of the present invention has the following arrangement. That is, an acquisition unit for acquiring an image, an analysis unit for analyzing a face image present in the image acquired by the acquisition unit, and each of the face images existing in the image analyzed by the analysis unit satisfy the group photo condition. A face image determining unit that determines whether the image is satisfied, and a group photo determining unit that determines whether the photo is a group photo based on a determination result by the face image determining unit.

本発明によれば、写真が集合写真かどうかを精度よく判定する。   According to the present invention, it is accurately determined whether a photo is a group photo.

本発明の実施形態に係る構成を示すブロック図である。It is a block diagram which shows the structure which concerns on embodiment of this invention. 本発明の実施形態に係る適用例である。It is an application example which concerns on embodiment of this invention. 本発明の実施形態に係る処理手順を示すフローチャートである。It is a flowchart which shows the process sequence which concerns on embodiment of this invention. 本発明の実施形態に係る処理手順を示すフローチャートである。It is a flowchart which shows the process sequence which concerns on embodiment of this invention.

<実施形態1>
本願発明の実施の形態について説明する。図1は本願発明にかかる画像処理装置の構成例を示すブロック図である。この画像処理装置は、CPUであるデータ処理部115、記憶部111、表示部116、入力部113、ネットワークI/F部117で構成される。
<Embodiment 1>
Embodiments of the present invention will be described. FIG. 1 is a block diagram showing a configuration example of an image processing apparatus according to the present invention. The image processing apparatus includes a data processing unit 115, which is a CPU, a storage unit 111, a display unit 116, an input unit 113, and a network I / F unit 117.

データ処理部115は、画像解析部118、画像判定部119、集合写真判定部120等から構成され、後述するフローの処理の制御を行う。画像解析部118の詳細は後述の図4のフローで、画像判定部119、集合写真判定部120の処理の詳細は、後述の図3のフローのS302〜S309で説明する。   The data processing unit 115 includes an image analysis unit 118, an image determination unit 119, a group photograph determination unit 120, and the like, and controls the processing of a flow to be described later. Details of the image analysis unit 118 will be described later with reference to FIG. 4, and details of processing performed by the image determination unit 119 and the group photograph determination unit 120 will be described later with reference to steps S302 to S309 in FIG.

図示しないが、本画像処理装置はROMを備え、データ処理部115による制御の手順を記憶させた計算機プログラムやデータが格納されている。   Although not shown, the image processing apparatus includes a ROM and stores a computer program and data in which a control procedure by the data processing unit 115 is stored.

また、図示しないが本画像処理装置はRAMを備え、データ処理部115が処理するための制御プログラムを格納するとともに、データ処理部115が各種制御を実行する際の様々なデータの作業領域を提供する。   Although not shown, the image processing apparatus includes a RAM, stores a control program for processing by the data processing unit 115, and provides a work area for various data when the data processing unit 115 executes various controls. To do.

また、図示しないが、図1の画像処理装置は他の画像処理装置とネットワークに接続されている。   Although not shown, the image processing apparatus in FIG. 1 is connected to another image processing apparatus and a network.

次に本実施形態による画像処理の処理フローを図3に基づいて説明する。以下の処理はデータ処理部115によって制御される。   Next, a processing flow of image processing according to the present embodiment will be described with reference to FIG. The following processing is controlled by the data processing unit 115.

図3の処理フローは画像取得処理(S300)と画像解析処理(S301)と顔画像判定処理(S302〜S307)と、集合写真判定処理(S308、S309)から構成される。顔画像判定処理は更に、被写体人数判定処理(S302)と視線判定処理(S303)とカメラ目線判定処理(S304)と撮影条件判定処理(S305)と顔面積判定処理(S306)と顔間隔判定処理(S307)とから構成される。ここでは、各判定の順序は優先度の高い判定から順に行うこととする。集合写真判定処理は更に集合写真設定処理(S308)と集合写真否設定処理(S309)とから構成される。   3 includes an image acquisition process (S300), an image analysis process (S301), a face image determination process (S302 to S307), and a group photo determination process (S308, S309). The face image determination processing is further performed by subject number determination processing (S302), gaze determination processing (S303), camera eye determination processing (S304), shooting condition determination processing (S305), face area determination processing (S306), and face interval determination processing. (S307). Here, the order of each determination is made in order from the determination with the highest priority. The group photo determination process further includes a group photo setting process (S308) and a group photo rejection setting process (S309).

図3のフローについて動作例を説明する。画像取得処理(S300)では、カメラなどから読み込まれた写真等の画像が保存されている記憶部111から対象画像を取得する。次に画像解析処理(S301)では対象画像を解析して顔や顔の部位、視線などを検出する。詳細は後述する。   An operation example of the flow of FIG. 3 will be described. In the image acquisition process (S300), a target image is acquired from the storage unit 111 in which an image such as a photograph read from a camera or the like is stored. Next, in the image analysis process (S301), the target image is analyzed to detect a face, a face part, a line of sight, and the like. Details will be described later.

以降、顔画像判定処理をしてその判定結果から集合写真判定を行う説明をする。まず、検出された顔画像が集合写真の条件をみたすかどうかを判定する顔画像判定処理をする。被写体人数判定処理(S302)ではS301で検出した画像中に存在する顔画像の個数が閾値以上であるかを判定する。例えば、3人未満であれば対象画像は集合写真ではないとしてS309へ進む。3人以上であればS303へ進む。次に視線判定処理(S303)ではS301で検出した顔のうち視線が検出できた割合を判定する。例えば、認識された顔のうち識別できた視線の割合が70%以上識別できればカメラ目線判定処理(S304)へ進む。70%未満であればカメラ目線判定処理をスキップしてS305へ進む。   Hereinafter, a description will be given of performing face image determination processing and performing group photo determination from the determination result. First, face image determination processing is performed to determine whether or not the detected face image satisfies the group photo condition. In the subject number determination process (S302), it is determined whether the number of face images existing in the image detected in S301 is equal to or greater than a threshold value. For example, if the number is less than three, the target image is not a group photo and the process proceeds to S309. If there are three or more, the process proceeds to S303. Next, in the line-of-sight determination process (S303), the ratio of the line of sight detected in the face detected in S301 is determined. For example, if the ratio of the line of sight that can be identified among the recognized faces can be identified by 70% or more, the process proceeds to the camera eye determination process (S304). If it is less than 70%, the camera gaze determination process is skipped and the process proceeds to S305.

次にカメラ目線判定処理(S304)では、S301で検出した顔画像それぞれの視線がカメラ方向を向いているか否かで判定する。例えば判別した視線の90%以上がカメラ方向を向いていれば対象画像は集合写真であると判定してS308へ進む。そうでなければ、S305へ進む。   Next, in the camera line-of-sight determination process (S304), it is determined whether or not the line of sight of each face image detected in S301 is facing the camera direction. For example, if 90% or more of the determined lines of sight are facing the camera direction, it is determined that the target image is a group photo and the process proceeds to S308. Otherwise, the process proceeds to S305.

次に撮影条件判定処理(S305)では、対象画像の撮影条件から判定する。例えば、焦点距離が50mm以下である。かつ、絞りがF8以上である。このような条件を満たしていれば、次の判定(S306)へ進む。そうでなければ、対象画像は集合写真ではないと判定して、S309へ進む。   Next, in shooting condition determination processing (S305), determination is made from the shooting conditions of the target image. For example, the focal length is 50 mm or less. In addition, the aperture is F8 or more. If such a condition is satisfied, the process proceeds to the next determination (S306). Otherwise, it is determined that the target image is not a group photo, and the process proceeds to S309.

次に顔面積判定処理(S306)では、S301で検出した顔画像それぞれの面積を求め、その均一性で判定する。例えば、すべての顔の面積が顔の面積の平均値と比較して±30%以内であるか否かを判定して条件を満たせば、次の判定(S307)へ進む。そうでなければ対象画像は集合写真ではないと判定して、S309へ進む。   Next, in the face area determination process (S306), the area of each face image detected in S301 is obtained and determined by its uniformity. For example, if it is determined whether the area of all the faces is within ± 30% of the average value of the face areas and the condition is satisfied, the process proceeds to the next determination (S307). Otherwise, it is determined that the target image is not a group photo, and the process proceeds to S309.

次に顔間隔判定処理(S307)ではS301で検出した顔画像それぞれの重心を求め、その重心間の距離における均一性で判定する。例えば、隣接するすべての顔の重心の間隔がそれぞれ顔間の距離の平均値と比較して±30%以内であるか否かを判定して条件を満たせば、対象画像は集合写真であると判定してS308へ進む。そうでなければ対象画像は集合写真ではないと判定して、S309へ進む。   Next, in the face interval determination process (S307), the centroid of each face image detected in S301 is obtained, and the determination is made by the uniformity in the distance between the centroids. For example, if it is determined whether or not the distance between the centers of gravity of all adjacent faces is within ± 30% of the average distance between the faces, and the condition is satisfied, the target image is a group photo Determine and proceed to S308. Otherwise, it is determined that the target image is not a group photo, and the process proceeds to S309.

集合写真設定処理(S308)では対象画像が集合写真であることを記憶部111に設定する。集合写真否設定処理(S309)では対象画像が集合写真ではないことを記憶部111に設定する。   In the group photo setting process (S308), it is set in the storage unit 111 that the target image is a group photo. In the group photograph rejection setting process (S309), it is set in the storage unit 111 that the target image is not a group photograph.

図4の処理フローは図3の画像解析処理(S301)の詳細処理フローである。
図4の処理フローは顔検出処理(S401)と顔検出判定処理(S402)と顔輪郭検出処理(S403)と顔パーツ判別処理(S404)と顔の向き判別処理(S405)と顔の向きが正面判定処理(S406)と黒目部が中央判定処理(S407)と顔の向きが左判定処理(S408)と黒目部の左に白目部判定処理(S409)と黒目部の右に白目部判定処理(S410)とカメラへの視線設定処理(S411)から構成される。
The processing flow of FIG. 4 is a detailed processing flow of the image analysis processing (S301) of FIG.
The processing flow of FIG. 4 includes face detection processing (S401), face detection determination processing (S402), face contour detection processing (S403), face part determination processing (S404), face orientation determination processing (S405), and face orientation. Front determination process (S406), black eye part is center determination process (S407), face orientation is left determination process (S408), white eye part determination process (S409) to the left of the black eye part, and white eye part determination process to the right of the black eye part (S410) and a line-of-sight setting process (S411) for the camera.

顔検出技術、顔パーツ判別技術、視線判別技術などは、例えば特開2009−059257や特開2008−011457等にあるように公知技術を用いればよい。   As the face detection technique, the face part discrimination technique, the line-of-sight discrimination technique, etc., publicly known techniques may be used as disclosed in, for example, JP2009-059257A and JP2008-011457A.

以下に画像解析処理を構成する各処理の詳細を説明する。
顔検出処理は、画像データを解析し、対象画像データにおける被写体中に人物がいるか否かの検出、及び対象画像データの被写体中に人物がいる場合には、その人物における顔部の位置や大きさ等の検出を行う。なお、被写体である人物(以降、被写体人物と称する)における顔部の範囲は、顔部の主要な色等から検出することができる。
Details of each process constituting the image analysis process will be described below.
The face detection process analyzes the image data, detects whether or not there is a person in the subject in the target image data, and if there is a person in the subject in the target image data, the position and size of the face portion in the person. Detecting etc. It should be noted that the range of the face portion of the person who is the subject (hereinafter referred to as the subject person) can be detected from the main color of the face portion.

輪郭検出処理は、画像データにシャープネス強調処理を施して、対象画像データ中の被写体に対して輪郭の形状を検出する為の処理である。眉部や眼部による横長の影と鼻部による縦長の影とによって構成されるT字型の影を、画像データから抽出する。これは、画像データから例えば輝度情報のみを抽出して処理することで得られる。このようにして被写体人物の顔部を検出し、更に色情報より肌色に近い色を有する部分のみを抽出することで、被写体人物の顔部の詳細な範囲を検出することができる。   The contour detection process is a process for performing a sharpness emphasis process on the image data to detect the contour shape of the subject in the target image data. A T-shaped shadow composed of a horizontally long shadow by the eyebrows and eyes and a vertically long shadow by the nose is extracted from the image data. This is obtained by extracting and processing only luminance information from image data, for example. By detecting the face portion of the subject person in this manner and extracting only the portion having a color close to the skin color from the color information, the detailed range of the face portion of the subject person can be detected.

顔パーツ判別処理は、顔検出処理によって検出された被写体人物の顔部における眼部、眉部及び鼻部等の各種顔パーツの位置を判別するための処理である。   The face part discrimination process is a process for discriminating the positions of various face parts such as the eye part, the eyebrow part and the nose part in the face part of the subject person detected by the face detection process.

顔パーツ判別処理による被写体人物の各種顔パーツの位置を判定する方法の1つである色に基づいた判別方法について説明する。まず、被写体人物における顔部の中央付近を上下方向に走るコントラストの強い部分を、鼻部であると判定する。さらに、この鼻部の左右両脇部分における上部付近に存在する白色の部分は、白目部であると判定することができる。そして、白目部であると判定した白色の部分に囲まれた黒色の部分を、黒目部であると判定することができる(以降、白目部と黒目部とから構成される部分を眼部と称する)。このように、画像内における被写体人物の顔部の位置、鼻部の位置、白目部の位置、黒目部の位置等を判定することができる。   A discrimination method based on color, which is one of the methods for determining the positions of various facial parts of a subject person by facial part discrimination processing, will be described. First, a strong contrast portion that runs in the vertical direction near the center of the face portion of the subject person is determined to be the nose portion. Furthermore, it is possible to determine that the white part existing near the upper part of the left and right side parts of the nose part is a white eye part. Then, the black part surrounded by the white part determined to be the white eye part can be determined to be the black eye part (hereinafter, the part composed of the white eye part and the black eye part is referred to as the eye part). ). In this way, the position of the face of the subject person, the position of the nose, the position of the white eye, the position of the black eye, etc. in the image can be determined.

顔の向き判別処理は、顔部を上下方向に2分割した場合の分割線上における明るさを左右方向に分析することで、顔部における鼻筋の影の部分を検出することができる。影が中点より左であれば、顔部は向かって左向き、影が中点より右であれば、顔部は向かって右向きであると判定する。以上のようにして、被写体人物の顔の向きを判定することができる。   The face orientation determination process can detect the shadow of the nose on the face by analyzing the brightness on the dividing line when the face is divided into two in the vertical direction. If the shadow is to the left of the midpoint, the face is determined to face left, and if the shadow is to the right of the midpoint, the face is determined to face right. As described above, the orientation of the face of the subject person can be determined.

被写体人物の視線の方向を、眼部における明るさ分布を利用して検出する方法について詳細に説明する。視線判別は所定の幅を有し且つ周囲よりも明るいピークとして被写体人物の白目部を検出することができ、また黒目部の偏り具合によって被写体人物の視線の向きも検出することができる。   A method for detecting the direction of the line of sight of the subject person using the brightness distribution in the eye will be described in detail. The line-of-sight discrimination can detect the white-eye portion of the subject person as a peak having a predetermined width and brighter than the surroundings, and can also detect the direction of the line-of-sight of the subject person based on the degree of deviation of the black-eye portion.

以下、黒目部の偏り具合による被写体人物の視線の向きの検出について詳細に説明する。
まず、黒目部が左右どちらにも偏らずに存在している場合、すなわち被写体人物が正面方向を向いている場合、白目部による明るさのピークが2つ存在し、この2つのピークに挟まれるように黒目部による暗い部分が存在する。
Hereinafter, detection of the direction of the line of sight of the subject person based on the degree of deviation of the black eye part will be described in detail.
First, when the black-eye part is present on both the left and right sides, that is, when the subject person is facing the front, there are two brightness peaks due to the white-eye part, which are sandwiched between the two peaks. There is a dark part due to the black eye.

また、黒目部が向かって左側に偏って存在している場合、すなわち被写体人物が向かって左側を見ている場合、白目部による明るさのピークは1つしか存在せず且つピークは中点よりも右側に存在する。   Further, when the black eye portion is biased to the left side, that is, when the subject person is looking at the left side, there is only one brightness peak due to the white eye portion, and the peak is from the midpoint. Is also on the right.

さらに、黒目部が向かって右側に偏って存在している場合、すなわち被写体人物が向かって右側を見ている場合、白目部による明るさのピークは1つしか存在せず且つピークは中点よりも左側に存在する。   Further, when the black eye portion is biased to the right side, that is, when the subject person is looking to the right side, there is only one brightness peak due to the white eye portion, and the peak is from the midpoint. Is also on the left.

以上説明したように、被写体人物の顔部の向き及び視線の向きを、顔部及び眼部における明るさの分布パターンによって検出できるので、被写体人物がカメラの方を見ているか否かを判定することができる。   As described above, since the orientation of the face of the subject person and the direction of the line of sight can be detected by the brightness distribution pattern in the face and eyes, it is determined whether or not the subject person is looking at the camera. be able to.

図4の処理フローに基づいて動作例を説明する。顔検出処理(S401)によって、画像データを解析し、画像データの被写体中に人物がいるか否かの判定、及び画像データの被写体中に人物がいる場合には、その顔部を検出する。   An operation example will be described based on the processing flow of FIG. In the face detection process (S401), the image data is analyzed, it is determined whether or not there is a person in the subject of the image data, and if there is a person in the subject of the image data, the face portion is detected.

顔検出判定(S402)では、顔部の検出に成功したか否かを判定する。検出できなかった場合、終了し、検出した場合S403へ進む。顔輪郭検出処理(S403)ではS401で検出した顔の輪郭を検出する。   In the face detection determination (S402), it is determined whether or not the face portion has been successfully detected. If not detected, the process ends. If detected, the process proceeds to S403. In the face contour detection process (S403), the face contour detected in S401 is detected.

顔パーツ判別処理(S404)ではS403で検出した顔輪郭から各パーツを判別する。
顔の向き判別処理(S405)ではS404で判別した顔の各パーツから顔の向きを判別する。
In the face part discrimination process (S404), each part is discriminated from the face contour detected in S403.
In the face orientation determination process (S405), the face orientation is determined from each part of the face determined in S404.

顔の向きが正面判定処理(S406)ではS405にて行った顔部の向き判別結果、顔部がカメラの方向を向いているか否か(正面を向いているか)を判定する。被写体の正面を向いていればS407へ進む。向いていなければS408へ進む。   In the face direction determination process (S406), the result of the face direction determination performed in S405 determines whether the face part is facing the camera (whether it is facing the front). If it faces the front of the subject, the process proceeds to S407. If not, the process proceeds to S408.

黒目部が中央判定(S407)ではS404によって、黒目部の左右両隣に白目部が存在しているか否か(黒目部が中央か)を判定する。中央であれば、カメラへ視線が向いているとしてS411へ進む。中央でなければカメラへ視線が向いていないとして終了する。   In the determination of the center of the black eye (S407), it is determined in S404 whether or not the white eye exists on both the left and right sides of the black eye (whether the black eye is the center). If it is in the center, it is determined that the line of sight is facing the camera and the process proceeds to S411. If it is not the center, the process ends with the line of sight not facing the camera.

顔の向きが左判定(S408)ではS405において行った顔部の向き判別結果、被写体の顔部が左側を向いているか否かを判定する。左を向いていればS409へ進む。右を向いていればS410へ進む。   If the face orientation is determined to be left (S408), it is determined whether or not the face portion of the subject faces the left side as a result of the face orientation determination performed in S405. If it turns to the left, it progresses to S409. If it turns to the right, it progresses to S410.

黒目部の左に白目部判定処理(S409)では、S404によって、黒目部の向かって右側に白目部が存在しているか否かを判定する。向いていればカメラへ視線が向いているとしてS411へ進む。そうでなければ終了する。   In the white eye portion determination process (S409) to the left of the black eye portion, it is determined in S404 whether the white eye portion exists on the right side of the black eye portion. If it is facing, it is determined that the line of sight is facing the camera and the process proceeds to S411. Otherwise it ends.

黒目部の右に白目部判定処理(S410)では、顔部が向かって右側を向いた状態で、視線は向かって左側を向いているような状態となっている。この状態は、被写体人物がカメラへ視線が向いているとして、S411へ進む。そうでない場合、終了する。   In the white eye determination process (S410) to the right of the black eye, the face is facing right and the line of sight is facing left. In this state, it is determined that the subject person is looking at the camera, and the process proceeds to S411. If not, exit.

カメラへの視線設定処理(S411)では、視線がカメラへ向いていることを記憶装置に記憶する。このカメラへの視線判別は、画像内の被写体人物の人数分行われる。   In the line-of-sight setting process for the camera (S411), it is stored in the storage device that the line of sight is facing the camera. The line-of-sight discrimination for the camera is performed for the number of subject persons in the image.

以上のように、写真が集合写真かどうかを判定後、集合写真であると判定された場合、更に次のステップとして、写真に集合写真のメタデータ(キーワード)を付与してもよい。更に、このメタデータを利用して、例えば集合写真のメタデータが付与された写真を複数の写真の中から優先的に検索結果として提示したり、代表写真に決定する等を行ってもよい。   As described above, after determining whether or not a photo is a group photo, when it is determined that the photo is a group photo, as a next step, metadata (keyword) of the group photo may be added to the photo. Furthermore, using this metadata, for example, a photo to which group photo metadata is assigned may be preferentially presented as a search result from a plurality of photos, or may be determined as a representative photo.

以上のように、本発明は写真が集合写真であるかどうかを精度良く判定する。そのため、ユーザが効率的な検索や選択が可能となる。   As described above, the present invention accurately determines whether or not a photograph is a group photograph. Therefore, the user can efficiently search and select.

<実施形態2>
実施形態2では、集合写真と判定された写真は、縮小率を制限する例を説明する。写真をレイアウトする際に縮小して配置することがある。その際の縮小率に関する実施形態である。装置構成及び、集合写真判定までの処理は実施形態1と同様であるので省略する。
<Embodiment 2>
In the second embodiment, an example will be described in which a photo determined to be a group photo limits the reduction ratio. When laying out photos, they may be reduced and placed. It is embodiment regarding the reduction rate in that case. Since the apparatus configuration and the process up to the group photo determination are the same as those in the first embodiment, a description thereof will be omitted.

具体的な適用例は、図2の(a)の写真を図2(b)のようにレイアウトする例を説明する。集合写真ではないと判定した場合、201を203のように顔を判別できない大きさまで縮小することも可能とする。そして、集合写真と判別された場合、202を204のように、顔が判別不可能な大きさにならないように縮小率を制限する。この際に、例えば図3のS306で求めた顔面積の平均に最も近い顔が所定面積より小さくならないよう制限してもよい。   As a specific application example, an example in which the photograph of FIG. 2A is laid out as shown in FIG. 2B will be described. If it is determined that it is not a group photo, 201 can be reduced to a size such as 203 where the face cannot be identified. If it is determined as a group photo, the reduction rate is limited so that the face does not become an indistinguishable size like 202 in 204. At this time, for example, the face closest to the average of the face areas obtained in S306 of FIG. 3 may be restricted so as not to be smaller than a predetermined area.

このように集合写真であるか否かが精度良く判定されることによって、写真を縮小した場合に、集合写真は顔が識別できる大きさで表示し、単に人が写っている風景等はユーザの指示に応じて小さく表示することが可能となる。   By accurately determining whether or not it is a group photo in this way, when the photo is reduced, the group photo is displayed in a size that allows the face to be identified. It becomes possible to display small according to the instruction.

<他の実施形態>
実施形態1では、画像判定部では、複数の判定処理を重要度の高い判定から行ったが、集合写真判定の各判定の組合せや各判定の順序は必ずしも実施形態1の通りである必要はない。また各判定に重要度を加味して総合的に判定してもよい。例として多変量解析の1手法である主成分分析などを用いることができる。具体的には、学習データから複数の判定スコア間の共分散行列を生成する。この共分散行列の固有値問題の解を得ることで次元を縮退して少数個の無相関な合成スコアを生成する。この合成スコアに基づいて対象画像が集合写真であるかを判定可能である。
<Other embodiments>
In the first embodiment, the image determination unit performs a plurality of determination processes from determinations with a high degree of importance. However, the combinations of the group photo determinations and the order of the determinations are not necessarily the same as those in the first embodiment. . Further, the determination may be made comprehensively by adding importance to each determination. As an example, principal component analysis, which is one method of multivariate analysis, can be used. Specifically, a covariance matrix between a plurality of determination scores is generated from learning data. By obtaining a solution to the eigenvalue problem of this covariance matrix, the dimensions are degenerated and a small number of uncorrelated synthesis scores are generated. Based on this composite score, it can be determined whether the target image is a group photo.

以上、実施形態を詳述したが、本発明は上述の実施形態に限定されるのではなく、本発明の趣旨を逸脱しない限りにおいて適宜変更が可能である。   Although the embodiment has been described in detail above, the present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the gist of the present invention.

本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   The present invention can take the form of, for example, a system, apparatus, method, program, or storage medium. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (12)

画像を取得する取得手段と、
前記取得手段で取得した画像中に存在する顔画像を解析する解析手段と、
前記解析手段で解析した顔画像それぞれが集合写真の条件を満たすかどうかを判定する顔画像判定手段と、
前記顔画像判定手段による判定結果に基づいて集合写真であるかどうかを判定する集合写真判定手段と
を有することを特徴とする画像処理装置。
An acquisition means for acquiring an image;
Analyzing means for analyzing a face image present in the image obtained by the obtaining means;
Face image determination means for determining whether each of the face images analyzed by the analysis means satisfies a group photo condition;
An image processing apparatus comprising: a group photo determination unit that determines whether the photo is a group photo based on a determination result by the face image determination unit.
前記集合写真判定手段によって画像が集合写真であると判定された場合、該画像の縮小率を制限する制限手段を更に有することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a limiting unit that limits a reduction rate of the image when the group photo determination unit determines that the image is a group photo. 前記制限手段は、該画像中の顔画像が判別不可能な大きさにならないように縮小率を制限することを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the limiting unit limits a reduction rate so that a face image in the image does not have an unidentifiable size. 前記制限手段は、該画像中の顔画像の平均値が所定の大きさ以下にならないように縮小率を制限することを特徴とする請求項2または3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the limiting unit limits the reduction ratio so that an average value of face images in the image does not become a predetermined size or less. . 前記顔画像判定手段は、
前記画像の顔画像の数が予め定めた閾値以上かどうかを比較する比較手段を更に有することを特徴とする請求項1から4のいずれか1項に記載の画像処理装置。
The face image determination means includes
5. The image processing apparatus according to claim 1, further comprising a comparison unit configured to compare whether or not the number of face images of the image is equal to or greater than a predetermined threshold value.
前記顔画像判定手段は、
前記顔画像それぞれの視線がカメラ方向を向いているかどうかを判定する視線判定手段を更に有することを特徴とする請求項1から5のいずれか1項に記載の画像処理装置。
The face image determination means includes
The image processing apparatus according to claim 1, further comprising line-of-sight determination means for determining whether the line-of-sight of each of the face images faces a camera direction.
前記顔画像判定手段は、前記顔画像それぞれの顔画像の面積の均一性を判定する顔面積判定手段を更に有することを特徴とする請求項1から6のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the face image determination unit further includes a face area determination unit that determines the uniformity of the area of the face image of each of the face images. . 前記顔画像判定手段は、前記顔画像それぞれが隣接する顔画像との距離の均一性を判定する顔間隔判定手段を更に有することを特徴とする請求項1から7のいずれか1項に記載の画像処理装置。   8. The face image determination unit according to claim 1, further comprising a face interval determination unit that determines a uniformity of a distance between each of the face images and an adjacent face image. 9. Image processing device. 前記顔画像判定手段は、
前記画像の撮影条件を判定する撮影条件判定手段を更に有することを特徴とする請求項1から8のいずれか1項に記載の画像処理装置。
The face image determination means includes
The image processing apparatus according to claim 1, further comprising a shooting condition determination unit that determines a shooting condition of the image.
前記集合写真判定手段で集合写真であると判定された場合、該画像に集合写真のメタデータを付与することを特徴とする請求項1から9のいずれか1項に記載の画像処理装置。   10. The image processing apparatus according to claim 1, wherein when the group photograph determination unit determines that the group photograph is a group photograph, the group photograph metadata is added to the image. 取得手段が画像を取得する取得工程と、
解析手段が、前記取得工程で取得した画像中に存在する顔画像を解析する解析工程と、
顔画像判定手段が、前記解析工程で解析した顔画像が集合写真の条件を満たすかどうかを判定する顔画像判定工程と、
集合写真判定手段が、前記顔画像判定工程による判定結果に基づいて集合写真であるかどうかを判定する集合写真判定工程と
を有することを特徴とする画像処理装置の制御方法。
An acquisition step in which the acquisition means acquires an image;
An analyzing step for analyzing a face image present in the image acquired in the acquiring step;
A face image determination unit that determines whether the face image analyzed in the analysis step satisfies a group photograph condition;
A method for controlling an image processing apparatus, comprising: a group photograph determination unit that determines whether the group photograph is a group photograph based on a determination result of the face image determination step.
請求項11に記載の画像処理装置の制御方法の各工程をコンピュータに実行させるためのプログラム。   The program for making a computer perform each process of the control method of the image processing apparatus of Claim 11.
JP2010277315A 2010-12-13 2010-12-13 Image processing device, control method of image processing device and program Pending JP2012128521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010277315A JP2012128521A (en) 2010-12-13 2010-12-13 Image processing device, control method of image processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010277315A JP2012128521A (en) 2010-12-13 2010-12-13 Image processing device, control method of image processing device and program

Publications (1)

Publication Number Publication Date
JP2012128521A true JP2012128521A (en) 2012-07-05

Family

ID=46645500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010277315A Pending JP2012128521A (en) 2010-12-13 2010-12-13 Image processing device, control method of image processing device and program

Country Status (1)

Country Link
JP (1) JP2012128521A (en)

Similar Documents

Publication Publication Date Title
EP3995989A1 (en) Face liveness detection method, apparatus and device, and storage medium
US9602783B2 (en) Image recognition method and camera system
WO2019033572A1 (en) Method for detecting whether face is blocked, device and storage medium
JP4609253B2 (en) Impersonation detection device and face authentication device
EP3767520B1 (en) Method, device, equipment and medium for locating center of target object region
CN106331492A (en) Image processing method and terminal
US8626782B2 (en) Pattern identification apparatus and control method thereof
US9508004B2 (en) Eye gaze detection apparatus, computer-readable recording medium storing eye gaze detection program and eye gaze detection method
US8295593B2 (en) Method of detecting red-eye objects in digital images using color, structural, and geometric characteristics
JP5361524B2 (en) Pattern recognition system and pattern recognition method
WO2021004186A1 (en) Face collection method, apparatus, system, device, and medium
WO2018078857A1 (en) Line-of-sight estimation device, line-of-sight estimation method, and program recording medium
JP2019057815A (en) Monitoring system
JP6188452B2 (en) Image processing apparatus, image processing method, and program
KR20160009972A (en) Iris recognition apparatus for detecting false face image
JP2007025900A (en) Image processor and image processing method
JP2018081402A (en) Image processing system, image processing method, and program
CN110276313B (en) Identity authentication method, identity authentication device, medium and computing equipment
US11132778B2 (en) Image analysis apparatus, image analysis method, and recording medium
JP2006323779A (en) Image processing method and device
WO2014185691A1 (en) Apparatus and method for extracting high watermark image from continuously photographed images
US11749021B2 (en) Retrieval device, control method, and non-transitory storage medium
US11195301B1 (en) Estimation of head yaw in an image
JP2012128521A (en) Image processing device, control method of image processing device and program
KR102194511B1 (en) Representative video frame determination system and method using same