JPH1166304A - Face image processor - Google Patents

Face image processor

Info

Publication number
JPH1166304A
JPH1166304A JP9217484A JP21748497A JPH1166304A JP H1166304 A JPH1166304 A JP H1166304A JP 9217484 A JP9217484 A JP 9217484A JP 21748497 A JP21748497 A JP 21748497A JP H1166304 A JPH1166304 A JP H1166304A
Authority
JP
Japan
Prior art keywords
closing
opening
threshold
open
close
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9217484A
Other languages
Japanese (ja)
Other versions
JP3556439B2 (en
Inventor
Kenji Ogawa
賢二 小河
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP21748497A priority Critical patent/JP3556439B2/en
Publication of JPH1166304A publication Critical patent/JPH1166304A/en
Application granted granted Critical
Publication of JP3556439B2 publication Critical patent/JP3556439B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a face image processor which stably and correctly decides the opening and closing of eyes for a long time even when the distance between a photographed person and an image pickup camera changes and the direction of his face is changed. SOLUTION: An eye image is extracted from a face image which is picked up by a camera 1, an image inputting means 2 and an eye image means 3, and an opening/closing evaluating means 4 evaluates the degree of opening/ closing eyes. An opening/closing threshold that is set by a filtering means 5 and an opening/closing threshold setting means 6 and an opening/closing threshold controlling threshold that is set by an opening/closing threshold controlling threshold setting means 9 are inputted to an opening/closing threshold resetting means 10, and an opening/closing threshold that evaluates eyes from opening to closing is set. A looking down eye threshold, etc., from a looking down eye threshold setting means 11 are inputted to an opening/closing deciding means 7, and it decides either a blink or looking down eyes and decides whether eyes are open or closed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、目の開閉状況か
ら覚醒度低下状態、居眠り状態などを検出する顔画像処
理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a face image processing apparatus for detecting a state of reduced arousal level, a dozing state, and the like from the open / closed state of eyes.

【0002】[0002]

【従来の技術】従来より、車両運転者の脇見、居眠り運
転等の運転状態を検出するため、運転者の顔を車両室内
に設けられたカメラで撮影し、得られた顔画像を処理し
て顔の特徴点である目を抽出して目の開閉を検出する顔
画像の処理装置が開発されている。このような従来例と
しては、濃度階調画像を2値画像に変換した後、抽出さ
れた顔の輪郭の内側での黒色領域より目を抽出し、検出
した目領域での連続黒色画素の最大数を用いて目の開閉
を判定する発明が特開平6−32154号公報に開示さ
れている。
2. Description of the Related Art Conventionally, in order to detect a driving state of a vehicle driver, such as looking aside or falling asleep, a driver's face is photographed by a camera provided in a vehicle cabin, and the obtained face image is processed. 2. Description of the Related Art A face image processing apparatus has been developed which extracts eyes, which are feature points of a face, and detects whether the eyes are open or closed. As such a conventional example, after converting a density gradation image into a binary image, eyes are extracted from a black region inside the extracted face outline, and the maximum number of continuous black pixels in the detected eye region is determined. An invention that determines whether the eyes are opened or closed using numbers is disclosed in Japanese Patent Application Laid-Open No. 6-32154.

【0003】従来例1.図12は特開平6−32154
号公報(従来例1)における運転者の状態検出のフロー
チャートを示したものであり、図13はこの従来例1に
おける画像より抽出した目領域の2値画像より目の開閉
を判定する時の説明図である。
Conventional example 1. FIG. 12 shows Japanese Patent Application Laid-Open No. 6-32154.
FIG. 13 is a flowchart of a state detection of a driver in Japanese Patent Application Laid-Open Publication (Conventional Example 1), and FIG. 13 is a diagram for determining whether to open or close eyes from a binary image of an eye region extracted from an image in Conventional Example 1. FIG.

【0004】図において、まず画像入力手段2に運転者
の顔を撮影したカメラからの濃度階調画像が映像信号と
して入力され、アナログ/ディジタル変換(A/D変
換)され、このA/D変換されたディジタル階調画像が
ステップS90でフレームメモリに入力される。
In FIG. 1, first, a density gradation image from a camera photographing a driver's face is input to an image input means 2 as a video signal, and is subjected to analog / digital conversion (A / D conversion). The digital gradation image obtained is input to the frame memory in step S90.

【0005】次に、フレームメモリに記憶した画像デー
タが読み出されて、ステップ91で2値化手段により適
当な2値化閾値で2値画像化され、ステップS92によ
り決定される顔の横方向検索開始ラインより顔の左右横
方向に白色画素が検索され、ステップS93で連続した
白色画素数がカウントされ、ステップS94で前記連続
白色画素の最大となるときの白色画素領域の端部より顔
の横幅輪郭線が特定される。
Next, the image data stored in the frame memory is read out, and is converted into a binary image by an appropriate binarization threshold by the binarization means in step 91, and the horizontal direction of the face determined in step S92. White pixels are searched in the horizontal direction of the face from the search start line, the number of continuous white pixels is counted in step S93, and the face is counted from the edge of the white pixel area when the maximum of the continuous white pixels is reached in step S94. The width outline is specified.

【0006】さらに、ステップS94により特定された
顔の横幅輪郭線より、ステップS95で眼球存在領域の
顔の横方向座標が設定され、ステップS96で顔の縦方
向の検索開始ラインが設定されて、ステップS97にお
いて前記眼球存在領域内で前記検索開始ラインより黒色
画素が連続した黒色画素領域を検索し、ステップS98
において、検索した黒色画素領域の位置関係や縦方向の
黒色画素数に基づき眼球領域を特定する。
Further, the horizontal coordinates of the face in the eyeball existing area are set in step S95 from the horizontal outline of the face specified in step S94, and the search start line in the vertical direction of the face is set in step S96. In step S97, a black pixel region where black pixels are continuous from the search start line is searched in the eyeball existing region, and step S98 is performed.
In, the eyeball region is specified based on the positional relationship of the searched black pixel region and the number of black pixels in the vertical direction.

【0007】次に、瞬目検出手段7は、図13に示した
ように、特定された眼球領域内での縦方向黒色画素数の
最大値を検索し、この図の場合は検索ライン(ニ)を選
択して、このライン上の黒色連続数を目の開閉度として
検出する。即ち、開眼時は、前記黒色画素数の最大値が
大きく、閉眼時は開眼時と比較して小さくなることを利
用しており、この開閉眼を決定する閾値は、装置がスタ
ートしてから5分間の間の黒色画素数の最大値のMAX
値とMIN値によって決定される。
Next, the blink detecting means 7 searches for the maximum value of the number of black pixels in the vertical direction in the specified eyeball area as shown in FIG. ) Is selected, and the number of continuous black colors on this line is detected as the degree of eye opening / closing. That is, when the eye is open, the maximum value of the number of black pixels is large, and when the eye is closed, the maximum value is smaller than that when the eye is open. MAX of the maximum number of black pixels during a minute
Value and MIN value.

【0008】最後に、ステップ99の居眠り判定手段に
おいて、瞬目検出手段7により検出した目の開閉状態に
基づき居眠りを判定する。
Finally, the dozing determination means in step 99 determines dozing based on the open / closed state of the eyes detected by the blink detecting means 7.

【0009】従来例2.また、我々自身は、特願平7−
309260号(特開平9−147120号公報;従来
例2)において、運転者の姿勢の変化に対しても正確に
目の開閉を検出する顔画像処理装置を既に出願した。以
下、この顔画像処理装置の発明について説明する。
Conventional example 2. In addition, ourselves, Japanese Patent Application Hei 7-
In 309260 (Japanese Unexamined Patent Application Publication No. 9-147120; Conventional Example 2), a face image processing apparatus for accurately detecting the opening and closing of eyes even in response to a change in the driver's posture has already been filed. Hereinafter, the invention of the face image processing apparatus will be described.

【0010】図14は特願平7−309260号におけ
る一実施の形態であり、この顔画像処理装置は、顔画像
を撮影するカメラ1、顔画像を入力する画像入力手段
2、目領域を特定する目領域判定手段3、目の開閉状態
に応じた評価値を出力する目開閉評価手段4、時間計測
手段12、閾値評価手段13、閾値設定手段6、目開閉
判定手段7から構成されている。
FIG. 14 shows an embodiment in Japanese Patent Application No. Hei 7-309260. This face image processing apparatus includes a camera 1 for taking a face image, an image input means 2 for inputting a face image, and specifying an eye area. Eye opening / closing evaluation means 4 for outputting an evaluation value according to the eye opening / closing state, time measuring means 12, threshold evaluation means 13, threshold setting means 6, and eye opening / closing determination means 7. .

【0011】次に、上記顔画像処理装置の動作について
説明する。カメラ1で撮影された顔画像は上述した従来
例1と同様に、画像入力手段2に入力されてA/D変換
され、さらにディジタル階調画像に変換されて、目領域
判定手段3により画像中の目領域の特定が成される。次
に、特定された目領域中の目画像が目開閉評価手段4に
より処理されて、目の開閉状態に応じた値が出力され
る。ここで、目開閉評価手段4は、例えば前記した目領
域内の縦方向の黒色の連続数の最大値のようなもので、
目の開閉状態によって、値が単調に変化するものであれ
ば、どのような評価手法を用いても良い。
Next, the operation of the face image processing apparatus will be described. The face image captured by the camera 1 is input to the image input means 2 and A / D-converted, and further converted to a digital gradation image, and converted into a digital gradation image by the eye area determination means 3 in the same manner as in the conventional example 1 described above. Is specified. Next, the eye image in the specified eye area is processed by the eye open / close evaluation means 4, and a value corresponding to the eye open / closed state is output. Here, the eye opening / closing evaluation means 4 is, for example, the maximum value of the number of continuous black in the vertical direction in the above-mentioned eye area,
Any evaluation method may be used as long as the value changes monotonically depending on the eye open / closed state.

【0012】次に、目開閉評価手段4の出力は、時間計
測手段12及び開閉判定手段7に入力される。また、時
間計測手段12には閾値設定手段6より2つの閾値も入
力されている。次に、時間計測手段12の動作について
図15に示したタイムチャートを用いて説明する。図1
5において、目開閉評価手段4の出力は、閾値設定手段
6より入力される2つの閾値、開側閾値及び閉側閾値と
比較され、例えば、図に示したように、開側閾値より開
側のグループAと閉側閾値より開側のグループBが作ら
れる。時間計測手段12は図に示すグループAとグルー
プBの斜線部分の時間を所定時間毎に積算計測するもの
である。図15は閾値設定手段6により設定される2つ
の閾値が適正な値である状態を示しており、開側閾値が
丁度目開閉評価手段4の出力の揺らぎの下端にあり、閉
側閾値は開側閾値より適当なオフセットを持って設定さ
れているので、目開状態の目開閉評価手段4の出力の揺
らぎに対して十分余裕があり、確実に目閉を検出するこ
とができる。
Next, the output of the eye open / close evaluation means 4 is input to the time measurement means 12 and the open / close determination means 7. Further, two thresholds are also input to the time measuring unit 12 from the threshold setting unit 6. Next, the operation of the time measuring means 12 will be described with reference to the time chart shown in FIG. FIG.
At 5, the output of the eye opening / closing evaluation means 4 is compared with the two threshold values, the open side threshold value and the close side threshold value, which are input from the threshold value setting means 6, and for example, as shown in FIG. And the group B on the open side with respect to the closed threshold value are created. The time measuring means 12 integrates and measures the time of the hatched portion of the group A and the group B shown in the figure every predetermined time. FIG. 15 shows a state in which the two threshold values set by the threshold value setting means 6 are appropriate values, the open side threshold value is just at the lower end of the fluctuation of the output of the opening / closing evaluation means 4, and the close side threshold value is open. Since the setting is made with an appropriate offset from the side threshold value, there is a sufficient margin for the fluctuation of the output of the eye opening / closing evaluation means 4 in the eye open state, and the eye closing can be detected reliably.

【0013】次に、閾値評価手段13の動作を図15〜
図17に示すタイムチャートを用いて説明する。図15
は2つの閾値が適正な値の時を示しており、開側閾値が
丁度目開閉評価手段4の出力の開状態における揺らぎの
下端にかかっており、閉側閾値は開側閾値より適当なオ
フセットを持って設定されているので、開状態における
揺らぎが閾値にかかることが無いことを示している。し
たがって、図からも分かるように、グループAの積算時
間とグループBの積算時間を比較すると、グループAの
積算時間は必ずグループBの積算時間より短いが、(グ
ループAの積算時間 nearly equal グループBの積算
時間)となる。
Next, the operation of the threshold evaluation means 13 will be described with reference to FIGS.
This will be described with reference to the time chart shown in FIG. FIG.
Indicates the time when the two thresholds are appropriate values, the open side threshold is just applied to the lower end of the fluctuation in the open state of the output of the opening / closing evaluation means 4, and the close side threshold is an appropriate offset from the open side threshold. , Which indicates that the fluctuation in the open state does not affect the threshold value. Therefore, as can be seen from the figure, when comparing the accumulated time of the group A and the accumulated time of the group B, the accumulated time of the group A is always shorter than the accumulated time of the group B. ).

【0014】図16及び図17は、それぞれ閾値設定が
開側に行き過ぎているケースと、閉側に行き過ぎている
ケースを図15と同様に示したものであり、図16では
グループAの積算時間がほとんど0であり、また閉側閾
値が目開閉評価手段4の出力の開状態の揺らぎにかかっ
ていることが分かる。このような状態の時にグループA
とグループBの積算時間を比較すると、(グループAの
積算時間 << グループBの積算時間)となる。
FIGS. 16 and 17 show the case where the threshold value is set too much to the open side and the case where the threshold value is set too close to the closed side, respectively, as in FIG. Is almost zero, and it can be seen that the threshold value on the closing side is affected by the fluctuation of the open state of the output of the eye open / close evaluation means 4. Group A in such a state
Comparing the cumulative time of the group B with the cumulative time of the group B, the cumulative time of the group A is << the cumulative time of the group B.

【0015】一方、図17では、開側閾値が目開閉評価
手段3の出力の開状態の揺らぎの下端よりもさらに閉側
にあるため、グループAの積算時間とグループBの積算
時間の比較を行うと、(グループAの積算時間 nearly
equal グループBの積算時間)となる。従って、グル
ープAの積算時間とグループBの積算時間を比較評価す
ることにより、閾値設定手段6の設定した2つの閾値が
適正なものであるか、また、どちら側に行き過ぎている
かを評価することができる。
On the other hand, in FIG. 17, since the open side threshold value is closer to the closed side than the lower end of the fluctuation of the open state of the output of the eye opening / closing evaluation means 3, the integration time of the group A and the integration time of the group B are compared. If you do, (accumulated time of group A nearly
equal (integration time of group B). Therefore, by comparing and evaluating the accumulated time of the group A and the accumulated time of the group B, it is possible to evaluate whether the two thresholds set by the threshold setting means 6 are appropriate or to which side they are excessive. Can be.

【0016】最後に、開閉判定手段7は、例えば閾値設
定手段6により設定される閉側閾値を用いて開閉判定を
行い、具体的には、目開閉評価手段3の出力と閉側閾値
との比較を行い、閉側閾値より開側であれば目開、閉側
であれば目閉と判定する。
Finally, the opening / closing determination means 7 performs the opening / closing determination using, for example, the closing threshold set by the threshold setting means 6, and specifically, determines the output of the eye opening / closing evaluation means 3 and the closing threshold. The comparison is performed, and it is determined that the eye is open when the opening is higher than the threshold value on the closing side, and that the eye is closed when the opening is closer to the closing threshold.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、このよ
うな従来装置においては、所定時間内の目開閉評価手段
の出力の揺らぎを基にして、開閉判定閾値の妥当性を評
価しつつ前記閾値を制御するとともに、開閉判定を行っ
ているので、閾値制御の応答性がよくない。そのため、
所定時間中の運転者の姿勢変化や、運転者にあたる外光
の状態が変化した場合、閉眼していないにもかかわら
ず、誤って閉眼と検出したり、閉眼したにもかかわら
ず、閉眼を検出できないといった問題点があった。
However, in such a conventional apparatus, the threshold value is controlled while evaluating the validity of the opening / closing determination threshold value based on the fluctuation of the output of the eye opening / closing evaluation means within a predetermined time. In addition, since the open / close determination is performed, the responsiveness of the threshold control is not good. for that reason,
If the driver's posture changes during a predetermined time or the state of the external light that hits the driver changes, the eye is mistakenly detected as closed even though the eye is not closed, or the closed eye is detected even if the eye is closed There was a problem that it could not be done.

【0018】さらに、運転者がスピードメータ等を見る
ためにふせ目をした場合、前記開閉評価手段の出力もそ
れに応じて閉側になるため、実際には閉眼していないに
もかかわらず、長時間閉眼したという誤検出を生じやす
いといった問題点があった。
Further, when the driver covers his eyes to look at the speedometer or the like, the output of the opening / closing evaluation means is accordingly closed, so that the driver is not closed even if the eyes are not actually closed. There is a problem that erroneous detection that the eye is closed for a long time is likely to occur.

【0019】また、一度閉眼した後、ふせ目となる場
合、短い閉眼時間にもかかわらず、長い閉眼として誤検
出するという問題点があった。
In addition, there is a problem that, when the eyes are closed after the eyes are closed once, the eyes are erroneously detected as the long eyes closed despite the short eyes closing time.

【0020】加えて、外光の当たり具合により、例えば
陰になってあまり良く目画像が抽出されなかったり、ま
た、光が強くあたりすぎて目画像が白飛びかげんになっ
たりすると、誤って閉眼と判定するといった問題点があ
った。
In addition, depending on the degree of contact with external light, for example, if the eye image is not sufficiently extracted due to shadowing, or if the eye image is overexposed due to too strong light, the eye may be erroneously closed. There was a problem that it was determined.

【0021】この発明は上記のような問題点を解消する
ためになされたものであり、運転者の姿勢変化や外光の
状態が変化しても誤検出を抑制し、安定して目の開閉を
判定できる顔画像処理装置を得ることを目的としてい
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and suppresses erroneous detection even when the driver's posture changes or the state of external light changes, and stably opens and closes the eyes. It is an object of the present invention to obtain a face image processing apparatus capable of determining the face image.

【0022】[0022]

【課題を解決するための手段】この発明の顔画像処理装
置は、顔画像を撮像するカメラと、前記カメラからの映
像信号に基づいて目画像を抽出する目画像抽出手段と、
前記目画像を入力して目の開閉に応じて連続した開閉評
価値を出力する開閉評価手段と、前記開閉評価手段の出
力の高周波成分を除去するフィルタ手段と、前記フィル
タ手段の出力から目の閉側方向に所定値離して開閉閾値
を設定する開閉閾値設定手段と、前記開閉評価手段の出
力と前記開閉判定閾値設定手段の出力とを比較して目の
開又は閉判定を行う目開閉判定手段とを備えたことを特
徴とする。
According to the present invention, there is provided a face image processing apparatus comprising: a camera for picking up a face image; an eye image extracting means for extracting an eye image based on a video signal from the camera;
Opening / closing evaluation means for inputting the eye image and outputting a continuous opening / closing evaluation value according to eye opening / closing, filter means for removing a high-frequency component of the output of the opening / closing evaluation means, Opening / closing threshold setting means for setting an opening / closing threshold at a predetermined distance in the closing direction, and eye opening / closing determination for comparing the output of the opening / closing evaluation means with the output of the opening / closing determination threshold setting means to determine whether the eye is open or closed. Means.

【0023】また、前記開閉判定閾値を開眼から閉眼へ
の閉判定閾値とし、閉判定している最中の前記目開閉評
価手段の出力と前記閉判定閾値とに基づいて所定の演算
により求めた値を、閉眼から開眼への開判定閾値とする
開判定閾値設定手段を備えたことを特徴とする。
The threshold value for opening / closing is set as a threshold value for determining whether the eye is open or closed, and the threshold value is determined by a predetermined calculation based on the output of the eye opening / closing evaluation means during the closing determination and the threshold value for closing. An opening determination threshold value setting unit that sets a value as an opening determination threshold value from when the eye is closed to when the eye is opened is provided.

【0024】また、前記開閉判定閾値から開方向に所定
値離して少なくとも1つの開閉判定閾値制御用閾値を備
え、前記開閉評価手段の出力が前記開閉判定閾値制御用
閾値より閉側かつ前記開閉判定閾値より開側になったと
きから所定時間前記開閉判定閾値の更新を禁止する開閉
判定閾値制御手段を備えた。また、前記所定期間中に前
記開閉評価手段の出力が前記開閉判定閾値より閉側にな
って閉眼を検出しない場合は、所定時間が過ぎれば前記
開閉判定閾値の更新禁止を解除して新たに開閉判定閾値
を設定する開閉判定閾値再設定手段を備えた。
Further, at least one opening / closing judgment threshold control threshold is provided at a predetermined distance in the opening direction from the opening / closing judgment threshold, and the output of the opening / closing evaluation means is closer to the closing side than the opening / closing judgment threshold control threshold and the opening / closing judgment is performed. An opening / closing determination threshold value control means for prohibiting the update of the opening / closing determination threshold value for a predetermined time from when the threshold value is opened to the open side is provided. Further, when the output of the opening / closing evaluation means is closer to the closing side than the opening / closing determination threshold during the predetermined period and the closed eye is not detected, the update prohibition of the opening / closing determination threshold is released after a predetermined time has passed, and the opening / closing is newly performed. An opening / closing determination threshold resetting means for setting a determination threshold is provided.

【0025】また、前記開閉判定閾値から閉方向に所定
値離してふせ目判定閾値を設定し、前記開閉評価手段の
出力が前記開閉判定閾値より閉側かつ前記ふせ目判定閾
値より開側の状態が所定時間続いた時に、前記時間中の
前記目開閉評価手段の出力の時間形状を評価するふせ目
形状判定手段を備えて、前記ふせ目形状判定手段により
ふせ目と判定された場合は閉判定をしない閉眼検出手段
を備えた。
[0025] Further, a closing stick determination threshold is set at a predetermined value in the closing direction from the opening / closing determination threshold, and the output of the opening / closing evaluation means is in a state closer to the opening side than the opening / closing determination threshold and closer to the opening side than the above closing opening determination threshold. Is provided for a predetermined period of time, comprising a closed-eye shape determining means for evaluating the time shape of the output of the eye opening / closing evaluation means during the time, and a close determination is made when the closed-eye shape determining means determines that the eye is closed. Eye closing means which does not perform the operation.

【0026】また、前記ふせ目判定閾値を、閉眼判定時
間が所定範囲のときの前記目開閉評価手段の出力と、閉
眼判定したときの開閉判定閾値より所定の演算を用いて
設定する手段を備えた。
Further, there is provided a means for setting the above-mentioned blindfold judgment threshold value using a predetermined calculation from the output of the eye opening / closing evaluation means when the eye closing judgment time is within a predetermined range and the opening / closing judgment threshold value when the eye closing judgment is made. Was.

【0027】また、前記閉眼判定手段により、閉眼と判
定された後、前記目開閉眼評価手段の出力が、前記開判
定閾値より閉側かつ、前記ふせ目判定閾値より開側の状
態が所定時間持続した場合は、前記目開閉評価手段の出
力が前記ふせ目判定閾値より開側になった時点で開判定
をする閉眼検出手段を備えた。
Further, after the closed eye determination means determines that the eye is closed, the state of the output of the eye open / closed eye evaluation means is closer to the open side than the open determination threshold and is longer than the close-up eye determination threshold for a predetermined time. In the case where the output of the eye opening / closing evaluation means is on the opening side of the close-up eye determination threshold when the eye opening / closing evaluation means continues, the eye closing detection means is provided.

【0028】[0028]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.この発明の実施の形態1は、カメラによ
り運転者等の顔を撮影して画像入力手段に顔画像を入力
し、目画像抽出手段において前記顔画像に基づいて目画
像を抽出し、抽出した目画像より目開閉評価手段で目の
開閉に応じた評価値を得、そしてフィルタ手段により開
眼の時の平均的な開閉評価値を求め、開閉閾値設定手段
により適切な開閉判定閾値を設定し、開閉評価値と開閉
判定閾値により目の開閉の検出を行うものである。
Embodiment 1 FIG. According to the first embodiment of the present invention, a face of a driver or the like is photographed by a camera, a face image is input to an image input unit, and an eye image is extracted based on the face image by an eye image extracting unit. The eye open / close evaluation unit obtains an evaluation value corresponding to the opening / closing of the eye from the image, obtains an average open / close evaluation value at the time of eye opening by the filter unit, sets an appropriate open / close determination threshold by the open / close threshold setting unit, The opening / closing of the eyes is detected based on the evaluation value and the opening / closing determination threshold.

【0029】図1はこの発明の実施の形態1による顔画
像処理装置の構成を示すブロック図である。この顔画像
処理装置は、車両運転者等の顔を撮像する車両室内に設
けられたカメラ1と、カメラ1の撮像情報である映像信
号を受けてA/D変換しディジタル階調画像を出力する
画像入力手段2と、画像入力手段2のディジタル階調画
像を受けこの画像中において車両運転者の目があると思
われる目領域を特定する目画像抽出手段3と、車両運転
者の目の開度に応じた検出結果を出力する開度検出手段
としての開閉評価手段4と、開閉評価手段4の出力波形
の高周波成分を除去するフィルタ手段5と、フィルタ手
段5の出力波形から目の閉側に所定値離した波形を出力
する開閉判定閾値設定手段6と、開閉評価手段4の出力
と開閉判定閾値設定手段6の出力とを比較して目の開又
は閉判定を行う目開閉判定手段7とから構成されてい
る。
FIG. 1 is a block diagram showing a configuration of a face image processing apparatus according to Embodiment 1 of the present invention. This face image processing apparatus receives a camera 1 provided in a vehicle interior for capturing a face of a vehicle driver or the like, and receives a video signal as image capturing information of the camera 1 to perform A / D conversion and output a digital gradation image. Image input means 2, an eye image extracting means 3 which receives the digital gradation image of the image input means 2 and specifies an eye area in which the eyes of the vehicle driver are considered to be present, and an opening of the eyes of the vehicle driver Opening / closing evaluation means 4 as opening degree detection means for outputting a detection result corresponding to the degree, filter means 5 for removing a high-frequency component of the output waveform of opening / closing evaluation means 4, Open / close determination threshold value setting means 6 for outputting a waveform separated by a predetermined value from the other, and eye open / close determination means 7 for comparing the output of the open / close evaluation means 4 with the output of the open / close determination threshold value setting means 6 to determine whether the eye is open or closed. It is composed of

【0030】次に、実施の形態1の顔画像処理装置の動
作について説明する。カメラ1で撮影された車両運転者
等の顔画像は従来例で説明したものと同様に、画像入力
手段2に入力されてA/D変換されることにより、ディ
ジタル階調画像に変換され、さらに目画像抽出手段3に
より画像中の目画像の特定が成される。次に、特定され
た目画像が開閉評価手段4により処理されて、目の開閉
状態に応じた値が出力される。ここで、開閉評価手段4
は、例えば前記した目領域内の縦方向の黒の連続数の最
大値のようなもので、目の開閉状態によって、値が単調
に変化するものであれば、どのような評価手法を用いて
も良い。
Next, the operation of the face image processing apparatus according to the first embodiment will be described. The face image of the vehicle driver or the like taken by the camera 1 is input to the image input means 2 and A / D converted to a digital gradation image in the same manner as described in the conventional example. The eye image extracting means 3 specifies an eye image in the image. Next, the specified eye image is processed by the opening / closing evaluation means 4, and a value corresponding to the eye opening / closing state is output. Here, the opening / closing evaluation means 4
Is, for example, the maximum value of the number of continuous black in the vertical direction in the above-mentioned eye region, and if the value changes monotonically depending on the open / closed state of the eyes, any evaluation method is used. Is also good.

【0031】開閉評価手段4の出力は、図2に示したよ
うに、目画像の状態や運転者の姿勢等による値の変化と
まばたきによる値の変化が重畳され、点線4aに示すよ
うな波形となる。この点線4aに示したように、まばた
きの場合は、姿勢の変化等と比較して開閉評価値の動き
が急になる。
As shown in FIG. 2, the output of the opening / closing evaluation means 4 is obtained by superimposing a change in the value due to the state of the eye image or the posture of the driver and a change in the value due to blinking, as shown in a dotted line 4a. Becomes As shown by the dotted line 4a, in the case of blinking, the movement of the opening / closing evaluation value becomes steeper than that of a change in posture or the like.

【0032】次に、点線4aの波形をフィルタ手段5に
入力して、波形の高周波成分を除去すると、実線5aに
示すように、まばたき以外の開閉評価手段4の出力変化
はあまり変化せず、まばたきによる開閉評価値4bのよ
うな急激な変化が減衰された形の波形が得られる。開閉
閾値設定手段6には、フィルタ手段5の出力5aが入力
されており、この出力5aから閉側に所定値離した波形
6a(一点鎖線)を開閉判定閾値として出力する。
Next, when the waveform of the dotted line 4a is inputted to the filter means 5 and the high-frequency component of the waveform is removed, as shown by the solid line 5a, the output change of the open / close evaluation means 4 other than the blink does not change much. A waveform in which a sudden change such as the open / close evaluation value 4b due to blinking is attenuated is obtained. The output 5a of the filter 5 is input to the opening / closing threshold setting means 6, and a waveform 6a (dashed line) separated from the output 5a by a predetermined value on the closing side is output as an opening / closing determination threshold.

【0033】最後に、開閉判定手段7は、開閉評価手段
の出力4aと開閉判定閾値設定手段6の出力6aとを比
較し、開閉評価手段4の出力4aの方が開閉判定閾値設
定手段6の出力6aより開側であれば開判定を行い、開
閉評価手段4の出力4aの方が開閉判定閾値設定手段6
の出力6aより閉側であれば閉判定を行う。
Finally, the opening / closing judgment means 7 compares the output 4a of the opening / closing evaluation means with the output 6a of the opening / closing judgment threshold setting means 6, and the output 4a of the opening / closing evaluation means 4 is compared with the output 4a of the opening / closing judgment threshold setting means 6. If the output 6a is on the open side, the open determination is made, and the output 4a of the open / close evaluation means 4 is set to the open / close determination threshold setting means 6
If the output 6a is on the close side, a close determination is made.

【0034】以上のように、実施の形態1に示した手順
を用いて開閉判定すれば、フィルタ手段5によって減衰
されるまばたきのような急な開閉評価手段の変化を持つ
もののみ、まばたきとして検出できる。
As described above, if the open / close determination is made using the procedure shown in the first embodiment, only those having a sudden change in the open / close evaluation means such as the blink attenuated by the filter means 5 are detected as blinks. it can.

【0035】また、被撮影者の個人差や、撮影条件が変
化しても常に目の開閉が正しく判定できるように閾値を
設定することが可能となり、個人差によらず又長時間安
定して目の開閉を検出することができる。
In addition, it is possible to set a threshold value so that the eyes can always be correctly determined whether the eyes are opened or closed even if the photographing conditions change due to individual differences between photographed persons. Eye opening and closing can be detected.

【0036】実施の形態2.実施の形態2は、前記実施
の形態1の開閉判定手段において閉眼と判定した後、開
判定閾値設定手段により閉眼と判定したときの開閉判定
閾値と閉眼判定中の開閉評価値により、次に開判定する
ときの開判定閾値を設定し、開閉評価値と開判定閾値に
より目の閉から開を検出するものである。
Embodiment 2 In the second embodiment, after the open / close determination unit of the first embodiment determines that the eyes are closed, the open / close determination threshold setting unit determines whether the eyes are closed and the open / close evaluation value during the closed eye determination. An open determination threshold value for determination is set, and an open to closed state is detected based on the open / close evaluation value and the open determination threshold value.

【0037】図3は実施の形態2による顔画像処理装置
の構成を示すブロック図であり、実施の形態1の構成に
加え、開判定閾値設定手段8が新たに加わるとともに、
開閉判定手段7の動作が若干異なるものである。以下こ
の実施の形態について説明する。
FIG. 3 is a block diagram showing the configuration of the face image processing apparatus according to the second embodiment. In addition to the configuration of the first embodiment, an opening determination threshold value setting means 8 is newly added.
The operation of the open / close determining means 7 is slightly different. Hereinafter, this embodiment will be described.

【0038】カメラ1によって撮像された顔画像は、画
像入力手段2に入力され、A/D変換されることにより
ディジタル階調画像に変換され、目画像抽出手段3によ
り画像中の目画像の特定がなされ、そして、特定された
目画像が開閉評価手段4により処理されて目の開閉状態
に応じた値が出力されるのは、実施の形態1と同様であ
る。さらに、開閉評価手段4の出力はフィルタ手段5に
入力され、フィルタ手段5の出力が開閉閾値設定手段6
に入力されて開閉閾値を設定し、開閉判定手段7により
開閉評価手段4の出力と開閉閾値設定手段6の出力によ
り閉判定されることも、実施の形態1と同様である。た
だし、一旦開閉判定手段7が閉判定してから、次に開判
定する方法が本実施の形態2と実施の形態1が異なる点
である。次に、この違いについて説明する。
The face image picked up by the camera 1 is input to the image input means 2, converted into a digital gradation image by A / D conversion, and specified by the eye image extracting means 3 to identify an eye image in the image. Then, as in the first embodiment, the specified eye image is processed by the open / close evaluation means 4 and a value corresponding to the open / closed state of the eye is output. Further, the output of the opening / closing evaluation means 4 is input to the filtering means 5, and the output of the filtering means 5 is supplied to the opening / closing threshold setting means 6.
In the same manner as in the first embodiment, the opening / closing threshold is set by inputting the data to the opening / closing threshold value, and the opening / closing determination means 7 determines whether the opening / closing threshold value is set by the output of the opening / closing evaluation means 4 and the output of the opening / closing threshold setting means 6. However, the second embodiment differs from the first embodiment in the method of once determining whether the opening / closing determination unit 7 has closed and then determining the opening. Next, this difference will be described.

【0039】図4は実施の形態2の動作を記述したタイ
ムチャート図である。図において、実線4aは開閉評価
手段4により出力される開閉評価値を示し、実線6a
は、実施の形態1で説明した通り、開閉評価手段4の出
力をフィルタ手段5により高周波成分を除去した後開閉
閾値設定手段6により閉側に所定値離して設定される出
力波形を示す。
FIG. 4 is a time chart describing the operation of the second embodiment. In the figure, the solid line 4a indicates the opening / closing evaluation value output by the opening / closing evaluation means 4, and the solid line 6a
Represents an output waveform set by the opening / closing threshold value setting means 6 at a predetermined distance from the output of the opening / closing evaluation means 4 after the high-frequency component has been removed by the filter means 5, as described in the first embodiment.

【0040】また、図4において、6bは開閉閾値設定
手段6の出力とフィルタ手段5の出力間の所定値幅、8
aは最初に閉判定した時の開閉判定閾値に所定値を加え
た値、8bは閉判定中の開閉評価値の最閉値、8cは値
8aと値8b間の開から閉への変化量、8dは上記変化
量から演算して求めた開判定閾値、実線7aは開閉判定
手段7の出力、時刻7bは開閉判定閾値6aにより最初
に閉判定した時点、時刻7cは開閉判定閾値6aに開判
定をする時点(実施の形態1の場合)、時刻7dは開判
定閾値8cにより開判定をする時点を示し、その詳細は
下記に説明する。
In FIG. 4, reference numeral 6b denotes a predetermined value width between the output of the open / close threshold value setting means 6 and the output of the filter means 5,
a is a value obtained by adding a predetermined value to the opening / closing determination threshold value at the time of the first closing determination, 8b is the minimum closing value of the opening / closing evaluation value during the closing determination, and 8c is the amount of change from open to closed between the values 8a and 8b. , 8d are open determination threshold values calculated from the above change amount, solid line 7a is the output of the open / close determination means 7, time 7b is the time when the first close determination is made by the open / close determination threshold 6a, and time 7c is the open / close determination threshold 6a. At the time of making a determination (in the case of Embodiment 1), time 7d indicates the time of making an open determination based on the open determination threshold value 8c, the details of which will be described below.

【0041】図4において、開閉評価値4aが開閉判定
閾値6aより閉側になる時刻7bにおいて、実施の形態
1と同様に開閉判定手段7は運転者の目の閉判定を行
う。このとき、開閾値設定手段8は、閉判定したときの
開閉判定閾値の値に所定値6bを開側に加えた値8aを
記録し、さらに閉判定している間中、最閉値8bを更新
しながら記録する。ここで、所定値6bを開閉判定閾値
設定手段6で行われるフィルタ手段5の出力から開閉判
定閾値を設定するのに用いる所定値とすれば、値8aは
丁度目を閉じ始めたときの開閉評価値と見なすことがで
きる。さて、値8bは閉判定中の最閉値を更新しながら
記録しているので、目が閉じ切ったときの値8bが求め
られ、値8aと値8bの間の距離8cが目の開から閉へ
の変化量に相当することになる。つぎに、この変化量8
cの配分において、例えば1/2の所に開判定閾値8d
を設定すると、これが開判定閾値設定手段8の出力とな
る。最後に、時刻7dにおいて開閉評価値6aが開判定
閾値8dより開側になると、開閉判定手段7は開と判定
する。その結果、実施の形態1の場合の開判定時点7c
より正確な閉眼持続時間が検出できるとともに、目を閉
じたときの開閉評価値4aの変化量8cの大小にかかわ
らず、同じ閉眼持続時間の検出が期待できる。
In FIG. 4, at time 7b when the opening / closing evaluation value 4a is closer to the closing side than the opening / closing judgment threshold 6a, the opening / closing judgment means 7 judges whether the driver's eyes are closed, as in the first embodiment. At this time, the open threshold value setting means 8 records the value 8a obtained by adding the predetermined value 6b to the open side to the value of the open / close determination threshold value at the time of the close determination, and sets the most closed value 8b during the close determination. Record while updating. Here, assuming that the predetermined value 6b is a predetermined value used to set the opening / closing determination threshold from the output of the filter means 5 performed by the opening / closing determination threshold setting means 6, the value 8a is the opening / closing evaluation just when the closing is started. Can be considered a value. Now, since the value 8b is recorded while updating the most closed value during the closing judgment, the value 8b when the eyes are closed is obtained, and the distance 8c between the values 8a and 8b is determined from the opening of the eyes. This corresponds to the amount of change to close. Next, this change amount 8
In the distribution of c, for example, the open determination threshold value 8d
Is set as the output of the open determination threshold value setting means 8. Finally, when the open / close evaluation value 6a is closer to the open side than the open determination threshold 8d at the time 7d, the open / close determination unit 7 determines that the open / closed state is open. As a result, the opening determination time point 7c in the case of the first embodiment
A more accurate eye-closing duration can be detected, and the same eye-closing duration can be expected regardless of the magnitude of the change 8c in the opening / closing evaluation value 4a when the eyes are closed.

【0042】実施の形態3.図5は実施の形態3による
顔画像処理装置の構成を示すブロック図であり、実施の
形態1の構成に加え、開閉閾値制御用閾値設定手段9及
び開閉閾値再設定手段10が新たに加わったものであ
る。開閉閾値制御用閾値設定手段9は、開閉閾値設定手
段6により設定される開閉判定閾値6aを基準として目
の開方向に開閉判定閾値制御用閾値9aを設定し、開閉
評価値4aが開閉判定閾値制御用閾値9aより閉側、開
閉判定閾値6aより開側の時、所定時間開閉閾値設定手
段6による開閉判定閾値6aの更新を禁止し、開閉判定
閾値再設定手段10は、開閉判定閾値制御手段6による
開閉判定閾値6aの更新禁止開始より所定期間開閉評価
値4aが開閉判定閾値より閉側になって、閉眼判定が成
されなかった場合、開閉判定閾値の更新禁止を解除し
て、現在の開閉評価値あるいはフィルタ手段の出力を基
準とする新たな開閉判定閾値を設定するものである。
Embodiment 3 FIG. 5 is a block diagram showing the configuration of the face image processing apparatus according to the third embodiment. In addition to the configuration of the first embodiment, an opening / closing threshold control threshold setting unit 9 and an opening / closing threshold resetting unit 10 are newly added. Things. The opening / closing threshold control threshold setting unit 9 sets the opening / closing determination threshold control threshold 9a in the opening direction of the eyes based on the opening / closing determination threshold 6a set by the opening / closing threshold setting unit 6, and sets the opening / closing evaluation value 4a to the opening / closing determination threshold. When the control threshold value 9a is on the closed side and the open / close determination threshold value 6a is on the open side, the update of the open / close determination threshold value 6a by the open / close threshold value setting means 6 for a predetermined time is prohibited. In a case where the opening / closing evaluation value 4a is on the closing side of the opening / closing determination threshold for a predetermined period from the start of the update prohibition of the opening / closing determination threshold 6a by 6 and the closed eye determination is not performed, the update prohibition of the opening / closing determination threshold is released, and the current A new opening / closing determination threshold is set based on the opening / closing evaluation value or the output of the filter means.

【0043】図5に示すように、実施の形態3では実施
の形態1を基に構成したものであるが、実施の形態2に
適応してもなんら問題はない。以下この実施の形態3に
ついて図5を用いて説明する。
As shown in FIG. 5, the third embodiment is based on the first embodiment, but there is no problem if it is applied to the second embodiment. Hereinafter, the third embodiment will be described with reference to FIG.

【0044】実施の形態1と同様にして、カメラ1によ
って撮像された顔画像は、画像入力手段2、目画像抽出
手段3、開閉評価手段4によって、その顔画像における
目画像が抽出され、目の開閉状態に応じた開閉評価値が
出力される。そして、開閉評価手段4の出力はフィルタ
手段5に入力されて高周波成分が除去され、フィルタ手
段5の出力が開閉閾値設定手段6に入力されて、実施の
形態1と同様に、フィルタ手段5の出力から目の閉側方
向に所定値離した開閉閾値が設定される。
In the same manner as in the first embodiment, the face image picked up by the camera 1 is extracted from the face image by the image input means 2, the eye image extracting means 3, and the opening / closing evaluating means 4, and the face image is extracted. An opening / closing evaluation value corresponding to the opening / closing state is output. Then, the output of the opening / closing evaluation means 4 is input to the filtering means 5 to remove high-frequency components, and the output of the filtering means 5 is input to the opening / closing threshold value setting means 6, as in the first embodiment. An opening / closing threshold value that is separated from the output by a predetermined value in the eye closing direction is set.

【0045】開閉閾値設定手段6の出力は、開閉閾値制
御用閾値設定手段9に入力され、当該手段9から出力さ
れる開閉閾値制御用閾値が開閉閾値再設定手段10に入
力される。開閉閾値再設定手段10には、さらに開閉閾
値設定手段6からの出力と、開閉評価手段4からの出
力、および、開閉判定手段7からの開閉信号が入力され
ており、これらの入力から開閉判定閾値を開閉判定手段
7に出力する。開閉判定手段7では、開閉評価手段4の
出力と、開閉閾値再設定手段10の出力により開閉が判
定される。
The output of the opening / closing threshold setting means 6 is inputted to the opening / closing threshold control threshold setting means 9, and the opening / closing threshold control threshold outputted from the means 9 is inputted to the opening / closing threshold resetting means 10. The output from the opening / closing threshold value setting means 6, the output from the opening / closing evaluation means 4, and the opening / closing signal from the opening / closing determination means 7 are further input to the opening / closing threshold value resetting means 10. The threshold value is output to the open / close determination means 7. The open / close determining means 7 determines open / close based on the output of the open / close evaluation means 4 and the output of the open / close threshold resetting means 10.

【0046】図6は実施の形態3の動作を記述したタイ
ムチャート図であり、実線4aは開閉評価手段4の出
力、点線6aは開閉閾値設定手段6の出力であり、それ
ぞれ実施の形態1,2で説明したものと同様である。実
線7aは開閉判定手段7の出力を示し、太実線9aは本
実施の形態の開閉閾値制御用閾値設定手段9の出力を、
太点線10aは開閉閾値再設定手段10の出力を示す。
なお、この図では開閉評価手段4の出力4aは一度も開
閉閾値設定手段6の出力である開閉閾値6aより閉側に
なることはなく、すなわち、まばたきを未検出している
様子を示している。
FIG. 6 is a time chart describing the operation of the third embodiment. The solid line 4a indicates the output of the open / close evaluation means 4, and the dotted line 6a indicates the output of the open / close threshold setting means 6. This is the same as that described in 2. The solid line 7a indicates the output of the opening / closing determination means 7, and the thick solid line 9a indicates the output of the opening / closing threshold control threshold setting means 9 of the present embodiment.
The thick dotted line 10a indicates the output of the opening / closing threshold value resetting means 10.
In this figure, the output 4a of the opening / closing evaluation means 4 is never closer to the closing side than the opening / closing threshold 6a which is the output of the opening / closing threshold setting means 6, that is, a state in which no blink is detected. .

【0047】開閉閾値制御用閾値設定手段9は、開閉閾
値設定手段6の出力6aに所定値9bを加えた値を出力
しており、図では、太実線9aのような閾値(開閉閾値
制御用閾値)を出力する。ここで、この所定値9bは、
フィルタ手段5の出力から開閉閾値6aを生成する際に
用いる所定値より小さく設定されている。次に、時刻9
cの時点で、開閉評価値4aが開閉閾値制御用閾値9a
より閉側になると開閉閾値再設定手段10は、開閉閾値
設定手段6の出力6aをそのまま出力するのをやめ、開
閉評価値4aが開閉閾値制御用閾値9aより閉側の間、
少なくとも時間9eの間、時刻9cにおける開閉判定閾
値6aの値を保持し、太点線10aのような開閉判定閾
値を開閉判定手段7に出力する。ここで、開閉判定手段
7は、この時間9e内に、開閉評価値4aが開閉閾値再
設定手段10の出力10aより閉側になった時刻7eで
閉判定を行う。このようにして、開閉判定手段7が閉判
定を行うと、閉判定を行っている間中、開閉閾値再設定
手段10はその時の開閉判定閾値10aを保持し、再度
開閉評価値4aが開閉判定閾値10aより開側になる時
刻7fまで開閉判定閾値10aを保持する。開閉判定手
段7により開判定となると、開閉閾値再設定手段10
は、開閉閾値設定手段6の出力6aをそのまま出力す
る。
The opening / closing threshold control threshold setting means 9 outputs a value obtained by adding a predetermined value 9b to the output 6a of the opening / closing threshold setting means 6, and in FIG. Threshold). Here, the predetermined value 9b is
The threshold value is set to be smaller than a predetermined value used when generating the opening / closing threshold value 6a from the output of the filter means 5. Next, at time 9
At the time point c, the opening / closing evaluation value 4a is changed to the opening / closing threshold control threshold 9a.
When the opening / closing threshold value is more closed, the opening / closing threshold value resetting means 10 stops outputting the output 6a of the opening / closing threshold value setting means 6 as it is, and while the opening / closing evaluation value 4a is closer to the closing side than the opening / closing threshold control threshold value 9a,
At least during the time 9e, the value of the open / close determination threshold 6a at the time 9c is held, and the open / close determination threshold as indicated by the thick dotted line 10a is output to the open / close determination means 7. Here, the opening / closing determination means 7 makes a closing determination at time 7e when the opening / closing evaluation value 4a is closer to the output 10a of the opening / closing threshold resetting means 10 within the time 9e. In this way, when the opening / closing determination means 7 performs the closing determination, the opening / closing threshold resetting means 10 retains the opening / closing determination threshold 10a at that time during the closing determination, and the opening / closing evaluation value 4a again determines the opening / closing determination. The opening / closing determination threshold value 10a is held until time 7f when the threshold value is on the opening side from the threshold value 10a. When the open / close determination is made by the open / close determination means 7, the open / close threshold value resetting means 10
Outputs the output 6a of the opening / closing threshold setting means 6 as it is.

【0048】一方、図の時刻9fは、例えば運転者の姿
勢が急に変化した場合のように開眼時の値がステップ状
に閉側にシフトしたことを想定している。このときも時
刻9fにおいて開閉評価値4aが開閉閾値制御用閾値9
aより閉側になり、開閉閾値再設定手段10の出力10
aも保持状態になっているが、所定時間内にこの保持さ
れた開閉閾値10aより開閉評価値4aが閉側にならな
いので、開閉判定手段7は閉判定を行わない。さらに、
所定時間がたって時刻9gになると、保持は解除され、
開閉閾値再設定手段10の出力は開閉閾値設定手段6の
出力6aと同じになる。
On the other hand, at time 9f in the figure, it is assumed that the value at the time of opening the eyes is shifted to the closing side in a step-like manner, for example, when the posture of the driver suddenly changes. Also at this time, the opening / closing evaluation value 4a is changed to the opening / closing threshold control threshold 9 at time 9f.
a, the output 10 of the open / close threshold resetting means 10
Although a is also in the holding state, the opening / closing evaluation value 4a does not become the closing side from the held opening / closing threshold value 10a within a predetermined time, so that the opening / closing determination means 7 does not perform the closing determination. further,
When the predetermined time elapses and the time reaches 9 g, the holding is released,
The output of the opening / closing threshold setting means 10 is the same as the output 6a of the opening / closing threshold setting means 6.

【0049】なお、上記の説明では、開閉判定手段7が
閉眼から開眼に判定する動作について実施の形態1に近
い方法を提示したが、本実施の形態の目的は開眼から閉
眼を判定する方法を示しており、閉眼から開眼を判定す
る方法を規定しているわけではなく、当然、閉眼から開
眼への判定方法についても、実施の形態2に示した方法
であっても何ら差支えはない。また、下記の実施の形態
4においても、閉眼から開眼への判定方法を説明する
が、それと組合わせても問題はない。
In the above description, a method similar to that of the first embodiment has been presented for the operation of the open / close determination means 7 for determining whether the eye is closed or open. However, the purpose of this embodiment is to provide a method for determining whether the eye is closed or open. However, the method for determining whether the eye is open from the closed state is not specified, and the method for determining whether the closed state is changed to the open state may be the method described in the second embodiment. Also, in the fourth embodiment described below, a method for determining whether the eye is closed or open is described. However, there is no problem if the method is combined with the method.

【0050】実施の形態4.この実施の形態は、図7に
示すように実施の形態2に実施の形態3による閉判定の
方法と、ふせ目閾値設定手段11を加えたものである。
以下この実施の形態について図7を用いて説明する。
Embodiment 4 In this embodiment, as shown in FIG. 7, a closing determination method according to the third embodiment and a cover threshold value setting means 11 are added to the second embodiment.
Hereinafter, this embodiment will be described with reference to FIG.

【0051】実施の形態4によるふせ目閾値設定手段1
1は、ふせ目判定閾値設定手段とふせ目形状判定手段を
有する。ふせ目判定閾値設定手段は、開閉判定閾値設定
手段により設定された開閉判定閾値を基準として、目の
閉方向にふせ目判定閾値を設定し、また、ふせ目形状判
定手段は、開閉評価値が開閉判定閾値より閉側、ふせ目
判定閾値より開側の状態が所定時間継続したとき、その
間の開閉評価値が例えば値の変化が少ないなどの特徴を
持っていれば、ふせ目であると判定して閉眼とせず、ふ
せ目でないと判定すれば閉眼判定を行う。
Covert threshold setting means 1 according to the fourth embodiment
Reference numeral 1 includes a gross eye determining threshold value setting means and a gross eye shape determining means. The blindfold determination threshold setting means sets a blindfold determination threshold in the eye closing direction based on the open / close determination threshold set by the open / close determination threshold setting means. When the state on the closed side from the open / close determination threshold and the side on the open side from the cover-off determination threshold have continued for a predetermined time, if the open-close evaluation value during the period has a characteristic such as a small change in the value, it is determined that the cover is open. If the eyes are not closed and the eyes are not closed eyes, the eyes are closed.

【0052】また、ふせ目判定閾値設定手段は、閉眼判
定中の時間が所定時間範囲の時の開閉評価手段の最閉値
と、この閉眼を判定したときの開閉判定閾値から演算し
て、個人毎に適切なふせ目判定閾値を設定する。
Further, the closed eye determination threshold value setting means calculates the closed-close value of the open / close evaluation means when the time during the closed eye determination is within a predetermined time range and the open / close determination threshold value when the closed eye is determined. Set an appropriate cover eye determination threshold value for each.

【0053】更に、ふせ目判定閾値手段11は、開閉評
価値と開閉判定閾値とより閉判定された後、開閉評価値
がふせ目判定閾値より開側、開判定閾値より開側の状態
が所定時間持続した場合、一度閉眼した後ふせ目状態に
なったと判断し、開閉評価値がふせ目判定閾値より開側
になった時点で閉眼判定を終了し開眼判定とする。
Further, after the closing judgment is made based on the opening / closing evaluation value and the opening / closing judgment threshold value, the opening / closing evaluation value is determined to be in a state where the opening / closing evaluation value is on the open side and the opening side with respect to the opening judgment threshold value. When the time has been maintained, it is determined that the eyes are closed and then the eyes are closed, and when the opening / closing evaluation value is closer to the open side than the closed eyes determination threshold value, the eyes closed determination is ended and the eyes are determined to be open.

【0054】次に、実施の形態4の動作について説明す
る。カメラ1によって撮像された顔画像は、画像入力手
段2、目画像抽出手段3、開閉評価手段4によって、そ
の顔画像における目の開閉評価値が出力されるのは、実
施の形態1と同様である。さらに、開閉評価手段4の出
力がフィルタ手段5に入力され、フィルタ手段5の出力
が開閉閾値設定手段6に入力されて、実施の形態1と同
様にして開閉閾値が設定される。開閉閾値設定手段6の
出力は、開閉閾値制御用閾値設定手段9に入力され、開
閉閾値制御用閾値が開閉閾値再設定手段10に入力され
る。開閉閾値再設定手段10には、さらに開閉閾値設定
手段6からの出力と、開閉評価手段4からの出力、およ
び、開閉判定手段7からの開閉信号が入力されており、
これらの入力から開閉判定閾値を開閉判定手段7に出力
する。ふせ目閾値設定手段11には、開閉閾値再設定手
段10の出力と開閉判定手段7からの出力が入力されて
おり、ふせ目閾値設定手段11の出力は開閉判定手段7
に入力される。開閉判定手段7は、開閉評価手段4の出
力、開閉閾値再設定手段10の出力、並びにふせ目閾値
設定手段11の出力が入力され、所定の手順に従って開
閉眼を判定する。
Next, the operation of the fourth embodiment will be described. The face opening / closing evaluation value of the face image captured by the camera 1 is output by the image input unit 2, the eye image extracting unit 3, and the opening / closing evaluating unit 4 in the same manner as in the first embodiment. is there. Further, the output of the opening / closing evaluation means 4 is input to the filtering means 5, and the output of the filtering means 5 is input to the opening / closing threshold value setting means 6, and the opening / closing threshold value is set in the same manner as in the first embodiment. The output of the opening / closing threshold setting unit 6 is input to the opening / closing threshold control threshold setting unit 9, and the opening / closing threshold control threshold is input to the opening / closing threshold resetting unit 10. The output from the opening / closing threshold value setting means 6, the output from the opening / closing evaluation means 4, and the opening / closing signal from the opening / closing determination means 7 are further input to the opening / closing threshold value resetting means 10,
From these inputs, an open / close determination threshold is output to the open / close determination means 7. The output of the opening / closing threshold value resetting means 10 and the output of the opening / closing determination means 7 are input to the covert threshold value setting means 11.
Is input to The opening / closing determination means 7 receives the output of the opening / closing evaluation means 4, the output of the opening / closing threshold value resetting means 10, and the output of the blindfold threshold value setting means 11, and determines whether the eye is open or closed according to a predetermined procedure.

【0055】図8(a)は、目の開度と開閉評価値との
関係を示しており、目が開いているほど大きな値を示す
例を示している。次に、図8(b)は、ドライバが早い
まばたきをしたときの目画像の様子と、それにつれて変
化する開閉評価手段4の出力の変化の様子を模式的に示
したものである。同様に、図8(c)は、ドライバがス
ピードメータを見るなどしてふせ目を長時間行った時の
様子、図8(d)は、例えば眠たくなった時などに長時
間目を閉じた時の様子を示したものである。
FIG. 8A shows the relationship between the degree of opening of the eyes and the evaluation value of opening and closing, and shows an example in which the larger the eyes are, the larger the value is. Next, FIG. 8B schematically shows a state of the eye image when the driver blinks quickly and a state of a change in the output of the opening / closing evaluation means 4 which changes with the eye image. Similarly, FIG. 8 (c) shows a situation where the driver performs a cover-up for a long time by looking at a speedometer, and FIG. 8 (d) shows a case where the driver closes his eyes for a long time, for example, when he becomes sleepy. It shows the situation at the time.

【0056】図8(b)〜(d)から分かるように、そ
れぞれの特長は、図8(b)の場合は、完全に目が閉じ
切らず途中から開眼したり、開閉評価手段4の出力のノ
イズ取りの目的でフィルタを用いたりすることにより、
開眼時の値と、再閉値の変化量は少なくなる。次に、図
8(c)の場合は、メータ等を見ているので上瞼が落
ち、目を半開き状態で長時間その状態を保つため、やは
り図8(b)と同様に開眼時と最閉値の変化量は少な
い。一方、眠たくなるなどして、長時間に渡って閉眼す
る図8(d)の場合は、完全に目を閉じきるので最閉値
は、図8(b)及び(c)よりも開閉評価値が小さくな
る。ここで、開閉閾値再設定手段10の出力が図8
(b)に示したような早いまばたきも検出できるように
設定すると、図8(c)の長時間のふせ目を長時間の閉
眼として誤まって検出してしまう。逆に、図8(c)の
ふせ目を検出しないように設定すると、図8(a)の早
いまばたきがとれなくなる。
As can be seen from FIGS. 8 (b) to 8 (d), the respective features are as follows. In the case of FIG. By using a filter for the purpose of noise reduction of
The amount of change between the value at the time of opening the eye and the value of the reclosing value is small. Next, in the case of FIG. 8 (c), the upper eyelid falls because the user is looking at the meter and the like, and the eye is kept in the half-open state for a long time. The change of the closed value is small. On the other hand, in the case of FIG. 8D in which the eyes are closed for a long time due to sleepiness, etc., the eyes are completely closed, so that the closing value is larger than that of FIGS. 8B and 8C. Becomes smaller. Here, the output of the opening / closing threshold value resetting means 10 is shown in FIG.
If the setting is made such that a quick blink as shown in (b) can also be detected, the long-lasting closed eyes shown in FIG. 8 (c) are erroneously detected as long-term closed eyes. Conversely, if the setting is made so as not to detect the cover eyes shown in FIG. 8C, the blinking shown in FIG.

【0057】次に、本実施の形態の動作を図9に示すタ
イムチャートを用いて説明する。図9は図8と同様に、
図(a)は早いまばたきの場合、図(b)はふせ目の場
合、図(c)は長時間閉眼の場合の動作を示したもので
ある。
Next, the operation of this embodiment will be described with reference to a time chart shown in FIG. FIG. 9 is similar to FIG.
FIG. 7A shows the operation in the case of blinking fast, FIG. 7B shows the operation in the case of blind eyes, and FIG.

【0058】図9(a)において、実線4aは開閉評価
手段4の出力、点線10aは開閉閾値再設定手段10の
出力、点線11aはふせ目閾値設定手段11により開閉
閾値4aから閉方向に所定値11b離して設定されたふ
せ目閾値である。
In FIG. 9A, the solid line 4a is the output of the opening / closing evaluation means 4, the dotted line 10a is the output of the opening / closing threshold value resetting means 10, and the dotted line 11a is the predetermined value in the closing direction from the opening / closing threshold value 4a. This is a threshold value set at a distance of 11b.

【0059】開閉評価値4aは時刻7eにおいて、開閉
閾値10aより閉側になっているが、本実施の形態で
は、まだ閉判定を行わない。次に、最閉値を見るとふせ
目閾値11aより下回ることなく、開状態に戻っている
模様を示している。このような波形が開閉判定手段7に
入力されると、例えば図9(a)の実線4aで示したよ
うな早いまばたきでは、所定時間11b中に開閉判定閾
値10aより開側になっているので、これはまばたきで
あると判定し、時刻7eまでさかのぼって閉判定を行
い、実線7aで示したようなまばたき検出を検出する。
一方、開閉評価値が波線4a*で示すように所定時間1
1b中に開閉閾値10aより開側にいかない場合は、所
定時間中に目の開閉動作が止ることがないので、例えば
破線4a*の微分値を積算する等してその動きの変化量
を計測すると大きくなるので、この積算量が所定値を超
えた場合、図(a)に示したように時刻7eまでさかの
ぼって閉判定を開始する。さらに、所定時間11bが終
了し、開閉評価値4a*が開閉閾値10aより開側にな
った時点で開判定とする。
Although the opening / closing evaluation value 4a is closer to the opening / closing threshold value 10a at time 7e, in the present embodiment, the closing judgment is not performed yet. Next, looking at the most closed value, it is shown that the state returns to the open state without falling below the cover threshold 11a. When such a waveform is input to the open / close determination means 7, for example, in the case of a quick blink as shown by a solid line 4a in FIG. 9A, the open / close determination threshold 10a is opened during the predetermined time 11b. This is determined to be a blink, and a close determination is made as far back as time 7e to detect a blink detection as indicated by a solid line 7a.
On the other hand, the opening / closing evaluation value is a predetermined time 1
If the opening / closing operation does not go to the opening side from the opening / closing threshold value 10a during 1b, the eye opening / closing operation does not stop during a predetermined time, so that the amount of change in the movement is measured by, for example, integrating the differential value of the broken line 4a *. Then, when the integrated amount exceeds a predetermined value, the closing determination is started as far back as time 7e as shown in FIG. Further, when the predetermined time 11b ends and the opening / closing evaluation value 4a * is closer to the opening side than the opening / closing threshold 10a, it is determined to be open.

【0060】次に、図9(b)に示すふせ目の時の動作
について説明する。ふせ目の場合も先に説明した早いま
ばたきと同様に所定時間11b中に開閉評価値4aが開
閉閾値10aより開側になることはない。しかし、ふせ
目の場合、目が半開きの状態が持続するため、開閉評価
値4aの変化率は少ない。従って、早いまばたきの場合
に説明したように動きの変化量を計測して積算するとあ
まり大きくないので、積算値は所定値を超えることはな
い。よって、ふせ目と早いまばたきとを区別することが
でき、ふせ目と判定した場合は、所定時間11bが終っ
た時点で、開閉閾値10aを開閉評価値4aより閉側に
設定することにより、以降まばたきが生ずるまで、開閉
評価値4aが開閉閾値10aより閉側になることはな
く、誤って閉眼と誤検出する危険性は減少する。
Next, the operation at the time of cover-up shown in FIG. 9B will be described. Also in the case of a blind eye, the opening / closing evaluation value 4a does not become more open than the opening / closing threshold value 10a during the predetermined time 11b, similarly to the earlier blinking described above. However, in the case of the closed eyes, since the half-open state of the eyes continues, the rate of change of the open / close evaluation value 4a is small. Therefore, as described in the case of early blinking, when the amount of change in movement is measured and integrated, the integrated value is not very large, and the integrated value does not exceed a predetermined value. Therefore, it is possible to distinguish between the blinking and the early blinking, and when the blinking is determined, by setting the opening / closing threshold 10a to the closing side from the opening / closing evaluation value 4a at the time when the predetermined time 11b ends, Until the blink occurs, the open / close evaluation value 4a does not become closer to the open side than the open / close threshold 10a, and the risk of erroneously detecting the closed eye is reduced.

【0061】次に、図9(c)に示す長いまばたきの時
の動作について説明する。長いまばたきの場合は、開閉
評価値4aが開閉閾値10aより閉側になり、また所定
時間11b中にふせ目閾値11aよりも閉側になる。す
なわち、完全に目を閉じたことが検出できるため、時刻
7eまでさかのぼって閉判定を行い、開閉評価値4aが
開閉閾値10aより開側になるまで閉判定を持続する。
Next, the operation at the time of long blinking shown in FIG. 9C will be described. In the case of a long blink, the opening / closing evaluation value 4a is closer to the closing side than the opening / closing threshold value 10a, and is closer to the closing side than the cover threshold value 11a during the predetermined time 11b. That is, since it is possible to detect that the eyes have been completely closed, the closing determination is performed as far back as time 7e, and the closing determination is continued until the opening / closing evaluation value 4a is closer to the open side than the opening / closing threshold 10a.

【0062】また、図10には、まばたきをした直後に
ふせ目をした時のタイムチャートを示したものである。
図に示したように様に、開閉評価値4aは、時刻7eの
時点で開閉閾値10aより閉側になり、さらに全閉した
時にはふせ目閾値11aよりも閉側にくるので、上記の
説明のように必ず閉判定がなされる。次に、開眼時は以
上の例とは異なり、目を完全には開けずにふせ目状態に
なっている。ふせ目の場合は、前述したように、開閉評
価値4aは開閉閾値10aより閉側なので、前述した方
法ではふせ目をしている間中、閉判定が続いてしまい、
誤検出となる。しかし、本実施の形態では、ふせ目閾値
11aより開側になった時点から所定時間11cの間、
ふせ目閾値11aより開側、開閉閾値10aより閉側の
状態が続いた場合、上記で説明したふせ目判定と同様に
することにより、ふせ目であるかを判定し、ふせ目であ
ると判定した場合は、図10に示したように、時刻7f
の時点で開判定とする。
FIG. 10 is a time chart showing a case in which the player blinks right after blinking.
As shown in the figure, the opening / closing evaluation value 4a is closer to the opening / closing threshold value 10a at time 7e, and is closer to the closing side than the cover threshold value 11a when fully closed. Is always determined to be closed. Next, unlike the above example, when the eyes are opened, the eyes are in a closed state without completely opening the eyes. In the case of the cover, as described above, the open / close evaluation value 4a is closer to the open / close threshold 10a, and thus the close determination continues during the cover in the above-described method,
False detection will result. However, in the present embodiment, for a predetermined time 11c from the time when the cover-opening threshold value 11a is on the open side,
If the state continues on the open side from the cover threshold 11a and on the close side from the open / close threshold 10a, it is determined in the same manner as the above-described cover off determination whether or not the cover is closed, and it is determined that the cover is open. In this case, as shown in FIG.
It is determined to be open at the time of.

【0063】なお、上記実施の形態の説明では、開閉判
定手段7の判定出力7aを、開閉閾値10aにより開か
ら閉、閉から開への判定の両方に使用しているが、別の
実施の形態でも説明したように別の閾値を用いて判定し
ても差し支えはない。
In the above description of the embodiment, the judgment output 7a of the opening / closing judgment means 7 is used for both judgment from opening to closing and from closing to opening based on the opening / closing threshold value 10a. As described in the embodiment, the determination may be made using another threshold.

【0064】また、個人によって目の開時の開閉評価値
と、全閉時の開閉評価値との差に個人差が生ずることは
容易に推測できる。次にこの個人差を吸収する方法を説
明する。図11は、まばたきの長さと、開閉評価値の変
化を記述したものであり、まばたきの長さが時間7hの
場合の開閉評価値の開時と閉眼判定中の最閉値との差が
4hであることを示しており、さらに閉眼までの時間が
7i,7j,7kと長くなるとそれにつれて,4j,4
kと大きくなるとともに、最値4kで平衡に達する。従
って、この図では時間7j以上のまばたきの時の変化量
4kが、この個人の開時と全閉時の開閉評価手段4の出
力の変化量に相当することになる。従って、この値4k
よりふせ目閾値が下回らないように設定すれば、上述し
たふせ目閾値を全閉時の開閉評価手段4の出力より閉側
になることを防ぐことができ、個人ごとに最適なふせ目
閾値を設定することができる。
It can be easily guessed that there is an individual difference in the difference between the evaluation value of opening / closing when the eyes are opened and the evaluation value of opening / closing when the eyes are fully closed. Next, a method of absorbing this individual difference will be described. FIG. 11 describes the blinking length and the change in the opening / closing evaluation value. When the blinking length is 7 hours, the difference between the opening and closing evaluation value of the opening / closing evaluation value and the closing value during the eye-closing determination is 4 h. When the time until eye closing becomes longer as 7i, 7j, 7k, 4j, 4
As k increases, equilibrium is reached at a maximum value of 4k. Therefore, in this figure, the amount of change 4k at the time of blinking for time 7j or more corresponds to the amount of change of the output of the open / close evaluation means 4 when the individual is open and when the individual is fully closed. Therefore, this value 4k
If the threshold value is set so as not to be lower than the threshold value, it is possible to prevent the threshold value described above from being closer to the output than the output of the open / close evaluation means 4 when fully closed. Can be set.

【0065】[0065]

【発明の効果】請求項1記載の発明によれば、入力され
た顔画像から目画像を抽出し、目画像より目の開閉を評
価し、開閉評価結果をフィルタ手段に入力し、フィルタ
手段の出力より開閉を判定する閾値を設定して被撮影者
の目の開閉を検出するように構成したので、被撮影者の
個人差や、撮影条件が変化しても常に目の開閉が正しく
判定できるよう、閾値を設定することが可能となり、個
人差によらず、また長時間安定して目の開閉を検出する
ことができる。
According to the first aspect of the present invention, an eye image is extracted from the input face image, the eye opening / closing is evaluated from the eye image, and the opening / closing evaluation result is input to the filtering means. Since the threshold value for judging the opening / closing of the subject is set based on the output and the opening / closing of the eyes of the subject is detected, the opening / closing of the eyes can always be correctly determined even if the subject differs between individuals or the imaging conditions change. As described above, it is possible to set the threshold value, and it is possible to stably detect the opening and closing of the eyes for a long time regardless of individual differences.

【0066】請求項2記載の発明によれば、閉判定をし
ている最中の開閉評価手段の出力と閉判定をした時の開
閉閾値をもとに次に開判定する時の開閾値を設定するよ
うに構成したので、開閉時の開閉評価値の変化量が異な
っていても同じ形状であれば、同じ長さのまばたきとし
て検出ができる。
According to the second aspect of the present invention, based on the output of the open / close evaluation means during the close determination and the open / close threshold at the time of the close determination, the open threshold at the next open determination is determined. Since it is configured to set, even if the change amount of the opening / closing evaluation value at the time of opening / closing is different, if the same shape is used, it can be detected as a blink having the same length.

【0067】請求項3記載の発明によれば、開閉閾値か
ら開側に所定値離して開閉閾値制御用閾値を設定し、開
閉評価値が前期開閉閾値制御用閾値より閉側、開閉閾値
より開側の時、所定時間前期開閉閾値の更新を禁止する
ように構成したので、開閉評価値の変化量が少ない早い
まばたきも検出できる。さらに、所定時間内に開閉閾値
より閉側にならなければ開閉閾値の更新禁止を解除し通
常に戻すので、誤って閉眼を検出することもない。
According to the third aspect of the present invention, the threshold value for opening / closing threshold control is set at a predetermined distance from the opening / closing threshold value to the open side, and the opening / closing evaluation value is closer to the opening side than the threshold value for controlling the opening / closing threshold value and is higher than the opening / closing threshold value. On the side, since the updating of the opening / closing threshold value is prohibited for a predetermined period of time, it is possible to detect a quick blink in which the amount of change in the opening / closing evaluation value is small. Further, if the threshold value does not become closer to the closing side than the opening / closing threshold value within a predetermined time, the update prohibition of the opening / closing threshold value is canceled and returned to the normal state, so that the eye-closed state is not erroneously detected.

【0068】請求項4記載の発明によれば、開閉閾値か
ら所定値閉側に離してふせ目閾値を設定し、開閉評価値
が前期開閉閾値より閉側、前期ふせ目閾値より開側の状
態が所定時間続き、その所定時間中の開閉評価値の変化
量が少なければふせ目であると判定して閉眼判定を行わ
ず、変化量が大きければまばたきであると判定して、開
閉評価値が開閉閾値より閉側になった時点から閉判定を
するように構成したので、まばたきとふせ目とを区別し
て、正確にまばたきを検出できる。
According to the fourth aspect of the present invention, the cover threshold is set at a predetermined value close to the open / close threshold, and the open / close evaluation value is on the close side from the previous open / close threshold and on the open side from the previous cover open threshold. Continues for a predetermined time, if the change amount of the opening / closing evaluation value during the predetermined time is small, it is determined that the eyelid is closed and the eye-close determination is not performed, and if the amount of change is large, it is determined that the eye is blinking. The configuration is such that the closing is determined from the time when it is closer to the closing side than the opening / closing threshold, so that the blink can be detected accurately by distinguishing the blink from the blinking eye.

【0069】請求項5記載の発明によれば、所定時間の
長さを持つ開閉評価値の最閉値と、そのまばたきの閉眼
を判定したときの開閉閾値とより、その個人のまばたき
の時の評価値の変化量を検出し、この変化量よりふせ目
閾値がその個人の最閉値より閉側にならないように設定
できるように構成したので、個人毎に最適なふせ目閾値
を設定することができる。
According to the fifth aspect of the present invention, when the blinking of the individual is blinked, the most-closed value of the blinking evaluation value having a predetermined length of time and the blinking threshold value when the blinking eye closed is determined. Since the amount of change in the evaluation value is detected and the threshold value can be set based on the amount of change so that the threshold value is not on the closed side of the individual's most closed value, the optimal threshold value can be set for each individual. Can be.

【0070】請求項6記載の発明によれば、閉眼と判定
した後、開閉評価値がふせ目閾値より開側、開閉閾値よ
り閉側の状態が所定時間続くとともに、その所定時間中
の開閉評価値の変化が少なければ、まばたきの後ふせ目
をしたと判定し、開閉評価値がふせ目閾値より開側にな
った時点で開判定をするように構成したので、まばたき
の後ふせ目をした場合でも、長いまばたきとして検出す
ることなく、正確なまばたきの長さを検出するとができ
る。
According to the sixth aspect of the present invention, after it is determined that the eye is closed, the open / close evaluation value continues to be on the open side from the cover eye threshold value and on the close side from the open / close threshold value for a predetermined time, and the open / close evaluation value during the predetermined time period If the change in the value is small, it is determined that the blinking has been performed after the blink, and the opening / closing evaluation value is configured to perform the open determination when the opening / closing evaluation value is closer to the open side than the blindfold threshold. Even in this case, it is possible to detect an accurate blinking length without detecting the blinking as a long blink.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1の顔画像処理装置の
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a face image processing device according to a first embodiment of the present invention;

【図2】 実施の形態1の動作を示すタイムチャート図
である。
FIG. 2 is a time chart showing the operation of the first embodiment.

【図3】 実施の形態2の顔画像処理装置の構成を示す
ブロック図である。
FIG. 3 is a block diagram illustrating a configuration of a face image processing device according to a second embodiment;

【図4】 実施の形態2の動作を示すタイムチャート図
である。
FIG. 4 is a time chart showing the operation of the second embodiment.

【図5】 実施の形態3の顔画像処理装置の構成を示す
ブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a face image processing apparatus according to a third embodiment;

【図6】 実施の形態3の動作を示すタイムチャート図
である。
FIG. 6 is a time chart showing the operation of the third embodiment.

【図7】 実施の形態4の顔画像処理装置の構成を示す
ブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a face image processing apparatus according to a fourth embodiment.

【図8】 目の開閉の様子と、目の開閉評価値の関係を
示した図である。
FIG. 8 is a diagram showing a relationship between an eye opening / closing state and an eye opening / closing evaluation value.

【図9】 実施の形態4の動作を示すタイムチャート図
である。
FIG. 9 is a time chart showing the operation of the fourth embodiment.

【図10】 実施の形態4の動作を示すもう一つのタイ
ムチャート図である。
FIG. 10 is another time chart showing the operation of the fourth embodiment.

【図11】 まばたきの長さと開閉評価値の開眼時と閉
眼時との差の関係を示す図である。
FIG. 11 is a diagram illustrating a relationship between a blinking length and a difference between an open / closed evaluation value and an eye open / closed evaluation value when the eye is closed;

【図12】 従来例1の顔画像処理装置の動作フロー図
である。
FIG. 12 is an operation flowchart of the face image processing apparatus of the first conventional example.

【図13】 従来例1の顔画像処理装置の目開閉判定説
明図である。
FIG. 13 is an explanatory diagram of eye open / close determination of the face image processing apparatus of Conventional Example 1.

【図14】 従来例2の顔画像処理装置の状概略構成図
である。
FIG. 14 is a schematic configuration diagram of a face image processing apparatus of Conventional Example 2.

【図15】 従来例2において、目の開閉閾値が正しく
設定されているときの動作を示すタイムチャート図であ
る。
FIG. 15 is a time chart showing an operation in a second conventional example when an eye opening / closing threshold is set correctly.

【図16】 従来例2において、目の開閉閾値が開側に
ずれて設定されているときの動作を示すタイムチャート
図である。
FIG. 16 is a time chart showing an operation when the eye open / close threshold is set to be shifted to the open side in Conventional Example 2.

【図17】 従来例2において、目の開閉閾値が閉側に
ずれて設定されているときの動作を示すタイムチャート
図である。
FIG. 17 is a time chart illustrating an operation when the eye opening / closing threshold is set to be shifted to the closing side in Conventional Example 2.

【符号の説明】[Explanation of symbols]

1 カメラ、2 画像入力手段、3 目画像抽出手段、
4 開閉評価手段、5フィルタ手段、6 開閉閾値設定
手段、7 開閉判定手段、8 開判定閾値設定手段、9
開閉閾値制御用閾値設定手段、10 開閉閾値再設定
手段、11ふせ目閾値設定手段。
1 camera, 2 image input means, 3 eye image extraction means,
4 open / close evaluation means, 5 filter means, 6 open / close threshold setting means, 7 open / close determination means, 8 open determination threshold setting means, 9
Opening / closing threshold control threshold setting means, 10 opening / closing threshold resetting means, 11 closing threshold setting means.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 顔画像を撮像するカメラと、前記カメラ
からの映像信号に基づいて目画像を抽出する目画像抽出
手段と、前記目画像に基づいて目の開閉に応じて連続し
た開閉評価値を出力する開閉評価手段と、前記開閉評価
手段の出力の高周波成分を除去するフィルタ手段と、前
記フィルタ手段の出力から目の閉側方向に所定値離して
開閉閾値を設定する開閉閾値設定手段と、前記開閉評価
手段の出力と前記開閉判定閾値設定手段の出力とを比較
して目の開及び閉判定を行う目開閉判定手段とを備えた
ことを特徴とする顔画像処理装置。
1. A camera for capturing a face image, an eye image extracting means for extracting an eye image based on a video signal from the camera, and a continuous open / close evaluation value based on the eye image based on the eye image Opening / closing evaluation means for outputting an opening / closing evaluation means, a filter means for removing a high-frequency component of the output of the opening / closing evaluation means, A face image processing apparatus comprising: an eye open / close determining unit that compares an output of the open / close evaluation unit with an output of the open / close determination threshold setting unit to determine whether the eye is open or closed.
【請求項2】 前記開閉閾値を開から閉に判定する閉判
定閾値とし、目を閉から開に判定する開判定閾値を、前
記閉判定閾値及び閉判定中の前記開閉評価値に基づいて
所定の演算により求められた値とすることを特徴とする
請求項1記載の顔画像処理装置。
2. The method according to claim 1, wherein the open / close threshold is a close determination threshold for determining from open to closed, and an open determination threshold for determining eyes from closed to open is determined based on the close determination threshold and the open / close evaluation value during the close determination. The face image processing apparatus according to claim 1, wherein the value is obtained by the calculation of (1).
【請求項3】 前記フィルタ手段の出力から所定値離し
て設定される開閉閾値から目の開側方向に所定値離して
少なくとも1つの開閉閾値制御用閾値を設定する開閉閾
値制御用閾値設定手段を備え、前記開閉評価手段の出力
が前記開閉閾値制御閾値より閉側になったとき、所定時
間前記開閉閾値設定手段による開閉閾値の更新を禁止す
るとともに、前記所定時間中に前記開閉評価手段の出力
が、前記開閉閾値より閉側にならない場合は、前記開閉
閾値の更新禁止を解除して新たに開閉閾値を設定する開
閉閾値再設定手段を備えたことを特徴とする請求項1又
は請求項2記載の顔画像処理装置。
3. An opening / closing threshold control threshold setting means for setting at least one opening / closing threshold control threshold at a predetermined distance in the eye opening direction from an opening / closing threshold set at a predetermined distance from the output of the filter means. When the output of the opening / closing evaluation means is closer to the closing side than the opening / closing threshold control threshold, updating of the opening / closing threshold by the opening / closing threshold setting means is prohibited for a predetermined time, and the output of the opening / closing evaluation means is output during the predetermined time. 3. An open / close threshold resetting means for canceling the update prohibition of the open / close threshold and setting a new open / close threshold when the open / close threshold does not become closer to the closed side. The face image processing apparatus according to the above.
【請求項4】 前記開閉閾値から閉側方向に所定値離し
てふせ目閾値を設定するふせ目閾値設定手段と、前記開
閉閾値が前記開閉閾値より閉側かつ、前記ふせ目閾値よ
り開側の状態が所定時間続いた時に、前記時間中の開閉
評価値の時間変化の形状を評価するふせ目判定手段を備
え、前記ふせ目判定手段によりふせ目が判定された場合
は、閉判定しない開閉判定手段を備えことを特徴とする
請求項1から請求項3のいずれか1項に記載の顔画像処
理装置。
4. A closing threshold value setting means for setting a closing threshold at a predetermined value in the closing direction from the opening / closing threshold, wherein the opening / closing threshold is closer to the opening side than the opening / closing threshold and closer to the opening side than the closing threshold. When the state lasts for a predetermined time, the apparatus further comprises a closed-door determining means for evaluating the shape of the time change of the open / closed evaluation value during the time, and when the closed-door determination is made by the closed-eye determining means, the open / close determination not to perform the close determination. The face image processing apparatus according to any one of claims 1 to 3, further comprising means.
【請求項5】 前記ふせ目閾値を設定する所定値を、閉
眼判定中の時間が所定時間範囲の時の前記開閉評価手段
の最閉値と、閉眼を検出したときの開閉判定閾値より所
定の演算を用いて設定する手段を備えたことを特徴とす
る請求項4記載の顔画像処理装置。
5. A predetermined value for setting the close-up threshold value is set to a predetermined value based on a maximum closing value of the opening / closing evaluation unit when the time during which the eye-close determination is performed is within a predetermined time range and an opening / closing determination threshold value when the eye-close is detected. 5. The face image processing apparatus according to claim 4, further comprising: means for setting using a calculation.
【請求項6】 前記開閉閾値により閉判定された後、前
記開閉評価値が前記開閉閾値より閉側に所定値離して設
定される前記ふせ目閾値より開側かつ、閉から開に判定
する開判定閾値より閉側の状態が、所定時間続いた場合
は、閉眼が終了したとして開判定をすることを特徴とす
る請求項4又は請求項5記載の顔画像処理装置。
6. An open / closed evaluation value, which is determined to be closed by the open / close threshold, the open / close evaluation value is set to be closer to the open side than the open / close threshold by a predetermined value, and the open / closed threshold is determined to be open and closed to open. 6. The face image processing apparatus according to claim 4, wherein when the state on the closing side of the determination threshold continues for a predetermined time, it is determined that the eyes are closed and the opening is determined.
JP21748497A 1997-08-12 1997-08-12 Face image processing device Expired - Fee Related JP3556439B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21748497A JP3556439B2 (en) 1997-08-12 1997-08-12 Face image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21748497A JP3556439B2 (en) 1997-08-12 1997-08-12 Face image processing device

Publications (2)

Publication Number Publication Date
JPH1166304A true JPH1166304A (en) 1999-03-09
JP3556439B2 JP3556439B2 (en) 2004-08-18

Family

ID=16704969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21748497A Expired - Fee Related JP3556439B2 (en) 1997-08-12 1997-08-12 Face image processing device

Country Status (1)

Country Link
JP (1) JP3556439B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002029279A (en) * 2000-07-19 2002-01-29 Isuzu Motors Ltd Awaking extent decline determination device
JP2006059147A (en) * 2004-08-20 2006-03-02 Kiyomi Nakamura Computer input method and device
JP2008262447A (en) * 2007-04-13 2008-10-30 Fujifilm Corp Image processor, photographing system, blinking state detection method, blinking state detection program and storage medium recording same program
JP2009015372A (en) * 2007-06-29 2009-01-22 Canon Inc Image processor, image processing method, program and storage medium
WO2010029922A1 (en) * 2008-09-12 2010-03-18 アイシン精機株式会社 Open/closed-eye judgment device, device for estimating degree of eye openness, and program
WO2010107066A1 (en) * 2009-03-19 2010-09-23 アイシン精機株式会社 Drowsiness assessment device and program
US7821409B2 (en) 2007-03-26 2010-10-26 Denso Corporation Drowsiness alarm apparatus and program
JP2017076180A (en) * 2015-10-13 2017-04-20 いすゞ自動車株式会社 State determination device
JP2018061724A (en) * 2016-10-14 2018-04-19 トヨタ自動車株式会社 Blink detection device
JP2018526045A (en) * 2015-06-22 2018-09-13 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and apparatus for distinguishing between blink event and instrument line of sight using opening width
DE102008007152B4 (en) 2007-03-30 2019-01-17 Volkswagen Ag Method for the parameterization of the eye opening degree of a driver of a motor vehicle
DE102008007149B4 (en) 2007-03-30 2019-05-02 Volkswagen Ag Method and device for generating, controlling and triggering a warning signal in a motor vehicle

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101954103B1 (en) * 2017-01-31 2019-05-17 한국항공우주연구원 Compositing Technology Using the Plurality of Similar Images

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0632154A (en) * 1992-07-18 1994-02-08 Nissan Motor Co Ltd Driver's condition detector
JPH06262958A (en) * 1993-03-15 1994-09-20 Aisin Seiki Co Ltd Detector for closing of moving body for opening/closing opening
JPH07181012A (en) * 1993-12-22 1995-07-18 Nissan Motor Co Ltd Feature amount detector for image data
JPH07249197A (en) * 1994-03-10 1995-09-26 Mitsubishi Electric Corp Detecting device for state of person

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0632154A (en) * 1992-07-18 1994-02-08 Nissan Motor Co Ltd Driver's condition detector
JPH06262958A (en) * 1993-03-15 1994-09-20 Aisin Seiki Co Ltd Detector for closing of moving body for opening/closing opening
JPH07181012A (en) * 1993-12-22 1995-07-18 Nissan Motor Co Ltd Feature amount detector for image data
JPH07249197A (en) * 1994-03-10 1995-09-26 Mitsubishi Electric Corp Detecting device for state of person

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002029279A (en) * 2000-07-19 2002-01-29 Isuzu Motors Ltd Awaking extent decline determination device
JP2006059147A (en) * 2004-08-20 2006-03-02 Kiyomi Nakamura Computer input method and device
US7821409B2 (en) 2007-03-26 2010-10-26 Denso Corporation Drowsiness alarm apparatus and program
DE102008007152B4 (en) 2007-03-30 2019-01-17 Volkswagen Ag Method for the parameterization of the eye opening degree of a driver of a motor vehicle
DE102008007149B4 (en) 2007-03-30 2019-05-02 Volkswagen Ag Method and device for generating, controlling and triggering a warning signal in a motor vehicle
JP2008262447A (en) * 2007-04-13 2008-10-30 Fujifilm Corp Image processor, photographing system, blinking state detection method, blinking state detection program and storage medium recording same program
JP2009015372A (en) * 2007-06-29 2009-01-22 Canon Inc Image processor, image processing method, program and storage medium
WO2010029922A1 (en) * 2008-09-12 2010-03-18 アイシン精機株式会社 Open/closed-eye judgment device, device for estimating degree of eye openness, and program
JP2010067137A (en) * 2008-09-12 2010-03-25 Toyota Central R&D Labs Inc Device for determining open/closed eye, and device for estimating degree of eye opening
WO2010107066A1 (en) * 2009-03-19 2010-09-23 アイシン精機株式会社 Drowsiness assessment device and program
US8306271B2 (en) 2009-03-19 2012-11-06 Aisin Seiki Kabushiki Kaisha Drowsiness assessment device and program
JP2010224637A (en) * 2009-03-19 2010-10-07 Toyota Central R&D Labs Inc Drowsiness assessment device and program
JP2018526045A (en) * 2015-06-22 2018-09-13 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and apparatus for distinguishing between blink event and instrument line of sight using opening width
JP2017076180A (en) * 2015-10-13 2017-04-20 いすゞ自動車株式会社 State determination device
JP2018061724A (en) * 2016-10-14 2018-04-19 トヨタ自動車株式会社 Blink detection device

Also Published As

Publication number Publication date
JP3556439B2 (en) 2004-08-18

Similar Documents

Publication Publication Date Title
WO2010029922A1 (en) Open/closed-eye judgment device, device for estimating degree of eye openness, and program
JPH1166304A (en) Face image processor
US8435188B2 (en) Eye opening detection system and method of detecting eye opening
JP4196714B2 (en) Digital camera
JP4677963B2 (en) Dozing detection device, dozing detection method
JP3063504B2 (en) Image data feature detection device
JP2008171108A (en) Face condition determining device and imaging device
JP4776581B2 (en) Sleep state detection method, sleep state detection device, sleep state detection system, and computer program
KR100234590B1 (en) Apparatus and method for curing face-burn
JP6739459B2 (en) Person matching device
JP2001307076A (en) Eye state detector and nap detector
JP3563459B2 (en) Blink detection system
JP3746916B2 (en) Blink state detection method
CN113287298B (en) Image processing device, image processing method, and storage medium
JPH11161798A (en) Vehicle driver monitoring device
JPH08153288A (en) Doze judging device
JP7374386B2 (en) Condition determination device and condition determination method
JP7212251B2 (en) Eye opening/closing detection device, occupant monitoring device
JP7416112B2 (en) Awakening level determination device
JP5412894B2 (en) Electronic camera and program
JP2007257332A (en) Opened/closed eye determining method and its device
JP2008171107A (en) Face condition determining device and imaging device
KR20060026233A (en) Apparatus and method for detecting drowsiness
JP2021096784A (en) Driver state estimation device
JP2012034276A (en) Imaging apparatus and image processing method, and image processing program

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040511

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040512

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080521

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090521

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100521

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100521

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110521

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110521

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120521

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees