JPH1196379A - Eye position detector - Google Patents

Eye position detector

Info

Publication number
JPH1196379A
JPH1196379A JP9253790A JP25379097A JPH1196379A JP H1196379 A JPH1196379 A JP H1196379A JP 9253790 A JP9253790 A JP 9253790A JP 25379097 A JP25379097 A JP 25379097A JP H1196379 A JPH1196379 A JP H1196379A
Authority
JP
Japan
Prior art keywords
curve data
eye
area
reduced
data
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
JP9253790A
Other languages
Japanese (ja)
Other versions
JP3582324B2 (en
Inventor
Masayuki Kaneda
雅之 金田
Tsutomu Nasu
勉 那須
Kazuhiko Yoshida
和彦 吉田
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP25379097A priority Critical patent/JP3582324B2/en
Publication of JPH1196379A publication Critical patent/JPH1196379A/en
Application granted granted Critical
Publication of JP3582324B2 publication Critical patent/JP3582324B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve accuracy in the position detection of an eye by dividing the detection area of the eye into plural small areas and detecting the position of the eye when curve data extracted by the lateral continuity of points extracted from a density change state to be the candidate data of the eye are confined in one area. SOLUTION: A retrieval area setting means CL1 divides inputted image data into plural parts and sets the plural retrieval areas of the eye. A curve data extracting means CL5 extracts the curve data extended in the lateral direction of a face while continuing extraction points in the direction of a pixel stream. A curve data confirming means CL6 confirms the presence/absence of curve data in the retrieval areas of the eye. When the curve data are not confirmed by the curve data confirming means CL6, a retrieval area change commanding means CL1. outputs a command to a retrieval area changing means CL1 for changing that area to the other retrieval area of the eye among the plural divided areas. When the curve data are confirmed, a position detecting means CL3 for the eye detects the position of the eye.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ミラー、シートを
自動制御するためや、ドライバの目の開閉状態から居眠
り運転状態を検出するために必要な眼の位置の特定に用
いることができる眼位置検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an eye position which can be used for automatically controlling a mirror and a seat and for specifying an eye position necessary for detecting a drowsy driving state from a driver's eye open / closed state. It relates to a detection device.

【0002】[0002]

【従来の技術】従来の運転者等の眼位置検出装置として
は、例えば特開平7−181012号に記載されたよう
なものがある。
2. Description of the Related Art As a conventional device for detecting the eye position of a driver or the like, there is, for example, one described in Japanese Patent Application Laid-Open No. Hei 7-181012.

【0003】この眼位置検出装置は、ドライバの前方に
設置したカメラで撮影した濃淡画像データの二値化処理
を行い、二値化画像において濃度投影、ラベリング処理
等を行うことで眼の位置を検出する構成となっている。
[0003] This eye position detection device performs a binarization process on grayscale image data photographed by a camera installed in front of a driver, and performs a density projection, a labeling process, and the like on the binarized image to determine an eye position. It is configured to detect.

【0004】又、濃淡画像を対象とした眼位置検出装置
としては、特開平8−101904号に記載されたよう
なものがある。
Further, as an eye position detecting apparatus for a gray-scale image, there is an apparatus described in JP-A-8-101904.

【0005】この眼位置検出装置は、顔の縦方向の画素
列に沿って画素の濃度を検出し、前記画素列における濃
度の局所的な高まりごとに1個ずつの要素を定めて抽出
点とし、隣接する画素列の画素列方向に近接した抽出点
を連結して顔の横方向に伸びる曲線データから眼の位置
を検出する構成となっている。
This eye position detecting device detects the density of pixels along a vertical pixel row of the face, determines one element for each local increase in density in the pixel row, and sets the element as an extraction point. In addition, the extraction points adjacent to each other in the pixel column direction of adjacent pixel columns are connected to detect the position of the eye from the curve data extending in the horizontal direction of the face.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
眼位置検出装置では、図23に示すように眼位置検出対
象者の背景に当たる部分に模様(例えば、リヤウインド
ウから見える景色が写ってできる模様など)があった場
合、眼や眉、鼻の穴などのデータに加え背景の模様によ
るデータが数多く出現し、眼を検出する選択式が非常に
複雑になるだけでなく、眼の位置検出精度も低下すると
いう問題点があった。
However, in the above-mentioned eye position detecting device, as shown in FIG. 23, a pattern (for example, a pattern which can be seen from the rear window, etc.) ), The data of the background, in addition to the data of the eyes, eyebrows, nostrils, etc., appear, which makes not only the selection formula for detecting the eyes very complicated, but also the accuracy of the eye position detection. There was a problem that it decreased.

【0007】又、濃淡画像を対象とした眼位置検出装置
でも、図24に示すように背景の模様による曲線データ
が数多く出現するのに変わりはなく、やはり同一の問題
点があった。
[0007] Also, in the eye position detecting apparatus for a grayscale image, as shown in Fig. 24, a large number of curve data based on the background pattern still appear, and the same problem still remains.

【0008】この発明は、眼の位置検出対象者の背景の
部分にノイズとなる模様などが、数多く存在しても眼の
位置の検出精度を保つことのできる装置を提供すること
を目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus capable of maintaining the eye position detection accuracy even if there are a lot of noise patterns in the background portion of the eye position detection target person. .

【0009】[0009]

【課題を解決するための手段】請求項1の発明は、顔を
含んだ画像データを入力する画像入力手段と、前記入力
された画像データを複数個に分割して複数個の眼の検索
領域を設定する眼の検索領域設定手段と、前記各眼の検
索領域を順に切り替える眼の検索領域変更手段と、前記
順に切り替える眼の検索領域のそれぞれで顔の縦方向の
画素列に沿って画素の濃度を検出し前記画素列上の濃度
値の片方向のピークの前の濃度変化の微分値が所定値を
越えることを条件に濃度値の片方向のピークの画素を特
定して抽出点とするポイント抽出手段と、前記抽出点が
画素列方向に連続して顔の横方向に伸びる曲線データを
抽出可能な曲線データ抽出手段と、前記眼の検索領域で
曲線データの有無を確認する曲線データ確認手段と、前
記曲線データ確認手段により曲線データが確認されなか
った場合に前記複数個に分割した他の眼の検索領域に変
更すべく前記眼の検索領域変更手段に出力する検索領域
変更指令手段と、前記曲線データ確認手段により曲線デ
ータが確認された場合に前記眼の検索領域内の曲線デー
タの相対位置関係より眼の位置を検出する眼の位置検出
手段からなることを特徴とする。
According to a first aspect of the present invention, there is provided image input means for inputting image data including a face, and a plurality of eye search areas by dividing the input image data into a plurality of pieces. Eye search area setting means for setting, an eye search area changing means for sequentially switching the search areas of the eyes, and a pixel search along the vertical pixel row of the face in each of the eye search areas to be sequentially switched. Detecting the density, specifying the pixel of the one-way peak of the density value as an extraction point on the condition that the differential value of the density change before the one-way peak of the density value on the pixel row exceeds a predetermined value. Point extraction means, curve data extraction means capable of extracting curve data in which the extraction points extend continuously in the pixel column direction in the lateral direction of the face, and curve data confirmation for confirming the presence or absence of curve data in the eye search area Means and confirmation of said curve data When the curve data is not confirmed by the step, the search area change command means output to the eye search area change means to change to the plurality of divided eye search areas, and the curve data confirmation means An eye position detecting means for detecting an eye position from the relative positional relationship of the curve data in the eye search area when the curve data is confirmed.

【0010】請求項2の発明は、請求項1記載の眼位置
検出装置であって、前記曲線データ確認手段により曲線
データが確認された場合に前記眼の検索領域の最上端の
曲線データを検出する最上端曲線データ検出手段と、前
記最上端の曲線データが複数回同等位置に出現すること
を条件に安定と判定する最上端の曲線データの第1安定
条件判定手段と、前記第1安定条件判定手段の判定によ
り最上端の曲線データの出現が安定した場合に前記最上
端の曲線データを基準とした縮小第1領域を設定する縮
小第1領域設定手段と、前記縮小第1領域内に出現する
曲線データから眼の位置を検出する眼位置検出手段から
なることを特徴とする。
According to a second aspect of the present invention, in the eye position detecting apparatus according to the first aspect, the curve data at the uppermost end of the eye search area is detected when the curve data is confirmed by the curve data confirming means. An uppermost curve data detecting means, a first stability condition determining means for the uppermost curve data which is determined to be stable on condition that the uppermost curve data appears at the same position a plurality of times, and a first stability condition. A reduced first area setting means for setting a reduced first area based on the uppermost curve data when the appearance of the uppermost curve data is stabilized by the determination means, and an appearance in the reduced first area Eye position detecting means for detecting the position of the eye from the curve data.

【0011】請求項3の発明は、請求項1又は2記載の
眼位置検出装置であって、前記第1安定条件判定手段の
判定により最上端の曲線データの出現が安定しない場合
に前記最上端の曲線データを基準として眼の検索領域上
部をカットする眼の第1検索領域カット手段を設け、前
記最上端曲線データ検出手段は、前記カット後の眼の検
索領域内において再度最上端の曲線データを検出するこ
とを特徴とする。
According to a third aspect of the present invention, in the eye position detecting apparatus according to the first or second aspect, when the appearance of the uppermost curve data is not stable as determined by the first stability condition determining means, the uppermost edge is detected. First eye search area cutting means for cutting the upper part of the eye search area on the basis of the curve data of the eye, wherein the uppermost curve data detecting means re-opens the uppermost curve data within the cut eye search area. Is detected.

【0012】請求項4の発明は、請求項2又は3記載の
眼位置検出装置であって、前記第1安定条件判定手段の
判定により最上端の曲線データの出現が安定した場合に
前記最上端の曲線データを基準として領域を上下方向に
縮小すると共に左右方向に拡大した縮小第2領域を設定
する縮小第2領域設定手段と、前記縮小第2領域におい
て出現する曲線データを上部より一つ又は二つを抽出す
る曲線データ抽出手段と、該曲線データ抽出手段により
抽出された曲線データの位置関係、長さの少なくとも一
方を判定する曲線データの特徴量判定手段と、前記曲線
データ抽出手段により抽出された曲線データが複数回同
等位置、同等長さで出現することを条件に安定と判定す
る曲線データの第2安定条件判定手段と、前記縮小第1
領域設定手段は、前記第2安定条件判定手段の判定によ
り曲線データの出現が安定した場合に該曲線データを基
準とした縮小第1領域を設定することを特徴とする。
According to a fourth aspect of the present invention, in the eye position detecting apparatus according to the second or third aspect, when the appearance of the uppermost curve data is stabilized by the determination of the first stability condition determining means, the uppermost edge is detected. A reduced second region setting means for reducing a region in the vertical direction and setting a reduced second region expanded in the horizontal direction based on the curve data of Curve data extraction means for extracting two, curve data feature quantity determination means for determining at least one of the positional relationship and length of the curve data extracted by the curve data extraction means, and extraction by the curve data extraction means A second stability condition determining means for determining that the obtained curve data is stable on the condition that it appears a plurality of times at the same position and the same length;
The area setting means sets the reduced first area based on the curve data when the appearance of the curve data is stable as determined by the second stability condition determining means.

【0013】請求項5の発明は、請求項4記載の眼位置
検出装置であって、前記第2安定条件判定手段により前
記縮小第2領域内の曲線データの出現が安定しない場合
に前記曲線データを基準として眼の検索領域上部をカッ
トする眼の第2検索領域カット手段を有し、前記最上端
曲線データ検出手段は、カット後の眼の検索領域内にお
いて再度最上端の曲線データを検出することを特徴とす
る。
According to a fifth aspect of the present invention, in the eye position detecting apparatus according to the fourth aspect, when the appearance of the curve data in the reduced second region is not stable by the second stability condition determination means, the curve data is detected. Second eye search area cutting means for cutting the upper part of the eye search area on the basis of, and the uppermost curve data detecting means detects the uppermost curve data again in the eye search area after the cut. It is characterized by the following.

【0014】請求項6の発明は、請求項4又は5記載の
眼位置検出装置であって、前記縮小第2領域内の安定条
件を満たした曲線データの状態に応じて前記縮小第1領
域の設定を補正する縮小第1領域設定補正手段を有する
ことを特徴とする。
According to a sixth aspect of the present invention, there is provided the eye position detecting apparatus according to the fourth or fifth aspect, wherein the eye position of the reduced first area is determined according to a state of curve data satisfying a stability condition in the reduced second area. It is characterized by having a reduced first area setting correction means for correcting the setting.

【0015】請求項7の発明は、請求項6記載の眼位置
検出装置であって、前記縮小第1領域設定補正手段は、
前記縮小第2領域内において安定条件を満たした曲線デ
ータの長さが所定値を上回るとき前記縮小第1領域の設
定を補正することを特徴とする。
According to a seventh aspect of the present invention, in the eye position detecting apparatus according to the sixth aspect, the reduced first area setting correcting means comprises:
The setting of the first reduced area is corrected when the length of the curve data satisfying the stability condition in the second reduced area exceeds a predetermined value.

【0016】請求項8の発明は、請求項4〜7のいずれ
かに記載の眼位置検出装置であって、前記縮小第2領域
設定手段は、前記最上端の曲線データの中心座標を基準
に縮小第2領域を設定することを特徴とする。
According to an eighth aspect of the present invention, in the eye position detecting apparatus according to any one of the fourth to seventh aspects, the reduced second area setting means sets a reference point based on a center coordinate of the uppermost curve data. A reduced second area is set.

【0017】請求項9の発明は、請求項4〜8のいずれ
かに記載の眼位置検出装置であって、前記縮小第2領域
内に出現する左右二つの曲線データの間隔が所定値を下
回るときは、曲線データが確認されなかったと判断する
曲線データ判断手段を備え、前記検索領域変更指令手段
は、前記曲線データ判断手段により、曲線データが確認
されなかったと判断された場合に前記複数個に分割した
他の眼の検索領域に変更すべく前記眼の検索領域変更手
段に出力することを特徴とする。
According to a ninth aspect of the present invention, in the eye position detecting apparatus according to any one of the fourth to eighth aspects, an interval between two left and right curve data appearing in the reduced second region is smaller than a predetermined value. When, the curve data determining means for determining that the curve data has not been confirmed, the search area change command means, when the curve data determining means determines that the curve data was not confirmed, to the plurality of The information is output to the eye search area changing means in order to change the search area to another divided eye search area.

【0018】[0018]

【発明の効果】請求項1の発明によれば、眼の検出領域
を予め複数個の小領域に分割し、該領域の一つに眼の候
補データとなる濃度変化状態から抽出したポイントの横
方向への連続性で抽出された曲線データが確認されるか
否かを判定し、該領域に曲線データが確認されたときに
眼の位置を検出することにより、眼の検出を行う選択式
を簡素化でき、眼の位置検出精度を向上することができ
る。
According to the first aspect of the present invention, the eye detection region is divided into a plurality of small regions in advance, and one of the regions is located at the side of a point extracted from the density change state serving as eye candidate data. By determining whether or not the curve data extracted by the continuity in the direction is confirmed, and by detecting the position of the eye when the curve data is confirmed in the area, the selection formula for performing eye detection is determined. It can be simplified and the eye position detection accuracy can be improved.

【0019】すなわち、画像全体を分割し、その領域内
の上部に出現する曲線データの安定的な出現を判断し、
眼の検索領域を順次絞り込んでいく構成とすることによ
り、ドライバ等の個人差による顔の位置の違いに対応で
き、又、顔の構成物以外のノイズとなるデータが数多く
含まれても精度の高い眼の位置検出が可能である。
That is, the whole image is divided, and the stable appearance of the curve data appearing at the top in the area is determined.
By sequentially narrowing the eye search area, it is possible to cope with differences in the position of the face due to individual differences between drivers and the like. High eye position detection is possible.

【0020】請求項2の発明によれば、請求項1の発明
の効果に加え、前記眼の検出領域の最上端に出現する曲
線データが安定することを条件に縮小第1領域を設定
し、該領域に出現する曲線データを対象として眼の位置
を検出することにより、眼の検出を行う選択式を簡素化
でき、更に眼の位置検出精度を向上することができる。
According to the invention of claim 2, in addition to the effect of the invention of claim 1, a reduced first area is set on condition that curve data appearing at the uppermost end of the eye detection area is stable, By detecting the position of the eye with respect to the curve data appearing in the area, the selection formula for detecting the eye can be simplified, and the accuracy of detecting the position of the eye can be further improved.

【0021】請求項3の発明によれば、請求項1又は2
の発明の効果に加え、最上端の曲線データが出現しない
場合に、検索領域上部をカットするため、最上端の安定
した曲線データを確実に検出することができる。
According to the invention of claim 3, claim 1 or 2
In addition to the effects of the invention described above, when the uppermost curve data does not appear, the upper part of the search area is cut, so that stable uppermost curve data can be detected.

【0022】請求項4の発明によれば、更に、請求項2
又は3の効果に加え、上記眼の検索領域の最上端に出現
する曲線データが安定することを条件に縮小第2領域を
設定し、該領域に出現する曲線データの状態が安定する
ことを条件に縮小第1領域を設定するため、更に眼の位
置検出精度を向上することができる。
According to the invention of claim 4, further, claim 2 is provided.
Or, in addition to the effect of 3, the reduced second area is set on condition that the curve data appearing at the uppermost end of the eye search area is stable, and the condition of the curve data appearing in the area is stable. Since the reduced first area is set in the range, the accuracy of eye position detection can be further improved.

【0023】請求項5の発明によれば、請求項4の発明
の効果に加え、曲線データの出現が安定しない場合に再
度検索領域上部をカットし、安定した曲線データを確実
に検出することができる。
According to the invention of claim 5, in addition to the effect of the invention of claim 4, when the appearance of the curve data is not stable, the upper part of the search area is cut again to reliably detect the stable curve data. it can.

【0024】請求項6の発明によれば、請求項4又は5
の発明の効果に加え、曲線データの状態に応じて縮小第
1領域の設定位置を補正し、更に眼の位置検出精度を向
上させることができる。
According to the invention of claim 6, according to claim 4 or 5,
In addition to the effects of the present invention, the set position of the reduced first region is corrected according to the state of the curve data, and the eye position detection accuracy can be further improved.

【0025】請求項7の発明によれば、請求項6の発明
の効果に加え、曲線データの長さが所定値を上回るとき
縮小第1領域の設定位置を補正することにより、例え
ば、眼鏡を掛けている場合でも正確な縮小第1領域を設
定し、眼の位置検出精度をより向上させることができ
る。
According to the invention of claim 7, in addition to the effect of the invention of claim 6, when the length of the curve data exceeds a predetermined value, the set position of the reduced first area is corrected, so that, for example, Even in the case where the image is worn, the accurate reduced first area can be set, and the eye position detection accuracy can be further improved.

【0026】請求項8の発明によれば、請求項4〜7の
いずれかの発明の効果に加え、最上端の曲線データの中
心座標を基準に縮小第2領域を設定することにより、眼
の位置検出精度をより向上させることができる。
According to the eighth aspect of the present invention, in addition to the effects of any one of the fourth to seventh aspects, by setting the reduced second area based on the center coordinates of the topmost curve data, the eye The position detection accuracy can be further improved.

【0027】請求項9の発明によれば、請求項4〜8の
いずれかの発明の効果に加え、縮小第2領域内に出現す
る左右二つの曲線データの間隔が所定値を下回るとき
は、曲線データが確認されなかったと判断するため、眼
の位置検出精度をより向上させることができる。
According to the ninth aspect of the present invention, in addition to the effects of any one of the fourth to eighth aspects, when the interval between the two left and right curve data appearing in the reduced second area is smaller than a predetermined value, Since it is determined that the curve data has not been confirmed, it is possible to further improve the eye position detection accuracy.

【0028】[0028]

【発明の実施の形態】図1は、本発明の一実施形態の眼
位置検出装置の機能ブロック図にかかり、該眼位置検出
装置は、眼の検索領域の設定及び変更手段CL1と、画
像入力手段CL2と、濃度検出手段CL3と、ポイント
抽出手段CL4と、曲線データ抽出手段CL5と、確認
手段CL6と、最上端曲線データ検出手段CL7と、第
1安定条件判定手段CL8と、縮小第2領域設定手段C
L9と、曲線データ判定手段CL10と、縮小第1領域
設定手段CL11と、縮小第1領域設定補正手段CL1
2と、眼の位置検出手段CL13とを備えている。
FIG. 1 is a functional block diagram of an eye position detecting device according to an embodiment of the present invention. The eye position detecting device includes an eye search area setting and changing means CL1 and an image input device. Means CL2, density detecting means CL3, point extracting means CL4, curve data extracting means CL5, checking means CL6, uppermost curve data detecting means CL7, first stability condition judging means CL8, reduced second area Setting means C
L9, curve data determination means CL10, reduced first area setting means CL11, reduced first area setting correction means CL1
2 and eye position detecting means CL13.

【0029】前記眼の検索領域の設定及び変更手段CL
1は、検索領域設定手段、検索領域変更手段、検索領域
変更指令手段、及び第1、第2検索領域カット手段とし
て眼の検索領域を設定もしくは変更する。前記画像入力
手段CL2は、顔画像を入力する。前記画素列の濃度検
出手段CL3は、前記画像入力手段CL2から入力され
た顔画像の縦方向の画素列の濃度を検出する。前記ポイ
ント抽出手段CL4は、前記画素列における濃度の高ま
りとその変化状態によりポイントを抽出する。前記曲線
データ抽出手段CL5は、隣接する画素列の画素列方向
に近接したポイントを連続して顔の横方向への曲線群を
抽出する。前記曲線データ確認手段CL6は、曲線デー
タ確認手段、曲線データ判断手段として、設定された眼
の検索領域内において曲線データ数を確認する。前記最
上端曲線データ検出手段CL7は、眼の検索領域内にお
いて最上端の曲線データを検出する。前記最上端の曲線
データ安定条件判定手段CL8は、最上端の曲線データ
の安定的な出現を判定する。前記縮小第2領域設定手段
CL9は、最上端の曲線データの出現が安定したとき
に、前記曲線データを基準とした縮小第2領域を設定す
る。前記曲線データ判定手段CL10は、曲線データ抽
出手段、特微量判定手段、及び第2安定条件判定手段と
して前記縮小第2領域内での曲線データの出現状態を判
定する。前記縮小第1領域設定手段CL11は、前記縮
小第2領域内で特定された曲線群を基準に縮小第1領域
を設定する。前記縮小第1領域の設定補正手段CL12
は、縮小第2領域内で特定された曲線データの状態に応
じて縮小第1領域の設定を補正する。前記眼位置検出手
段CL13は、縮小第1領域内で眼の位置検出を行う。
The eye search area setting and changing means CL
1 sets or changes an eye search area as a search area setting means, a search area change means, a search area change command means, and first and second search area cut means. The image input means CL2 inputs a face image. The pixel row density detecting means CL3 detects the density of the vertical pixel row of the face image input from the image input means CL2. The point extracting means CL4 extracts points based on the increase in the density in the pixel row and its change state. The curve data extraction means CL5 continuously extracts points in the horizontal direction of the face from points adjacent to each other in the pixel column direction. The curve data checking means CL6 checks the number of curve data within the set eye search area as a curve data checking means and a curve data determining means. The uppermost curve data detecting means CL7 detects the uppermost curve data in the eye search area. The uppermost curve data stability condition determination means CL8 determines the stable appearance of the uppermost curve data. The reduced second area setting means CL9 sets a reduced second area based on the curve data when the appearance of the uppermost curve data is stable. The curve data determination unit CL10 determines the appearance state of the curve data in the reduced second area as a curve data extraction unit, a very small amount determination unit, and a second stability condition determination unit. The reduced first area setting means CL11 sets the reduced first area based on the curve group specified in the reduced second area. Setting and correcting means CL12 for the reduced first area
Corrects the setting of the reduced first area according to the state of the curve data specified in the reduced second area. The eye position detection means CL13 detects the position of the eye within the reduced first area.

【0030】図2は、本発明の一実施形態にかかる構成
ブロック図である。
FIG. 2 is a configuration block diagram according to an embodiment of the present invention.

【0031】図2のように、インストルメントに設置さ
れ、ドライバの顔部分を正面から撮影する画像入力手段
CL2としてカメラ21が備えられ、カメラ21による
入力画像は本実施形態では図7に示すように、横(X)
方向512画素、縦(Y)方向480画素からなる。
As shown in FIG. 2, a camera 21 is provided as image input means CL2 installed on the instrument and for photographing the driver's face from the front. The input image from the camera 21 is as shown in FIG. 7 in this embodiment. In the side (X)
It consists of 512 pixels in the direction and 480 pixels in the vertical (Y) direction.

【0032】前記カメラ21で撮影された入力画像は、
AーD変換器22を介して、デジタル量の入力画像デー
タとして画像メモリ23に格納される。
The input image taken by the camera 21 is
The data is stored in the image memory 23 as digital input image data via the AD converter 22.

【0033】前記画像メモリ23には、画像データ演算
回路24が接続されている。
An image data calculation circuit 24 is connected to the image memory 23.

【0034】該画像データ演算回路24は、前記眼の検
索領域の設定及び変更手段CL1と、前記画素列の濃度
検出手段CL3と、ポイント抽出手段CL4と、前記曲
線データ抽出手段CL5と、前記曲線データ数の確認手
段CL6と、前記最上端曲線データ検出手段CL7と、
前記第1安定条件判定手段CL8と、前記縮小第2領域
設定手段CL9と、前記曲線データ判定手段CL10
と、前記縮小第1領域設定手段CL11と、前記縮小第
1領域の設定補正手段CL12とからなる。
The image data calculation circuit 24 includes a means for setting and changing the search area of the eye CL1, a density detecting means CL3 for the pixel row, a point extracting means CL4, the curve data extracting means CL5, Means for confirming the number of data CL6, means for detecting the uppermost curve data CL7,
The first stability condition determining means CL8, the reduced second area setting means CL9, and the curve data determining means CL10
And the reduced first area setting means CL11, and the reduced first area setting correction means CL12.

【0035】該画像データ演算回路24には、縮小した
眼の検索領域内において眼の位置を検出する眼の位置検
出手段CL13としての眼の位置検出回路25が接続さ
れている。
The image data calculation circuit 24 is connected to an eye position detection circuit 25 as eye position detection means CL13 for detecting the position of the eye within the reduced eye search area.

【0036】次に、上記構成における動作の流れを、図
3〜図6のフローチャートと、図7〜図22の説明図を
用いて説明する。
Next, the flow of operation in the above configuration will be described with reference to the flowcharts of FIGS. 3 to 6 and the explanatory diagrams of FIGS. 7 to 22.

【0037】まず、ステップS301において、眼の検
索領域の設定を行う。眼の検索領域の初期状態での設定
値は、全画面を分割した一つとする。本実施形態での分
割例を図10を用いて説明する。図10では、画面全体
をI〜IVで4分割しており、初期状態ではIの領域と
している。
First, in step S301, an eye search area is set. The set value of the eye search area in the initial state is one obtained by dividing the entire screen. An example of division in this embodiment will be described with reference to FIG. In FIG. 10, the entire screen is divided into four by I to IV, and is an area I in an initial state.

【0038】ステップS302では、以降の判定に用い
るカウンタ、フラグ、メモリなど各変数の初期化を行
う。このとき、眼の検索領域の切り替えをコントロール
している変数gksyflgの初期値は1としている。
In step S302, each variable such as a counter, a flag, and a memory used for the subsequent determination is initialized. At this time, the initial value of the variable gksyflg that controls the switching of the eye search area is 1.

【0039】ステップS303では、眼の検索領域変更
フラグが立っているか否かを判定する。ステップS30
2で各変数の初期化後は、眼の検索領域変更フラグが立
っていることはないため、ステップS304に移行す
る。
In step S303, it is determined whether or not the eye search area change flag is set. Step S30
After the initialization of each variable in step 2, since the eye search area change flag has not been set, the flow shifts to step S304.

【0040】ステップS304では、1画像データの判
定毎に初期化する必要のある変数の初期化を行う。ステ
ップS305では、眼の検索領域内の画素データを読み
出し、ステップS306で、曲線データとなる眼の候補
データ(移行ステップでは、曲線データのことを連続デ
ータと呼ぶ)を抽出する。
In step S304, variables that need to be initialized each time one image data is determined are initialized. In step S305, pixel data in the eye search area is read out, and in step S306, eye candidate data serving as curve data (in the transition step, the curve data is referred to as continuous data).

【0041】ステップS305とS306での処理内容
を、図6のフローチャートと図7〜図9の説明図を用い
て説明する。
The contents of the processing in steps S305 and S306 will be described with reference to the flowchart of FIG. 6 and the explanatory diagrams of FIGS.

【0042】まず、ステップS601においてカメラに
よってドライバの顔部分を撮影し、1フレーム分の入力
画像がデジタル信号に変換されたうえ画像メモリに格納
される。ステップS602では、図7に示すように眼の
検索領域Iに対してポイント抽出の処理を行い、1ライ
ン終了後に一つ隣りのラインの処理に移していき、所定
方向の全ラインでのポイント抽出が終了したか否かを判
断する。
First, in step S601, the face of the driver is photographed by the camera, and the input image for one frame is converted into a digital signal and stored in the image memory. In step S602, point extraction processing is performed on the eye search area I as shown in FIG. 7, and after the completion of one line, processing proceeds to the next adjacent line, and point extraction is performed on all lines in a predetermined direction. It is determined whether or not has been completed.

【0043】ステップS602で全ラインにおいてポイ
ント抽出が行われていないと判断された場合は、ステッ
プS603に移行する。このステップS603では、所
定方向の1ラインの濃度値の相加平均演算を行う。この
処理は、画像データ撮影時の濃度値の変化の小さなばら
つきをなくすことを目的としており、濃度値の大局的な
変化を捉えるためである。図8(a)に、図7のXaの
ラインデータの相加平均演算の処理結果を示す。
If it is determined in step S602 that point extraction has not been performed on all lines, the process proceeds to step S603. In step S603, arithmetic mean averaging of the density values of one line in a predetermined direction is performed. This processing is intended to eliminate a small variation in the change in the density value at the time of capturing the image data, and to capture a global change in the density value. FIG. 8A shows a processing result of the arithmetic averaging operation of the line data of Xa in FIG.

【0044】図6のステップS604では、ステップS
603の演算結果である相加平均値における微分演算を
行う。この処理結果を図8の(b)に示す。
In step S604 of FIG.
A differential operation is performed on the arithmetic mean value that is the operation result of step 603. The result of this processing is shown in FIG.

【0045】図6のステップS605では、ステップS
604の演算結果である微分値によるポイント抽出を行
う。そのポイント抽出方法は、微分値が負から正に変化
するポイント(p1〜p10)、図8の(a)でいう
と、グラフが下向きに凸になるポイントを抽出する。該
ポイントは、画素列上の濃度値の片方向のピークとな
る。次にそのポイントに達するまでの濃度値の変化(q
1〜q10)が所定値以下であるか否か、図8の(b)
の微分値の判定基準値以下(所定値を超えること)であ
るか否かを判定し、所定値以下の濃度ちの変化を持つポ
イントを対象としてY座標値(a3、a4)を抽出す
る。この処理が1ライン終了後、ステップS606で、
次のラインの処理に切り替えていく。
In step S605 of FIG.
Point extraction is performed based on the differential value that is the result of operation 604. The point extracting method extracts points (p1 to p10) at which the differential value changes from negative to positive, and in FIG. 8A, points where the graph is convex downward. This point becomes a unidirectional peak of the density value on the pixel row. Next, the change in the density value until the point is reached (q
1 to q10) is equal to or less than a predetermined value, and FIG.
It is determined whether or not the differential value is equal to or less than a determination reference value (exceeding a predetermined value), and a Y coordinate value (a3, a4) is extracted for a point having a density change less than the predetermined value. After this processing is completed for one line, in step S606,
Switch to the processing of the next line.

【0046】ステップS602で全ラインのポイント抽
出が終了したと判断されると、図9の(a)に示すよう
なポイント抽出がされる。つまり、図7上でのXa=X
1ライン状では、A1、A2、A3の三つのポイントが
抽出されていることになる。その後、ステップS607
へ移行し、隣り合う各ラインの抽出ポイント(A1、A
2、A3…)のY座標値を比較し、Y座標値が所定値以
内の場合、連続データとして、連続データのグループ
番号、連続開始ライン番号、連続データ数をメモリ
する。
If it is determined in step S602 that point extraction for all lines has been completed, point extraction as shown in FIG. 9A is performed. That is, Xa = X in FIG.
In the case of one line, three points A1, A2, and A3 are extracted. Then, step S607
To the extraction points (A1, A
2, A3...) Are compared, and if the Y coordinate value is within a predetermined value, the continuous data group number, continuous start line number, and continuous data number are stored as continuous data.

【0047】ここでは検出対象を眼としているため、そ
の特徴量としては横に比較的長く続くデータであるとす
ることができるため、横方向に所定値以上続くというこ
とを条件に連続データを抽出できる。よってステップS
607での処理結果として図9の(b)に示すようなG
1、G2の連続データを曲線データとして認識できる。
In this case, since the detection target is the eye, the feature amount thereof can be data that continues relatively long in the horizontal direction. Therefore, continuous data is extracted on the condition that the data continues for a predetermined value or more in the horizontal direction. it can. Therefore, step S
As a processing result in 607, G as shown in FIG.
1, continuous data of G2 can be recognized as curve data.

【0048】ステップS306で連続データの抽出後、
ステップS307に移行する。ステップS307では眼
の検索領域の切り替えをコントロールしている変数gk
syflgの状態を判定している。ステップS302の
ところで説明したようにgksyflgの初期値は1で
あるためステップS308に移行する。ステップS30
8では、眼の検索領域内に連続データが存在するか否か
を判定しており、連続データが一つ以上ある場合は、ス
テップS312に移行する。又、一つもない場合は、ス
テップS309に移行し、連続データの未検出カウンタ
1をインクリメントする。ステップS310では、連続
データの未検出カウンタ1が20を越えたか否かを判定
している。つまり、未検出カウンタ1をインクリメント
後に再度ステップS304に戻り、同眼の検索領域にお
いて連続データを抽出してもない場合に未検出カウンタ
をインクリメントして行き、この処理回数が20回を越
える場合に、ステップS311に移行する。
After extracting the continuous data in step S306,
It moves to step S307. In step S307, the variable gk controlling switching of the eye search area is set.
The state of syflg is determined. Since the initial value of gksyflg is 1 as described in step S302, the process proceeds to step S308. Step S30
At 8, it is determined whether or not continuous data exists in the eye search area. If there is one or more continuous data, the process proceeds to step S312. If there is no data, the process proceeds to step S309, and the undetected counter 1 of the continuous data is incremented. In step S310, it is determined whether or not the undetected counter 1 of the continuous data has exceeded 20. That is, after the undetected counter 1 is incremented, the process returns to step S304 again. If continuous data is not extracted in the same eye search area, the undetected counter is incremented. The process moves to step S311.

【0049】ステップS311では、検索領域変更フラ
グ1を立てる。その後ステップS303に移行し、検索
領域変更フラグが立っているか否かの判定に移る。この
時、検索領域変更フラグは立っているのでステップS3
01に移行し、眼の検索領域の変更を行う。この処理内
容を図11の説明図を用いて説明する。
In step S311, a search area change flag 1 is set. After that, the process shifts to step S303 to determine whether or not the search area change flag is set. At this time, since the search area change flag is set, step S3
01, and the search area of the eye is changed. This processing will be described with reference to the explanatory diagram of FIG.

【0050】図11のIに示すようにドライバの顔が画
面のほぼ中央部にある場合は、ステップS306では図
11のIに示すように眉と眼の連続データが抽出され
る。しかし、ドライバの顔が運転姿勢や体格によって、
図11のIIに示すような位置にくると眼の検索領域Iに
は連続データが存在しなくなる。この状況は、複数回処
理を繰り返すことで確実に捉えることができる。この状
態をステップS310で判定し、領域IIへ切り替えるト
リガーとして検索領域変更フラグ1を立てる。又、顔が
左寄りにきたり、顔が左寄りで更に低い場合においても
図11のIII 、IVの例で示すように眼の検索領域内に
連続データが存在しないことをトリガーに順次切り替え
ていくことができる。
If the driver's face is almost at the center of the screen as shown in FIG. 11I, in step S306, continuous data of eyebrows and eyes are extracted as shown in FIG. 11I. However, depending on the driving posture and physique of the driver's face,
At the position indicated by II in FIG. 11, continuous data does not exist in the search area I of the eye. This situation can be reliably grasped by repeating the processing a plurality of times. This state is determined in step S310, and a search area change flag 1 is set as a trigger for switching to area II. In addition, even when the face is shifted leftward or the face is lower leftward, as shown in the examples of III and IV in FIG. 11, it can be sequentially switched by using the trigger that there is no continuous data in the eye search area. it can.

【0051】この分割した眼の検索領域の初期位置と、
その切り替え順序は、ドライバの左目の位置を検出する
ことをより早く、より確実に検出することを目的として
いる。その理由は、通常の運転姿勢では、ドライバの左
目が確率的に一番多く含まれるのはIの領域であり、そ
の次に体格差によって顔の位置が低くなるIIの領域が多
い傾向があるからである。、又、ドライバの左目に注目
している理由は、車室内の光環境状態を考えると右ハン
ドルの車では、右側から太陽の直射光によりドライバの
右目の画像が著しく悪化することがあるからである。よ
って、本領域の設定、切り替え順序は左ハンドル車であ
る場合左右対称とする。
The initial position of the divided eye search area,
The switching order aims at detecting the position of the driver's left eye earlier and more reliably. The reason is that, in a normal driving posture, the area of the I where the left eye of the driver is most stochastically included is the area I, and the area of the II where the position of the face is lower due to the physique difference tends to be second. Because. In addition, the reason why the driver's left eye is focused on is that the image of the driver's right eye may be significantly degraded by the direct sunlight from the right side in a right-hand drive car, considering the light environment in the cabin. is there. Therefore, the setting and switching order of this area is left-right symmetric when the vehicle is a left-hand drive vehicle.

【0052】このようにして、分割した眼の検索領域内
の連続データは、図9の(b)に示すように、その個数
が限定されるため、この領域内における眼の検出におい
ても従来例に対し眼の選択式が簡素化でき、眼の位置検
出精度を向上させることができる。
As shown in FIG. 9B, the number of pieces of continuous data in the divided eye search area is limited as described above. In contrast, the eye selection formula can be simplified, and the eye position detection accuracy can be improved.

【0053】次に、図3のフローチャートのステップS
312以降で、更に眼の位置検出精度を高める方法を説
明する。
Next, step S in the flowchart of FIG.
From 312 onward, a method for further improving the eye position detection accuracy will be described.

【0054】ステップS312では、各連続データの判
断値の読み出しを行っており、ステップS313では、
その判断値の一つである連続開始点の上下位置と、連続
終了点の上下位置から、連続データの傾きを算出し、傾
きの大きい連続データを削除するステップである。これ
は、眼の連続データであると仮定した場合、顔の傾き以
上となるデータは削除できる。これは、眼の選択対象か
ら一つでも候補データを減らすことで眼の検出精度を向
上させるためである。
In step S312, the judgment value of each continuous data is read, and in step S313,
In this step, the slope of the continuous data is calculated from the upper and lower positions of the continuous start point and the upper and lower positions of the continuous end point, which are one of the determination values, and the continuous data having a large slope is deleted. This is because, assuming that the data is continuous data of the eyes, data having a face inclination or more can be deleted. This is to improve the eye detection accuracy by reducing at least one candidate data from the eye selection targets.

【0055】ステップS314では、ステップS307
と同様に眼の検索領域の切り替えをコントロールしてい
る変数gksyflgの状態を判定している。ここで
も、gksyflgの初期値の1であるためステップS
315に移行する。ステップS315では、ステップS
313で傾きの大きい連続データの削除後において、ス
テップS308と同様の判定を行う。
In step S314, step S307 is executed.
The state of the variable gksyflg that controls the switching of the eye search area is determined in the same manner as in (1). Here, too, since the initial value of gksyflg is 1, step S
Move to 315. In step S315, step S
After deleting the continuous data having a large inclination in 313, the same determination as in step S308 is performed.

【0056】ステップS315でも、眼の検索領域内に
削除後に連続データが存在するか否かを判定しており、
連続データが一つ以上ある場合は、図4のステップS4
01に移行する。又、一つもない場合は、ステップS3
16に移行し、連続データの未検出カウンタ2をインク
リメントする。
Also in step S315, it is determined whether or not continuous data exists after deletion in the eye search area.
If there is one or more continuous data, step S4 in FIG.
Move to 01. If there is no one, step S3
The process proceeds to S16, and the undetected counter 2 of the continuous data is incremented.

【0057】ステップS317では、連続データの未検
出カウンタ2が20を越えたか否かを判定している。つ
まり、未検出カウンタ2をインクリメント後に再度ステ
ップS304に戻り、同眼の検索領域において連続デー
タを抽出してもない場合に未検出カウンタをインクリメ
ントして行き、この処理回数が20回を越える場合に、
ステップS318に移行する。
In step S317, it is determined whether or not the undetected counter 2 of the continuous data has exceeded 20. That is, after the undetected counter 2 is incremented, the process returns to step S304 again, and if continuous data is not extracted in the same eye search area, the undetected counter is incremented. ,
It moves to step S318.

【0058】ステップS318では、検索領域変更フラ
グ1を立てる。その後、ステップS303に移行し、検
索領域変更フラグが立っているか否かの判定に移る。こ
のとき、検索領域変更フラグは立っているので、ステッ
プS301に移行し眼の検索領域の変更を行う。眼の検
索領域の変更方法は、図11の説明で前述しているので
ここでは省略する。
In step S318, a search area change flag 1 is set. After that, the process shifts to step S303 to determine whether or not the search area change flag is set. At this time, since the search area change flag is set, the flow shifts to step S301 to change the eye search area. The method of changing the eye search area has been described above with reference to FIG.

【0059】図4のステップS401では、図12に示
すように眼の検索領域内の最上端の連続データを検出す
る。その後ステップS403に移行し最上端の連続デー
タの出現が安定したか否かを判定する。最上端の連続デ
ータの出現が安定する条件は、眼の検索領域内に連続デ
ータの抽出誤差を許容した同等の位置に所定回数続けて
出現することを判定している。この条件を満たさない場
合は、ステップS419に移行し、最上端の連続データ
の出現状態が不安定条件を満たしたか否かを判定する。
不安定条件とは、最上端の連続データの位置が各フレー
ム毎の処理毎にばらつく状態を検出しており、連続デー
タ位置が異なる度にカウントアップし、所定回数以上に
なったときに不安定条件を満たしたとしている。よっ
て、不安定条件が満たされるまでの処理は、ステップS
304に戻り、次のフレームの連続データの抽出に移
る。
In step S401 of FIG. 4, as shown in FIG. 12, the uppermost continuous data in the eye search area is detected. After that, the process shifts to step S403 to determine whether or not the appearance of the uppermost continuous data is stable. The condition for stabilizing the appearance of the uppermost continuous data is that it is determined that the uppermost continuous data continuously appears a predetermined number of times at an equivalent position that allows an error in the extraction of the continuous data in the search area of the eye. If this condition is not satisfied, the process moves to step S419, and it is determined whether or not the appearance state of the uppermost continuous data satisfies the unstable condition.
The instability condition is a state in which the position of the topmost continuous data varies for each processing of each frame, and is counted up each time the continuous data position is different. It satisfies the conditions. Therefore, processing until the unstable condition is satisfied is performed in step S
Returning to 304, the process proceeds to extraction of continuous data of the next frame.

【0060】また、ステップS403で最上端の連続デ
ータの出現が安定する前に、ステップS419で不安定
条件を満たした場合は、ステップS404に移行する。
ステップS404では検索領域変更フラグ3を立て、ス
テップS303に戻り、ステップS301で眼の検索領
域の変更を行う。
If the unstable condition is satisfied in step S419 before the appearance of the uppermost continuous data is stabilized in step S403, the process proceeds to step S404.
In step S404, the search area change flag 3 is set, and the process returns to step S303. In step S301, the eye search area is changed.

【0061】眼の検索領域の変更方法は、図13に示す
ように同眼の検索領域内でばらついて出現した中の一番
上の連続データ位置を基準に検索領域上部をカットし縮
小を行う。この処理により、不安定な状態での出現が多
い傾向がある背景の模様やはねた髪の毛による連続デー
タによる領域が削除される。又、図13のように最上端
の連続データが不安定な状態が続く場合は、段階的に眼
の検索領域を縮小し、図14に示すように縮小した領域
内に連続データが出現しなくなった場合は、図3のステ
ップS308もしくはステップS315により、眼の検
索領域IからIIに切り替え、図14に示す画像データの
眼のある箇所に眼の検索領域を切り替えることができ
る。
As shown in FIG. 13, the method of changing the search area of the eye is to cut and reduce the upper part of the search area based on the top position of the continuous data that appears in the search area of the same eye. . By this processing, a background pattern which tends to frequently appear in an unstable state or an area based on continuous data of splashed hair is deleted. When the continuous state at the uppermost end continues to be unstable as shown in FIG. 13, the search area of the eye is reduced stepwise, and the continuous data does not appear in the reduced area as shown in FIG. In this case, the eye search area I is switched from the eye search area I to the eye search area II in step S308 or step S315 in FIG. 3, and the eye search area can be switched to the eye position in the image data shown in FIG.

【0062】このように眼の検索領域内の最上端の連続
データとして眼又は眉などを捉えることができれば、最
上端の連続データの出現は非常に安定しており、ステッ
プS403の安定条件を容易に満たすことができる。こ
のとき、gksyflgを0とし、ステップS405に
移行する。ステップS405ではgksyflgが0で
あるか否かを判定しており、0である場合に、ステップ
S406に移行し、安定して出現した最上端の連続デー
タ位置を基準に、更に眼の検出精度を向上させるため、
図15に示す判定領域として上下方向に縮小し、左右方
向に拡大した縮小第2領域を設定する。この領域内にお
いては、同領域内の上部より、出現する一つないし二つ
の連続データの出現状態より、検出した連続データが眼
又は眉であるかを判定する。
If the eyes or eyebrows can be captured as the uppermost continuous data in the eye search area in this way, the appearance of the uppermost continuous data is very stable, and the stability condition in step S403 can be easily set. Can be satisfied. At this time, gksyflg is set to 0, and the flow shifts to step S405. In step S405, it is determined whether or not gksyflg is 0. If gksyflg is 0, the process proceeds to step S406, and the eye detection accuracy is further determined based on the topmost continuous data position that has stably appeared. To improve,
A reduced second region that is reduced in the up-down direction and enlarged in the left-right direction is set as the determination region illustrated in FIG. In this area, it is determined whether the detected continuous data is an eye or an eyebrow from the appearance state of one or two continuous data appearing from the upper part in the same area.

【0063】ステップS406で縮小第2領域の設定後
にgksyflgを88とし、ステップS407でgk
syflgが88の時は、ステップS408に移行す
る。
After setting the reduced second area in step S406, gksyflg is set to 88, and gksyflg is set in step S407.
If syflg is 88, the flow shifts to step S408.

【0064】ステップS408では、図15に示す縮小
第2領域内の出現する連続データを一つないし二つを検
出し、その連続データの長さと位置関係により、該当す
る連続データが眉か眼又は眼鏡のフレームであるかを判
定する判定値を算出し、ステップS409に移行する。
In step S408, one or two continuous data appearing in the reduced second area shown in FIG. 15 are detected, and depending on the length and positional relationship of the continuous data, the corresponding continuous data is determined by eyebrows or eyes or eyes. A determination value for determining whether the frame is a frame of glasses is calculated, and the process proceeds to step S409.

【0065】ステップS409では、眼或いは眉であれ
ば左右対称の位置関係で安定的に出現する連続データが
出現することを捉えることにより検出している。図15
のように眼の検索領域内で安定して出現する最上端の連
続データが眼又は眉の片側である場合は、その連続デー
タを基準とした左右方向への横に長い縮小第2領域内の
上部から二つまでの連続データを検出すると、対象関係
にあるもう一方の眼或いは眉が検出できる。この二つの
連続データにおいても、最上端の連続データの場合と同
様に眼或いは眉である場合は、同等位置で且つ同等間隔
で出現する。よって、ステップS403の時と同じよう
に安定条件を容易に満たすことができる。
In step S409, if the eye or the eyebrow is detected, it is detected that continuous data stably appearing in a symmetrical positional relationship appears. FIG.
When the uppermost continuous data stably appearing in the eye search area is one side of the eye or the eyebrow as in the case of 長 い, the reduced second horizontal area in the left-right direction with respect to the continuous data is used. When two consecutive data from the upper part are detected, the other eye or eyebrow in the target relationship can be detected. Also in these two continuous data, as in the case of the uppermost continuous data, when they are eyes or eyebrows, they appear at the same position and at the same interval. Therefore, the stability condition can be easily satisfied as in the case of step S403.

【0066】ステップS409で該当する連続データの
出現が安定しない場合、又は、安定して出現する場合で
あっても図16に示すような二つの連続データ間隔が所
定値L1以上ないときは、該当する連続データを眼或い
は眉とはせず、ステップS420に移行する。図16
は、背景の模様が安定した最上端の連続データとして検
出されてしまった例を挙げている。このような場合であ
っても、ステップS408、S409の判定によって、
該当するノイズデータを除去することができる。その理
由は、背景の模様や跳ねた髪の毛などの連続データであ
る場合、それ単体での出現でも安定しにくく、更に同等
高さに所定間隔以上離れた位置にもう一つの連続データ
が存在することが極めて少ないからである。
In step S409, if the appearance of the corresponding continuous data is not stable, or even if it appears stably, if the interval between two continuous data is not equal to or more than the predetermined value L1 as shown in FIG. The continuous data to be processed is not regarded as eyes or eyebrows, and the process proceeds to step S420. FIG.
Shows an example in which a background pattern is detected as stable topmost continuous data. Even in such a case, according to the determinations in steps S408 and S409,
The corresponding noise data can be removed. The reason is that if the data is continuous data such as a background pattern or bouncing hair, it is difficult to stabilize even when it appears alone, and there is another continuous data at a position at a predetermined distance at the same height. Is extremely small.

【0067】ステップS420では、左右対称の連続デ
ータの出現状態が不安定条件を満たしたか否かを判定す
る。不安定条件とは、前述したように左右対称となる連
続データの位置や長さが、各フレーム毎の処理毎にばら
つく状態を検出しており、連続データや長さが異なる度
にカウントアップし、所定回数以上になったときに不安
定条件を満たしたとしている。よって、不安定条件が満
たされるまでの処理は、ステップS304に戻り次のフ
レームの連続データの抽出に移る。この処理を繰り返す
際は、gksyflgが88であるためステップS30
7、S312、S313、S314、S407、S40
8、S409、S420の順に流れ、最上端の連続デー
タの検出は行わない。
In step S420, it is determined whether or not the appearance state of the symmetrical continuous data satisfies the unstable condition. As described above, the unstable condition is a state in which the position and length of continuous data that are symmetrical in the left and right directions vary according to the processing for each frame, and are counted up each time the continuous data and length are different. It is stated that the unstable condition is satisfied when the number of times exceeds a predetermined number. Therefore, the process until the unstable condition is satisfied returns to step S304 and shifts to extraction of continuous data of the next frame. When this process is repeated, since gksyflg is 88, step S30
7, S312, S313, S314, S407, S40
8, S409, and S420 are performed in this order, and the continuous data at the uppermost end is not detected.

【0068】又、ステップS409で左右対称の連続デ
ータの出現が安定する前に、ステップS420で不安定
条件を満たした場合は、ステップS410に移行する。
ステップS410では、検索領域変更フラグ3を立て、
ステップS303に戻り、ステップS301で眼の検索
領域の変更を行う。この時の眼の検索領域の変更方法
は、左右対称の連続データの出現を判定する領域として
設定した縮小第2領域の設定位置を基準に領域の縮小を
行う。この処理により、不安定の状態での出現が多い傾
向がある背景の模様や跳ねた髪の毛による連続データに
よる領域が削除される。
If the unstable condition is satisfied in step S420 before the appearance of left-right symmetric continuous data is stabilized in step S409, the process proceeds to step S410.
In step S410, the search area change flag 3 is set, and
Returning to step S303, the eye search area is changed in step S301. The method of changing the eye search area at this time is to reduce the area based on the set position of the reduced second area set as the area for determining the appearance of symmetrical continuous data. By this processing, a background pattern which tends to frequently appear in an unstable state or an area based on continuous data of bouncing hair is deleted.

【0069】又、gksylfgを1に、ステップS3
02で初期化することにより、再度、縮小した眼の検索
領域内の最上端連続データの安定条件判定の戻る。縮小
した眼の検索領域内で再度、安定した最上端の連続デー
タが検出された場合は、その連続データを基準に、再度
左右対称の連続データの安定条件判定を行い、左右対称
連続データの安定条件が満たされるまで、同様判定が繰
り返される。よって、この場合においても図17に示す
ように、階段的に眼の検索領域の縮小を行い、眼の検索
領域に連続データが出現しなくなった場合は、ステップ
S308もしくはステップS315により、眼の検索領
域IからIIに切り替え、図18に示す画像データでの眼
のある箇所に眼の検索領域を切り替えることができる。
Also, gksylfg is set to 1 and step S3
By performing initialization at 02, the stability condition determination of the uppermost continuous data in the reduced eye search area is returned again. If the stable uppermost continuous data is detected again in the reduced eye search area, the stability condition of the symmetrical continuous data is determined again based on the continuous data, and the stability of the symmetrical continuous data is determined. The same determination is repeated until the condition is satisfied. Therefore, also in this case, as shown in FIG. 17, the eye search area is reduced stepwise, and when continuous data does not appear in the eye search area, the eye search is performed in step S308 or step S315. By switching from the region I to II, the eye search region can be switched to a position where the eye is present in the image data shown in FIG.

【0070】次に、図19に示すようにドライバが眼鏡
をかけており、ステップS408、S409での連続デ
ータが一つしか出現しない場合や、二つの連続データが
出現してもその一方が非常に長い場合の判定方法につい
て説明する。
Next, as shown in FIG. 19, if the driver wears glasses and only one continuous data appears in steps S408 and S409, or if two continuous data appear, one of them is very emergency. The determination method when the length is long will be described.

【0071】黒いフレームの眼鏡をかけているドライバ
の場合は、縮小第2領域での左右の連続データが一体化
されることがある。このような場合は、二つの連続デー
タの間隔を判定する変わりに、対象となる連続データの
長さが所定値以上であるか否かによって判定することが
できる。
In the case of a driver wearing glasses with black frames, the left and right continuous data in the reduced second area may be integrated. In such a case, instead of determining the interval between two continuous data, the determination can be made based on whether or not the length of the target continuous data is equal to or longer than a predetermined value.

【0072】ステップS409で安定した左右対称の連
続データが検出された場合は、眼の検索領域の切り替え
をコントロールしている変数gksyflgを99にす
る。ステップS411では、そのgksyflgの状態
が99であることの確認後、ステップS412に移る。
When stable left-right symmetric continuous data is detected in step S409, the variable gksyflg controlling switching of the eye search area is set to 99. In step S411, after confirming that the state of gksyflg is 99, the process proceeds to step S412.

【0073】ステップS412での縮小領域は縮小第1
領域と定義づけており、図20に示すように車両内側の
眼、つまり右ハンドル車である場合は、ドライバの左目
の周りに小さく設定する領域である。該領域の設定基準
は、左右対称となる連続データの向かって右側の連続デ
ータの中心座標を用いている。
The reduced area in step S412 is the first reduced area.
As shown in FIG. 20, when the vehicle is an eye inside the vehicle, that is, a right-hand drive vehicle, the region is set to be small around the left eye of the driver. The center of the continuous data on the right side of the symmetric continuous data is used as the reference for setting the area.

【0074】次に図21を用いて縮小第1領域の設定す
る際の補正について説明する。ドライバが、眼鏡をかけ
ている場合、眼の検索領域の範囲で検出される最上端の
連続データは図21の(a)のようになり、最上端の連
続データの横方向への中心座標が眼の位置と合わないこ
とがある。この座標値をそのまま用いて縮小第1領域を
設定すると図21の(b)に示すように、ドライバの左
目が領域の中央部に捉えきれず眼の検出精度が悪化する
ことがある。このような場合においては、最上端の連続
データが所定値以上の長さであることを判定して眼鏡を
掛けていると認識し、図21の(c)に示すように、縮
小第2領域で該当する連続データの全体長さL2を算出
し、L2を所定比のa:bで分割することによって補正
後の縮小第2領域を設定する。この補正により、区間D
が補正され眼を縮小第1領域の中央部に検出できるよう
になる。このようにしてドライバの左目の周りに小さく
設定した図22の縮小第1領域内で眼の検出を行うこと
で、眼の選択式を非常に簡素化でき、検出精度も向上す
ることが可能である。又、この選択式を用いる前までの
検出においては、眉か眼、或いは眼鏡のフレームである
ことを前提としているため、限定した領域内の一つ又は
二つの連続データを上部から検出しているにすぎず、非
常にシンプルな形態での判定の繰り返しである。
Next, the correction when setting the reduced first area will be described with reference to FIG. When the driver wears glasses, the uppermost continuous data detected in the range of the eye search area is as shown in FIG. 21A, and the center coordinates in the horizontal direction of the uppermost continuous data are as follows. May not match eye position. If the reduced first area is set using these coordinate values as they are, the left eye of the driver may not be able to catch the center of the area, as shown in FIG. In such a case, it is determined that the continuous data at the uppermost end is longer than a predetermined value, it is recognized that the user is wearing glasses, and as shown in FIG. , The entire length L2 of the corresponding continuous data is calculated, and the reduced second region after correction is set by dividing L2 by a predetermined ratio a: b. With this correction, section D
Is corrected, and the eye can be detected at the center of the reduced first area. By performing the eye detection in the reduced first region of FIG. 22 which is set small around the left eye of the driver in this manner, the eye selection formula can be greatly simplified, and the detection accuracy can be improved. is there. In addition, in the detection before using this selection formula, since it is assumed that the frame is an eyebrow, an eye, or a frame of eyeglasses, one or two continuous data in a limited area is detected from above. This is a repetition of determination in a very simple form.

【0075】最後にステップS413以降の処理で眼の
位置の特定法について説明する。
Finally, a method for specifying the position of the eye in the processing after step S413 will be described.

【0076】ステップS413では眼鏡のフレーム、
眉、眼など限られた顔の構成物の相対位置関係による判
定式を作り、そのどれに該当するかによって、連続デー
タの選択を行う。尚、この選択の際、どのパターンにも
一致しないときは、ステップS414からステップS4
16に移行し、連続データの未検出カウンタ3をインク
リメントしステップS417に移る。
In step S413, the glasses frame
A determination formula is created based on the relative positional relationship of limited facial components such as eyebrows and eyes, and continuous data is selected according to which one of the expressions. In this selection, if the pattern does not match any of the patterns, steps S414 to S4
Then, the process proceeds to S16, where the undetected counter 3 of the continuous data is incremented, and the process proceeds to Step S417.

【0077】ステップS417では、未検出カウンタ3
が20を越えるまで同様の判定を繰り返す。このときの
処理の流れでは、gksyflgが99であるため、最
上端、左右対称の連続データの判定は行わない。又、ス
テップS417で未検出カウンタ3が20を越えた場合
は、ステップS418で検索領域変更フラグ4を立て、
ステップS303からステップS304に戻し、初期状
態から眼の位置検出をやり直す。このフローにはいるこ
とは、実際はまれであり、又検出したものが眼ではない
確率も非常に高い。
In step S417, the undetected counter 3
Is repeated until the value exceeds 20. In the processing flow at this time, since gksyflg is 99, determination of continuous data that is symmetrical at the uppermost end and left and right is not performed. If the undetected counter 3 exceeds 20 in step S417, the search area change flag 4 is set in step S418,
The process returns from step S303 to step S304, and the eye position detection is performed again from the initial state. It is rare in practice to enter this flow, and the probability that the detected object is not an eye is very high.

【0078】ステップS414で眼の選択式に合致した
連続データが存在する場合は、ステップS415に移行
する。ステップS415では眼として特定された連続デ
ータの出現位置が同等の位置に複数回検出することを条
件に安定条件値を算出する。
If there is continuous data that matches the eye selection formula in step S414, the process moves to step S415. In step S415, the stability condition value is calculated on the condition that the appearance position of the continuous data specified as the eye is detected a plurality of times at the same position.

【0079】この後、図5のステップS501で前記安
定条件を判定する。安定条件が満たされてない場合は、
ステップS502で各フレーム毎眼の位置座標の変化か
ら座標データのばらつき判定を行う。ステップS502
のばらついていないと判断される場合は、ステップS3
04に戻り、gksyflgが99であるときの処理を
繰り返す。又、ステップS502において座標がばらつ
いていると判断された場合は、ステップS503に移行
し、連続データの未検出カウンタ4をインクリメントす
る。
Thereafter, the stability condition is determined in step S501 of FIG. If stability conditions are not met,
In step S502, a variation determination of coordinate data is performed based on a change in position coordinates of each eye of each frame. Step S502
If it is determined that there is no variation, step S3
Returning to 04, the processing when gksyflg is 99 is repeated. If it is determined in step S502 that the coordinates vary, the process proceeds to step S503, and the undetected counter 4 of the continuous data is incremented.

【0080】ステップS504では、前記ばらつき状態
をカウントするばらつきカウンタが10を越えたか否か
を判定し、越えるまでは同様の処理を繰り返し、越えた
場合は、ステップS505で検索領域変更フラグ5を立
て、ステップS303からステップS304に戻し、初
期状態から眼の位置検出をやり直す。このフローに入る
場合は、最終的な眼検出段階に入ったときにドライバの
顔位置が大きく動いている状態であるといえ、この状態
での眼の位置検出は誤差を多く含むため、再度初期状態
に戻し顔位置が落ち着くタイミングを待つ方が好ましい
からである。
In step S504, it is determined whether or not the variation counter for counting the variation state has exceeded 10, and the same processing is repeated until the variation counter has exceeded 10. If so, the search area change flag 5 is set in step S505. Then, the process returns from step S303 to step S304, and the eye position detection is performed again from the initial state. When entering this flow, it can be said that the driver's face position is largely moving at the time of entering the final eye detection stage, and the eye position detection in this state includes many errors, so This is because it is preferable to return to the state and wait for the timing at which the face position calms down.

【0081】ステップS501で眼の連続データの座標
位置が安定した場合においては、ステップS506で眼
の座標の出力を行う。
If the coordinate position of the continuous eye data is stabilized in step S501, the coordinates of the eye are output in step S506.

【0082】以上図3〜図5のフローチャートで全体的
な処理の流れを説明し、本実施形態では縮小第2領域の
設定後に、縮小第1領域を設定するという順序で説明し
たが、処理の内容としては縮小第2領域の設定を省略し
ても、従来例に対し眼の検出精度の向上は可能である。
The overall processing flow has been described with reference to the flowcharts of FIGS. 3 to 5. In the present embodiment, the description has been made in the order of setting the reduced second area and then setting the reduced first area. As the content, even if the setting of the reduced second region is omitted, the accuracy of eye detection can be improved as compared with the conventional example.

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

【図1】本発明の一実施形態の機能ブロック図である。FIG. 1 is a functional block diagram of an embodiment of the present invention.

【図2】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a configuration of one embodiment of the present invention.

【図3】実施形態の動作を示すフローチャートである。FIG. 3 is a flowchart illustrating the operation of the embodiment.

【図4】実施形態の動作を示すフローチャートである。FIG. 4 is a flowchart showing an operation of the embodiment.

【図5】実施形態の動作を示すフローチャートである。FIG. 5 is a flowchart showing the operation of the embodiment.

【図6】実施形態の動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of the embodiment.

【図7】フローチャートの処理に関する説明図である。FIG. 7 is an explanatory diagram related to a process in a flowchart.

【図8】フローチャートの処理に関する説明図である。FIG. 8 is an explanatory diagram related to a process in a flowchart.

【図9】フローチャートの処理に関する説明図である。FIG. 9 is an explanatory diagram related to a process in a flowchart.

【図10】フローチャートの処理に関する説明図であ
る。
FIG. 10 is an explanatory diagram related to a process in a flowchart.

【図11】フローチャートの処理に関する説明図であ
る。
FIG. 11 is an explanatory diagram related to a process in a flowchart.

【図12】フローチャートの処理に関する説明図であ
る。
FIG. 12 is an explanatory diagram related to a process in a flowchart.

【図13】フローチャートの処理に関する説明図であ
る。
FIG. 13 is an explanatory diagram related to a process in a flowchart.

【図14】フローチャートの処理に関する説明図であ
る。
FIG. 14 is an explanatory diagram related to a process in a flowchart.

【図15】フローチャートの処理に関する説明図であ
る。
FIG. 15 is an explanatory diagram related to a process in a flowchart.

【図16】フローチャートの処理に関する説明図であ
る。
FIG. 16 is an explanatory diagram related to a process in a flowchart.

【図17】フローチャートの処理に関する説明図であ
る。
FIG. 17 is an explanatory diagram related to a process in a flowchart.

【図18】フローチャートの処理に関する説明図であ
る。
FIG. 18 is an explanatory diagram related to a process in a flowchart.

【図19】フローチャートの処理に関する説明図であ
る。
FIG. 19 is an explanatory diagram related to a process in a flowchart.

【図20】フローチャートの処理に関する説明図であ
る。
FIG. 20 is an explanatory diagram related to a process in a flowchart.

【図21】フローチャートの処理に関する説明図であ
る。
FIG. 21 is an explanatory diagram related to a process in a flowchart.

【図22】フローチャートの処理に関する説明図であ
る。
FIG. 22 is an explanatory diagram related to a process in a flowchart.

【図23】従来例にかかる説明図である。FIG. 23 is an explanatory diagram according to a conventional example.

【図24】従来例にかかる説明図である。FIG. 24 is an explanatory diagram according to a conventional example.

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

CL1 眼の検索領域の設定及び変更手段(検索領域設
定手段、検索領域変更手段、検索領域変更指令手段、第
1、第2検索領域カット手段) CL2 画像入力手段 CL3 顔の縦方向の画素列の濃度検出手段 CL4 各画素列におけるポイント抽出手段 CL5 曲線データ抽出手段 CL6 曲線データ数の確認手段(曲線データ確認手
段、曲線データ判断手段) CL7 所定領域内の最上端曲線データ検出手段 CL8 最上端の曲線データの第1安定条件判定手段 CL9 縮小第2領域設定手段 CL10 縮小第2領域内での曲線データ判定手段(曲
線データ抽出手段、特徴量判定手段、第2安定条件判定
手段) CL11 縮小第1領域設定手段 CL12 縮小第1領域設定補正手段 CL13 眼の位置検出手段 21 TVカメラ 22 AーD変換器 23 画像メモリ 24 画像データ演算回路 25 眼の位置検出回路
CL1 Eye search area setting and changing means (search area setting means, search area changing means, search area change command means, first and second search area cutting means) CL2 image input means CL3 Density detecting means CL4 Point extracting means in each pixel column CL5 Curve data extracting means CL6 Curve data number checking means (curve data checking means, curve data judging means) CL7 Uppermost curve data detecting means in a predetermined area CL8 Uppermost curve Data first stability condition determination means CL9 Reduced second area setting means CL10 Curve data determination means in the reduced second area (curve data extraction means, feature quantity determination means, second stability condition determination means) CL11 Reduced first area Setting means CL12 Reduction first area setting correction means CL13 Eye position detection means 21 TV camera 22 A / D converter 3 an image memory 24 the image data calculation circuit 25 eye position detection circuit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 顔を含んだ画像データを入力する画像入
力手段と、前記入力された画像データを複数個に分割し
て複数個の眼の検索領域を設定する眼の検索領域設定手
段と、前記各眼の検索領域を順に切り替える眼の検索領
域変更手段と、前記順に切り替える眼の検索領域のそれ
ぞれで顔の縦方向の画素列に沿って画素の濃度を検出し
前記画素列上の濃度値の片方向のピークの前の濃度変化
の微分値が所定値を越えることを条件に濃度値の片方向
のピークの画素を特定して抽出点とするポイント抽出手
段と、前記抽出点が画素列方向に連続して顔の横方向に
伸びる曲線データを抽出可能な曲線データ抽出手段と、
前記眼の検索領域で曲線データの有無を確認する曲線デ
ータ確認手段と、前記曲線データ確認手段により曲線デ
ータが確認されなかった場合に前記複数個に分割した他
の眼の検索領域に変更すべく前記眼の検索領域変更手段
に出力する検索領域変更指令手段と、前記曲線データ確
認手段により曲線データが確認された場合に前記眼の検
索領域内の曲線データの相対位置関係より眼の位置を検
出する眼の位置検出手段からなることを特徴とする眼位
置検出装置。
1. An image input means for inputting image data including a face, an eye search area setting means for dividing the input image data into a plurality and setting a plurality of eye search areas, An eye search area changing means for sequentially switching the search area of each eye, and a density value on the pixel row by detecting a density of a pixel along a vertical pixel row of a face in each of the eye search areas to be sequentially switched. Point extraction means for identifying a pixel of a one-way peak of the density value as an extraction point on condition that the differential value of the density change before the one-way peak exceeds a predetermined value; and Curve data extraction means capable of extracting curve data extending in the horizontal direction of the face continuously in the direction,
A curve data confirmation unit for confirming the presence / absence of curve data in the eye search region; and if the curve data confirmation unit does not confirm the curve data, the curve data confirmation unit changes to the plurality of divided eye search regions. A search area change instructing means for outputting to the eye search area changing means; and detecting the position of the eye from the relative positional relationship of the curve data in the eye search area when the curve data is confirmed by the curve data checking means. An eye position detecting device, comprising: an eye position detecting means.
【請求項2】 請求項1記載の眼位置検出装置であっ
て、 前記曲線データ確認手段により曲線データが確認された
場合に前記眼の検索領域の最上端の曲線データを検出す
る最上端曲線データ検出手段と、前記最上端の曲線デー
タが複数回同等位置に出現することを条件に安定と判定
する最上端の曲線データの第1安定条件判定手段と、前
記第1安定条件判定手段の判定により最上端の曲線デー
タの出現が安定した場合に前記最上端の曲線データを基
準とした縮小第1領域を設定する縮小第1領域設定手段
と、前記縮小第1領域内に出現する曲線データから眼の
位置を検出する眼位置検出手段からなることを特徴とす
る眼位置検出装置。
2. The eye position detecting device according to claim 1, wherein when the curve data is confirmed by the curve data confirming means, the curve data at the uppermost end of the eye search area is detected. Detection means, first stability condition determination means for determining the uppermost curve data that is determined to be stable on the condition that the uppermost curve data appears at the same position a plurality of times, and determination by the first stability condition determination means. A reduced first area setting means for setting a reduced first area based on the uppermost curve data when the appearance of the uppermost curve data is stable; An eye position detecting device comprising an eye position detecting means for detecting the position of the eye.
【請求項3】 請求項1又は2記載の眼位置検出装置で
あって、 前記第1安定条件判定手段の判定により最上端の曲線デ
ータの出現が安定しない場合に前記最上端の曲線データ
を基準として眼の検索領域上部をカットする眼の第1検
索領域カット手段を設け、前記最上端曲線データ検出手
段は、前記カット後の眼の検索領域内において再度最上
端の曲線データを検出することを特徴とする眼位置検出
装置。
3. The eye position detecting device according to claim 1, wherein the appearance of the uppermost curve data is not stable as determined by the first stability condition determination means, and the uppermost curve data is used as a reference. First eye search area cutting means for cutting the upper part of the eye search area is provided, and the uppermost curve data detecting means detects the uppermost curve data again in the cut eye search area. Eye position detecting device characterized by the following.
【請求項4】 請求項2又は3記載の眼位置検出装置で
あって、 前記第1安定条件判定手段の判定により最上端の曲線デ
ータの出現が安定した場合に前記最上端の曲線データを
基準として領域を上下方向に縮小すると共に左右方向に
拡大した縮小第2領域を設定する縮小第2領域設定手段
と、前記縮小第2領域において出現する曲線データを上
部より一つ又は二つを抽出する曲線データ抽出手段と、
該曲線データ抽出手段により抽出された曲線データの位
置関係、長さの少なくとも一方を判定する曲線データの
特徴量判定手段と、前記曲線データ抽出手段により抽出
された曲線データが複数回同等位置、同等長さで出現す
ることを条件に安定と判定する曲線データの第2安定条
件判定手段と、前記縮小第1領域設定手段は、前記第2
安定条件判定手段の判定により曲線データの出現が安定
した場合に該曲線データを基準とした縮小第1領域を設
定することを特徴とする眼位置検出装置。
4. The eye position detecting device according to claim 2, wherein the uppermost curve data is used as a reference when the appearance of the uppermost curve data is stable as determined by the first stability condition determining means. Reducing second area setting means for reducing the area in the vertical direction and setting a reduced second area in the horizontal direction, and extracting one or two of the curve data appearing in the reduced second area from above. Curve data extraction means;
A characteristic amount determination unit for curve data that determines at least one of a positional relationship and a length of the curve data extracted by the curve data extraction unit; The second stability condition determination means for determining the stability of the curve data which is determined to be stable on the condition that it appears in the length, and the reduced first area setting means,
An eye position detecting device, wherein when the appearance of curve data is stabilized by the determination of the stability condition determining means, a reduced first area is set based on the curve data.
【請求項5】 請求項4記載の眼位置検出装置であっ
て、 前記第2安定条件判定手段の判定により前記縮小第2領
域内の曲線データの出現が安定しない場合に前記曲線デ
ータを基準として眼の検索領域上部をカットする眼の第
2検索領域カット手段を有し、前記最上端曲線データ検
出手段は、カット後の眼の検索領域内において再度最上
端の曲線データを検出することを特徴とする眼位置検出
装置。
5. The eye position detecting device according to claim 4, wherein the curve data is used as a reference when the appearance of the curve data in the reduced second area is not stable as determined by the second stability condition determining means. A second search area cutting means for cutting an upper part of the eye search area, wherein the uppermost curve data detecting means detects the uppermost curve data again in the cut eye search area. Eye position detecting device.
【請求項6】 請求項4又は5記載の眼位置検出装置で
あって、 前記縮小第2領域内の安定条件を満たした曲線データの
状態に応じて前記縮小第1領域の設定を補正する縮小第
1領域設定補正手段を有することを特徴とする眼位置検
出装置。
6. The eye position detecting device according to claim 4, wherein the setting of the first reduced area is corrected in accordance with a state of curve data satisfying a stability condition in the second reduced area. An eye position detection device comprising a first area setting correction unit.
【請求項7】 請求項6記載の眼位置検出装置であっ
て、 前記縮小第1領域設定補正手段は、前記縮小第2領域内
において安定条件を満たした曲線データの長さが所定値
を上回るとき前記縮小第1領域の設定を補正することを
特徴とする眼位置検出装置。
7. The eye position detection device according to claim 6, wherein the reduced first area setting correction unit has a length of curve data satisfying a stability condition in the reduced second area exceeds a predetermined value. An eye position detecting device for correcting the setting of the reduced first area.
【請求項8】 請求項4〜7のいずれかに記載の眼位置
検出装置であって、 前記縮小第2領域設定手段は、前記最上端の曲線データ
の中心座標を基準に縮小第2領域を設定することを特徴
とする眼位置検出装置。
8. The eye position detecting device according to claim 4, wherein the reduced second area setting means sets the reduced second area based on the center coordinates of the uppermost curve data. An eye position detection device characterized by setting.
【請求項9】 請求項4〜8のいずれかに記載の眼位置
検出装置であって、 前記縮小第2領域内に出現する左右二つの曲線データの
間隔が所定値を下回るときは、曲線データが確認されな
かったと判断する曲線データ判断手段を備え、 前記検索領域変更指令手段は、前記曲線データ判断手段
により、曲線データが確認されなかったと判断された場
合に前記複数個に分割した他の眼の検索領域に変更すべ
く前記眼の検索領域変更手段に出力することを特徴とす
る眼位置検出装置。
9. The eye position detecting device according to claim 4, wherein when an interval between two left and right curve data appearing in the reduced second area is smaller than a predetermined value, the curve data is obtained. The search area change instructing means, when the curve data determining means determines that the curve data has not been confirmed, the other eyes divided into a plurality of pieces. An eye position detecting device for outputting to the eye search area changing means so as to change to the search area.
JP25379097A 1997-09-18 1997-09-18 Eye position detector Expired - Fee Related JP3582324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25379097A JP3582324B2 (en) 1997-09-18 1997-09-18 Eye position detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25379097A JP3582324B2 (en) 1997-09-18 1997-09-18 Eye position detector

Publications (2)

Publication Number Publication Date
JPH1196379A true JPH1196379A (en) 1999-04-09
JP3582324B2 JP3582324B2 (en) 2004-10-27

Family

ID=17256194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25379097A Expired - Fee Related JP3582324B2 (en) 1997-09-18 1997-09-18 Eye position detector

Country Status (1)

Country Link
JP (1) JP3582324B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100343223B1 (en) * 1999-12-07 2002-07-10 윤종용 Apparatus for eye and face detection and method thereof
JP2004070514A (en) * 2002-08-02 2004-03-04 Nissan Motor Co Ltd Face state detection device
KR100664956B1 (en) * 2004-11-24 2007-01-04 삼성전자주식회사 Method and apparatus for eye detection
KR100903096B1 (en) 2007-06-27 2009-06-16 포항공과대학교 산학협력단 Eye detection method using eye verification and correction

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100343223B1 (en) * 1999-12-07 2002-07-10 윤종용 Apparatus for eye and face detection and method thereof
JP2004070514A (en) * 2002-08-02 2004-03-04 Nissan Motor Co Ltd Face state detection device
KR100664956B1 (en) * 2004-11-24 2007-01-04 삼성전자주식회사 Method and apparatus for eye detection
KR100903096B1 (en) 2007-06-27 2009-06-16 포항공과대학교 산학협력단 Eye detection method using eye verification and correction

Also Published As

Publication number Publication date
JP3582324B2 (en) 2004-10-27

Similar Documents

Publication Publication Date Title
KR100664425B1 (en) Object trace device, object trace method, and computer-readable storage medium having a program for tracking object
US7853050B2 (en) System and method for operation without touch by operators
US5218387A (en) Eye position detecting apparatus
EP2074550B1 (en) Eye opening detection system and method of detecting eye opening
US7907752B2 (en) Face center position detecting device, face center position detecting method, and computer-readable medium
CN101029823B (en) Method for tracking vehicle based on state and classification
JPH1139469A (en) Face image processor
JPH04313199A (en) Distance between cars detector
JP2822799B2 (en) Driver status detection device
US20150169969A1 (en) Object detection device for area around vehicle
JP3312562B2 (en) Dozing state detection device
JP2007164690A (en) Image processor and image processing method
JP4325271B2 (en) Status detection device and status detection system
JP3582324B2 (en) Eye position detector
JP2007219603A (en) Person tracking device, person tracking method and person tracking program
JP4016694B2 (en) Face state detection apparatus and method
JP2936943B2 (en) Driver status detection device
JP3444115B2 (en) Dozing state detection device
JPH04174309A (en) Driver's eye position detecting apparatus and condition detecting apparatus
JP3465566B2 (en) Eye position detection device
JP2932551B2 (en) Iris position detecting device and driver state detecting device
JP6265370B2 (en) Object tracking method and object tracking system
JP3331095B2 (en) In-vehicle image processing device
JP2017090955A (en) Electronic device, white line detection program, and white line detection method
JP3109230B2 (en) Eye position detection device for vehicle driver

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040325

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040719

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090806

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100806

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees