JP3465566B2 - Eye position detection device - Google Patents
Eye position detection deviceInfo
- Publication number
- JP3465566B2 JP3465566B2 JP35798097A JP35798097A JP3465566B2 JP 3465566 B2 JP3465566 B2 JP 3465566B2 JP 35798097 A JP35798097 A JP 35798097A JP 35798097 A JP35798097 A JP 35798097A JP 3465566 B2 JP3465566 B2 JP 3465566B2
- Authority
- JP
- Japan
- Prior art keywords
- eye position
- curve data
- search area
- data
- eye
- 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.)
- Expired - Fee Related
Links
Landscapes
- Auxiliary Drives, Propulsion Controls, And Safety Devices (AREA)
- Eye Examination Apparatus (AREA)
- Image Processing (AREA)
- Emergency Alarm Devices (AREA)
- Image Analysis (AREA)
- Length Measuring Devices By Optical Means (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ミラー、シートを
自動制御するためや、ドライバの眼の開閉状態から居眠
り運転状態を検出するために必要な眼の位置の特定等に
用いることができる眼位置検出装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention can be used for automatically controlling a mirror and a seat, and for identifying the eye position necessary for detecting a dozing driving state from the open / closed state of a driver's eye. The present invention relates to a position detection device.
【0002】[0002]
【従来の技術】顔の画像データを演算処理して顔の特徴
量を抽出することにより、人物を特定したり、視線の方
向を検知したり、居眠り/覚醒の区別を判定したりする
種々の装置が開発されている。画像データは、画素ごと
の明るさを多数の階調段階(濃度値、輝度)で表現した
膨大なデータであるから、このような装置では、画像デ
ータを早期に絞り込んでデータ数を削減し、演算数を節
約して処理速度を確保している。2. Description of the Related Art By calculating facial image data by extracting facial feature amounts, various persons can be identified, such as identifying a person, detecting the direction of a line of sight, and determining whether to fall asleep or awake. The device is being developed. Image data is a huge amount of data that expresses the brightness of each pixel with a large number of gradation levels (density value, brightness), so in such a device, the image data is narrowed down early to reduce the number of data. The processing speed is secured by saving the number of calculations.
【0003】例えば、特開平7−181012号公報に
示される居眠り警報装置では、顔の画像データから顔の
特徴量の1つである眼の開度指標を求めているが、その
処理過程では、画像データの濃度値を白黒で二値化す
る、画面の不必要な部分に黒いマスク領域を設定して黒
部分の個数を減じる、個々の島状の黒部分をそれぞれひ
とかたまりに扱ってラベリングする等によりデータ数を
削減している。For example, in the doze warning device disclosed in Japanese Unexamined Patent Publication No. 7-181012, the eye opening index, which is one of the facial feature values, is calculated from the facial image data. Binarize the density values of image data in black and white, set black mask areas in unnecessary areas of the screen to reduce the number of black areas, and treat each island-shaped black area as a group and label it. To reduce the number of data.
【0004】[0004]
【発明が解決しようとする課題】特開平7−18101
2号公報に示される処理では、眼の位置検出を行なうた
めに以下の3つのステップを踏む必要があるため、画像
処理や演算にかなりの時間を要する。[Patent Document 1] Japanese Patent Application Laid-Open No. 7-18101
In the process disclosed in Japanese Patent Laid-Open No. 2 publication, it is necessary to perform the following three steps in order to detect the position of the eye, and therefore it takes a considerable time for image processing and calculation.
【0005】(1)濃度値の二値化やノイズ除去を主と
した画像データの前処理
(2)眼の横方向の位置を特定するための顔幅検出(ラ
ベリング、粒子除去、白画素の連続性の判定等)
(3)眼の縦方向の位置検出(各ラベルの重心座標と面
積値とフィレ径の判定等)(1) Preprocessing of image data mainly for binarization of density values and noise removal (2) Face width detection (labeling, particle removal, white pixel detection for specifying the lateral position of the eye) (Continuity judgment, etc.) (3) Eye longitudinal position detection (judgment of barycentric coordinates of each label, area value, fillet diameter, etc.)
【0006】つまり、濃度値が二値化されているとは言
え、個々の島状の黒部分ごとに数100〜数万の画素を
含んでいるため、これらの処理の1つ1つの演算にかな
りの時間がかかる。従って、処理の周期を短縮して判定
の追従性や信頼性を高めることが困難であり、演算装置
の小型化や他の演算処理の割り込み処理も困難であっ
た。That is, although the density value is binarized, each individual black portion of the island includes several hundreds to tens of thousands of pixels, and therefore each calculation of these processes is performed. It takes a lot of time. Therefore, it is difficult to shorten the processing cycle to improve the followability and reliability of the determination, and it is also difficult to downsize the arithmetic device and interrupt the other arithmetic processing.
【0007】また、顔面上の黒部分を個々に分離した状
態でラベリングを行なうため、眼に該当する黒部分に他
の黒部分が連続した状態、例えば、長髪が眼尻にかかっ
た場合には、白黒に二値化された画像上で眼に該当する
黒部分が他の黒部分と一体化して眼に該当する黒部分を
特定できなくなる。Further, since the labeling is performed in the state where the black portions on the face are individually separated, when other black portions are continuous with the black portion corresponding to the eye, for example, when long hair touches the outer corner of the eye. A black portion corresponding to an eye on a black-and-white binarized image is integrated with another black portion, and a black portion corresponding to an eye cannot be specified.
【0008】そこで本願出願人は、演算されるデータ量
が削減されて処理速度が高まるとともに、長髪が眼尻に
かかった場合でも眼に対応する特徴量を正確に特定でき
る眼位置検出装置として、例えば特願平8−10190
4号に記載されたようなものを提案している。Therefore, the applicant of the present invention, as an eye position detecting device, can reduce the amount of data to be calculated, increase the processing speed, and accurately specify the feature amount corresponding to the eye even when the long hair touches the outer corner of the eye. For example, Japanese Patent Application No. 8-10190
I am proposing something like that described in No. 4.
【0009】この眼位置検出装置は、顔の縦方向の画素
列に沿って画素の濃度を検出し、前記画素列における濃
度の局所的な高まりごとに1個づつの画素を定めて抽出
点とし、隣接する画素列の画素列方向に近接した抽出点
を連結して顔の横方向に伸びる曲線データから眼の位置
を検出する構成としたものである。This eye position detecting device detects the density of pixels along a pixel row in the vertical direction of the face, and determines one pixel as an extraction point for each local increase in the density in the pixel row. In this configuration, the extraction points adjacent to each other in the pixel row direction of adjacent pixel rows are connected to detect the eye position from the curve data extending in the lateral direction of the face.
【0010】この発明は、上記眼位置検出装置をさらに
改良したもので、眼の位置検出対象者の背景の部分にノ
イズとなるカーテンレールやサンルーフなどが存在して
も眼の位置の検出精度が保てる眼位置検出装置を提供す
ることを課題としている。The present invention is a further improvement of the above-mentioned eye position detecting device. Even if there is a curtain rail or a sunroof which causes noise in the background portion of the person who is subject to eye position detection, the eye position detection accuracy is improved. An object of the present invention is to provide an eye position detecting device that can maintain the eye position.
【0011】[0011]
【課題を解決するための手段】請求項1の発明は、顔を
含んだ画像データを入力する画像入力手段と、入力され
た画像データの縦方向の画素列に沿って画素の濃度を読
み出し、該画素列上の濃度値の片方向のピークの前の濃
度変化の微分値が所定値を越えることを条件に、濃度値
の片方向のピークの画素を特定して抽出点とするポイン
ト抽出手段と、隣接する画素列の画素列方向に近接した
前記抽出点を連続して顔の横方向に伸びる曲線データを
抽出する曲線データ抽出手段と、前記曲線データの移動
状態を判定する移動状態判定手段と、前記曲線データが
動的であると判定された場合に該曲線データに基づいて
眼の位置を検出する眼の位置検出手段とからなることを
特徴とする。According to a first aspect of the present invention, image input means for inputting image data including a face, and pixel densities are read out along a vertical pixel row of the input image data, Point extraction means for specifying the pixel of the unidirectional peak of the density value as the extraction point, provided that the differential value of the density change before the unidirectional peak of the density value on the pixel row exceeds a predetermined value. Curve data extracting means for extracting curve data that continuously extends in the lateral direction of the face from the extraction points that are adjacent to each other in the pixel row direction, and movement state determination means for determining the movement state of the curve data. And an eye position detecting means for detecting the eye position based on the curve data when it is determined that the curve data is dynamic.
【0012】従って、動きの判定対象とする曲線データ
を曲線データ抽出手段によって絞り込み、該当する曲線
データの移動状態を移動状態判定手段によって判定し、
曲線データが動的であると判定された場合に、該曲線デ
ータに基づいて眼の位置検出手段によって眼の位置を検
出することができる。Therefore, the curve data to be judged for movement is narrowed down by the curve data extracting means, and the moving state of the corresponding curve data is judged by the moving state judging means.
When it is determined that the curve data is dynamic, the eye position can be detected by the eye position detecting means based on the curve data.
【0013】請求項2の発明は、請求項1記載の眼位置
検出装置であって、前記曲線データ抽出手段で抽出され
た曲線データを含む眼の位置検索領域1を設定する眼の
位置検索領域1設定手段と、前記眼の位置検索領域1に
おいて最上端に出現する曲線データを検出する最上端曲
線データ検出手段と、前記最上端の曲線データを基準と
して眼の位置検索領域2を設定する眼の位置検索領域2
設定手段と、前記眼の位置検索領域2に出現する曲線デ
ータの移動状態を判定する曲線データの移動状態判定手
段と、前記対象となる曲線データが動的であると判定さ
れた場合に眼の位置検索領域3を設定する眼の位置検索
領域3設定手段と、前記対象となる曲線データが静的な
曲線データであると判定された場合に眼の位置検索領域
1の設定に戻し、該当する前記曲線データの位置情報を
基に眼の位置検索領域1の範囲を上下方向に縮小する眼
の位置検索領域1の縮小手段と、前記眼の位置検索領域
3内に出現する曲線データの相対位置関係より眼の位置
を検出する眼の位置検出手段からなることを特徴とす
る。The invention of claim 2 is the eye position detecting apparatus according to claim 1, wherein an eye position search area 1 for setting an eye position search area 1 including the curve data extracted by the curve data extracting means is set. 1 setting means, an uppermost end curve data detection means for detecting curve data appearing at the uppermost end in the eye position search area 1, and an eye for setting the eye position search area 2 based on the uppermost end curve data. Location search area 2
The setting means, the movement state determination means of the curve data that determines the movement state of the curve data that appears in the eye position search area 2, and the eye movement when the target curve data is determined to be dynamic. The eye position search area 3 setting means for setting the position search area 3, and the setting of the eye position search area 1 when the target curve data is determined to be static curve data, are applicable. Relative position of the curve data appearing in the eye position search area 3 and a reduction means of the eye position search area 1 for vertically reducing the range of the eye position search area 1 based on the position information of the curve data. It is characterized by comprising eye position detecting means for detecting the eye position from the relationship.
【0014】従って、請求項1の発明の作用に加え、ま
ず眼の位置検索領域1設定手段によって、曲線データ抽
出手段で抽出された曲線データを含む眼の位置検索領域
1を設定し、次いで最上端曲線データ検出手段によって
眼の位置検索領域1において最上端に出現する曲線デー
タを検出し、眼の位置検索領域2設定手段によって最上
端の曲線データを基準とした眼の位置検索領域2を設定
する。こうして、曲線データを絞り込み、移動状態判定
手段によって眼の位置検索領域2に出現する曲線データ
の移動状態を判定し、曲線データが動的であると判定さ
れた場合に、眼の位置検索領域3設定手段によって眼の
位置検索領域3を設定する。対象となる曲線データが静
的な曲線データであると判定された場合には、眼の位置
検索領域1の設定に戻し、該当する曲線データの位置情
報を基に、眼の位置検索領域1の縮小手段によって眼の
位置検索領域1の範囲を上下方向に縮小する。眼の位置
検出手段は、前記眼の位置検索領域3内に出現した曲線
データの相対位置関係より眼の位置を検出する。従っ
て、眼の位置検索領域1、眼の位置検索領域2、眼の位
置検索領域3と曲線データを絞り込むことによって、眼
の位置を検出することができる。Therefore, in addition to the operation of the invention of claim 1, first, the eye position search area 1 setting means sets the eye position search area 1 containing the curve data extracted by the curve data extraction means, and then the eye position search area 1 setting means. The upper end curve data detection means detects the curve data appearing at the uppermost end in the eye position search area 1, and the eye position search area 2 setting means sets the eye position search area 2 based on the uppermost curve data. To do. In this way, the curve data is narrowed down, and the movement state determination means determines the movement state of the curve data appearing in the eye position search area 2. When the curve data is determined to be dynamic, the eye position search area 3 The eye position search area 3 is set by the setting means. When it is determined that the target curve data is static curve data, the setting of the eye position search area 1 is returned to, and the eye position search area 1 of the eye is searched based on the position information of the corresponding curve data. The reduction unit reduces the range of the eye position search area 1 in the vertical direction. The eye position detecting means detects the eye position from the relative positional relationship of the curve data appearing in the eye position search area 3. Therefore, the eye position can be detected by narrowing down the eye position search area 1, the eye position search area 2, the eye position search area 3 and the curve data.
【0015】請求項3の発明は、請求項1又は2記載の
眼位置検出装置であって、前記移動状態判定手段は、前
記曲線データの移動状態を曲線データの上下方向の移動
量で判定することを特徴とする。A third aspect of the invention is the eye position detecting apparatus according to the first or second aspect, wherein the movement state determination means determines the movement state of the curve data based on the amount of vertical movement of the curve data. It is characterized by
【0016】従って、請求項1又は2の発明の作用に加
え、移動状態判定手段により曲線データの上下方向の移
動量で曲線データが動的であるか否かを判定することが
できる。このため、運転中の乗員の動きに応じた判定を
行なうことができる。Therefore, in addition to the operation of the first or second aspect of the invention, it is possible to determine whether or not the curve data is dynamic based on the amount of vertical movement of the curve data by the movement state determination means. Therefore, it is possible to make a determination according to the movement of the occupant during driving.
【0017】請求項4の発明は、請求項3記載の眼位置
検出装置であって、前記移動状態判定手段には、前記曲
線データの移動状態を曲線データを構成する各抽出点の
上下方向位置の平均値で判定することを特徴とする。According to a fourth aspect of the present invention, in the eye position detecting apparatus according to the third aspect, the movement state determining means determines the movement state of the curve data from the vertical position of each extraction point constituting the curve data. It is characterized in that it is determined by the average value of.
【0018】従って、請求項3の発明の作用に加え、移
動状態判定手段は曲線データの移動状態を曲線データを
構成する各抽出点の上下方向位置の平均値で判定するこ
とができる。Therefore, in addition to the action of the invention of claim 3, the moving state judging means can judge the moving state of the curve data by the average value of the vertical position of each extraction point forming the curve data.
【0019】請求項5の発明は、請求項1〜4のいずれ
かに記載の眼位置検出装置であって、前記移動状態判定
手段は、前記移動状態の判定を曲線データを構成する前
記抽出点の最上端位置のもので行なうことを特徴とす
る。A fifth aspect of the present invention is the eye position detecting apparatus according to any one of the first to fourth aspects, wherein the movement state determining means determines the movement state by the extraction points forming curve data. It is characterized in that it is performed at the uppermost position.
【0020】従って、請求項1〜4のいずれかの発明の
作用に加え、移動状態の判定を曲線データを構成する抽
出点の最上端位置のもので行なうことができる。Therefore, in addition to the operation of any one of the first to fourth aspects of the invention, the movement state can be determined at the uppermost position of the extraction points forming the curve data.
【0021】請求項6の発明は、請求項1〜4のいずれ
かに記載の眼位置検出装置であって、前記移動状態判定
手段は、前記眼の位置検索領域2内に出現する曲線デー
タの形状を判定する形状判定手段と、該形状判定手段の
出力結果により、前記曲線データの移動状態判定手段の
判定時間を変更する移動状態判定時間変更手段とを有す
ることを特徴とする。A sixth aspect of the present invention is the eye position detecting apparatus according to any one of the first to fourth aspects, wherein the movement state determination means is for the curve data appearing in the eye position search area 2. It is characterized by having a shape determination means for determining a shape and a movement state determination time changing means for changing the determination time of the movement state determination means of the curve data according to the output result of the shape determination means.
【0022】従って、請求項1〜4のいずれかの発明の
作用に加え、眼の位置検索領域2内に出現する曲線デー
タの形状を判定することにより、移動状態判定手段の判
定時間を変更することができ、例えば曲線データが上に
凸であれば眼である可能性が高く、判定時間を長くする
ことができる。Therefore, in addition to the operation of any of the first to fourth aspects of the present invention, the determination time of the moving state determination means is changed by determining the shape of the curve data appearing in the eye position search area 2. For example, if the curve data is convex upward, it is highly likely that it is an eye, and the determination time can be lengthened.
【0023】請求項7の発明は、請求項1〜4のいずれ
かに記載の眼位置検出装置であって、前記移動状態判定
手段は、前記位置検索領域2内に出現する曲線データの
形状を判定する形状判定手段と、該形状判定手段の出力
結果により、前記曲線データの移動状態判定手段の判定
移動量を変更する移動状態判定移動量変更手段とを有す
ることを特徴とする。The invention according to claim 7 is the eye position detecting apparatus according to any one of claims 1 to 4, wherein the movement state determining means determines the shape of the curve data appearing in the position search area 2. It is characterized by having a shape determining means for determining and a movement state determining movement amount changing means for changing the determination movement amount of the movement state determining means of the curve data according to an output result of the shape determination means.
【0024】従って、請求項1〜4のいずれかの発明の
作用に加え、曲線データの形状判定によって、移動状態
判定手段の判定移動量を変更することができる。このた
め、曲線データが上に凸であれば眼である可能性が高
く、判定移動量を小さくすることができる。Therefore, in addition to the operation of the invention of any one of claims 1 to 4, it is possible to change the determination movement amount of the movement state determination means by determining the shape of the curve data. Therefore, if the curve data is convex upward, there is a high possibility that it is an eye, and the amount of determination movement can be reduced.
【0025】請求項8の発明は、請求項1〜4のいずれ
かに記載の眼位置検出装置であって、前記移動状態判定
手段は、前記眼の位置検索領域2内に出現する曲線デー
タの形状を判定する形状判定手段と、該形状判定手段の
出力結果により、前記眼の位置検索領域3の設定条件を
変更する領域3の設定条件変更手段とを有することを特
徴とする。An eighth aspect of the present invention is the eye position detecting apparatus according to any one of the first to fourth aspects, wherein the movement state determination means is for the curve data appearing in the eye position search area 2. It is characterized by comprising shape determining means for determining the shape, and setting condition changing means for the area 3 for changing the setting condition of the eye position search area 3 according to the output result of the shape determining means.
【0026】従って、請求項1〜4のいずれかの発明の
作用に加え、曲線データの形状判定によって、眼の位置
検索領域3の設定条件を変更することができる。このた
め、曲線データが眼鏡フレームの下である場合にも眼の
位置検索領域3の設定条件の変更によって、眼に対応す
る曲線データを捉えることができる。Therefore, in addition to the operation of the invention of any one of claims 1 to 4, the setting condition of the eye position search region 3 can be changed by determining the shape of the curve data. Therefore, even when the curve data is under the spectacle frame, the curve data corresponding to the eye can be captured by changing the setting condition of the eye position search area 3.
【0027】請求項9の発明は、請求項2記載の眼位置
検出装置であって、前記移動状態判定手段は、前記眼の
位置検索領域2内に出現する曲線データに基づいて顔の
画像データの左右に渡るように横長の眼の位置検索領域
4を設定する眼の位置検索領域4設定手段と、設定され
た眼の位置検索領域4内に左右2つ以上の曲線データが
あるか否かを判定する左右データ判定手段と、判定され
た左右データの上下段差の大小から曲線データを特定し
て前記眼の位置検索領域3の設定条件を変更する領域3
の設定条件変更手段とを備えたことを特徴とする。According to a ninth aspect of the present invention, in the eye position detecting apparatus according to the second aspect, the moving state determining means determines the face image data based on the curve data appearing in the eye position search area 2. Eye position search area 4 setting means for setting the horizontally long eye position search area 4 so as to extend to the left and right of the eye, and whether or not there are two or more curve data on the left and right in the set eye position search area 4. Area 3 for changing the setting condition of the eye position search area 3 by specifying the curve data based on the size of the vertical step of the determined left and right data
And setting means changing means.
【0028】従って、請求項2の発明の作用に加え、眼
の位置検索領域2内に出現する曲線データから横長の眼
の位置検索領域4を設定する。設定された眼の位置検索
領域4内に左右2つ以上の曲線データがあるか否かを判
定し、判定された左右データの上下段差の大小から曲線
データを特定して、眼の位置検索領域3の設定条件を変
更することができる。従って、眉、眼、眼鏡のフレーム
の左右対称となる特徴を判定し、眼の位置を検出するこ
とができる。Therefore, in addition to the operation of the invention of claim 2, the laterally long eye position search area 4 is set from the curve data appearing in the eye position search area 2. It is determined whether or not there are two or more right and left curve data in the set eye position search area 4, and the curve data is specified based on the size of the upper and lower steps of the determined left and right data to determine the eye position search area. The setting conditions of 3 can be changed. Therefore, the positions of the eyes can be detected by determining the bilaterally symmetrical features of the frames of the eyebrows, eyes, and glasses.
【0029】請求項10の発明は、請求項9記載の眼位
置検出装置であって、前記左右データ判定手段は、前記
眼の位置検索領域4内の上部より2つの曲線データを選
択することを特徴とする。According to a tenth aspect of the present invention, in the eye position detecting apparatus according to the ninth aspect, the left and right data determining means selects two curve data from the upper part in the eye position search area 4. Characterize.
【0030】従って、請求項9の発明の作用に加え、眼
の位置検索領域4内の上部より2つの曲線データを選択
することができる。このため、眼の位置検索領域内にお
いて左右の眉、眼、眼鏡を捉えることができる。Therefore, in addition to the effect of the ninth aspect of the invention, two curve data can be selected from the upper part in the eye position search area 4. Therefore, the left and right eyebrows, eyes, and glasses can be captured in the eye position search area.
【0031】請求項11の発明は、請求項9又は請求項
10に記載の眼位置検出装置であって、前記領域3の設
定条件変更手段は、前記左右データの段差が所定以下の
場合に前記眼の位置検索領域4内に出現する曲線データ
の形状を判定して前記曲線データの特定を行なう形状判
定手段を備えたことを特徴とする。An invention according to claim 11 is the eye position detecting apparatus according to claim 9 or 10, wherein the setting condition changing means of the area 3 is the above-mentioned when the step of the left and right data is less than a predetermined value. It is characterized by further comprising shape determining means for determining the shape of the curve data appearing in the eye position search area 4 and specifying the curve data.
【0032】従って、請求項9又は請求項10の発明の
作用に加え、左右データの段差が所定以下の場合に、眼
の位置検索領域4内に出現する曲線データの形状を判定
して曲線データの特定を行なうことができる。このた
め、眼鏡フレームと眼との区別を行なうことが可能とな
る。Therefore, in addition to the action of the invention of claim 9 or claim 10, when the step difference of the left and right data is less than a predetermined value, the shape of the curve data appearing in the eye position search area 4 is judged to determine the curve data. Can be specified. Therefore, it is possible to distinguish between the spectacle frame and the eye.
【0033】請求項12の発明は、請求項2又は請求項
6又は請求項7又は請求項8又は請求項11に記載の眼
位置検出装置であって、前記形状判定手段は、曲線デー
タの形状を曲線データを構成する各抽出点の最右点と最
左点とを直線で結び、前記直線に対する該曲線データの
中央にある抽出点の位置により形状を認識することを特
徴とする。The invention according to claim 12 is the eye position detecting device according to claim 2, 6 or 7, or 8 or 11, wherein the shape determining means is a shape of the curve data. Is connected to the rightmost point and the leftmost point of each extraction point forming the curve data by a straight line, and the shape is recognized by the position of the extraction point at the center of the curve data with respect to the straight line.
【0034】従って、請求項2又は請求項6又は請求項
7又は請求項8又は請求項11に記載の発明の作用に加
え、抽出点の最右点と最左点とを直線で結び、直線に対
する曲線データの中央にある抽出点の位置により形状を
認識することができ、曲線データが上に凸であるか下に
凸であるかを認識することができる。Therefore, in addition to the action of the invention described in claim 2, claim 6, claim 7, claim 8, or claim 11, the rightmost point and the leftmost point of the extraction points are connected by a straight line to form a straight line. The shape can be recognized by the position of the extraction point in the center of the curve data for, and it can be recognized whether the curve data is convex upward or convex downward.
【0035】[0035]
【発明の効果】請求項1の発明では、該当する曲線デー
タの動きを判定することにより、眼の位置検出対象者の
背景の部分にノイズとなるカーテンレールやサンルーフ
等が存在しても、眼の位置の検出精度を保つことがで
き、正確な検出を行なうことができる。According to the first aspect of the present invention, by determining the movement of the corresponding curve data, even if a curtain rail, a sunroof, or the like that causes noise is present in the background portion of the person whose eye position is to be detected, The detection accuracy of the position of can be maintained, and accurate detection can be performed.
【0036】請求項2の発明では、請求項1の発明の効
果に加え、眼の位置検索領域を3段階に絞り込むことに
よって、より正確な判定を行なうことができ、より正確
な眼の位置の検出を行なうことができる。According to the invention of claim 2, in addition to the effect of the invention of claim 1, by narrowing down the eye position search area in three stages, more accurate determination can be performed and a more accurate eye position can be determined. Detection can be performed.
【0037】請求項3の発明では、請求項1又は2の発
明の効果に加え、移動状態の判定をより確実なデータを
用いることにより正確に行なうことができ、より正確な
眼の位置検出を行なうことができる。According to the invention of claim 3, in addition to the effect of the invention of claim 1 or 2, the determination of the moving state can be accurately performed by using more reliable data, and more accurate eye position detection can be performed. Can be done.
【0038】請求項4の発明では、請求項3の発明の効
果に加え、曲線データの移動状態を曲線データを構成す
る各抽出点の上下方向位置の平均値で判定することによ
って、より正確な判定を行なうことができ、より正確な
眼の位置検出を行なうことができる。According to the invention of claim 4, in addition to the effect of the invention of claim 3, more accurate by determining the moving state of the curve data by the average value of the vertical position of each extraction point forming the curve data. The determination can be performed, and more accurate eye position detection can be performed.
【0039】請求項5の発明では、請求項1〜4のいず
れかの発明の効果に加え、移動状態の判定を曲線データ
を構成する抽出点の最上端位置のもので行なうことがで
き、正確な判定を行なうことができ、正確な眼の位置検
出を行なうことができる。According to the invention of claim 5, in addition to the effect of any one of the inventions of claims 1 to 4, the determination of the moving state can be performed at the uppermost position of the extraction points forming the curve data, and the accuracy is accurate. Therefore, it is possible to perform accurate determination and accurately detect the eye position.
【0040】請求項6の発明では、請求項1〜4のいず
れかの発明の効果に加え、曲線データの形状判定によっ
て眼である可能性が高い場合には、長い時間判定するこ
とにより、より正確な判定を行なうことができ、より正
確な眼の位置検出を行なうことができる。According to the invention of claim 6, in addition to the effect of the invention of any one of claims 1 to 4, when it is highly likely that it is an eye based on the shape determination of the curve data, a longer time is used to determine more. Accurate determination can be performed, and more accurate eye position detection can be performed.
【0041】請求項7の発明では、請求項1〜4のいず
れかの発明の効果に加え、形状判定によって眼である可
能性が高い場合には、判定移動量を小さくし、より正確
な判定を行なうことができ、より正確な眼の位置検出を
行なうことができる。According to the invention of claim 7, in addition to the effect of the invention of any one of claims 1 to 4, when there is a high possibility of being an eye by shape determination, the determination movement amount is reduced to make more accurate determination. Can be performed, and more accurate eye position detection can be performed.
【0042】請求項8の発明では、請求項1〜4のいず
れかの発明の効果に加え、曲線データの形状判定によっ
て眼の位置検索領域3の設定条件を変更することによ
り、曲線データが例えば眼鏡フレームの下などであって
も、より正確な眼の位置検索領域3の設定を行なうこと
ができ、より正確な眼の位置検出を行なうことができ
る。According to the invention of claim 8, in addition to the effect of any one of the inventions of claims 1 to 4, by changing the setting condition of the eye position search region 3 by determining the shape of the curve data, the curve data can be converted into, for example, Even under the spectacle frame or the like, the more accurate eye position search area 3 can be set, and more accurate eye position detection can be performed.
【0043】請求項9の発明では、請求項2の発明の効
果に加え、横長の眼の位置検索領域4を設定することに
よって、左右対称に存在する眉、眼、眼鏡フレームの特
性に応じた判定を行なうことができ、より正確な判定に
よって、より正確な眼の位置検出を行なうことができ
る。According to the ninth aspect of the invention, in addition to the effect of the second aspect of the invention, by setting the laterally long eye position search area 4, the characteristics of the eyebrows, the eyes, and the spectacle frames that are present symmetrically are provided. The determination can be performed, and the more accurate determination can detect the eye position more accurately.
【0044】請求項10の発明では、請求項9の発明の
効果に加え、眼の位置検索領域4内の上部より2つの曲
線データを選択することによって、上部より順に選択
し、眼の位置検索領域4内での判定をより正確に行なう
ことができ、より正確な眼の位置検出を行なうことがで
きる。According to the tenth aspect of the invention, in addition to the effect of the ninth aspect of the invention, by selecting two curve data from the upper part in the eye position retrieving region 4, the curve positions are sequentially selected from the upper part to retrieve the eye position. The determination in the area 4 can be performed more accurately, and more accurate eye position detection can be performed.
【0045】請求項11の発明では、請求項9又は10
の発明の効果に加え、眼の位置検索領域4内の曲線デー
タの形状判定によって、より正確な判定を行なうことが
でき、より正確な眼の位置検出を行なうことができる。According to the invention of claim 11, claim 9 or 10
In addition to the effect of the invention described above, more accurate determination can be performed by the shape determination of the curve data in the eye position search region 4, and more accurate eye position detection can be performed.
【0046】請求項12の発明では、請求項2又は請求
項6又は請求項7又は請求項8又は請求項11の発明の
効果に加え、曲線データの形状を必要最小限の情報によ
り正確に認識することができ、より正確な眼の位置検出
を短時間で行なうことができる。According to the invention of claim 12, in addition to the effect of the invention of claim 2 or claim 6 or claim 7 or claim 8 or claim 11, the shape of the curve data is accurately recognized by the minimum necessary information. Therefore, more accurate eye position detection can be performed in a short time.
【0047】[0047]
【発明の実施の形態】図1は本発明の一実施形態の眼位
置検出装置の機能ブロック図に係り、該眼位置検出装置
は、画像入力手段CL1と濃度検出手段CL2とポイン
ト抽出手段CL3と曲線データの抽出手段CL4と所定
領域1の設定手段CL5と曲線データの検出手段CL6
と所定領域2の設定手段CL7と移動状態判定手段CL
8と所定領域3の設定手段CL9と所定領域1の縮小手
段CL10と眼の位置検出手段CL11とを備えてい
る。1 is a functional block diagram of an eye position detecting apparatus according to an embodiment of the present invention. The eye position detecting apparatus includes an image input means CL1, a density detecting means CL2, and a point extracting means CL3. Curve data extraction means CL4, predetermined area 1 setting means CL5, and curve data detection means CL6
And the setting means CL7 for the predetermined area 2 and the movement state determining means CL
8 and a predetermined area 3 setting means CL9, a predetermined area 1 reduction means CL10, and an eye position detecting means CL11.
【0048】前記画像入力手段CL1は、運転者の顔を
含んだ画像データを入力する。前記濃度検出手段CL2
は、前記画像入力手段CL1から入力された画像データ
の縦方向の画素列の濃度を検出する。前記ポイント抽出
手段CL3は、前記画素列における濃度の高まりと、そ
の変化状態によりポイントを抽出する。前記曲線データ
の抽出手段CL4は、画素列上の濃度値の片方向のピー
クの前の濃度変化の微分値が所定値を越えることを条件
に、濃度値の片方向のピークの画素を特定して抽出点と
する。すなわち前記曲線データ抽出手段CL4は、隣接
する画素列の画素列方向に近接した抽出点を連続して、
顔の横方向に伸びる曲線データを抽出する。前記所定領
域1の設定手段CL5は、抽出された曲線データを含む
眼の位置検索領域1を設定する。前記最上端曲線データ
検出手段CL6は、眼の位置検索領域1において最上端
に出現する曲線データを検出する。前記所定領域2の設
定手段CL7は、最上端の曲線データを基準とした眼の
位置検索領域2を設定する。前記移動状態判定手段CL
8は、眼の位置検索領域2に出現する曲線データの移動
状態を判定する。前記所定領域3の設定手段CL9は、
前記対象となる曲線データが動的であると判定された場
合に、眼の位置検索領域3を設定する。前記所定領域1
の縮小手段CL10は、対象となる曲線データが静的な
曲線データであると判定された場合に、眼の位置検索領
域1の設定に戻し、該当する前記曲線データの位置情報
を基に眼の位置検索領域1の範囲を上下方向に縮小す
る。前記眼の位置検出手段CL11は、眼の位置検索領
域3内に出現する曲線データの相対位置関係より眼の位
置を検出する。The image input means CL1 inputs image data including the driver's face. The concentration detecting means CL2
Detects the density of the vertical pixel row of the image data input from the image input means CL1. The point extracting means CL3 extracts points according to the increase in the density of the pixel row and the changing state thereof. The curve data extracting means CL4 specifies pixels having a unidirectional peak of the density value on condition that the differential value of the density change before the unidirectional peak of the density value on the pixel array exceeds a predetermined value. As the extraction point. That is, the curve data extraction unit CL4 continuously extracts the extraction points that are adjacent to each other in the pixel row direction of the adjacent pixel rows,
Curve data extending in the lateral direction of the face is extracted. The setting unit CL5 of the predetermined area 1 sets the eye position search area 1 including the extracted curve data. The uppermost curve data detecting means CL6 detects the curve data appearing at the uppermost end in the eye position search area 1. The setting means CL7 of the predetermined area 2 sets the eye position search area 2 based on the uppermost curve data. The moving state determination means CL
Reference numeral 8 determines the movement state of the curve data that appears in the eye position search area 2. The setting means CL9 of the predetermined area 3 is
When it is determined that the target curve data is dynamic, the eye position search area 3 is set. The predetermined area 1
When it is determined that the target curve data is static curve data, the reducing means CL10 returns to the setting of the eye position search area 1, and based on the position information of the corresponding curve data, The range of the position search area 1 is reduced vertically. The eye position detecting means CL11 detects the eye position from the relative positional relationship of the curve data appearing in the eye position search area 3.
【0049】図2は、本発明の一実施形態に係る構成ブ
ロック図である。図2のようにインストルメントに設置
され、ドライバの顔部分を正面から撮影する画像入力手
段CL1として、カメラ21が備えられ、カメラ21に
よる入力画像は本実施形態では、図6に示すように、横
(X)方向512画素、縦(Y)方向480画素からな
る。前記カメラ21で撮影された入力画像は、A−D変
換器22を介してデジタル量の入力画像データとして、
画像メモリ23に格納される。前記画像メモリ23には
画像データ演算回路24が接続されている。該画像デー
タ演算回路24は、前記濃度検出手段CL2、ポイント
抽出手段CL3、曲線データの抽出手段CL4、所定領
域1の設定手段CL5、曲線データの検出手段CL6、
所定領域2の設定手段CL7、曲線データの移動状態判
定手段CL8、所定領域3の設定手段CL9、所定領域
1の縮小手段CL10からなる。FIG. 2 is a block diagram of the configuration according to an embodiment of the present invention. As shown in FIG. 6, a camera 21 is provided as an image input unit CL1 that is installed in the instrument as shown in FIG. 2 and that captures the driver's face portion from the front, as shown in FIG. 6 in the present embodiment. It consists of 512 pixels in the horizontal (X) direction and 480 pixels in the vertical (Y) direction. The input image captured by the camera 21 is input as digital input image data via the A / D converter 22.
It is stored in the image memory 23. An image data arithmetic circuit 24 is connected to the image memory 23. The image data arithmetic circuit 24 includes the density detecting means CL2, the point extracting means CL3, the curve data extracting means CL4, the predetermined area 1 setting means CL5, and the curve data detecting means CL6.
The predetermined area 2 includes setting means CL7, curve data movement state determining means CL8, predetermined area 3 setting means CL9, and predetermined area 1 reducing means CL10.
【0050】該画像データ演算回路24には、眼の位置
検索領域3内において眼の位置を検出する眼の位置検出
手段CL11としての眼の位置検出回路25が接続され
ている。An eye position detecting circuit 25 as an eye position detecting means CL11 for detecting the eye position in the eye position searching area 3 is connected to the image data arithmetic circuit 24.
【0051】次に、上記構成における動作の流れを、図
3〜図5のフローチャートと、図6〜図14の説明図を
用いて説明する。Next, the flow of operation in the above configuration will be described with reference to the flowcharts of FIGS. 3 to 5 and the explanatory diagrams of FIGS. 6 to 14.
【0052】まず、ステップS301において、眼の位
置検索領域1の設定を行なう。この眼の位置検索領域1
は、図6に示すように画像全体がカバーできる領域とし
ている。これは、体格の違い等により眼の位置が変化し
ても許容するためである。First, in step S301, the eye position search area 1 is set. This eye position search area 1
Is an area that can cover the entire image as shown in FIG. This is to allow for changes in the position of the eyes due to differences in physique.
【0053】ステップS302では、眼の検索領域内の
画素データを読みだし、ステップS303で、曲線デー
タとなる眼の候補データ(移行ステップでは、曲線デー
タのことを連続データと呼ぶ)を抽出する。ステップS
302とS303での処理内容を、図5のフローチャー
トと図6〜図9の説明図を用いて説明する。In step S302, pixel data in the eye search area is read out, and in step S303, candidate eye data to be curve data (in the transition step, curve data is referred to as continuous data) is extracted. Step S
The processing contents of 302 and S303 will be described with reference to the flowchart of FIG. 5 and the explanatory diagrams of FIGS.
【0054】まずステップS501においてカメラによ
ってドライバの顔部分を撮影し、1フレーム分の入力画
像がデジタル信号によって変換されたうえ画像メモリに
格納される。ステップS502では図6に示すように眼
の位置検索領域に対してポイント抽出の処理を行ない1
ライン終了後に、一つ隣のラインの処理に移して行き、
所定方向の全ラインでのポイント抽出が終了したか否か
を判断する。ステップS502で全ラインにおいてポイ
ント抽出が行なわれていないと判断された場合は、ステ
ップS503に移行する。First, in step S501, the face portion of the driver is photographed by the camera, and an input image for one frame is converted by a digital signal and stored in the image memory. In step S502, point extraction processing is performed on the eye position search area as shown in FIG.
After finishing the line, move on to the processing of the next line,
It is determined whether or not the point extraction has been completed for all lines in the predetermined direction. If it is determined in step S502 that points have not been extracted on all lines, the process proceeds to step S503.
【0055】ステップS503では、所定方向、例えば
上から下への1ラインの濃度値の相加平均演算を行な
う。この処理は、画像データ撮影時の濃度値の変化の小
さなばらつきを無くすことを目的としており、濃度値の
大局的な変化を捉えるためである。図7(a)に、図6
のXaのラインデータの相加平均演算の処理結果を示
す。In step S503, the arithmetic mean of the density values of one line in a predetermined direction, for example, from top to bottom is calculated. This processing is intended to eliminate small variations in changes in density value during image data capturing, and is for capturing global changes in density value. In FIG.
The processing result of the arithmetic mean calculation of the line data of Xa is shown.
【0056】図5のステップS504では、ステップS
503の演算結果である相加平均値における微分演算を
行なう。この処理結果を図7(b)に示す。図5のステ
ップS505では、ステップS504の演算結果である
微分値によるポイント抽出を行なう。そのポイントの抽
出方法は、微分値が負から正に変化するポイント(p1
〜p3)、図7(a)でいうと、グラフが下向きに凸に
なるポイントを抽出する。In step S504 of FIG. 5, step S
A differential operation is performed on the arithmetic mean value which is the operation result of 503. The result of this processing is shown in FIG. In step S505 of FIG. 5, point extraction is performed using the differential value that is the calculation result of step S504. The extraction method for that point is that the point where the differential value changes from negative to positive (p1
.. p3), in FIG. 7A, points at which the graph is convex downward are extracted.
【0057】次にそのポイントに達するまでの濃度値の
変化(q1〜q3)が所定値以下であるか否か、図7
(b)の微分値の安定基準値以下であるか否かを判定
し、所定値以下の濃度値の変化を持つポイントを対象と
してY座標値(A1〜A3)を抽出する。この処理が1
ライン終了後、ステップS506で、次のラインの処理
に切り換えていく。Whether or not the change (q1 to q3) in the density value until reaching the point is below a predetermined value or not is shown in FIG.
It is determined whether or not the differential value of (b) is equal to or less than the stable reference value, and the Y coordinate values (A1 to A3) are extracted with respect to points having a change in density value of a predetermined value or less. This process is 1
After the line is completed, the process is switched to the next line in step S506.
【0058】ステップS502で全ラインのポイント抽
出が終了したと判断されると、図8に示すようなポイン
トが抽出される。つまり図6のXaライン上では、A
1,A2,A3の3つのポイントが抽出されていること
になる。When it is judged in step S502 that the points of all the lines have been extracted, the points shown in FIG. 8 are extracted. That is, on the Xa line in FIG.
This means that three points 1, A2 and A3 have been extracted.
【0059】その後、ステップS507へ移行し、隣合
う各ラインの抽出ポイント(A1,A2,A3…)のY
座標値を比較し、Y座標値が所定値以内の場合、連続デ
ータとして、連続データのグループ番号、連続開始
ライン番号、連続データ数をメモリする。After that, the process proceeds to step S507, and Y of the extraction points (A1, A2, A3 ...) Of adjacent lines are Y.
The coordinate values 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.
【0060】ここでは検出対象を眼としているため、そ
の特徴量としては横に比較的長く続くデータであるとす
ることができるため、横方向に所定値以上続くというこ
とを条件に連続データを抽出する。よってステップS5
07での処理結果として図9に示すようなG1〜G6の
連続データを曲線データとして認識できる。Since the detection target is the eye here, it can be assumed that the feature amount is data that continues laterally for a relatively long time. Therefore, continuous data is extracted under the condition that it continues for a predetermined value or more in the horizontal direction. To do. Therefore, step S5
As a result of the processing in 07, continuous data of G1 to G6 as shown in FIG. 9 can be recognized as curve data.
【0061】ステップS303で連続データの抽出後、
ステップS304に移行する。ステップS304では、
各連続データの判断値の読み出しを行なっている。各連
続データの判断値とは、連続データの連続開始ラインと
終了ラインの中央値の算出による連続データの代表X座
標や連続データの各抽出点のY座標値の平均値の算出に
よる連続データの代表Y座標をいう。After extracting continuous data in step S303,
The process moves to step S304. In step S304,
The judgment value of each continuous data is read. The judgment value of each continuous data is the representative X coordinate of continuous data calculated by calculating the median value of continuous start line and end line of continuous data Refers to the representative Y coordinate.
【0062】ステップS305では、眼の位置検索領域
3が設定されているか否かの判定を行なう。スタート直
後の段階では、眼の位置検索領域3は設定されていない
ためステップS306へ移行する。ステップS306で
は、眼の位置検索領域2が設定されているか否かの判定
を行なう。ステップS306でも、ステップS305と
同様にスタート直後の段階では、眼の位置検索領域2は
設定されていないためステップS307へ移行する。In step S305, it is determined whether or not the eye position search area 3 is set. At the stage immediately after the start, since the eye position search area 3 is not set, the process proceeds to step S306. In step S306, it is determined whether or not the eye position search area 2 is set. Also in step S306, as in step S305, since the eye position search area 2 is not set at the stage immediately after the start, the process proceeds to step S307.
【0063】ステップS307では、ステップS30
5,S306で眼の位置検索領域3でも2でもないと判
断されているため、眼の位置検索領域1において連続デ
ータを検出することになる。本ステップでは、図10に
示すように眼の位置検索領域1内に出現する最上端の連
続データを検出する。この処理は、画像全体に出現する
数多くの連続データをいきなりパターン化するのではな
く、最上端に出現する連続データにまず注目し、該当す
る連続データが顔の特徴量(眉、眼の連続データ)であ
ると仮定することにより極力眼の検索方法を簡単に行な
えるようにしている。In step S307, step S30
5, since it is determined in S306 that neither the eye position search area 3 nor the eye position 2, the continuous data is detected in the eye position search area 1. In this step, the uppermost continuous data appearing in the eye position search area 1 as shown in FIG. 10 is detected. In this process, instead of suddenly patterning a large number of continuous data that appear in the entire image, the continuous data that appears at the top end is first focused, and the corresponding continuous data is the facial feature amount (continuous data of eyebrows and eyes). ), So that the eye can be searched as easily as possible.
【0064】ステップS308では、図10に示すよう
に最上端の連続データの代表座標値を基準にした眼の位
置検索領域2を設定する。眼の位置検索領域2は、該当
する連続データが眉や眼など顔の特徴量であるか否かの
判定を所定時間に渡り繰り返し行ない、該当する連続デ
ータの出現状態の変化から求めている。よって眼の位置
検索領域2内に出現する連続データは一つであることが
望ましく、該当する連続データの両端の抽出点は、検索
する列密度を荒く設定した場合などにおいては、その点
の出現の有無により横方向(X座標方向)にかなりふら
れてしまうので、眼の位置検索領域2の横方向の幅も極
力小さく設定することが重要となる。In step S308, as shown in FIG. 10, the eye position search area 2 based on the representative coordinate value of the uppermost continuous data is set. The eye position search area 2 repeatedly determines for a predetermined time whether the corresponding continuous data is a facial feature amount such as an eyebrow or an eye, and obtains it from a change in the appearance state of the corresponding continuous data. Therefore, it is desirable that only one continuous data appears in the eye position search area 2, and the extraction points at both ends of the corresponding continuous data appear when the row density to be searched is set roughly. Since there is a considerable amount of variation in the lateral direction (X coordinate direction) depending on the presence or absence of the item, it is important to set the lateral width of the eye position search region 2 as small as possible.
【0065】この後ステップS309で、前記所定時間
を計測するためのタイマーを作動させステップS302
に戻る。この時のステップS302での領域は図11に
示すように眼の位置検索領域2内についてだけ行なわれ
る。その後ステップS303〜S305の処理を同様に
行なう。Thereafter, in step S309, a timer for measuring the predetermined time is activated and step S302.
Return to. The region in step S302 at this time is performed only within the eye position search region 2 as shown in FIG. After that, the processes of steps S303 to S305 are similarly performed.
【0066】ステップS306では、眼の位置検索領域
2が設定されているため、図4のステップS401に移
行する。ステップS401では、ステップS309でス
タートさせたタイマーが所定時間経過しているか否かを
判定している。ステップS401で所定時間経過してい
ないと判定された場合は、ステップS402に移行す
る。In step S306, since the eye position search area 2 has been set, the process moves to step S401 in FIG. In step S401, it is determined whether the timer started in step S309 has passed a predetermined time. If it is determined in step S401 that the predetermined time has not elapsed, the process proceeds to step S402.
【0067】ステップS402では、図12に示すよう
な各フレーム毎に出現する連続データの各抽出点のY座
標値(y1〜y9)の平均値の最大値を所定時間に達す
るまで更新しメモリする。ステップS403では、Y座
標値の平均値の最小値を所定時間に達するまで更新しメ
モリする。このY座標値の最小、最大値の更新において
更に動きの感度を高めたい場合は、連続データの各抽出
点の最上端(図12の場合はy2)となる点を代表値と
して用いることもできる。In step S402, the maximum value of the average values of the Y coordinate values (y1 to y9) of the extraction points of the continuous data appearing in each frame as shown in FIG. 12 is updated and stored in memory until a predetermined time is reached. . In step S403, the minimum value of the average value of the Y coordinate values is updated and stored until a predetermined time is reached. If it is desired to further increase the sensitivity of movement in updating the minimum and maximum values of the Y coordinate value, the uppermost point (y2 in the case of FIG. 12) of each extraction point of continuous data can be used as the representative value. .
【0068】ステップS404では、眼の位置検出領域
2内に時間経過と共に出現するフレーム毎の動きをステ
ップS402とステップS403でメモリしたY座標値
の最大値と最小値との差で該当する連続データの上下方
向の動きを判断している。この時、連続データの動きを
判定するのに上下方向を用いているのは、眼の位置検索
領域2の大きさの所でも説明したように、横方向(X座
標方向)には抽出点の横方向への繋がり、言い換えれば
連続データ数はフレーム毎にばらつきがあり、処理の高
速化を図るために列密度を荒く設定している場合は更に
不利になるからである。ステップS404で連続データ
の動き量が判定移動量を越えない場合は、ステップS3
02に戻り同様の処理を繰り返す。In step S404, the movement of each frame that appears in the eye position detection area 2 with the passage of time is determined by the difference between the maximum value and the minimum value of the Y coordinate values stored in steps S402 and S403. The vertical movement of is determined. At this time, the vertical direction is used to determine the movement of the continuous data, as described in the size of the eye position search region 2, the extraction point in the horizontal direction (X coordinate direction). This is because the connection in the horizontal direction, in other words, the number of continuous data varies from frame to frame, which is further disadvantageous when the column density is set roughly in order to speed up the processing. If the movement amount of the continuous data does not exceed the determination movement amount in step S404, step S3
Returning to 02, the same processing is repeated.
【0069】この時、図10に示すような最上端の連続
データが、カーテンレールなど車室内構造物の静的な物
体である場合は、ステップS404でその動きが判定さ
れることなく、ステップS401で所定時間が経過した
と判定される。この時は、ステップS406に移行し、
タイマーをクリアする。その後、ステップS407で図
13に示すように、眼の位置検索領域2を設定する際、
基準とした座標値Aを含まないように上下方向に縮小し
た眼の位置検索領域1を設定する。At this time, if the uppermost continuous data as shown in FIG. 10 is a static object of a vehicle interior structure such as a curtain rail, its movement is not determined in step S404 and step S401 is performed. It is determined that the predetermined time has elapsed. At this time, the process proceeds to step S406,
Clear the timer. After that, as shown in FIG. 13 in step S407, when the eye position search area 2 is set,
The eye position search area 1 which is reduced in the vertical direction so as not to include the coordinate value A as the reference is set.
【0070】ステップS408では眼の位置検索領域1
の縮小領域が限りなく上下方向に小さくなったか否かを
判定しており、検出対象領域に顔がある場合は、NOに
なることは極めて少ない。このステップS408でNO
になる場合は、検出対象者がいない場合に静的な物体だ
けが検出され最下端まで行っても動的な連続データが検
出できない場合のループであり、この時ステップS30
1に戻り眼の位置検索領域1の初期化を行なった上で同
様の処理を繰り返す。In step S408, the eye position search area 1
It is determined whether or not the reduced area of No. 2 has become infinitely small in the vertical direction, and when a face is present in the detection target area, it is very unlikely to be NO. NO in this step S408
Is a loop when only a static object is detected and no dynamic continuous data can be detected even if it goes to the lowermost end when there is no person to be detected. At this time, step S30
After returning to 1, the eye position search area 1 is initialized, and the same processing is repeated.
【0071】ステップS407で眼の位置検索領域1の
縮小後、該眼の位置検索領域1内の最上端に当たる連続
データが図13のBに示す顔の特徴量(本例では眉)が
捉えられた場合は、タイマースタート後の所定時間以内
に、ステップS404で顔の動きをY座標の変化が判定
移動量を越えたと判断される。この時、ステップS40
5に移行する。After the eye position search area 1 is reduced in step S407, continuous data corresponding to the uppermost end in the eye position search area 1 is captured as the face feature amount (eyebrow in this example) shown in B of FIG. If it is determined that the change of the Y coordinate exceeds the determination movement amount in step S404 within a predetermined time after the timer starts. At this time, step S40
Go to 5.
【0072】ステップS405では、図14に示すよう
な該当連続データを含む眼の検索領域3を設定する。眼
の位置検索領域3は、片側の眼、眉が含まれるぐらいの
大きさとする。これは、眼の位置検索領域2で動きが認
識された連続データが、顔の特徴量であることは分かっ
ているものの、眉か眼か眼鏡のフレームかまでは特定で
きていないからである。ステップS405で眼の位置検
索領域3の設定後、ステップS302に戻り該領域内で
の連続データの検出を行なう。In step S405, the eye search area 3 including the corresponding continuous data as shown in FIG. 14 is set. The eye position search area 3 has a size including one eye and one eyebrow. This is because it is known that the continuous data in which the movement is recognized in the eye position search area 2 is the feature amount of the face, but it is not possible to specify the eyebrow, the eye, or the frame of the eyeglass. After setting the eye position search area 3 in step S405, the process returns to step S302 to detect continuous data in the area.
【0073】この時ステップS305では、眼の位置検
索領域3が設定されていると判定されるため、ステップ
S310に移行し、眼の位置検索領域3内に出現する連
続データからの眼に該当する連続データの選択を行な
う。この時の選択方法は、各連続データの相対位置関係
などで判定する。選択式は、眼の対象がある程度まで絞
り込まれているため非常に簡単に構成することが可能
で、その分高い眼の検出精度も確保できる。その後、ス
テップS311で眼の位置座標を出力し画像全体からの
眼の位置検出処理を終了する。At this time, in step S305, since it is determined that the eye position search area 3 is set, the process moves to step S310 and corresponds to the eye from the continuous data appearing in the eye position search area 3. Select continuous data. The selection method at this time is determined based on the relative positional relationship of each continuous data. The selection type can be configured very easily because the target of the eye is narrowed down to a certain degree, and accordingly high eye detection accuracy can be secured. After that, in step S311, the eye position coordinates are output, and the eye position detection processing from the entire image ends.
【0074】つぎに、図15,図16のフローチャート
と図17を用いて、連続データの形状判定を追加するこ
とにより確実に眼を捉える方法を説明する。Next, a method of reliably catching an eye by adding the shape determination of continuous data will be described with reference to the flowcharts of FIGS. 15 and 16 and FIG.
【0075】図15のフローチャートは図4のフローチ
ャートに対しステップS1504を追加したものであ
る。The flowchart of FIG. 15 is obtained by adding step S1504 to the flowchart of FIG.
【0076】形状の判定方法は、眼の位置検索領域2内
に出現する連続データの例で説明する。連続データの形
状判定方法は、図17に示すように連続開始点ysと連
続終了点yeを直線で結び、その中央付近の抽出点のあ
るX座標上のY座標値ycを算出する。この時、同ライ
ン上にある抽出点とycの位置関係を判定することによ
り該当連続データが上に凸形状であるか、下に凸形状で
あるか、ほぼ直線形状にあるかを判定する。この判定に
よりカーテンレールやサンルーフなどが検出された連続
データである場合は、図17(a)のようにほぼ水平に
なることが多いのに対し、眼や眉などのデータの場合は
上に凸となることが多い。The shape determination method will be described by using an example of continuous data appearing in the eye position search area 2. As shown in FIG. 17, the continuous data shape determination method connects a continuous start point ys and a continuous end point ye with a straight line, and calculates a Y coordinate value yc on the X coordinate with an extraction point near its center. At this time, by determining the positional relationship between the extraction points and yc on the same line, it is determined whether the corresponding continuous data has an upward convex shape, a downward convex shape, or a substantially linear shape. In the case of continuous data in which a curtain rail, a sunroof, etc. are detected by this determination, the data are often almost horizontal as shown in FIG. 17 (a), whereas in the case of data of eyes, eyebrows, etc., they are projected upward. Often becomes.
【0077】上記、連続データの形状判定方法は、必要
最小限の情報により、検出対象物の形状特徴を確実に捉
えることができ、処理がシンプルであるため、その形状
判定時間も短時間で行なえるメリットがある。In the above-described method for determining the shape of continuous data, the shape feature of the object to be detected can be surely grasped by the minimum necessary information, and the processing is simple. Therefore, the shape determination time can be shortened. There is an advantage.
【0078】図16のフローチャートは、図5のフロー
チャートに対しステップS1602〜S1605を追加
したものである。The flowchart of FIG. 16 is obtained by adding steps S1602 to S1605 to the flowchart of FIG.
【0079】上記ステップは、連続データの形状情報を
利用し、より確実に眼を捉えることを目的としている。
すあわち、連続データの形状が上に凸である場合は、眼
の可能性が高く、判定時間を長くしたり、判定移動量を
小さくする。同直線状であれば、運転者の後のカーテン
レールやサンルーフである可能性が高く、判定時間を短
くしたり、判定移動量を大きくする。これにより、検出
精度の向上を図るのである。The above steps are intended to more reliably catch the eye by utilizing the shape information of the continuous data.
That is, when the shape of the continuous data is convex upward, the possibility of eyes is high, and the determination time is lengthened or the determination movement amount is reduced. If they are in the same straight line, there is a high possibility that the curtain rail or sunroof is behind the driver, and the judgment time is shortened or the judgment movement amount is increased. This improves the detection accuracy.
【0080】ステップS1602では、眼の位置検索領
域2内に出現する連続データの形状が上に凸か否かを判
定する。この時、上に凸であればステップS1603に
移行し、上に凸形状カウンタをカウントアップする。こ
の処理は、検出対象となっている連続データが眉や眼で
ある場合は、目を閉じている時などを除くと、その大半
が上に凸形状となっていることに注目したものである。In step S1602, it is determined whether or not the shape of the continuous data appearing in the eye position search area 2 is convex upward. At this time, if it is convex upward, the process proceeds to step S1603, and the upward convex counter is counted up. This process focuses on the fact that, when the continuous data to be detected is eyebrows or eyes, most of the data is convex upward except when the eyes are closed. .
【0081】よって、ステップS1604では、ステッ
プS1601で所定時間A内で繰り返される処理で上に
凸形状カウンタが所定個数に達したか否かを判定してい
る。この時、前述したように眼、眉などを対象とした連
続データである場合は、上に凸形状カウンタは早期にカ
ウントアップされステップS1605に移行する。Therefore, in step S1604, it is determined whether or not the upward convex counter has reached the predetermined number by the processing repeated within the predetermined time A in step S1601. At this time, as described above, in the case of continuous data for the eyes, eyebrows, etc., the upward convex counter is counted up early and the process proceeds to step S1605.
【0082】ステップS1605では、所定時間Aの延
長、または判定移動量Bを小さくする。所定時間Aの延
長、判定移動量Bを小さくするのは、検出対象者の動き
が極端に小さい場合に対応させるためである。また、上
に凸形状カウンタは、眼の位置検索領域3が設定された
場合、または、所定時間Aを越えた場合にクリアする。In step S1605, the predetermined time A is extended or the determination movement amount B is decreased. The reason why the predetermined time A is extended and the determination movement amount B is reduced is to cope with the case where the motion of the detection target person is extremely small. The upward convex counter is cleared when the eye position search area 3 is set or when the predetermined time A is exceeded.
【0083】つぎに、図18〜図21を用いて連続デー
タの形状判定を追加することにより眼鏡のフレームの下
を動きを判定対象とした場合においても、確実に眼を捉
える方法を説明する。Next, a method for surely catching the eyes even when the motion under the frame of the eyeglasses is the object of judgment by adding the shape judgment of the continuous data will be described with reference to FIGS.
【0084】図18に示すような眼鏡を掛けている検出
対象者において、顔の動きがたまたま小さく図19に示
すように眼の位置検索領域1が縮小されてしまい眼の位
置検出領域1の最上端の連続データが眼鏡フレームの下
で検出され、眼の位置検索領域2が設定されて動きの判
定に移り、該当する連続データが動いたと判定された場
合、図14に準じて眼の位置検索領域3を設定すると眼
鏡フレームの上にある眼は領域外となってしまい検出で
きない。また、眼の位置検索領域3を単に上方に拡大す
る対策では、髪の毛など新たにノイズとなる連続データ
が出現する場合があり眼の検出精度を低下させる恐れが
ある。In a person to be detected wearing glasses as shown in FIG. 18, the movement of the face happens to be small and the eye position search area 1 is reduced as shown in FIG. When the continuous data at the upper end is detected under the spectacle frame, the eye position search area 2 is set and the determination of the movement is made, and when it is determined that the corresponding continuous data has moved, the eye position search is performed according to FIG. When the region 3 is set, the eyes on the spectacle frame are out of the region and cannot be detected. Further, as a measure of simply expanding the eye position search area 3 upward, continuous data such as hair may newly appear as noise, which may reduce the eye detection accuracy.
【0085】そこで本実施例では、眼の位置検索領域2
内の出現する連続データの形状判定を行なうことによ
り、この問題点を解決する。図20に示すように眼鏡フ
レームの下である場合は、下に凸となる連続データとな
ることが多く、この下に凸となる連続データの出現頻度
を判定することより、図21に示すように眼の位置検索
領域3の設定位置を変更することができる。この連続デ
ータの形状判定により、眼の位置検索領域2内の判定が
眼鏡フレームの下で動きの判定がなされても眼の位置検
索領域3内に眼の連続データを捉えることができ、眼の
検出は可能となる。Therefore, in this embodiment, the eye position search area 2
This problem is solved by determining the shape of the continuous data that appears in. As shown in FIG. 21, in the case of being under the spectacle frame as shown in FIG. 20, continuous data having a downward convex shape is often obtained, and by determining the appearance frequency of the continuous data having a downward convex shape, as shown in FIG. The set position of the eye position search area 3 can be changed. By the shape determination of the continuous data, the continuous eye data can be captured in the eye position search area 3 even if the movement in the eye position search area 2 is determined under the spectacle frame. Detection is possible.
【0086】つぎに、図26に示す眼の位置検索領域4
での連続データの形状判定を追加することにより、更に
眼の位置検索領域3の設定位置補正を確実に行なう方法
を説明する。Next, the eye position search area 4 shown in FIG.
A method for surely correcting the set position of the eye position search region 3 by adding the shape determination of the continuous data in (3) will be described.
【0087】この実施例の詳細は、図22〜図24のフ
ローチャートと、図25〜図36を用いて説明する。Details of this embodiment will be described with reference to the flow charts of FIGS. 22 to 24 and FIGS. 25 to 36.
【0088】図22は、図15のフローチャートに対
し、ステップS2207を追加したものである。前述の
実施例では、眼の位置検索領域2内に出現する連続デー
タの移動量を判定し、その条件が満たされた時に眼の検
索領域3を設定したが、この実施例では、その前に図2
3のフローチャートのステップS2309に示すように
眼の位置検索領域4を設定し、該領域内に出現する2つ
の連続データの相対位置関係と形状を判定する。よっ
て、図23のステップS2309で眼の位置検索領域4
が設定された場合、図22のステップS2207から図
24のステップS2401に移行する。FIG. 22 is a flowchart obtained by adding step S2207 to the flowchart of FIG. In the above-described embodiment, the moving amount of the continuous data appearing in the eye position search area 2 is determined, and the eye search area 3 is set when the condition is satisfied, but in this embodiment, before that, Figure 2
As shown in step S2309 of the flowchart of FIG. 3, the eye position search area 4 is set, and the relative positional relationship and shape of the two continuous data appearing in the area are determined. Therefore, in step S2309 of FIG.
22 is set, the process proceeds from step S2207 in FIG. 22 to step S2401 in FIG.
【0089】これより、図22のフローチャートに基づ
き眼の検索領域4内での判定内容について説明する。The contents of the judgment in the eye search area 4 will be described below with reference to the flow chart of FIG.
【0090】図25は、眼の位置検索領域1内で最上端
に出現する連続データがG1として捉えられ、また、眼
の位置検索領域2内で該連続データの動きが判定条件を
満たした場合を示している。In FIG. 25, the continuous data appearing at the uppermost end in the eye position search area 1 is captured as G1, and the movement of the continuous data in the eye position search area 2 satisfies the determination condition. Is shown.
【0091】この時、図23のステップS2309での
眼の位置検索領域4は、図26に示すように連続データ
G1の中心座標を基準に左右、上下、等幅となる横長の
領域として設定する。図24のステップS2401で
は、この眼の位置検索領域4内に形状と位置条件を満た
す2つ以上の連続データがあるか否かを判定し、条件を
満たす2つ以上の連続データが存在する場合は、ステッ
プS2402に移行する。At this time, the eye position search area 4 in step S2309 of FIG. 23 is set as a horizontally long area having left, right, up, and down equal widths based on the center coordinates of the continuous data G1 as shown in FIG. . In step S2401 of FIG. 24, it is determined whether or not there are two or more continuous data satisfying the shape and position conditions in the eye position search area 4, and if there are two or more continuous data satisfying the conditions. Moves to step S2402.
【0092】尚、図25でやや薄く記述している連続デ
ータG2は、連続データとしての検出が不安定で、フレ
ーム毎の処理においては、出現したりしなかったりする
連続データであることを示す。よって、図26の眼の位
置検索領域4内に出現する2つの連続データは、G1と
G4となることがある。また、この領域内に3つ以上の
連続データが出現した場合は、領域の上部より2つの連
続データを選択する。It is to be noted that the continuous data G2 described in a little light in FIG. 25 indicates that the detection as continuous data is unstable, and the continuous data G2 may or may not appear in the processing for each frame. . Therefore, the two continuous data appearing in the eye position search area 4 in FIG. 26 may be G1 and G4. Further, when three or more continuous data appear in this area, two continuous data are selected from the upper part of the area.
【0093】この左右対称となる2つの連続データを検
出した段階では、該当する連続データが眉なのか眼なの
かは、まだ分かっていない状態にある。よって、図14
に示す眼の位置検索領域3を設定し、最終的な眼の連続
データの検出を行なう。At the stage of detecting the two left-right symmetric continuous data, it is still unknown whether the corresponding continuous data is an eyebrow or an eye. Therefore, FIG.
The eye position search area 3 shown in is set, and the final continuous eye data is detected.
【0094】しかし、この眼の検索領域3の設定時に問
題になる場合がある。それは、前実施例でもその対策方
法の1つを説明したが、眼鏡のフレーム下でしか連続デ
ータを認識できず、眼の位置検索領域3を設定する場合
である。眼の位置検索領域3は、該当する連続データ
が、眉か眼かまだ分かっていない状態であるため、その
領域を該連続データを基準として下方向にだけ拡大して
設定し、その中に出現する連続データから眼の連続デー
タを検出している。However, there may be a problem when setting the eye search region 3. Although one of the countermeasures has been described in the previous embodiment, it is a case where continuous data can be recognized only under the frame of the eyeglasses and the eye position search area 3 is set. In the eye position search area 3, since it is not yet known whether the corresponding continuous data is an eyebrow or an eye, the area is enlarged and set only in the downward direction on the basis of the continuous data, and appears in the area. The eye continuous data is detected from the continuous data.
【0095】下方向にだけ拡大している理由は、前実施
例でも説明したが、眉の連続データを基準としている場
合に、髪の毛による連続データが含まれてきたり、帽子
をかぶっている場合に帽子の連続データが出現すること
があり、眼の検索領域3内での判定が複雑になって眼の
検出精度が悪くなることがあるからである。The reason for expanding only in the downward direction has been described in the previous embodiment, but when continuous data of eyebrows is used as a reference, continuous data of hair is included or a hat is worn. This is because continuous data of a hat may appear, the determination in the eye search area 3 may become complicated, and the accuracy of eye detection may deteriorate.
【0096】よって、図21に示す前実施例のように眼
の位置検索領域3を上方にずらして設定する必要があ
る。前実施例のように眼の位置検索領域2内での形状判
定だけによる方法でも、ある程度は眼鏡のフレームの下
の連続データであると判定でき眼の検索領域3を補正し
て設定することはできるが、眼鏡のフレーム下の連続デ
ータは、水平の連続データとして検出されることもあ
り、眼鏡のフレーム下であることが認識できない場合が
ある。Therefore, it is necessary to shift and set the eye position search area 3 upward as in the previous embodiment shown in FIG. Even with the method based on only the shape determination in the eye position search area 2 as in the previous embodiment, it is possible to determine to some extent continuous data under the frame of the eyeglasses, and the eye search area 3 cannot be corrected and set. However, the continuous data under the frame of the glasses may be detected as horizontal continuous data, and it may not be recognized that the continuous data is under the frame of the glasses.
【0097】本実施例では、この眼鏡のフレーム下の連
続データであることを、より確実に判定するために眼の
位置検索領域4内に出現する2つの連続データを対象と
した2つの判定を行なっている。In this embodiment, in order to more reliably determine that the continuous data is under the frame of the spectacles, two determinations for two continuous data appearing in the eye position search area 4 are performed. I am doing it.
【0098】その判定の一つは、ステップS2402
で、該当する2つのデータで向かって右側に当たる連続
データが眼であるか、または眼鏡のフレーム下であるか
を判断する。この2つの連続データの出現の有無の判定
は、眼が横方向の対称となる位置に2つ存在する特徴量
であることに基づいている。One of the judgments is step S2402.
Then, it is determined whether the continuous data corresponding to the right side of the corresponding two data is the eye or the frame below the glasses. The determination of the presence or absence of the appearance of these two continuous data is based on the fact that there are two feature amounts at which the eyes are laterally symmetrical.
【0099】この眼の存在領域4内に出現する左右対称
となる2つの連続データは、向かって左側の眉(眼鏡を
掛けている場合は眼鏡のフレーム上の場合もある)と右
側の眼、左側の眼と右側の眼の場合がある。更に、図2
6に示すように右側の眉と左側の眼のように段違いで検
出する場合もある。これは前髪を下ろしていて眉にかか
っているような人の場合、眉に相当する連続データの出
現が不安定になるからである。Two sets of bilaterally symmetrical data appearing in the eye existence region 4 are the eyebrow on the left side (in some cases, it may be on the frame of eyeglasses when wearing glasses) and the eye on the right side. May be left eye and right eye. Furthermore, FIG.
As shown in FIG. 6, there are cases where detection is performed in different steps such as the right eyebrow and the left eye. This is because the appearance of continuous data corresponding to the eyebrows becomes unstable in the case of a person who has his bangs down and is on his eyebrows.
【0100】ステップS2402では、まず2つある連
続データの向かって右側のデータが眼または、眼鏡のフ
レーム下であるかを判定する。ここでの判定方法は図2
6に示すように、左右の連続データG1とG4の段差L
1が大きいか否かの判定を行なっている。このように右
側の連続データの位置が左側より下にくる場合は、図2
6に示すような左側の眉と右側の眼が対象になっている
場合と、図29に示すような左側の眼と右側の眼鏡のフ
レーム下が対象になっている場合である。In step S2402, it is first determined whether the data on the right side of the two continuous data is under the eye or the frame of the spectacles. The determination method here is shown in FIG.
As shown in FIG. 6, a step L between the left and right continuous data G1 and G4
It is determined whether 1 is large. If the position of the continuous data on the right side is lower than that on the left side as shown in FIG.
There are cases in which the left eyebrow and the right eye as shown in FIG. 6 are targeted, and cases in which the left eye and the right under the frame of the spectacles as shown in FIG. 29 are targeted.
【0101】図29のような組み合わせで2つの連続デ
ータが出現する状況は、図28に示すように両眉が前髪
の影響で連続データとして捉えにくく、また、右側の眼
も眼鏡のレンズの反射などにより検出が不安定な場合で
ある。このような2つの連続データの組み合わせを、両
連続データの段差L1,L2で判定することにより、図
27,図30のように眼の検索領域3を上方に補正した
状態で設定する。図27の場合は、該当する連続データ
が眉であるため敢えて眼の位置検索領域3の設定位置を
補正する必要はないが、この場合は眉どうしの左右対称
を捉え設定する場合と同等なので眼の検出には問題は発
生しない。よってステップS2402で2つの連続デー
タに段差がある場合は、ステップS2403に移行し、
眼の位置検索領域3の設定位置を補正する。また、2つ
の連続データに段差がない場合は、図14に示す眼の位
置検索領域3のままとする。In the situation where two continuous data appear in the combination as shown in FIG. 29, it is difficult to capture the continuous data because both eyebrows are affected by the bangs as shown in FIG. This is the case when the detection is unstable due to such reasons. By determining the combination of two such continuous data by the steps L1 and L2 of both continuous data, the eye search region 3 is set in a state of being upwardly corrected as shown in FIGS. In the case of FIG. 27, since the corresponding continuous data is an eyebrow, it is not necessary to intentionally correct the set position of the eye position search area 3, but in this case, it is equivalent to the case where the left and right eyebrows are symmetrically set and set. There is no problem with the detection of. Therefore, if there is a step between the two continuous data in step S2402, the process moves to step S2403,
The set position of the eye position search area 3 is corrected. If there is no step between the two continuous data, the eye position search area 3 shown in FIG. 14 is left as it is.
【0102】つぎに、眼の位置検索領域4を眼の位置検
索領域1で特定した連続データを基準にして両側に領域
を広げ設定する理由を説明する。眼の位置検索領域1で
特定する連続データは、同領域内に出現する最上端の連
続データを捉えているため、左右どちらの眉、眼、眼鏡
のフレームかは特定できない。よって、その眉、眼、眼
鏡のフレームの対称位置関係にあるもう一つの連続デー
タを捉えるには、その両側を見る必要があるからであ
る。Next, the reason why the eye position search area 4 is set to widen on both sides with reference to the continuous data specified in the eye position search area 1 will be described. Since the continuous data specified in the eye position search area 1 captures the uppermost continuous data that appears in the same area, it cannot be specified which of the left and right eyebrows, eyes, and eyeglass frames. Therefore, both sides of the eyebrows, the eyes, and the glasses need to be viewed in order to capture another continuous data having a symmetrical positional relationship between the frames.
【0103】この領域設定のメリットは、眉、眼、眼鏡
のフレームの左右対称となる特徴を判定することでの眼
の検出精度の向上に加え、自動車の中の光環境変化に対
する対応力の向上もある。その内容を具体的に説明する
と、右ハンドル車の場合、運転者の顔の右側はサイドウ
ィンドウからの直射光があたることがあり、画像上の眼
の形が捉えにくくなる場合がある。よって、眼の形を正
確に捉えるには、車両内側の眼、つまり運転者の左眼の
方が好ましいといえる。眼の位置検索領域4を追加し、
左右の眉、眼、眼鏡のフレームを捉えることは、光環境
的に比較的安定している運転者の左眼を確実に検出でき
るため、車室内の光環境変化にも強いといえる。The merit of this area setting is that the eye detection accuracy is improved by determining the bilaterally symmetrical features of the eyebrow, eye, and eyeglass frames, and that the ability to respond to changes in the light environment of the automobile is improved. There is also. More specifically, in the case of a right-hand drive vehicle, the right side of the driver's face may be hit by direct light from the side window, which may make it difficult to capture the shape of the eyes on the image. Therefore, in order to accurately capture the shape of the eyes, it can be said that the eyes inside the vehicle, that is, the driver's left eye is preferable. Add the eye position search area 4,
It can be said that capturing the frames of the left and right eyebrows, the eyes, and the glasses can reliably detect the driver's left eye, which is relatively stable in terms of the light environment, and is thus resistant to changes in the light environment of the vehicle interior.
【0104】つぎにもう1つの眼鏡フレームの下の判定
方法を説明する。その判定はステップS2404で行な
っている。ステップS2402では、眼の位置検索領域
4内に出現する2つの連続データを対象とした形状判定
を行なうことにより、眼鏡のフレームの下であることを
認識する方法である。その処理の流れを図31〜図36
を用いて説明する。Next, a method of determining the bottom of another spectacle frame will be described. The determination is made in step S2404. In step S2402, it is a method of recognizing that it is under the frame of the spectacles by performing shape determination on two continuous data appearing in the eye position search area 4. The processing flow is shown in FIGS.
Will be explained.
【0105】前髪の影響で眉、眼鏡のレンズの影響で眼
が捉えきれなかった場合、図31に示すように眼鏡のフ
レームG6の連続データが検出対象となることもある。
このような場合、眼の位置検索領域4における左右対称
の関係になる2つの連続データの出現は、左右の段差L
3は小さいのでステップS2402では眼鏡のフレーム
の下の連続データであることは認識できない。そこでス
テップS2404では、図20で説明したように眼鏡の
フレームの下の連続データの特徴である下に凸形状とな
っているか否かの判定を行なう。When the eyebrows cannot be captured due to the effect of the bangs and the lens of the eyeglasses due to the influence of the bangs, the continuous data of the frame G6 of the eyeglasses may be the detection target as shown in FIG.
In such a case, the appearance of two consecutive data in a symmetrical relationship in the eye position search area 4 is caused by the step difference L on the left and right.
Since 3 is small, it cannot be recognized in step S2402 that the data is continuous data below the frame of the glasses. Therefore, in step S2404, as described with reference to FIG. 20, it is determined whether or not the downward convex shape, which is the characteristic of the continuous data under the frame of the eyeglasses, is formed.
【0106】尚、本実施形態での形状判定は左右の2つ
の連続データでの形状判定が行なえるため、図34に示
す両側の連続データと共に下に凸形状となるものに加
え、図35のように向かって左側だけの連続データが下
に凸形状となるものと、図36のように向かって右側だ
けの連続データが下に凸形状となるものも眼鏡フレーム
の下と認識できる。よって、前実施形態に対し、その認
識精度を大きく向上させることができる。Since the shape determination in this embodiment can be performed on the left and right continuous data, the shape can be determined downward with the continuous data on both sides shown in FIG. It can be recognized that the continuous data on the left side only has a downward convex shape and the continuous data on the right side has a downward convex shape as shown in FIG. 36. Therefore, the recognition accuracy can be greatly improved as compared with the previous embodiment.
【0107】ステップS2404で前記条件を満たした
場合は、ステップS2405に移行し、眼の検索領域3
の設定位置を補正する。ステップS2402及びステッ
プS2404の両ステップの条件を満たさない場合は、
通常の眼の位置検索領域3をステップS2406で設定
し、ステップS2202に戻る。また、ステップS24
01で眼の位置検索領域4内に形状と位置条件を満足す
る2つの連続データがない場合は、ステップS2407
に移行し眼の位置検索領域2の設定基準を含まない領域
に縮小した眼の位置検索領域1を設定しステップS24
08に移行する。ステップS2408では眼の位置検索
領域1の縮小限界を判定しており、縮小限界を越えた場
合は、同検出領域を初期状態に戻す。ステップS240
1,S2407,S2408の処理は、眼の位置検索領
域4内に出現する左右対称の2つの連続データの出現を
判定することにより、検出のノイズとなる髪の毛や鼻、
口による連続データを対象外とすることができる。よっ
て、一時的な画像状態の悪化で眼の検出ができなかった
場合に、その下にある鼻や口の連続データが検出対象と
なることもなく、眼の位置検索領域1が下端まで達する
と、再度、画面の上部より眼の位置検出を行なうことが
できる。If the above conditions are satisfied in step S2404, the flow moves to step S2405, and the eye search region 3
Correct the setting position of. If the conditions of both steps S2402 and S2404 are not satisfied,
The normal eye position search area 3 is set in step S2406, and the process returns to step S2202. In addition, step S24
If there is no two continuous data satisfying the shape and position condition in the eye position search area 4 at 01, step S2407.
And the reduced eye position search area 1 is set to an area that does not include the setting reference of the eye position search area 2 and step S24 is performed.
Move to 08. In step S2408, the reduction limit of the eye position search area 1 is determined. If the reduction limit is exceeded, the detection area is returned to the initial state. Step S240
In the processing of S1, S2407, and S2408, by determining the appearance of two symmetric consecutive data items that appear in the eye position search area 4, hair or nose that becomes noise in detection,
Continuous data by mouth can be excluded. Therefore, when the eyes cannot be detected due to the temporary deterioration of the image state, the continuous data of the nose and mouth under the eyes are not detected, and the eye position search area 1 reaches the lower end. Again, the eye position can be detected from the upper part of the screen.
【0108】最後に連続データの形状判定を用いた眼の
位置検索領域3内に出現する眼の連続データの選択方法
について説明する。Finally, a method of selecting continuous eye data that appears in the eye position search area 3 using shape determination of continuous data will be described.
【0109】眼の位置検索領域3の設定位置は、図37
の(a)〜(c)に示すようなパターンがある。(a)
は眉の連続データが基準となり同領域を下方向に拡大し
て設定したものを示し、(b)は眼の連続データが基準
となり同領域を上方向に拡大して設定したもの、(c)
は眼鏡フレームの下の連続データが基準となり同領域を
上方向に拡大したものを示す。(a)(b)のように同
領域内に眉と眼が存在する場合と、(c)のように眼と
眼鏡フレームの下が存在する場合がある。The set position of the eye position search area 3 is shown in FIG.
There are patterns as shown in (a) to (c). (A)
Indicates that the continuous region data of the eyebrows is used as a reference and the same region is enlarged and set downward, and (b) is set that the continuous region of eye is used as a reference and the same region is enlarged and set (c).
Indicates that the continuous data under the spectacle frame is used as a reference and the same region is enlarged in the upward direction. There are cases where eyebrows and eyes are present in the same area as in (a) and (b), and cases where eyes and eyeglass frames are underneath as in (c).
【0110】この2つのパターンでは両連続データの位
置関係だけでは、その判定は困難である。しかし、各連
続データの形状データを用いれば、その区別を確実に行
なうことができる。つまり眉と眼は上に凸形状となるこ
とが多く、眉は下に凸形状となることはない。また、眼
鏡フレームの下は下に凸形状となることが多く、上に凸
形状となることはない。このように同領域内に出現した
連続データの位置関係に形状の組み合わせ判定を加える
ことで更に眼の検出精度を高めることができる。With these two patterns, it is difficult to make a judgment based only on the positional relationship between the two consecutive data. However, if the shape data of each continuous data is used, the distinction can be surely made. That is, the eyebrows and eyes are often convex upwards, and the eyebrows are not convex downwards. In addition, the bottom of the spectacle frame often has a downward convex shape, and does not have an upward convex shape. In this way, by adding the shape combination determination to the positional relationship of the continuous data that appears in the same region, the accuracy of eye detection can be further improved.
【0111】尚、この眼の位置検索領域3での判定は、
図3のステップS310、図15のステップS151
0、図22のステップS2212のフローチャートの表
現では一重のループとなっているが、当然、数回のルー
プを回し、対象となる連続データの出現頻度から決定す
ることもできる。故に図30や図33では眼に相当する
連続データは出現していない状態を図示しているが、何
回かの処理を繰り返した場合、眼の連続データは認識で
きるレベルにある。The determination in the eye position search area 3 is as follows.
Step S310 in FIG. 3 and step S151 in FIG.
0, the expression of the flowchart of step S2212 in FIG. 22 is a single loop, but naturally, it is also possible to turn the loop several times and determine from the appearance frequency of the continuous data of interest. Therefore, FIG. 30 and FIG. 33 show a state in which the continuous data corresponding to the eye does not appear, but when the processing is repeated several times, the continuous data of the eye is at a recognizable level.
【0112】このようにして、運転者の眼の位置を背後
のカーテンレールやサンルーフ等の存在に拘らず、正確
に検出することによって、運転者の居眠り運転や脇見運
転を正確に検出して、警報や車両停止等の適切な処置を
行なうことができる。又、運転者の眼の位置を正確に検
出することによって、ミラーの角度やシート高さ等を適
切に制御することができる。In this way, by accurately detecting the position of the driver's eyes regardless of the presence of the curtain rails and sunroofs behind the driver, it is possible to accurately detect the driver's dozing driving or looking aside. Appropriate measures such as alarms and vehicle stops can be taken. Further, by accurately detecting the position of the driver's eyes, it is possible to appropriately control the angle of the mirror, the seat height, and the like.
【0113】又、上記実施形態では、A−D変換器22
以降の車両をすべてデジタル演算で行なうこととした
が、画素列に沿った濃度値の相加平均を求めるまでの処
理をアナログ信号回路で行なうこととしても良い。例え
ば、撮像画を用いたカメラで縦方向に走査線を設定し、
顔を縦方向に横切る走査線に沿ったコード信号をローバ
スフィルタに通じて高周波成分を除去した後、10本の
走査線毎に1本の走査線分のコード信号を抜き出して、
サンプリングによりA−D変換する。Further, in the above embodiment, the AD converter 22 is used.
Although the following vehicles are all digitally calculated, the analog signal circuit may perform the processing until the arithmetic mean of the density values along the pixel row is obtained. For example, set a scan line in the vertical direction with a camera that uses an image,
After passing a code signal along a scan line that vertically traverses the face through a low-pass filter to remove high-frequency components, a code signal for one scan line is extracted for every 10 scan lines,
A-D conversion is performed by sampling.
【図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 an embodiment of the present invention.
【図3】一実施形態の動作を示すフローチャートであ
る。FIG. 3 is a flowchart showing the operation of one embodiment.
【図4】一実施形態の動作を示すフローチャートであ
る。FIG. 4 is a flowchart showing an operation of one embodiment.
【図5】一実施形態の動作を示すフローチャートであ
る。FIG. 5 is a flowchart showing the operation of one embodiment.
【図6】フローチャートの処理に関する説明図である。FIG. 6 is an explanatory diagram related to processing of a flowchart.
【図7】フローチャートの処理に関する説明図である。FIG. 7 is an explanatory diagram relating to the processing of the flowchart.
【図8】フローチャートの処理に関する説明図である。FIG. 8 is an explanatory diagram relating to the processing of the flowchart.
【図9】フローチャートの処理に関する説明図である。FIG. 9 is an explanatory diagram relating to the processing of the flowchart.
【図10】フローチャートの処理に関する説明図であ
る。FIG. 10 is an explanatory diagram relating to the processing of the flowchart.
【図11】フローチャートの処理に関する説明図であ
る。FIG. 11 is an explanatory diagram relating to the processing of the flowchart.
【図12】フローチャートの処理に関する説明図であ
る。FIG. 12 is an explanatory diagram relating to the processing of the flowchart.
【図13】フローチャートの処理に関する説明図であ
る。FIG. 13 is an explanatory diagram relating to the processing of the flowchart.
【図14】フローチャートの処理に関する説明図であ
る。FIG. 14 is an explanatory diagram relating to the processing of the flowchart.
【図15】一実施形態に係るフローチャートである。FIG. 15 is a flowchart according to one embodiment.
【図16】一実施形態の動作を示すフローチャートであ
る。FIG. 16 is a flowchart showing the operation of one embodiment.
【図17】フローチャートの処理に関する説明図であ
り、(a)は直線上の連続データ、(b)は上に凸の連
続データの説明図である。FIG. 17 is an explanatory diagram related to the processing of the flowchart, (a) is an explanatory diagram of continuous data on a straight line, and (b) is an explanatory diagram of continuous data having an upward convex.
【図18】フローチャートの処理に関する説明図であ
る。FIG. 18 is an explanatory diagram relating to the processing of the flowchart.
【図19】フローチャートの処理に関する説明図であ
る。FIG. 19 is an explanatory diagram relating to the processing of the flowchart.
【図20】フローチャートの処理に関する説明図であ
る。FIG. 20 is an explanatory diagram relating to the processing of the flowchart.
【図21】フローチャートの処理に関する説明図であ
る。FIG. 21 is an explanatory diagram relating to the processing of the flowchart.
【図22】一実施形態に係るフローチャートである。FIG. 22 is a flowchart according to one embodiment.
【図23】一実施形態に係るフローチャートである。FIG. 23 is a flowchart according to one embodiment.
【図24】一実施形態に係るフローチャートである。FIG. 24 is a flowchart according to one embodiment.
【図25】フローチャートの処理に関する説明図であ
る。FIG. 25 is an explanatory diagram relating to the processing of the flowchart.
【図26】フローチャートの処理に関する説明図であ
る。FIG. 26 is an explanatory diagram relating to the processing of the flowchart.
【図27】フローチャートの処理に関する説明図であ
る。FIG. 27 is an explanatory diagram relating to the processing of the flowchart.
【図28】フローチャートの処理に関する説明図であ
る。FIG. 28 is an explanatory diagram relating to the processing of the flowchart.
【図29】フローチャートの処理に関する説明図であ
る。FIG. 29 is an explanatory diagram relating to the processing of the flowchart.
【図30】フローチャートの処理に関する説明図であ
る。FIG. 30 is an explanatory diagram relating to the processing of the flowchart.
【図31】フローチャートの処理に関する説明図であ
る。FIG. 31 is an explanatory diagram relating to the processing of the flowchart.
【図32】フローチャートの処理に関する説明図であ
る。FIG. 32 is an explanatory diagram relating to the processing of the flowchart.
【図33】フローチャートの処理に関する説明図であ
る。FIG. 33 is an explanatory diagram relating to the processing of the flowchart.
【図34】フローチャートの処理に関する説明図であ
る。FIG. 34 is an explanatory diagram relating to the processing of the flowchart.
【図35】フローチャートの処理に関する説明図であ
る。FIG. 35 is an explanatory diagram of a process of the flowchart.
【図36】フローチャートの処理に関する説明図であ
る。FIG. 36 is an explanatory diagram related to processing of the flowchart.
【図37】フローチャートの処理に関する説明図であ
り、(a)は眉の連続データが基準となり、同領域を下
方へ拡大して設定した状態の説明図、(b)は眼の連続
データが基準となり、同領域を上方向に拡大して設定し
た説明図、(c)は眼鏡フレームの下の連続データが基
準となり、同領域を上方向に拡大した説明図である。FIG. 37 is an explanatory diagram related to the processing of the flow chart, (a) is an explanatory diagram of a state in which the continuous data of the eyebrows is used as a reference, and the same area is enlarged downward and set, and (b) is used as a reference of continuous data of the eyes. Is an explanatory diagram in which the same region is enlarged and set in the upward direction, and (c) is an explanatory diagram in which the same region is enlarged in the upward direction with reference to continuous data below the spectacle frame.
CL1 画像入力手段
CL2 濃度検出手段
CL3 ポイント抽出手段
CL4 曲線データ抽出手段
CL5 所定領域1の設定手段(眼の位置検索領域1設
定手段)
CL6 曲線データ検出手段
CL7 所定領域2の設定手段(眼の位置検索領域2設
定手段)
CL8 曲線データの移動状態判定手段
CL9 所定領域3の設定手段(眼の位置検索領域3設
定手段)
CL10 所定領域1の縮小手段(眼の位置検索領域1
の縮小手段)
CL11 眼の位置検出手段
21 TVカメラ
22 A−D変換器
23 画像メモリ
24 画像データ演算回路
25 眼の位置検出回路CL1 Image inputting means CL2 Density detecting means CL3 Point extracting means CL4 Curve data extracting means CL5 Setting means for predetermined area 1 (eye position search area 1 setting means) CL6 Curve data detecting means CL7 Setting means for predetermined area 2 (eye position Search area 2 setting means) CL8 Curve data movement state determining means CL9 Predetermined area 3 setting means (eye position search area 3 setting means) CL10 Predetermined area 1 reduction means (eye position search area 1)
CL11 Eye position detecting means 21 TV camera 22 A / D converter 23 Image memory 24 Image data arithmetic circuit 25 Eye position detecting circuit
フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 - 11/30 G06T 7/20 Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) G01B 11/00-11/30 G06T 7/20
Claims (12)
力手段と、 入力された画像データの縦方向の画素列に沿って画素の
濃度を読み出し、該画素列上の濃度値の片方向のピーク
の前の濃度変化の微分値が所定値を越えることを条件
に、濃度値の片方向のピークの画素を特定して抽出点と
するポイント抽出手段と、 隣接する画素列の画素列方向に近接した前記抽出点を連
続して顔の横方向に伸びる曲線データを抽出する曲線デ
ータ抽出手段と、 前記曲線データの移動状態を判定する移動状態判定手段
と、 前記曲線データが動的であると判定された場合に該曲線
データに基づいて眼の位置を検出する眼の位置検出手段
とからなることを特徴とする眼位置検出装置。1. An image input unit for inputting image data including a face, and a pixel density read out along a vertical pixel row of the input image data, and the density value on the pixel row in one direction. Point extraction means that specifies the pixel of the peak in one direction of the density value as the extraction point, provided that the differential value of the density change before the peak exceeds a predetermined value, and in the pixel row direction of the adjacent pixel row Curve data extraction means for extracting curve data continuously extending in the lateral direction of the face from the adjacent extraction points, movement state determination means for determining a movement state of the curve data, and the curve data being dynamic An eye position detecting device comprising an eye position detecting means for detecting the eye position based on the curve data when the eye position is detected.
て、 前記曲線データ抽出手段で抽出された曲線データを含む
眼の位置検索領域1を設定する眼の位置検索領域を設定
する眼の位置検索領域1設定手段と、 前記眼の位置検索領域1において最上端に出現する曲線
データを検出する最上端曲線データ検出手段と、 前記最上端の曲線データを基準として眼の位置検索領域
2を設定する眼の位置検索領域2設定手段と、 前記眼の位置検索領域2に出現する曲線データの移動状
態を判定する曲線データの移動状態判定手段と、 前記対象となる曲線データが動的であると判定された場
合に眼の位置検索領域3を設定する眼の位置検索領域3
設定手段と、 前記対象となる曲線データが静的な曲線データであると
判定された場合に眼の位置検索領域1の設定に戻し、該
当する前記曲線データの位置情報を基に眼の位置検索領
域1の範囲を上下方向に縮小する眼の位置検索領域1の
縮小手段と、 前記眼の位置検索領域3内に出現する曲線データの相対
位置関係より眼の位置を検出する眼の位置検出手段から
なることを特徴とする眼位置検出装置。2. The eye position detecting apparatus according to claim 1, wherein the eye position searching area 1 including the curve data extracted by the curve data extracting means is set. The position search area 1 setting means, the uppermost end curve data detection means for detecting the curve data appearing at the uppermost end in the eye position search area 1, and the eye position search area 2 based on the uppermost end curve data. The eye position search area 2 setting means to be set, the movement state determination means of curve data for determining the movement state of the curve data appearing in the eye position search area 2, and the target curve data are dynamic. If it is determined that the eye position search area 3 is set, the eye position search area 3 is set.
Setting means, and when it is determined that the target curve data is static curve data, returns to the setting of the eye position search area 1 and searches the eye position based on the position information of the corresponding curve data. A means for reducing the eye position search area 1 for reducing the range of the area 1 in the vertical direction, and an eye position detection means for detecting the eye position from the relative positional relationship of the curve data appearing in the eye position search area 3. An eye position detecting device comprising:
あって、 前記移動状態判定手段は、前記曲線データの移動状態を
曲線データの上下方向の移動量で判定することを特徴と
する眼位置検出装置。3. The eye position detecting device according to claim 1, wherein the movement state determination means determines the movement state of the curve data based on a vertical movement amount of the curve data. Eye position detection device.
て、 前記移動状態判定手段には、前記曲線データの移動状態
を曲線データを構成する各抽出点の上下方向位置の平均
値で判定することを特徴とする眼位置検出装置。4. The eye position detecting device according to claim 3, wherein the movement state determination means determines the movement state of the curve data by an average value of vertical positions of extraction points forming the curve data. An eye position detecting device characterized by:
検出装置であって、 前記移動状態判定手段は、前記移動状態の判定を曲線デ
ータを構成する前記抽出点の最上端位置のもので行なう
ことを特徴とする眼位置検出装置。5. The eye position detecting apparatus according to claim 1, wherein the movement state determination means determines the movement state of an uppermost end position of the extraction points forming curve data. An eye position detecting device characterized in that it is performed with a thing.
検出装置であって、 前記移動状態判定手段は、前記眼の位置検索領域2内に
出現する曲線データの形状を判定する形状判定手段と、
該形状判定手段の出力結果により、前記曲線データの移
動状態判定手段の判定時間を変更する移動状態判定時間
変更手段とを有することを特徴とする眼位置検出装置。6. The eye position detecting device according to claim 1, wherein the movement state determination unit determines a shape of curve data that appears in the eye position search area 2. Determination means,
An eye position detecting apparatus comprising: a moving state determination time changing unit that changes a determination time of the moving state determining unit of the curve data according to an output result of the shape determining unit.
検出装置であって、 前記移動状態判定手段は、前記位置検索領域2内に出現
する曲線データの形状を判定する形状判定手段と、該形
状判定手段の出力結果により、前記曲線データの移動状
態判定手段の判定移動量を変更する移動状態判定移動量
変更手段とを有することを特徴とする眼位置検出装置。7. The eye position detection device according to claim 1, wherein the movement state determination unit determines a shape of curve data that appears in the position search area 2. And a movement state determination movement amount changing unit that changes the determination movement amount of the movement state determination unit of the curve data according to the output result of the shape determination unit.
検出装置であって、 前記移動状態判定手段は、前記眼の位置検索領域2内に
出現する曲線データの形状を判定する形状判定手段と、
該形状判定手段の出力結果により、前記眼の位置検索領
域3の設定条件を変更する領域3の設定条件変更手段と
を有することを特徴とする眼位置検出装置。8. The eye position detecting device according to claim 1, wherein the movement state determination unit determines a shape of curve data that appears in the eye position search area 2. Determination means,
An eye position detecting apparatus comprising: a setting condition changing unit for changing a setting condition of the eye position searching region 3 according to an output result of the shape determining unit.
て、 前記移動状態判定手段は、前記眼の位置検索領域2内に
出現する曲線データに基づいて顔の画像データの左右に
渡るように横長の眼の位置検索領域4を設定する眼の位
置検索領域4設定手段と、設定された眼の位置検索領域
4内に左右2つ以上の曲線データがあるか否かを判定す
る左右データ判定手段と、判定された左右データの上下
段差の大小から曲線データを特定して前記眼の位置検索
領域3の設定条件を変更する領域3の設定条件変更手段
とを備えたことを特徴とする眼位置検出装置。9. The eye position detecting device according to claim 2, wherein the movement state determining unit extends to the left and right of the face image data based on the curve data that appears in the eye position search area 2. Eye position search area 4 setting means for setting the horizontally long eye position search area 4 and left and right data for determining whether or not there are two or more left and right curve data in the set eye position search area 4 It is characterized by comprising a judging means and a setting condition changing means of the area 3 for changing the setting condition of the eye position search area 3 by specifying the curved line data based on the size of the upper and lower steps of the judged left and right data. Eye position detection device.
て、 前記左右データ判定手段は、前記眼の位置検索領域4内
の上部より2つの曲線データを選択することを特徴とす
る眼位置検出装置。10. The eye position detecting apparatus according to claim 9, wherein the left and right data determining unit selects two curve data from an upper portion in the eye position search area 4. Detection device.
置検出装置であって、 前記領域3の設定条件変更手段は、前記左右データの段
差が所定以下の場合に前記眼の位置検索領域4内に出現
する曲線データの形状を判定して前記曲線データの特定
を行なう形状判定手段を備えたことを特徴とする眼位置
検出装置。11. The eye position detecting device according to claim 9, wherein the setting condition changing means of the region 3 is a position search region of the eye when the step difference of the left and right data is less than or equal to a predetermined value. 4. An eye position detecting device comprising shape determining means for determining the shape of curve data appearing in 4 to identify the curve data.
は請求項8又は請求項11に記載の眼位置検出装置であ
って、 前記形状判定手段は、曲線データの形状を、曲線データ
を構成する各抽出点の最右点と最左点とを直線で結び、
該直線に対する前記曲線データの中央にある抽出点の位
置により形状を認識することを特徴とする眼位置検出装
置。12. The eye position detecting device according to claim 2, claim 6, claim 7, claim 8, or claim 11, wherein the shape determining unit determines the shape of the curve data from the curve data. Connect the rightmost and leftmost points of each of the constituent points with a straight line,
An eye position detecting device characterized in that a shape is recognized based on a position of an extraction point at the center of the curve data with respect to the straight line.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP35798097A JP3465566B2 (en) | 1997-12-25 | 1997-12-25 | Eye position detection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP35798097A JP3465566B2 (en) | 1997-12-25 | 1997-12-25 | Eye position detection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11183127A JPH11183127A (en) | 1999-07-09 |
| JP3465566B2 true JP3465566B2 (en) | 2003-11-10 |
Family
ID=18456940
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP35798097A Expired - Fee Related JP3465566B2 (en) | 1997-12-25 | 1997-12-25 | Eye position detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3465566B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3797253B2 (en) * | 2002-03-14 | 2006-07-12 | 日産自動車株式会社 | Gaze direction detection device |
| JP4134653B2 (en) * | 2002-09-20 | 2008-08-20 | 松下電器産業株式会社 | Eye position detection apparatus and method |
| JP4696571B2 (en) * | 2005-01-27 | 2011-06-08 | 日産自動車株式会社 | Eye position detection device |
| JP6873351B2 (en) * | 2019-03-26 | 2021-05-19 | 三菱電機株式会社 | Exposure control device and exposure control method |
-
1997
- 1997-12-25 JP JP35798097A patent/JP3465566B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH11183127A (en) | 1999-07-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5805720A (en) | Facial image processing system | |
| KR102099265B1 (en) | System and method for pedestrian-vehicle collision warning based on pedestrian state | |
| US10081308B2 (en) | Image-based vehicle detection and distance measuring method and apparatus | |
| JP2522859B2 (en) | Eye position detection device | |
| CN101479766B (en) | Object detection apparatus, method and program | |
| KR101441333B1 (en) | Human body part detecting device and method thereof | |
| JP2541688B2 (en) | Eye position detection device | |
| JPH0944685A (en) | Face image processing device | |
| CN106682603A (en) | Real time driver fatigue warning system based on multi-source information fusion | |
| JP4864043B2 (en) | Image processing apparatus, method, and program | |
| JP4325271B2 (en) | Status detection device and status detection system | |
| JP3312562B2 (en) | Dozing state detection device | |
| JP4082203B2 (en) | Open / close eye determination device | |
| JP3465566B2 (en) | Eye position detection device | |
| JP2001307076A (en) | Eye condition detection device, dozing detection device | |
| JP3444115B2 (en) | Dozing state detection device | |
| JPH1044824A (en) | Vehicle driver open / closed eye determination device | |
| EP1798688A2 (en) | Method of locating a human eye in a video image | |
| JP3531503B2 (en) | Eye condition detection device and drowsy driving alarm device | |
| CN119960603A (en) | A control method and system based on wearable intelligent device | |
| JP4788319B2 (en) | Opening and closing eye determination device and method | |
| JP4696571B2 (en) | Eye position detection device | |
| JP2008191785A (en) | Closed eye detection device, dozing detection device, closed eye detection method, and closed eye detection program | |
| JP2000311238A (en) | Eye opening detector | |
| JP3582324B2 (en) | Eye position detector |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100829 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |