Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3531503B2 - Eye condition detection device and drowsy driving alarm device - Google Patents
[go: Go Back, main page]

JP3531503B2 - Eye condition detection device and drowsy driving alarm device - Google Patents

Eye condition detection device and drowsy driving alarm device

Info

Publication number
JP3531503B2
JP3531503B2 JP31234098A JP31234098A JP3531503B2 JP 3531503 B2 JP3531503 B2 JP 3531503B2 JP 31234098 A JP31234098 A JP 31234098A JP 31234098 A JP31234098 A JP 31234098A JP 3531503 B2 JP3531503 B2 JP 3531503B2
Authority
JP
Japan
Prior art keywords
eye
continuous data
tracking
state
condition
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
Application number
JP31234098A
Other languages
Japanese (ja)
Other versions
JP2000142164A (en
Inventor
雅之 金田
英郎 小原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP31234098A priority Critical patent/JP3531503B2/en
Publication of JP2000142164A publication Critical patent/JP2000142164A/en
Application granted granted Critical
Publication of JP3531503B2 publication Critical patent/JP3531503B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/80Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
    • Y02T10/84Data processing systems or methods, management, administration

Landscapes

  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)
  • Auxiliary Drives, Propulsion Controls, And Safety Devices (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Image Processing (AREA)
  • Emergency Alarm Devices (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ミラー、シートを
自動制御するためや、ドライバの眼の開閉状態から居眠
り状態を検出するために必要な眼の位置の特定などに用
いる眼の状態検出装置、及び居眠りを警報可能な居眠り
警報装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an eye condition detecting device used for automatically controlling a mirror and a seat and for identifying a position of an eye necessary for detecting a dozing condition from a driver's eye open / closed condition. , And a drowsiness alarm device capable of warning drowsiness.

【0002】[0002]

【従来の技術】従来の画像処理による居眠り運転警報装
置としては、例えば特開平10ー143669号に記載
されたようなものがある。これは、濃淡画像を対象とし
て眼の位置を検出し、眼の開度値による開閉眼判定を行
いながら眼を追跡する構成としている。また、従来装置
は、眼の追跡ミスを眼の開度値の出力状態により認識
し、自動的に眼の位置検出処理に戻る構成となってい
る。
2. Description of the Related Art As a conventional drowsiness driving warning device based on image processing, there is, for example, a device described in JP-A-10-143669. This is configured such that the eye position is detected for a grayscale image, and the eye is tracked while performing open / closed eye determination based on the eye opening value. In addition, the conventional device is configured to recognize an eye tracking error from the output state of the eye opening value and automatically return to the eye position detection processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
装置では、眼の追跡に失敗し、再度眼の位置検出を行う
際、初期状態に戻して眼の位置検出が行われるため、眼
を捉えるまでに再度長い処理時間がかかるという問題が
あった。また、最初の眼の位置検出に成功し、眼の追跡
を行いながら安定的に開閉眼判定を続けている状態があ
っても、再度の初期状態による眼の位置検出処理により
検出ミスのリスクが伴うという問題点がある。
However, in the conventional device, when the eye tracking fails and the eye position is detected again, the eye position is detected by returning to the initial state. There was a problem that it took a long processing time again. In addition, even if the initial eye position detection succeeds and there is a state in which eye open / close determination is continued stably while tracking the eye, there is a risk of detection error due to the eye position detection process in the initial state again. There is a problem with it.

【0004】本発明は、より迅速に、且つ精度良く検出
を行うことの出きる眼の状態検出装置及び居眠り運転警
報装置の提供を課題とする。
An object of the present invention is to provide an eye condition detecting device and a drowsy driving warning device which can detect the detection speedily and accurately.

【0005】[0005]

【課題を解決するための手段】請求項1の発明は、顔画
像を入力する顔画像入力手段と、該顔画像入力手段より
入力された顔の画像データの縦方向の画素列における濃
度の局所的な高まり毎に画素を定めて抽出点とし、該抽
出点と隣接する画素列の抽出点が近接して顔の横方向へ
延びる連続データに基づき眼の位置を特定する眼の位置
特定手段と、該特定された眼の位置を含む所定領域を設
定する所定領域設定手段と、該所定領域設定手段で設定
された所定領域内で前記連続データに基づき眼の位置を
特定し、該連続データの濃度変化状態から眼の開度を検
出する眼の開度検出手段とを備えた眼の状態検出装置に
おいて、前記連続データに基いて眼が存在すると予測で
きる眼の基準領域を決定し、記憶する第1の眼の基準領
域決定手段と、前記所定領域内における眼の連続データ
を追跡し、該連続データの状態に基ずいて追跡状態が正
常か否かを判定する眼の追跡状態判定手段と、該眼の追
跡状態判定手段により眼の追跡異常と判定されたとき、
前記基準領域に前記所定領域を復帰する第1の復帰手段
とを設けたことを特徴とする。
According to a first aspect of the present invention, a face image input means for inputting a face image, and a local density of pixels in a vertical pixel array of face image data input by the face image input means. A pixel for each increasing height as an extraction point, and an eye position specifying means for specifying an eye position based on continuous data in which the extraction points of a pixel row adjacent to the extraction point are close to each other and extend in the lateral direction of the face. A predetermined area setting means for setting a predetermined area including the specified eye position, and an eye position is specified based on the continuous data in the predetermined area set by the predetermined area setting means. In an eye state detection device including an eye opening degree detection unit that detects the eye opening degree from a concentration change state, a reference area of the eye that can be predicted to exist based on the continuous data is determined and stored. A first eye reference region determining means, and Eye tracking state determination means for tracking continuous eye data within a predetermined area and determining whether the tracking state is normal based on the state of the continuous data, and eye tracking by the eye tracking state determination means When judged to be abnormal,
First reference means for returning the predetermined area to the reference area is provided.

【0006】請求項2の発明は、顔画像を入力する顔画
像入力手段と、該顔画像入力手段より入力された顔の画
像データの縦方向の画素列における濃度の局所的な高ま
り毎に画素を定めて抽出点とし、該抽出点と隣接する画
素列の抽出点が近接して顔の横方向へ延びる連続データ
に基づき眼の位置を特定する眼の位置特定手段と、該特
定された眼の位置を含む所定領域を設定する所定領域設
定手段と、該所定領域設定手段で設定された所定領域内
で前記連続データに基づき眼の位置を特定し、該連続デ
ータの濃度変化状態から眼の開度を検出する眼の開度検
出手段とを備えた眼の状態検出装置において、前記連続
データに基いて眼が存在すると予測できる眼の基準領域
を決定し、記憶する第1の眼の基準領域決定手段と、前
記所定領域内における眼の連続データを追跡し、該連続
データの状態に基ずいて追跡状態が正常か否かを判定す
る眼の追跡状態判定手段と、該眼の追跡状態判定手段に
より眼の追跡異常と判定されたとき、前記基準領域に基
づき左右両眼の連続データを検出し得る左右領域を設定
する左右領域設定手段と、前記左右領域内に連続データ
が出現しているか否かを判定する連続データの出現状態
判定手段と、前記左右領域内に連続データが出現してい
ると判定されたときは該連続データに基いて前記眼の開
度検出手段に前記検出を再度行なわせる再検出手段とを
設けたことを特徴とする。
According to a second aspect of the present invention, a face image input means for inputting a face image, and a pixel for each local increase in density in a vertical pixel row of the face image data input by the face image input means are provided. As an extraction point, and an eye position specifying means for specifying an eye position based on continuous data in which the extraction points of a pixel row adjacent to the extraction point are close to each other and extend in the lateral direction of the face, and the specified eye. A predetermined area setting means for setting a predetermined area including the position of the eye, the eye position is specified based on the continuous data within the predetermined area set by the predetermined area setting means, and the eye position is determined based on the density change state of the continuous data. In an eye condition detection device including an eye opening detection unit that detects an opening, a first eye reference that determines and stores a reference area of an eye that can be predicted to exist based on the continuous data. Area determining means and the area within the predetermined area. Eye tracking state determining means for determining whether or not the tracking state is normal based on the state of the continuous data, and the eye tracking state determining means for determining an eye tracking abnormality When, the left and right area setting means for setting the left and right areas that can detect the continuous data of the left and right eyes based on the reference area, and the continuous data for determining whether continuous data appears in the left and right areas Appearance state determination means and re-detection means for causing the eye opening detection means to perform the detection again based on the continuous data when it is determined that continuous data appears in the left and right regions It is characterized by that.

【0007】請求項3の発明は、顔画像を入力する顔画
像入力手段と、該顔画像入力手段より入力された顔の画
像データの縦方向の画素列における濃度の局所的な高ま
り毎に画素を定めて抽出点とし、該抽出点と隣接する画
素列の抽出点が近接して顔の横方向へ延びる連続データ
に基づき眼の位置を特定する眼の位置特定手段と、該特
定された眼の位置を含む所定領域を設定する所定領域設
定手段と、該所定領域設定手段で設定された所定領域内
で前記連続データに基づき眼の位置を特定し、該連続デ
ータの濃度変化状態から眼の開度を検出する眼の開度検
出手段とを備えた眼の状態検出装置において、前記所定
領域内における眼の連続データを追跡し、該連続データ
の状態に基ずいて追跡状態が正常か否かを判定する眼の
追跡状態判定手段と、該眼の追跡状態判定手段により眼
の追跡異常と判定されたとき、前記基準領域に基づき左
右両眼の連続データを検出し得る左右領域を設定する左
右領域設定手段と、前記左右領域内に連続データが出現
しているか否かを判定する連続データの出現状態判定手
段と、前記連続データが出現していると判定されたとき
は該連続データに基いて前記眼の位置特定手段に前記検
出を再度行わせる再特定手段と、前記再特定手段により
特定された眼の位置情報を基に眼が存在すると予測でき
る眼の基準領域を決定し、記憶する第2の眼の基準領域
決定手段と、前記眼の追跡状態判定手段により眼の追跡
異常と判定されたとき、前記基準領域に前記所定領域を
復帰する第2の復帰手段とを設けたことを特徴とする。
According to a third aspect of the present invention, a face image input means for inputting a face image, and a pixel for each local increase in density in a vertical pixel row of the face image data input by the face image input means are provided. As an extraction point, and an eye position specifying means for specifying an eye position based on continuous data in which the extraction points of a pixel row adjacent to the extraction point are close to each other and extend in the lateral direction of the face, and the specified eye. A predetermined area setting means for setting a predetermined area including the position of the eye, the eye position is specified based on the continuous data within the predetermined area set by the predetermined area setting means, and the eye position is determined based on the density change state of the continuous data. In an eye condition detecting device having an eye opening detecting means for detecting the degree of opening, continuous eye data in the predetermined area is tracked, and whether or not the tracking state is normal based on the state of the continuous data. Eye tracking state determination means for determining whether When the eye tracking state determination means determines that the eye tracking is abnormal, a left and right area setting means for setting left and right areas capable of detecting continuous data of the left and right eyes based on the reference area, and within the left and right areas. Appearance state determination means of continuous data for determining whether continuous data has appeared, and when it is determined that the continuous data has appeared, the detection is performed by the eye position specifying means based on the continuous data. And a second eye reference area determination means that determines and stores a reference area of the eye that can be predicted to exist based on the eye position information identified by the re-identification means. Second reference means for returning the predetermined area to the reference area when the eye tracking state determination means determines that the eye tracking is abnormal.

【0008】請求項4の発明は、請求項1,2,3記載
の眼の状態検出装置であって、前記第1又は第2の基準
領域決定手段は、眼の位置の検出処理を繰り返して眼の
基準領域を学習することを特徴とする。
A fourth aspect of the present invention is the eye state detecting device according to the first, second and third aspects, wherein the first or second reference area determining means repeats the eye position detecting process. The feature is that the reference region of the eye is learned.

【0009】請求項5の発明は、請求項1,2,3記載
の眼の状態検出装置であって、前記第1又は第2の基準
領域決定手段は、眼の開度値の時系列の変化状態を判定
して眼の基準領域を学習することを特徴とする。
According to a fifth aspect of the present invention, there is provided the eye state detecting device according to the first, second and third aspects, wherein the first or second reference area determining means is a time series of eye opening value. The feature is that the reference state of the eye is learned by determining the change state.

【0010】請求項6の発明は、請求項1,2,3記載
の眼の状態検出装置であって、前記第1又は第2の基準
領域決定手段は、複数回の眼の位置の検出処理により安
定的な眼の位置の出力がなされたときに眼の基準領域を
決定することを特徴とする。
According to a sixth aspect of the present invention, there is provided the eye state detecting device according to the first, second, and third aspects, wherein the first or second reference area determining means performs a plurality of eye position detecting processes. It is characterized in that the reference area of the eye is determined when the stable output of the eye position is performed.

【0011】請求項7の発明は、請求項2記載の眼の状
態検出装置であって、前記再検出手段は、前記左右領域
内に横方向に所定間隔で安定して検出できる2個の連続
データがあるときに再検出を行うことを特徴とする。
The invention of claim 7 is the eye state detecting device according to claim 2, wherein the re-detecting means is capable of stably detecting two consecutive laterally within the left and right regions at predetermined intervals. The feature is that re-detection is performed when there is data.

【0012】請求項8の発明は、請求項3記載の眼の状
態検出装置であって、前記再特定手段は、前記左右領域
内に横方向に所定間隔で安定して検出できる2個の連続
データがあるときに再検出を行うことを特徴とする。
An eighth aspect of the present invention is the eye condition detecting apparatus according to the third aspect, wherein the re-identifying means is capable of stably detecting two consecutive laterally within the left and right regions at predetermined intervals. The feature is that re-detection is performed when there is data.

【0013】請求項9の発明は、請求項2、3、7、8
記載の眼の状態検出装置であって、前記左右領域内の連
続データが安定して検出できないとき、前記判定を所定
時間延長する判定延長手段を設けたことを特徴とする。
The invention of claim 9 is the invention of claims 2, 3, 7, and 8.
The eye state detection device described above is characterized in that a determination extension means is provided for extending the determination for a predetermined time when continuous data in the left and right regions cannot be stably detected.

【0014】請求項10の発明は、請求項2、3、7、
8記載の眼の状態検出装置であって、前記左右領域内の
連続データが検出できないとき、前記判定を所定時間延
長する判定延長手段を設けたことを特徴とする。
The invention of claim 10 is the invention of claims 2, 3, 7,
The eye condition detection device according to item 8, wherein a determination extension means is provided for extending the determination for a predetermined time when continuous data in the left and right regions cannot be detected.

【0015】請求項11の発明は、請求項2、3、7、
8記載の眼の状態検出装置であって、前記左右領域内の
連続データが安定して検出できないとき及び、前記左右
領域内の連続データが検出できないとき、前記判定を所
定時間延長する判定延長手段を設け、該判定延長手段は
連続データが安定して検出できないときよりも検出でき
ないときの延長時間を長く設定することを特徴とする。
The invention of claim 11 is based on claims 2, 3, 7,
9. The eye condition detection device according to claim 8, wherein when the continuous data in the left and right regions cannot be stably detected and when the continuous data in the left and right regions cannot be detected, a determination extension means for extending the determination for a predetermined time. Is provided, and the determination extension means sets a longer extension time when continuous data cannot be detected stably than when it cannot be detected.

【0016】請求項12の発明は、請求項1〜11記載
の眼の状態検出装置であって、前記追跡状態判定手段
は、前記所定領域内の連続データが移動し、その位置に
所定時間滞留したとき眼の追跡異常と判定することを特
徴とする。
A twelfth aspect of the present invention is the eye state detecting apparatus according to any one of the first to eleventh aspects, wherein the tracking state determining means moves the continuous data in the predetermined area and stays at that position for a predetermined time. It is characterized in that it is determined that the tracking abnormality of the eye when.

【0017】請求項13の発明は、請求項1〜11記載
の眼の状態検出装置であって、前記追跡状態判定手段
は、前記所定領域内の連続データが所定時間検出できな
いとき眼の追跡異常と判定することを特徴とする。
A thirteenth aspect of the present invention is the eye state detecting apparatus according to any one of the first to eleventh aspects, wherein the tracking state determination means detects an abnormal eye tracking when continuous data in the predetermined area cannot be detected for a predetermined time. It is characterized by determining that.

【0018】請求項14の発明は、請求項1〜11記載
の眼の状態検出装置であって、前記追跡状態判定手段
は、前記眼の開度値が所定範囲を超えて定常的に検出さ
れるとき眼の追跡異常と判定することを特徴とする。
A fourteenth aspect of the present invention is the eye state detection apparatus according to any one of the first to eleventh aspects, wherein the tracking state determination means constantly detects that the eye opening value exceeds a predetermined range. It is characterized in that it is determined to be an eye tracking abnormality when it occurs.

【0019】請求項15の発明は、請求項1〜14記載
の眼の状態検出装置であって、前記眼の開度検出手段に
より出力される眼の開度状態を判定し、その開閉状態の
変化から覚醒度を判定する覚醒度判定手段と、該覚醒度
判定手段により覚醒度が低下していると判定されたとき
警報を発する警報手段とを設けたことを特徴とする。
A fifteenth aspect of the present invention is the eye state detecting device according to the first to fourteenth aspects, wherein the eye opening state output by the eye opening detecting means is determined, and the eye opening / closing state is determined. It is characterized in that an alertness degree determining means for determining the alertness degree from the change and an alerting means for issuing an alert when the alertness degree determining means determines that the alertness level is decreasing are provided.

【0020】[0020]

【発明の効果】請求項1の発明では、第1の眼の基準領
域決定手段により眼の位置を特定する連続データに基い
て眼が存在すると予測できる眼の基準領域を決定し、眼
の追跡状態判定手段により眼の追跡異常と判定されたと
きは、復帰手段により、眼の開度を検出する所定領域を
前記基準領域に復帰させることができる。このため、再
度検出を行うときに、初期状態から所定領域の設定まで
の処理を省くことができ、迅速な処理を行わせることが
できる。また、省略した処理の部分での検出ミスのリス
クがなくなり、より精度の良い検出を行うことができ
る。
According to the first aspect of the present invention, the first eye reference region determining means determines the eye reference region in which the presence of the eye can be predicted based on the continuous data for specifying the eye position, and the eye tracking is performed. When the state determining unit determines that the eye tracking is abnormal, the returning unit can return the predetermined region for detecting the eye opening to the reference region. Therefore, when the detection is performed again, the processing from the initial state to the setting of the predetermined area can be omitted, and the quick processing can be performed. Further, there is no risk of detection error in the omitted processing portion, and more accurate detection can be performed.

【0021】請求項2の発明では、第1の眼の基準領域
決定手段により眼の位置を特定する連続データに基いて
眼が存在すると予測できる眼の基準領域を決定し、眼の
追跡状態判定手段により眼の追跡異常と判定されたとき
は、前記基準領域に基づき左右両眼の連続データを検出
し得る左右領域を左右領域設定手段により設定し、出現
状態判定手段により前記左右領域内に連続データが出現
していると判定されたときは該連続データに基いて前記
眼の開度検出手段に前記検出を再度行なわせることがで
きる。このため、再度検出を行うときに、初期状態から
所定領域の設定までの処理を省くことができ、迅速な処
理を行わせることができる。また、省略した処理の部分
での検出ミスのリスクがなくなり、より精度の良い検出
を行うことができる。更に、連続データの左右対称条件
などを用いることができ、より精度良い検出を行わせる
ことができる。
According to the second aspect of the present invention, the first eye reference area determining means determines the eye reference area that can predict the presence of the eye based on the continuous data for specifying the eye position, and determines the eye tracking state. When the eye tracking abnormality is determined by the means, the left and right areas capable of detecting continuous data of the left and right eyes based on the reference area are set by the left and right area setting means, and the appearance state determination means continuously sets the left and right areas within the left and right areas. When it is determined that the data has appeared, the eye opening detection means can be made to perform the detection again based on the continuous data. Therefore, when the detection is performed again, the processing from the initial state to the setting of the predetermined area can be omitted, and the quick processing can be performed. Further, there is no risk of detection error in the omitted processing portion, and more accurate detection can be performed. Further, the condition of left-right symmetry of continuous data can be used, and more accurate detection can be performed.

【0022】請求項3の発明では、眼の追跡状態判定手
段により眼の追跡異常と判定されたとき、初期検出の眼
の位置連続データに基づき左右両眼の連続データを検出
し得る左右領域を左右領域設定手段により設定し、前記
左右領域内に連続データが出現していると判定されたと
きは該連続データに基いて再特定手段が前記眼の位置特
定手段に前記検出を再度行わせ、前記再特定手段により
特定された眼の位置情報を基に眼が存在すると予測でき
る眼の基準領域を第2の眼の基準領域決定手段により決
定し、前記眼の追跡状態判定手段により眼の追跡異常と
判定されたときは、第2の復帰手段により、眼の開度を
検出する所定領域を前記基準領域に復帰させることがで
きる。このため、再検出した連続データが眼か否かの判
定を行うための情報として開度値に相当する値の他に、
連続データの左右対称条件等を用いることが可能である
ため、眼の基準領域の検出精度を高めることができる。
また、眼の再検出を行う領域を左右領域に限定している
ため、基準位置の検出時間を短縮することができ、迅速
な処理を行うことができる。
According to the third aspect of the present invention, when the eye tracking state determination means determines that the eye tracking is abnormal, the left and right regions in which the left and right eye continuous data can be detected based on the initially detected eye position continuous data. Set by the left and right area setting means, and when it is determined that continuous data appears in the left and right areas, re-identification means causes the eye position identification means to perform the detection again based on the continuous data, The reference region of the eye that can be predicted to exist based on the position information of the eye identified by the re-identifying unit is determined by the reference region determining unit of the second eye, and the eye tracking state determining unit determines the eye tracking. When it is determined that the abnormality is present, the second returning means can return the predetermined region for detecting the eye opening to the reference region. Therefore, in addition to the value corresponding to the opening value as information for determining whether the re-detected continuous data is an eye,
Since it is possible to use the condition of left-right symmetry of continuous data, it is possible to improve the detection accuracy of the reference region of the eye.
In addition, since the area where the re-detection of the eye is performed is limited to the left and right areas, it is possible to shorten the detection time of the reference position and perform a quick process.

【0023】請求項4の発明では、請求項1又は2記載
の発明の効果に加え、眼の位置の検出処理を繰り返して
眼の基準領域を学習することができ、より精度良い処理
を行うことができる。
According to the invention of claim 4, in addition to the effect of the invention of claim 1 or 2, the eye reference region can be learned by repeating the eye position detection processing, and more accurate processing can be performed. You can

【0024】請求項5の発明では、請求項1又は2記載
の発明の効果に加え、眼の開度値の時系列の変化状態を
判定して眼の基準領域を学習することができ、より精度
良い処理を行わせることができる。
According to the invention of claim 5, in addition to the effect of the invention of claim 1 or 2, it is possible to learn the reference region of the eye by judging the time series change state of the eye opening value. It is possible to perform accurate processing.

【0025】請求項6の発明では、請求項1又は2記載
の発明の効果に加え、複数回の眼の位置の検出処理によ
り安定的な眼の位置の出力がなされたときに眼の基準領
域を決定することができ、より精度良い処理を行わせる
ことができる。
According to a sixth aspect of the invention, in addition to the effect of the first or second aspect of the invention, the eye reference region is output when a stable eye position is output by a plurality of eye position detection processes. Can be determined, and more accurate processing can be performed.

【0026】請求項7の発明では、請求項2記載の発明
の効果に加え、左右領域内に横方向に所定間隔で安定し
て検出できる2個の連続データがあるときに再検出を行
うことができ、連続データの左右対称条件などを用いる
ことでより精度良い処理を行うことができる。
According to the invention of claim 7, in addition to the effect of the invention of claim 2, re-detection is performed when there are two continuous data which can be stably detected at a predetermined interval in the lateral direction in the left and right regions. It is possible to perform more accurate processing by using the condition of left-right symmetry of continuous data.

【0027】請求項8の発明では、請求項3記載の発明
の効果に加え、左右領域内に横方向に所定間隔で安定し
て検出できる2個の連続データがあるときに再検出を行
うことができ、連続データの左右対称条件などを用いる
ことでより精度良い処理を行うことができる。
According to the invention of claim 8, in addition to the effect of the invention of claim 3, re-detection is carried out when there are two continuous data which can be stably detected at predetermined intervals in the lateral direction in the left and right regions. It is possible to perform more accurate processing by using the condition of left-right symmetry of continuous data.

【0028】請求項9の発明では、請求項2、3、7、
8記載の発明の効果に加え、左右領域内の連続データが
安定して検出できないとき、出現状態判定手段の判定を
所定時間延長することができ、連続データをより正確に
捉えることで、より精度良い処理を行わせることができ
る。
In the invention of claim 9, claims 2, 3, 7,
In addition to the effect of the invention described in 8, when the continuous data in the left and right regions cannot be stably detected, the determination of the appearance state determination means can be extended for a predetermined time, and the continuous data can be captured more accurately, thereby improving accuracy. Good processing can be done.

【0029】請求項10の発明では、請求項2、3、
7、8記載の発明の効果に加え、左右領域内の連続デー
タが検出できないとき、出現状態判定手段の判定を所定
時間延長することができ、連続データをより正確に捉え
ることで、より精度良い処理を行わせることができる。
According to the invention of claim 10, claims 2, 3 and
In addition to the effects of the invention described in 7 and 8, when the continuous data in the left and right regions cannot be detected, the determination of the appearance state determination means can be extended for a predetermined time, and the continuous data can be captured more accurately, thereby achieving higher accuracy. Processing can be performed.

【0030】請求項11の発明では、請求項2、3、
7、8記載の発明の効果に加え、左右領域内の連続デー
タが安定しないとき及び、左右領域内の連続データが存
在しないとき、出現状態判定手段の判定を所定時間延長
することができ、連続データをより正確に捉えること
で、より精度良い処理を行わせることができる。しか
も、判定延長手段は連続データが安定しないときよりも
存在しないときの延長時間を長く設定するので、連続デ
ータが存在しないときでも、延長時間後に連続データを
より正確に捉えることで、より精度良い処理を行わせる
ことができる。
According to the invention of claim 11, claims 2, 3 and
In addition to the effects of the invention described in 7 and 8, when the continuous data in the left and right regions is not stable and when the continuous data in the left and right regions does not exist, the determination by the appearance state determination means can be extended for a predetermined time. By capturing the data more accurately, more accurate processing can be performed. Moreover, the determination extension means sets the extension time longer when the continuous data does not exist than when the continuous data is not stable. Therefore, even when the continuous data does not exist, the continuous data can be more accurately captured after the extension time, and thus the accuracy can be improved. Processing can be performed.

【0031】請求項12の発明では、請求項1〜11記
載の発明の効果に加え、所定領域内の連続データが移動
し、その位置に所定時間滞留したとき眼の追跡異常と判
定することができ、顔の早い動きなどがあって眼の回り
のノイズである眼鏡などの連続データが追跡されそうに
なってもこれを的確にキャンセルし、精度の高い再検出
を行わせることができる。
According to the twelfth aspect of the invention, in addition to the effects of the first to eleventh aspects of the invention, when continuous data in a predetermined area moves and stays at that position for a predetermined time, it can be determined that eye tracking is abnormal. Even if continuous data of eyeglasses or the like, which is noise around the eyes due to a rapid movement of the face, is likely to be tracked, this can be accurately canceled and highly accurate re-detection can be performed.

【0032】請求項13の発明では、請求項1〜11記
載の発明の効果に加え、所定領域内の連続データが所定
時間検出できないとき眼の追跡異常と判定することがで
き、光環境の変化などがあっても精度の高い再検出を行
わせることができる。
In the thirteenth aspect of the invention, in addition to the effects of the first to eleventh aspects of the invention, it is possible to determine that the eye tracking abnormality has occurred when continuous data in a predetermined area cannot be detected for a predetermined time, and a change in the light environment. Even if there is such a problem, it is possible to perform re-detection with high accuracy.

【0033】請求項14の発明では、請求項1〜11記
載の発明の効果に加え、眼の開度値が所定範囲を超えて
定常的に検出されるとき眼の追跡異常と判定することが
でき、顔を大きく横に動かす等したときでも精度の高い
再検出を行わせることができる。
According to the fourteenth aspect of the invention, in addition to the effects of the first to eleventh aspects of the invention, when the eye opening value exceeds a predetermined range and is constantly detected, it can be determined that the eye tracking abnormality. Therefore, it is possible to perform re-detection with high accuracy even when the face is moved largely to the side.

【0034】請求項15の発明では、請求項1〜14記
載の発明の効果に加え、覚醒度が低下していると判定さ
れたとき正確に警報を発することができる。
According to the fifteenth aspect of the present invention, in addition to the effects of the first to fourteenth aspects of the present invention, an alarm can be accurately issued when it is determined that the arousal level has decreased.

【0035】[0035]

【発明の実施の形態】本装置は、自動車の他に鉄道車
両、船舶、プラントのオペレータ等の居眠り運転警報と
して用いることができるが、本実施例では自動車に適用
した場合で説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention can be used as a drowsiness driving alarm for railway cars, ships, operators of plants, etc. in addition to automobiles, but this embodiment will be described when applied to automobiles.

【0036】図1は、本発明の一実施形態を適用した眼
の状態検出装置及び居眠り運転警報装置の機能ブロック
図にかかり、該装置は、画像入力手段CL1と、画素列の
濃度検出手段CL2と、ポイント抽出手段CL3と、連続デー
タの抽出手段CL4と、眼の位置検出手段CL5と、ポイント
抽出手段CL6と、眼の開度検出手段CL7と、第1の眼の基
準領域決定手段CL8と、眼の追跡状態判定手段CL9と、第
1の復帰手段CL10と、覚醒度判定手段CL11と、警報手段
CL12とを備えている。
FIG. 1 is a functional block diagram of an eye condition detecting device and a drowsy driving alarm device to which an embodiment of the present invention is applied. The device includes an image input means CL1 and a pixel row density detecting means CL2. A point extracting means CL3, a continuous data extracting means CL4, an eye position detecting means CL5, a point extracting means CL6, an eye opening detecting means CL7, and a first eye reference area determining means CL8. , Eye tracking state determination means CL9, first return means CL10, awakening degree determination means CL11, and alarm means
It is equipped with CL12.

【0037】前記画像入力手段CL1は、顔画像を入力す
る。前記画素列の濃度検出手段CL2は、前記入力した顔
の画像データの縦方向の画素列における濃度の局所的な
高まりを検出する。前記ポイント抽出手段CL3は、前記
画素列における濃度の高まりとその変化状態によりポイ
ントを検出する。前記連続データの抽出手段CL4は隣接
する画素列の画素列方向に近接したポイントを連続して
顔の横方向への連続データを抽出する。前記眼の位置検
出手段CL5は、前記連続データに基づき眼の位置を検出
する。これら、画素列の濃度検出手段CL2と、ポイント
抽出手段CL3と、連続データの抽出手段CL4と、眼の位置
検出手段CL5とで本願発明の眼の位置特定手段を構成し
ている。
The image input means CL1 inputs a face image. The pixel row density detecting means CL2 detects a local increase in the density of a pixel row in the vertical direction of the input face image data. The point extracting means CL3 detects points based on the increase in the density of the pixel row and the changing state thereof. The continuous data extracting means CL4 continuously extracts the continuous data in the lateral direction of the face by successively adjoining points of adjacent pixel rows in the pixel row direction. The eye position detecting means CL5 detects the eye position based on the continuous data. The pixel row density detecting means CL2, the point extracting means CL3, the continuous data extracting means CL4, and the eye position detecting means CL5 constitute the eye position specifying means of the present invention.

【0038】前記ポイント抽出手段CL6は、特定された
眼の位置を含む所定領域を設定して該所定領域内で縦方
向の画素列の濃度の高まり毎に画素を定めて抽出点と
し、隣接する抽出点を連続して顔の横方向に延びる連続
データに基づき眼の位置を特定する。なお、ポイント抽
出手段CL6で検出する連続データは、前記ポイント抽出
手段CL3で検出する連続データよりも微細であり、正確
な検出を行うようになっているが、後者を前者と同等の
荒さで検出することにより、処理を早める構成にするこ
ともできる。前記眼の開度検出手段CL7は、所定領域内
の連続データの濃度変化状態から眼の開度を検出する。
これら、ポイント抽出手段CL6と、眼の開度検出手段CL7
とで本願発明の所定領域設定手段及び眼の開度検出手段
を構成している。
The point extraction means CL6 sets a predetermined area including the specified eye position, determines a pixel for each increase in the density of the pixel row in the vertical direction within the predetermined area, and sets the pixel as an extraction point, which is adjacent to each other. The position of the eye is specified based on continuous data that continuously extends the extraction points in the lateral direction of the face. The continuous data detected by the point extracting means CL6 is finer than the continuous data detected by the point extracting means CL3, and is designed to perform accurate detection, but the latter is detected with the same roughness as the former. By doing so, it is possible to adopt a configuration that accelerates the processing. The eye opening detection means CL7 detects the eye opening based on the density change state of continuous data in a predetermined area.
These point extraction means CL6 and eye opening detection means CL7
And constitute the predetermined area setting means and the eye opening detection means of the present invention.

【0039】前記眼の基準領域決定手段CL8は、前記連
続データに基ずいて眼が存在すると予測できる眼の基準
領域としての基準位置を決定する。
The eye reference area determining means CL8 determines a reference position as an eye reference area that can be predicted to exist based on the continuous data.

【0040】前記眼の追跡状態判定手段CL9は、前記所
定領域内における眼の連続データを追跡し、該連続デー
タの状態に基ずいて追跡状態が正常か否かを判定する。
The eye tracking state determining means CL9 tracks the continuous data of the eyes in the predetermined area and determines whether the tracking state is normal based on the state of the continuous data.

【0041】前記第1の復帰手段CL10は、前記眼の追跡
状態判定手段により眼の追跡異常と判定されたとき、前
記基準位置に前記所定領域を復帰する。
The first returning means CL10 returns the predetermined area to the reference position when the eye tracking state determination means determines that the eye tracking is abnormal.

【0042】前記覚醒度判定手段CL11は、前記眼の開度
判定手段により出力される眼の開度状態を判定し、その
開閉状態の変化から覚醒度を判定する。
The awakening degree determining means CL11 determines the eye opening state output by the eye opening determining means, and determines the awakening degree from the change in the open / closed state.

【0043】前記警報手段CL12は、覚醒度判定手段によ
り覚醒度が低下していると判定されたときブザーなどの
警報を発する。
The alarm means CL12 issues an alarm such as a buzzer when the awakening degree determining means determines that the awakening degree is low.

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

【0045】同図のように、自動車のインストルメント
に設置され、運転者の顔部分を正面から撮影する画像入
力手段CL1としてのTVカメラ21が備えられ、TV
カメラ21の入力画像は本実施形態では、横(X)方向
512画素、縦(Y)方向480画素からなる。
As shown in the same figure, the TV camera 21 is installed in the instrument of the automobile and equipped with a TV camera 21 as an image input means CL1 for photographing the driver's face from the front.
In the present embodiment, the input image of the camera 21 includes 512 pixels in the horizontal (X) direction and 480 pixels in the vertical (Y) direction.

【0046】前記TVカメラ21で撮影された入力画像
は、A−D変換器22を介して、デジタル量の入力画像
データとして画像メモリ23に格納される。画像メモリ
23の出力は、画像データ演算回路24に入力される。
The input image captured by the TV camera 21 is stored in the image memory 23 as digital input image data via the A / D converter 22. The output of the image memory 23 is input to the image data arithmetic circuit 24.

【0047】画像データ演算回路24は、前記入力画像
データに基ずいて顔の縦方向の画素列の濃度を検出し、
画素列における濃度の高まりとその変化状態によりポイ
ントを抽出し(抽出点)、隣接する画素列の画素列方向
に近接したポイントを連続して顔の横方向への連続デー
タを抽出する。即ちこの画像データ演算回路24は、前
記画素列の濃度検出手段CL2、前記ポイント抽出手段
CL3、及び前記連続データの抽出手段CL4を構成し
ている。画像データ演算回路24の出力は、眼の位置検
出回路25に入力される。
The image data calculation circuit 24 detects the density of the pixel row in the vertical direction of the face based on the input image data,
Points are extracted (extraction points) according to the increase in the density of the pixel row and the change state thereof, and the points adjacent to each other in the pixel row direction of the adjacent pixel rows are continuously extracted to extract continuous data in the lateral direction of the face. That is, the image data arithmetic circuit 24 constitutes the density detecting means CL2 for the pixel column, the point extracting means CL3, and the extracting means CL4 for the continuous data. The output of the image data calculation circuit 24 is input to the eye position detection circuit 25.

【0048】眼の位置検出回路25は、前記連続データ
から眼の選択を行うことで眼の位置を検出する。即ちこ
の眼の位置検出回路25は、前記眼の位置検出手段CL
5を構成している。眼の位置検出回路25の出力は、開
閉眼検出回路26に入力される。
The eye position detection circuit 25 detects the eye position by selecting the eye from the continuous data. That is, the eye position detecting circuit 25 is used for the eye position detecting means CL.
Make up 5. The output of the eye position detection circuit 25 is input to the open / closed eye detection circuit 26.

【0049】開閉眼検出回路26は、眼を含む所定領域
(眼の追跡領域)を設定し、該所定領域内で縦方向への
濃度の高まりとその変化状態からポイントを抽出し(抽
出点)、隣接する画素列の画素列方向に近接したポイン
トを連続して顔の横方向への連続データを抽出し、前記
ポイントにより特定された範囲の連続データの濃度変化
状態から眼の開度を検出する。即ちこの開閉眼検出回路
26は、前記眼の開度検出手段CL7を構成している。
開閉眼検出回路26の出力は、バックアップ回路27に
入力される。
The open / closed eye detection circuit 26 sets a predetermined area including the eyes (eye tracking area), and extracts points from the vertical density increase and its change state within the predetermined area (extraction point). , Continuous data in the lateral direction of the face is continuously extracted from points adjacent to each other in the pixel row direction of adjacent pixel rows, and the eye opening is detected from the density change state of the continuous data in the range specified by the points. To do. That is, the open / closed eye detection circuit 26 constitutes the eye opening degree detection means CL7.
The output of the open / closed eye detection circuit 26 is input to the backup circuit 27.

【0050】バックアップ回路27は、前記連続データ
に基ずいて眼が存在すると予測できる眼の基準位置を決
定し、前記所定領域内における眼の連続データを追跡
し、該連続データの状態に基ずいて眼の追跡状態が正常
か否かを判定し、眼の追跡異常と判断され眼の追跡失敗
が確認された時に眼の追跡領域を事前に学習した眼の基
準位置に前記所定領域を復帰させる。即ちこのバックア
ップ回路27は、前記第1の眼の基準領域決定手段CL
8と、前記眼の追跡状態判定手段CL9と、前記第1の
復帰手段CL10とを構成している。バックアップ回路
27の出力は、覚醒度判定回路28に入力される。
The backup circuit 27 determines a reference position of the eye that can predict the presence of the eye based on the continuous data, tracks the continuous data of the eye within the predetermined area, and based on the state of the continuous data. It is determined whether the eye tracking state is normal, and when the eye tracking abnormality is determined to be the eye tracking abnormality and the eye tracking failure is confirmed, the eye tracking area is previously learned and the predetermined area is returned to the reference position of the eye. . That is, the backup circuit 27 is provided with the first eye reference area determining means CL.
8, the eye tracking state determining means CL9, and the first returning means CL10. The output of the backup circuit 27 is input to the awakening degree determination circuit 28.

【0051】覚醒度判定回路28は、前記開閉眼検出回
路26より送出される開閉眼の検出結果から覚醒度を判
定する。即ちこの覚醒度判定回路28は、前記覚醒度判
定手段CL11を構成している。覚醒度判定回路28の
出力は、警報装置29に入力される。警報装置29は、
覚醒度が低下したと判定された場合に運転者に注意を促
す警報を発する。即ちこの警報装置29は、前記警報手
段CL12を構成している。
The awakening degree judging circuit 28 judges the awakening degree from the detection result of the open / closed eyes sent from the open / closed eye detecting circuit 26. That is, the awakening degree determining circuit 28 constitutes the awakening degree determining means CL11. The output of the awakening degree determination circuit 28 is input to the alarm device 29. The alarm device 29 is
When it is determined that the arousal level has decreased, a warning is issued to call the driver's attention. That is, the alarm device 29 constitutes the alarm means CL12.

【0052】次に、上記構成における動作全体の流れ
を、図3と図4のフローチャートに基づいて説明する。
まず、ステップ301において、TVカメラ21によっ
て顔部分が撮影され、ステップ302で1フレーム分の
入力画像がA−D変換器でデジタル信号に変換されたう
え画像メモリに格納される。
Next, the flow of the entire operation in the above configuration will be described based on the flowcharts of FIGS. 3 and 4.
First, in step 301, the face portion is photographed by the TV camera 21, and in step 302, one frame of the input image is converted into a digital signal by the AD converter and stored in the image memory.

【0053】次に、ステップ303において、眼の追跡
領域が設定されているかどうかをチェックする。眼の追
跡領域とは、画像全体の中で眼を含む所定領域として設
定された領域を示しこの領域内に出現する連続データの
位置を検出することによって眼の詳細位置を認識し、そ
の特定された位置の濃度データを読み出すことにより眼
の開度検出を行っている。また、この所定領域内に出現
する連続データの詳細位置を基に次の取り込み画像での
処理領域を設定することによって眼の位置変化に対応で
きるようにしている。
Next, in step 303, it is checked whether or not the eye tracking area is set. The eye tracking area refers to an area set as a predetermined area including the eye in the entire image, and recognizes the detailed position of the eye by detecting the position of continuous data that appears in this area, and identifies the position. The eye opening is detected by reading the density data at the different positions. Further, by setting the processing area in the next captured image based on the detailed position of the continuous data appearing in the predetermined area, it is possible to deal with the change in the eye position.

【0054】眼の追跡領域が設定されていない場合は、
ステップ304およびステップ305において、眼の追
跡領域となる横方向(X方向)の幅と縦方向の(Y方
向)の幅を設定する。なお、眼の位置検出の詳細は図5
のフローチャートと、図6〜図11に示す説明図により
後述する。
When the eye tracking area is not set,
In step 304 and step 305, the width in the horizontal direction (X direction) and the width in the vertical direction (Y direction) that are the eye tracking regions are set. Details of eye position detection are shown in FIG.
Will be described later with reference to the flowchart of FIG.

【0055】ステップ303で眼の追跡領域が設定され
ていると判断された場合、ステップ306で眼の開度と
詳細な位置検出が行われる。この処理の詳細は図12の
フローチャートと、図13〜図15に示す説明図により
後述する。
When it is determined in step 303 that the eye tracking area is set, in step 306 the eye opening and detailed position detection are performed. Details of this processing will be described later with reference to the flowchart of FIG. 12 and the explanatory diagrams shown in FIGS. 13 to 15.

【0056】その後、ステップ307において、眼の開
度値が正常か否かを判断し、正常である場合は、図4の
ステップ401に移行する。ステップ401では眼の基
準位置が学習されているか否かを判断する。初期状態で
のこのステップの判断は、当然学習されていないとされ
るため、ステップ403に移行し眼の基準位置の学習を
開始する。眼の基準位置の学習方法は、眼の開度値の出
力状態が通常眼の大きさと考えられる範囲の変化を続け
ていることと、そのデータが滞留する位置が存在するこ
とを条件に眼の基準位置をメモリする。この場合、デー
タが滞留するとは、眼の基準位置に、安全確認などによ
る眼の動きとして考えるには長すぎる時間(例えば3
秒)以上止まっていることを言う。
Then, in step 307, it is judged whether or not the eye opening value is normal, and if normal, the process proceeds to step 401 in FIG. In step 401, it is determined whether or not the reference position of the eye has been learned. Since the determination in this step in the initial state is naturally not learned, the process shifts to step 403 to start learning the eye reference position. The method of learning the reference position of the eye is based on the condition that the output state of the eye opening value is continuously changing within the range considered to be the size of the eye and that there is a position where the data is retained. Memorize the reference position. In this case, the retention of data means that the reference position of the eye is too long (for example, 3
It says that it has stopped for more than 2 seconds.

【0057】ステップ403で眼の基準位置を学習しな
がらステップ404で眼の開度値に基づく開閉眼の判定
を行い、ステップ405で眼の追跡領域の更新を行い、
更にステップ406で閉眼出力の出現パターンによる覚
醒度の判定を行う。ステップ406で閉眼と判定される
結果が連続して認識され長い閉眼が発生していると判断
される場合は、運転者に注意を促す警報を発する。
While learning the reference position of the eye in step 403, the eye open / closed eye is determined based on the eye opening value in step 404, and the eye tracking area is updated in step 405.
Further, in step 406, the awakening degree is determined based on the appearance pattern of the eye-closed output. If it is determined in step 406 that the eyes are closed and the eyes are closed for a long time, an alarm is issued to alert the driver.

【0058】ステップ406で覚醒度の判定後は、ステ
ップ301に戻り次の画像入力を行い同様の処理を続け
る。この処理の流れの中で、眼の開度値が通常の眼の大
きさの範囲から外れ極端に大きくなったり(眉毛の濃い
人など)、小さくなった(口の線など)場合において
は、ステップ307で眼の開度値が異常であると認識
し、ステップ308に移行する。ステップ308では、
眼の開度値の異常状態が一時的なものか、定常的なもの
かを複数回の処理で確認し、定常的なものであると判定
された場合は、ステップ309で眼の追跡領域をクリア
する。
After the awakening level is determined in step 406, the process returns to step 301 to input the next image and continue the same processing. In the flow of this process, if the eye opening value deviates from the normal eye size range and becomes extremely large (such as a person with thick eyebrows) or becomes small (such as the line of the mouth), In step 307, it is recognized that the eye opening value is abnormal, and the process proceeds to step 308. In step 308,
Whether the abnormal state of the eye opening value is temporary or steady is confirmed by a plurality of processes, and if it is determined to be steady, the eye tracking area is determined in step 309. clear.

【0059】その後、ステップ301〜ステップ303
へと同様の処理を繰り返すが、ステップ303の判定で
は、定常的な眼の開度値異常の発生により眼の追跡領域
がクリアされているため、このフローを流れる場合にお
いては、画像全体からの眼の位置検出を再度行うことに
なる。
Then, steps 301 to 303
Although the same processing is repeated as described above, in the determination in step 303, since the eye tracking area is cleared due to the occurrence of a steady eye opening value abnormality, in the case of flowing this flow, from the entire image. The eye position will be detected again.

【0060】ステップ403で眼の基準位置の学習後、
ステップ401からステップ402に流れるフローとな
った場合において、ステップ402で眼の追跡に失敗し
たと判定される時は、ステップ407に移行し、眼の基
準位置への追跡領域を復帰させてステップ301に戻り
次の画像入力を行い同様の処理を続ける。
After learning the eye reference position in step 403,
In the case of the flow from step 401 to step 402, when it is determined in step 402 that eye tracking has failed, the process proceeds to step 407, and the tracking area to the reference position of the eye is returned to step 301. Then, the next image is input and the same processing is continued.

【0061】つまり、運転者の顔の速い動きや、光環境
の悪化、眼鏡を掛けている場合の眼の回りのノイズの影
響で眼の追跡ミスをした場合、ステップ402でその移
動量とその位置への滞留時間で追跡ミスを認識し、運転
者が車両前方を見て運転をしている時に最も眼が存在す
る確立が高い眼の基準位置に眼の追跡領域を戻すことに
よって、精度の高い眼の再検出を一瞬で行うことができ
る。この処理による作動状態の詳細は図17〜図19に
示す説明図により後述する。また、具体的な眼の追跡方
法の詳細については図16の説明図より後述する。
In other words, if the driver makes an eye tracking error due to the rapid movement of the driver's face, the deterioration of the light environment, and the noise around the eyes when wearing glasses, the amount of movement and its movement amount are determined in step 402. The accuracy of accuracy can be improved by recognizing a tracking error by the dwell time at the position and returning the eye tracking area to the eye reference position where the eye is most likely to exist when the driver is looking ahead of the vehicle and driving. High eye re-detection can be done in an instant. Details of the operating state by this processing will be described later with reference to the explanatory diagrams shown in FIGS. Details of a specific eye tracking method will be described later with reference to the explanatory diagram of FIG.

【0062】次に眼の位置検出の詳細を説明する。Next, details of eye position detection will be described.

【0063】眼の位置検出処理の流れを、図5のフロー
チャートに基づいて説明する。まず、ステップ501で
は図6に示すようにY軸方向にライン上のデータに対し
てポイント抽出の処理を行い、1ライン終了後に、一つ
隣のラインの処理に移し、所定方向の全ラインでのポイ
ント抽出が終了したか否かを判断する。
The flow of the eye position detecting process will be described with reference to the flowchart of FIG. First, in step 501, as shown in FIG. 6, a point extraction process is performed on the data on the line in the Y-axis direction, and after the completion of one line, the process proceeds to the process of the next adjacent line, and all lines in the predetermined direction are processed. It is determined whether or not the point extraction has been completed.

【0064】ステップ501で全ラインにおいてポイン
ト抽出が行われていないと判断された場合は、ステップ
502に移行する。このステップ502では、所定方向
の1ラインの濃度値の相加平均演算を行う。この処理
は、画像データ撮影時の濃度値の変化の小さなばらつき
を無くすることを目的としており、濃度値の大局的な変
化を捉えるためである。図7(a)は、図6のXaのラ
インデータの相加平均演算の処理結果を示す。
If it is determined in step 501 that points have not been extracted on all lines, the process proceeds to step 502. In this step 502, the arithmetic mean of the density values of one line in the predetermined direction 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. FIG. 7A shows the processing result of the arithmetic mean calculation of the line data of Xa in FIG.

【0065】図5のステップ503では、ステップ50
2の演算結果である相加平均値における微分演算を行
う。この処理結果を図7(b)に示す。図5のステップ
504では、ステップ503の演算結果である微分値に
よるポイント抽出を行う。そのポイントの抽出方法は、
微分値が負から正に変化するポイント(p1〜p5)、
図7(a)でいうと、グラフが下向きに凸になるポイン
トを抽出する。次にそのポイントに達するまでの濃度値
の変化(q1〜q5)が所定値以下であるか否か、即ち
図7(b)のグレーの部分に入るか否かを判定し、所定
値以下の濃度値の変化を持つポイントを対象としてY座
標値(A1〜A3)を抽出する。この処理が1ライン終
了後、ステップ505で、次のラインの処理に切り換え
ていく。
In step 503 of FIG. 5, step 50
Differentiation is performed on the arithmetic mean value, which is the calculation result of 2. The result of this processing is shown in FIG. In step 504 of FIG. 5, points are extracted by the differential value that is the calculation result of step 503. How to extract that point
Points where the differential value changes from negative to positive (p1 to p5),
In FIG. 7A, points at which the graph is convex downward are extracted. Next, it is determined whether or not the change (q1 to q5) in the density value until reaching that point is less than or equal to a predetermined value, that is, whether or not it enters the gray portion of FIG. The Y coordinate values (A1 to A3) are extracted for the points having the change in density value. After this processing is completed for one line, the processing is switched to the processing for the next line in step 505.

【0066】この処理を繰り返す中で、例えば図6に示
すXbのようなラインの場合、図8(a)、(b)から
も分かるように抽出ポイントがない場合もある。
When this process is repeated, in the case of a line such as Xb shown in FIG. 6, there may be no extraction point, as can be seen from FIGS. 8 (a) and 8 (b).

【0067】ステップ501で全ラインのポイント抽出
が終了したと判断されると、図9に示すようなポイント
が抽出される。つまり図9のXcライン上では、A1,
A2,の二つのポイントが抽出されており、Xdライン
上では、A1,A2,A3,A4の四つのポイントが抽
出されていることになる。
When it is determined in step 501 that the points of all the lines have been extracted, the points shown in FIG. 9 are extracted. That is, on the Xc line in FIG. 9, A1,
Two points A2 are extracted, and four points A1, A2, A3, and A4 are extracted on the Xd line.

【0068】その後、図5のステップ506へ移行し、
隣合う各ラインの抽出ポイント(A1,A2,A3…)
のY座標値を比較し、Y座標値が所定値以内の場合、連
続データとして、連続データのグループ番号、連続
開始ライン番号、連続データ数をメモリする。この具
体的な処理内容を図10を用いて説明する。
Then, the process proceeds to step 506 in FIG.
Extraction points of adjacent lines (A1, A2, A3 ...)
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. The specific processing contents will be described with reference to FIG.

【0069】ライン1には、Y座標値が192と229
の二つの抽出ポイントがある。ライン1のY座標値が1
92のポイントは左隣りのラインが存在しないので、こ
の段階での連続データはないため、連続データのグル
ープ番号は“1”となる。また、Y座標値229のポイ
ントも同様の理由でこの段階での連続データは存在しな
いため、連続データのグループ番号は、その次の
“2”とする。次に、右隣りのライン2には、Y座標値
が191と224の二つの抽出ポイントがある。ライン
2のY座標値191のポイントは、左隣りのライン1の
Y座標値192と10以内のポイントであるため、連続
データのグループ番号を“1”とする。この時、連続
データ数は2となる。ライン2のY座標値224のポイ
ントにおいても同様の判定を行うと連続データのグル
ープ番号は“2”、連続データ数は2となる。
Line 1 has Y coordinate values 192 and 229.
There are two extraction points. Y coordinate value of line 1 is 1
Since the line adjacent to the left does not exist at the point 92, there is no continuous data at this stage, so the group number of the continuous data is "1". Also, for the point of the Y coordinate value 229, there is no continuous data at this stage for the same reason, so the group number of the continuous data is set to the next “2”. Next, in the line 2 on the right side, there are two extraction points with Y coordinate values of 191 and 224. Since the point of the Y coordinate value 191 of the line 2 is within 10 with the Y coordinate value 192 of the left adjacent line 1, the group number of continuous data is set to "1". At this time, the number of continuous data is 2. When the same determination is made at the point of the Y coordinate value 224 on the line 2, the group number of continuous data is "2" and the number of continuous data is 2.

【0070】また、図5のステップ506での連続開
始ライン番号は、連続データ数が1と判断されるポイ
ントを有するライン番号のことをいう。
The continuous start line number in step 506 of FIG. 5 is a line number having a point where the number of continuous data is judged to be 1.

【0071】次に図10においてライン3のY座標値3
60ポイントでは、左隣りのライン2に360と10以
内になるポイントが存在しないので、連続データのグ
ループ番号は、“3”となり、連続データ数は1とな
る。
Next, in FIG. 10, the Y coordinate value 3 of line 3
At 60 points, since there is no point within 360 and 10 in the line 2 on the left side, the group number of continuous data is “3” and the number of continuous data is 1.

【0072】図5のステップ506では、このようにし
て各ラインのポイントの連続性の判断を全ラインにおい
て終了するまで行い、ステップ507へ移行する。
In step 506 of FIG. 5, the continuity of the points of each line is determined in this way until all the lines are completed, and the process proceeds to step 507.

【0073】ステップ507では、同じ連続データグル
ープ番号を持つポイントのY座標値の平均値を連続ポ
イントの平均値にメモリする。この値は、そのグループ
の代表Y座標値として用いることができる。また、連続
開始ラインとその連続データ数から連続終了ラインを求
め、連続開始ラインと連続終了ラインの平均値をメモリ
する。この値は、そのグループの代表X座標値として用
いることができる。
In step 507, the average value of the Y coordinate values of the points having the same continuous data group number is stored in the average value of the continuous points. This value can be used as the representative Y coordinate value of the group. Also, a continuous end line is obtained from the continuous start line and the number of continuous data, and the average value of the continuous start line and the continuous end line is stored. This value can be used as the representative X coordinate value of the group.

【0074】このようにして得られた、各連続グループ
データを、ステップ508で、各連続グループの長さ,
(X,Y)座標値により判定することにより、眼の位置
が特定できる。
In step 508, the length of each continuous group,
The position of the eye can be specified by making a determination based on the (X, Y) coordinate values.

【0075】ここで図11を用いて具体的な眼の位置検
出方法について説明する。
Here, a specific eye position detecting method will be described with reference to FIG.

【0076】まず始めに眼の特徴量を考えると、横に長
く、上に凸型の弓形形状であると定義付けることがで
き、この定義付けに基づいて連続データの絞り込みを行
うと、眼は横に長いという条件から、ポイント連続数が
5ポイント以上続き、また、弓形形状であるという条件
から、連続開始ポイントと連続終了ポイントのY座標値
の差は、小さい連続データに絞り込むことができる。こ
の判定に基づき連続データの絞り込みを行うと、図11
(a)に示すようなグループG1〜G6が抽出される。
First, considering the eye feature amount, it can be defined that the shape is a horizontally long, upwardly convex arcuate shape, and if the continuous data is narrowed down based on this definition, the eye will become horizontal. From the condition that the continuous point is long, the number of continuous points continues for 5 points or more, and from the condition that the continuous shape is an arcuate shape, the difference between the Y coordinate values of the continuous start point and the continuous end point can be narrowed to small continuous data. If continuous data is narrowed down based on this determination, FIG.
Groups G1 to G6 as shown in (a) are extracted.

【0077】次に前述した各グループのX,Yの代表座
標値の位置を考えると、図11(b)に示すように、X
座標方向での接近度合いより、ZONE:L,ZON
E:C,ZONE:Rに分類できる。これは、左眼と左
眉でX座標方向に大きく離れることはなく、また右眼と
右眉でX座標方向に大きく離れることはないからであ
る。また鼻下の影により連続データとなったものや、口
の連続データは中央部付近に位置する。
Next, considering the positions of the representative coordinate values of X and Y of each group described above, as shown in FIG.
ZONE: L, ZON from the degree of approach in the coordinate direction
It can be classified into E: C and ZONE: R. This is because the left eye and the left eyebrow are not greatly separated in the X coordinate direction, and the right eye and the right eyebrow are not greatly separated in the X coordinate direction. The continuous data of the mouth and the continuous data of the mouth are located near the center.

【0078】このようにX座標方向の接近度合いで、更
にデータを分類し、データを絞り込んで行くことで眼の
位置検出を容易に行うことができる。ZONE:Lに含
まれる連続データとしては、左眼と左眉であり、ZON
E:Rに含まれる連続データは右眼と右眉であると判定
すると、眼の位置はG3,G4であり、その座標値も特
定できる。このように眼の位置検出は両眼を対象として
行うことができるが、居眠り検出を目的とした場合、片
方の眼だけを閉じて眠る運転者はいないと思われること
から、これ以降説明する開閉眼検出については、片方の
眼(左眼)に限定している。この運転者の片方の眼(左
眼)に限定した理由には、単に演算処理時間を節約する
ためだけでなく、右ハンドル車の場合、左眼よりもサイ
ドウィンドに近く直射光が当りやすい右眼は、光の強さ
により眼の形状が捉えにくくなる可能性が大きいため、
直射光の当たる確率が右眼よりも小さい左眼に限定した
ほうが開閉眼検出精度が向上する。従って、左ハンドル
車の場合は、右眼に限定すると良い。
In this way, the eye position can be easily detected by further classifying the data according to the degree of approach in the X coordinate direction and narrowing the data. The continuous data included in ZONE: L includes the left eye and the left eyebrow.
When it is determined that the continuous data included in E: R is the right eye and the right eyebrow, the eye positions are G3 and G4, and their coordinate values can also be specified. In this way, eye position detection can be performed for both eyes, but for the purpose of doze detection, it is considered that no driver sleeps with only one eye closed, so opening and closing described below Eye detection is limited to one eye (left eye). The reason for limiting to one eye (left eye) of this driver is not only to save the calculation processing time, but in the case of a right-hand drive vehicle, the side light is closer to the side window than the left eye and the right light is more likely to hit. Since it is highly possible that the shape of the eye becomes difficult to capture due to the intensity of light,
The accuracy of detecting the open / closed eye is improved when the left eye is less likely to be hit by the direct light than the right eye. Therefore, in the case of a left-hand drive vehicle, it is preferable to limit it to the right eye.

【0079】次に図3のステップS306の眼の開度検
出の詳細を説明する。
Next, details of the eye opening detection in step S306 of FIG. 3 will be described.

【0080】眼の開度値を検出する方法としては、図1
4に示すように肌の白い部分から眼の黒い部分への濃度
変化が最大となる所のQ点と、眼の黒い部分から肌の白
い部分への濃度変化が最大となる所のR点の間隔を求め
るものと、これから図12のフローチャートを用いて説
明する二値化閾値を設定して眼の黒い部分の縦幅を求め
るものがある。
A method for detecting the eye opening value is shown in FIG.
As shown in 4, the Q point where the density change from the white part of the skin to the black part of the eye is maximum and the R point where the density change from the black part of the eye to the white part of the skin is maximum are There are a method of obtaining an interval and a method of obtaining a vertical width of a black portion of an eye by setting a binarization threshold value which will be described with reference to the flowchart of FIG.

【0081】それでは、これより二値化閾値を設定して
の眼の開度検出処理の詳細について説明する。
Now, the details of the eye opening detection processing by setting the binarization threshold will be described.

【0082】まず始めに開度検出を行う二値化画像へ変
換するための二値化閾値設定方法の流れを、図12のフ
ローチャートに基づいて説明する。まず、ステップ12
01では図13(a)に示すようにY軸方向にライン上
のデータに対してポイント抽出の処理を行い1ライン終
了後に、一つ隣りのラインの処理に移行し、所定方向の
全ラインでのポイント抽出が終了したか否かを判断す
る。ステップ1201で全ラインにおいてポイント抽出
が行われていないと判断された場合は、ステップ120
2に移行する。
First, the flow of a binarization threshold value setting method for converting into a binarized image for detecting the opening will be described with reference to the flowchart of FIG. First, step 12
In 01, as shown in FIG. 13A, the point extraction process is performed on the data on the line in the Y-axis direction, and after one line is completed, the process proceeds to the process for the next adjacent line, and all lines in the predetermined direction are processed. It is determined whether or not the point extraction has been completed. If it is determined in step 1201 that points have not been extracted on all lines, step 120
Move to 2.

【0083】このステップ1202では、所定方向の1
ラインの濃度値の相加平均演算を行う。この処理は、画
像データ撮影時の濃度値の変化の小さなばらつきを無く
すことを目的としており、濃度値の大局的な変化を捉え
るためである。図13(b)に、図13(a)のXaの
ラインデータの相加平均演算の処理結果を示す。
In this step 1202, 1 in the predetermined direction
The arithmetic mean of the density values of the line 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. FIG. 13B shows the processing result of the arithmetic mean calculation of the line data of Xa in FIG.

【0084】図12のステップ1203では、ステップ
1202の演算結果である相加平均値における微分演算
を行う。この処理結果を図13(c)に示す。図12の
ステップ1204では、ステップ1203の演算結果で
ある微分値によるポイント抽出を行う。そのポイントの
抽出方法は、微分値が負から正に変化するポイントP,
図13(b)でいうと、グラフが左向きに凸になるポイ
ントを抽出する。次のそのポイントの前後の濃度値の変
化が所定値以下、以上であるか否か、図13(c)のグ
レー部分に入るか否かを判定し、上記条件を満足する濃
度値の変化を持つポイントPを抽出する。
In step 1203 of FIG. 12, differential calculation is performed on the arithmetic mean value which is the calculation result of step 1202. The result of this processing is shown in FIG. In step 1204 of FIG. 12, point extraction is performed using the differential value that is the calculation result of step 1203. The extraction method of that point is the point P at which the differential value changes from negative to positive,
In FIG. 13B, points at which the graph is convex to the left are extracted. Next, it is judged whether the change of the density value before and after the point is less than or equal to a predetermined value or more, and whether it enters the gray portion of FIG. 13C, and the change of the density value satisfying the above condition is determined. The possessed point P is extracted.

【0085】図12のステップ1205で、図13
(a)に示すようにXa列に抽出ポイントPが存在する
と判定された場合は、図12のステップ1206へ移行
し、P点の前後の微分値の最大、最小値であるQ点とR
点のY座標の濃度値をNal(微分値が最大となるY座
標の濃度値)とNah(微分値が最大となるY座標の濃
度値)をメモリしてステップ1207へ移行する。
In step 1205 of FIG.
When it is determined that the extraction point P exists in the Xa column as shown in (a), the process proceeds to step 1206 of FIG. 12 and the maximum and minimum differential values before and after the point P, that is, the Q point and the R point.
The density value of the Y coordinate of the point is stored in Nal (the density value of the Y coordinate with the maximum differential value) and Nah (the density value of the Y coordinate with the maximum differential value), and the process proceeds to step 1207.

【0086】ステップ1207では、次のラインへの処
理に切り換えてステップ1201で全ラインの処理の終
了が確認されるまで同一の処理を繰り返す。つまり図1
4(a)に示すようにXa列後のXb列では、Xb列の
抽出ポイントP点の前後の微分値の最大、最小値である
Q点とR点のY座標の濃度値をNblとNbhとしてメ
モリして行く。各ラインでメモリされる抽出ポイントの
前の濃度変化の最小微分値、N_1は濃度値が明るい部
分から暗い部分へ最も大きく変化する箇所であり、この
濃度値より暗くなる部分、つまり抽出ポイントP点に向
かっては眼にあたる部分の濃度値であるといえる。ま
た、各ラインでメモリされる抽出ポイントの後の濃度変
化の最大微分値、N_hは濃度値が暗い部分から明るい
部分へ最も大きく変化する箇所であり、抽出ポイントP
点からこの濃度値まで明るくなる部分が眼にあたる濃度
値であるといえる。よって、N_1,N_hの値は、二
値化処理で眼の部分を黒画素(0)に、眼の回りの肌の
部分を白画素(1)に確実に変換する閾値の設定情報と
して用いることができる。
In step 1207, the process is switched to the next line, and the same process is repeated until it is confirmed in step 1201 that all lines have been processed. That is, FIG.
As shown in FIG. 4A, in the Xb column after the Xa column, the density values of the Y coordinates of the Q point and the R point, which are the maximum and minimum differential values before and after the extraction point P point of the Xb column, are set to Nbl and Nbh. As memory goes. The minimum differential value of the density change before the extraction point stored in each line, N_1, is the point at which the density value changes most from the bright part to the dark part, and the part darker than this density value, that is, the extraction point P point. It can be said that it is the density value of the part corresponding to the eye toward. Further, N_h, which is the maximum differential value of the density change after the extraction point stored in each line, is the point where the density value changes most from the dark part to the bright part, and the extraction point P
It can be said that the part that becomes bright from the point to this density value is the density value that corresponds to the eye. Therefore, the values of N_1 and N_h should be used as threshold setting information for surely converting the eye part into the black pixel (0) and the skin part around the eye into the white pixel (1) in the binarization process. You can

【0087】図12のステップ1201で全ラインの処
理の終了が確認された場合、ステップ1208へ移行
し、各ラインの抽出ポイントの濃度値(N_1,N_
h)の情報から二値化閾値を設定する。二値化閾値の設
定は、下記に示すような方法が考えられる。
When it is confirmed in step 1201 of FIG. 12 that the processing of all lines has been completed, the process proceeds to step 1208, and the density values (N_1, N_) of the extraction points of each line.
A binarization threshold value is set from the information of h). The following method can be considered for setting the binarization threshold value.

【0088】各ラインの最小微分値の濃度N_1の最
小値を更新してその値を基準に設定する。
The minimum value of the density N_1 of the minimum differential value of each line is updated and the value is set as a reference.

【0089】各ラインの最大微分値の濃度N_hの最
大値を更新してその値を基準に設定する。
The maximum value of the density N_h of the maximum differential value of each line is updated and the value is set as a reference.

【0090】各ラインの最小微分値の濃度N_1の平
均値を基準に設定する。
The average value of the density N_1 of the minimum differential value of each line is set as a reference.

【0091】各ラインの最大微分値の濃度N_hの平
均値を基準に設定する。
The average value of the density N_h of the maximum differential value of each line is set as a reference.

【0092】各ラインの全N_1,N_hの平均値を
基準に設定する。
The average value of all N_1 and N_h of each line is set as a reference.

【0093】眼の連続データと抽出される各ラインの
P点の最も明るい濃度値を基準にして微分値のレベルを
用いて階調アップ量を補正して設定する。(微分値のレ
ベルが大きい場合はP点の最も明るい濃度値にプラスす
る階調を大きく設定し、微分値にレベルが小さい場合は
P点の最も明るい濃度値にプラスする階調を小さく設定
する。)次に図15を用いて眼の開度の検出方法を説明
する。
The gradation increase amount is corrected and set using the level of the differential value with reference to the brightest density value of the point P of each line extracted from the continuous eye data. (When the level of the differential value is large, the gradation added to the brightest density value at point P is set large, and when the level is small, the gradation added to the brightest density value at point P is set small. Next, a method of detecting the eye opening will be described with reference to FIG.

【0094】前述した方法で求めた二値化閾値を用いて
連続データが出現した範囲で更に領域を限定させて二値
化処理を行う。その二値化画像は、検出対象者が正常時
と居眠り状態時で、それぞれ図15に示すようになる。
この時、黒画素に変換される眼の部分の縦方向への最大
連続数をカウントすると、正常時(開眼)ではその値が
大きくなり、居眠り時(閉眼)でのその値が小さくな
る。このようにして眼の開度検出を行う。
The binarization processing is performed by further limiting the region within the range in which continuous data appears using the binarization threshold value obtained by the above method. The binarized image is as shown in FIG. 15 when the detection target person is normal and when the person is asleep.
At this time, when the maximum number of consecutive vertical eye portions that are converted to black pixels is counted, the value becomes large in the normal state (open eyes) and becomes small in the dozing state (closed eyes). In this way, the eye opening is detected.

【0095】次に図4のステップ404における開閉眼
を判定する方法の詳細を示す。
Next, details of the method for determining the open / closed eye in step 404 of FIG. 4 will be described.

【0096】運転者が特定された場合、眼の開度の出力
値は開眼状態から閉眼状態の間で変化する。よって、開
眼・閉眼の判定を行なう基準値、つまり開閉眼を判定す
るスレッシュホールドは、その範囲内にあることにな
る。ここでそのスレッシュホールドをどう設定するのが
妥当なのかを検討した結果、居眠り状態の人は熟睡状態
ではないため完全に眼の閉じない運転者も見られること
から、開眼・閉眼の中央値をスレッシュホールドとする
ことが望ましいと思われる。
When the driver is specified, the output value of the eye opening changes between the opened state and the closed state. Therefore, the reference value for determining whether the eye is open or closed, that is, the threshold for determining whether the eye is open or closed is within the range. As a result of examining how it is appropriate to set the threshold here, some people in the state of dozing are not in a deep sleep state and some drivers do not completely close their eyes. It seems desirable to use a threshold.

【0097】次に図4のフローチャートのステップ40
5における眼の追跡方法の詳細を図16を用いて説明す
る。この処理の初期状態、つまり第1フレームでは、当
然、眼の追跡領域は設定されていないため、図3のステ
ップ304,305で眼の追跡領域が判定される。この
時、眼の中心座標と眼の追跡領域の中心座標は図16
(a)に示すように一致している。
Next, step 40 in the flow chart of FIG.
Details of the eye tracking method in 5 will be described with reference to FIG. In the initial state of this process, that is, in the first frame, the eye tracking area is not set, so the eye tracking area is determined in steps 304 and 305 of FIG. At this time, the center coordinates of the eye and the center coordinates of the eye tracking area are shown in FIG.
They match as shown in (a).

【0098】一連の処理の終了後、第2フレームの処理
に移り、図3のステップ303へ進むと、ここでは既に
眼の追跡領域が設定されているため、ステップ306に
移り、眼の開度と位置検出を行なう。この時、検出され
る眼の位置は、図16(b)に示すようになる。図16
(b)の眼の追跡領域は第1フレームで設定された位置
にあるのに対し、現在の眼の位置は2フレーム目に取り
込まれた画像データであるため、顔の動き等により眼の
中心点は眼の追跡領域に対しズレている。しかし、眼の
追跡領域内に眼がある限り眼の開度と眼の詳細な位置検
出は行なうことができる。
After the completion of the series of processes, the process moves to the second frame, and the process proceeds to step 303 in FIG. 3. Since the eye tracking region has already been set here, the process proceeds to step 306 and the eye opening degree. And position detection. At this time, the detected eye position is as shown in FIG. FIG.
While the eye tracking area in (b) is located at the position set in the first frame, the current eye position is the image data captured in the second frame. The dots are offset from the eye tracking area. However, as long as the eye is within the eye tracking area, it is possible to detect the eye opening and the detailed position of the eye.

【0099】その後、眼が正しく検出できている場合に
おいては、図3のステップ307から図4のステップ4
01〜ステップ405へと移行して行く。ステップ40
5では、図16(b)の中心座標を基準に眼の追跡領域
を更新することにより次フレームでの画像の取り込み領
域とする。よって、極端に速い眼の移動でない限り、そ
の動きに応じて眼の追跡領域を追従させることができ
る。図16(c)、(d)は第3フレーム、第4フレー
ムで取り込まれる顔画像データでの眼の位置と眼の追跡
領域の位置関係を示したものである。
After that, when the eyes are correctly detected, step 307 in FIG. 3 to step 4 in FIG.
The process proceeds from 01 to step 405. Step 40
In FIG. 5, the eye tracking area is updated based on the center coordinates shown in FIG. 16B, and is set as the image capturing area in the next frame. Therefore, unless the eye moves extremely fast, the eye tracking area can be made to follow the movement. FIGS. 16C and 16D show the positional relationship between the eye position and the eye tracking area in the face image data captured in the third frame and the fourth frame.

【0100】次に、眼の追跡ミスを犯す例と、その時の
バックアップ方法について図17〜図19を用いて説明
する。眼の基準位置の学習後において、図4のステップ
402の眼の追跡状況の判定では、事前に学習された眼
の基準位置から眼の追跡領域が所定以上離れた位置に移
動し、且つその位置に所定時間以上滞留した時に眼の追
跡ミスをしたと判定してステップ407に移行し、眼の
基準位置へ眼の追跡領域を復帰させる。
Next, an example in which an eye tracking error is committed and a backup method at that time will be described with reference to FIGS. After learning the eye reference position, in the determination of the eye tracking situation in step 402 of FIG. 4, the eye tracking region moves to a position more than a predetermined distance away from the previously learned eye reference position, and the position When it stays for a predetermined time or more, it is determined that an eye tracking error has occurred, and the process proceeds to step 407 to restore the eye tracking area to the eye reference position.

【0101】この現象を具体的な例で説明すると、図1
7に示すような眼鏡を掛けている運転者においては、眼
の回りに眼の候補データと成りうるノイズが存在し、顔
のちょっとした上下動により図18のに示すような位
置に眼の追跡領域が来てしまう場合がある。この時、本
来の検出対象である眼に相当する連続データ1が追跡領
域外に外れ、ノイズである眼鏡のフレームに相当する連
続データ2が同領域内に入り、連続データ2を選択せざ
るを得ない状況となることがある。図18のの領域で
誤った連続データを検出してしまった場合、その連続デ
ータを対象として追跡が行われてしまうので眼の追跡領
域は,と移動してしまうことになる。このような場
合において、図4のステップ402とステップ407の
処理が行われることによって、図19に示すように自動
的に眼の追跡領域を復帰させることができる。
This phenomenon will be described with reference to FIG.
In the case of a driver wearing eyeglasses as shown in FIG. 7, there is noise that can be eye candidate data around the eyes, and a slight up and down movement of the face causes the eye tracking area at the position as shown in FIG. May come. At this time, the continuous data 1 corresponding to the eye, which is the original detection target, is out of the tracking area, and the continuous data 2 corresponding to the frame of the glasses, which is noise, enters the same area and the continuous data 2 must be selected. The situation may not be obtained. If erroneous continuous data is detected in the area shown in FIG. 18, the continuous data will be tracked, and the eye tracking area will move. In such a case, the eye tracking area can be automatically restored as shown in FIG. 19 by performing the processing of steps 402 and 407 of FIG.

【0102】従って、再度検出を行うときは、眼の追跡
領域の検出までの処理を省略することができ、迅速な処
理を行わせることができる。また、再度の初期状態によ
る眼の位置検出による検出ミスのリスクがなく、精度の
高い処理を行わせることができる。
Therefore, when the detection is performed again, the processing up to the detection of the eye tracking area can be omitted, and the rapid processing can be performed. Further, there is no risk of detection error due to eye position detection in the initial state again, and highly accurate processing can be performed.

【0103】上記実施形態では、眼の連続データが常に
存在し、その移動が確認され、その位置に滞留する検出
ミスに対するバックアップ方法であることを説明した
が、図3のステップ307、ステップ308において眼
の開度値異常が定常的に発生した場合においては、再
度、初期状態からの眼の位置検出を必要とする。このよ
うな状態が発生する場合を説明すると、図20(a)に
示すように運転者の顔の右半分に強い太陽光が当たり、
影の部分となった左眼のコントラストが極端になくなっ
て連続データとして確認できなくなった場合や、同
(b)に示すように運転者が顔を速く、大きく動かし、
その状態を長く続け、眼の追跡領域が動きに追従でき
ず、その位置に留まってしまった場合は、眼の開度値が
異常である状態が定常的に発生する。
In the above embodiment, the continuous eye data is always present, its movement is confirmed, and it is a backup method for a detection error staying at that position. However, in steps 307 and 308 of FIG. When the eye opening degree abnormality constantly occurs, it is necessary to detect the eye position from the initial state again. Explaining the case where such a state occurs, as shown in FIG. 20 (a), strong sunlight hits the right half of the driver's face,
When the contrast of the left eye, which is the shaded part, has become extremely low and it is no longer possible to confirm it as continuous data, or as shown in (b), the driver moves his face quickly and greatly,
If the state continues for a long time and the eye tracking region cannot follow the movement and stays at that position, a state in which the eye opening value is abnormal occurs constantly.

【0104】そこで、この課題を解決する実施形態を、
図21の機能ブロック図と、図22〜図24のフローチ
ャートと、図25〜図34の説明図を用いて説明する。
Therefore, an embodiment for solving this problem will be described.
This will be described with reference to the functional block diagram of FIG. 21, the flowcharts of FIGS. 22 to 24, and the explanatory diagrams of FIGS. 25 to 34.

【0105】本実施形態では、図21に示すように、画
像入力手段CL2101、濃度検出手段CL2102、
ポイント抽出手段CL2103、連続データの抽出手段
CL2104、眼の位置検出手段CL2105、第1の
眼の基準領域決定手段CL2106、ポイント抽出手段
CL2107、眼の開度検出手段CL2108、眼の開
度値状況の判定手段CL2109、領域設定手段CL2
110、出現状態判定手段CL2111、再検出手段C
L2112、眼の追跡状態判定手段CL2113、第1
の復帰手段CL2114、覚醒度判定手段CL211
5、警報手段CL2116を備えている。
In the present embodiment, as shown in FIG. 21, the image input means CL2101, the density detection means CL2102,
Point extraction means CL2103, continuous data extraction means CL2104, eye position detection means CL2105, first eye reference area determination means CL2106, point extraction means CL2107, eye opening detection means CL2108, eye opening value status Judgment means CL2109, area setting means CL2
110, appearance state determination means CL2111, re-detection means C
L2112, eye tracking state determination means CL2113, first
Return means CL2114, awakening degree determination means CL211
5, the alarm means CL2116 is provided.

【0106】前記画像入力手段CL2101は、顔画像
を入力する。前記濃度検出手段CL2102は、画像入
力手段CL1201から入力された顔画像の縦方向の画
素列の濃度を検出する。前記ポイント抽出手段CL21
03は、前記画素列における濃度の高まりと、その変化
状態によりポイントを抽出する。前記連続データの抽出
手段CL2104は、隣接する画素列の画素列方向に近
接したポイントを連続して顔の横方向への連続データを
抽出する。前記眼の位置検出手段CL2105と連続デ
ータの中から眼を選択する。
The image input means CL2101 inputs a face image. The density detecting means CL2102 detects the density of the vertical pixel array of the face image input from the image inputting means CL1201. The point extracting means CL21
Reference numeral 03 extracts points according to the increase in the density of the pixel row and the change state thereof. The continuous data extracting means CL2104 continuously extracts the continuous data in the lateral direction of the face by successively adjoining the adjacent pixel rows in the pixel row direction. An eye is selected from the eye position detecting means CL2105 and continuous data.

【0107】前記眼の基準領域決定手段CL2106
は、前記眼の位置検出手段CL2105による複数回の
検出処理により眼の基準領域としての基準位置を決定す
る。前記ポイント抽出手段CL2107は、眼を含む所
定領域(眼の追跡領域)内で縦方向への濃度の高まり
と、その変化状態よりポイントを抽出する。前記眼の開
度検出手段CL2108は、抽出ポイントの隣接する画
素列の画素列方向に近接したものを連続して顔の横方向
に伸びる連続データを抽出することにより眼の詳細な位
置を検出して濃度値を読み出す範囲を特定し、その範囲
内での濃度変化状態から眼の開度を検出する。前記眼の
開度値状況の判定手段CL2109は、定常的な眼の開
度値異常状態を検出する。
The eye reference area determining means CL2106
Determines the reference position as the eye reference region by a plurality of times of detection processing by the eye position detection means CL2105. The point extracting means CL2107 extracts points based on the vertical density increase in a predetermined area including the eyes (eye tracking area) and the change state thereof. The eye opening detection means CL2108 detects the detailed position of the eye by extracting continuous data that extends in the lateral direction of the face in succession in the pixel row direction of the pixel rows adjacent to the extraction point. The range in which the density value is read out is specified, and the eye opening is detected from the density change state within the range. The eye opening value status determination means CL2109 detects a steady eye opening value abnormal state.

【0108】前記領域設定手段CL2110は、眼の開
度値状況判定手段CL2109により、眼の開度値異常
状態を検出した時に、眼の基準位置に基づき左右対称デ
ータの検出を目的とした左右領域を設定する。前記連続
データの出現状態判定手段CL2111は、左右対称デ
ータを検出する左右領域内における連続データの出現状
態を判定する。
The area setting means CL2110 is a left / right area for the purpose of detecting left-right symmetry data based on the reference position of the eye when the eye opening value status determination means CL2109 detects an abnormal eye opening value state. To set. The continuous data appearance state determination unit CL2111 determines the continuous data appearance state in the left and right regions where the left-right symmetrical data is detected.

【0109】前記再検出手段CL2112は、連続デー
タの出現状態判定結果に基づいて眼の開度検出手段CL
2108による再検出を行う。前記眼の追跡状態判定手
段CL2113は、眼を含む所定領域(眼の追跡領域)
内における眼に相当する連続データの出現位置に基づき
該データを追跡し、その追跡状態を判定する。前記第1
の復帰手段CL2114は、眼の追跡状態判定手段CL
2113が眼の追跡異常と判定した時に眼の基準位置に
眼を含む所定領域(眼の追跡領域)を復帰させる。
The re-detection means CL2112 is an eye opening detection means CL based on the appearance state determination result of continuous data.
Re-detection by 2108 is performed. The eye tracking state determination unit CL2113 is a predetermined area including the eye (eye tracking area).
The tracking state is determined by tracking the data based on the appearance position of continuous data corresponding to the eye. The first
The return means CL2114 is an eye tracking state determination means CL.
When 2113 determines that the eye tracking is abnormal, a predetermined area including the eye (eye tracking area) is returned to the reference position of the eye.

【0110】前記覚醒度判定手段CL2115は、前記
眼の開度検出手段CL2108より出力される開度値よ
り眼の開閉状態を判定し、その開閉状態の変化から覚醒
度を判定する。前記警報手段CL2116は、前記覚醒
度判定手段CL2115により覚醒度が低下していると
判定された時に警報を発する。
The awakening degree determining means CL2115 determines the open / closed state of the eye based on the opening value output from the eye opening degree detecting means CL2108, and determines the awakening degree from the change in the open / closed state. The alarm means CL2116 issues an alarm when the awakening degree determining means CL2115 determines that the awakening degree is decreasing.

【0111】次に、上記構成における動作の流れを、図
22〜図24のフローチャートと、図24〜図34の説
明図とを用いて詳細について説明する。尚、これから説
明する各ステップでの処理内容は、前述の実施形態と異
なる箇所を中心に行う。
Next, the flow of operation in the above configuration will be described in detail with reference to the flow charts of FIGS. 22 to 24 and the explanatory diagrams of FIGS. Note that the processing content in each step to be described below will be performed focusing on the points different from the above-described embodiment.

【0112】図22のステップ2203では、左右対称
の連続データを検出対象とした左右領域が設定されてい
るか否かを確認する。この領域は、図25に示すように
眼の基準位置に基づいて設定し、その大きさは、両眼の
連続データが完全に含まれる領域とする。
In step 2203 of FIG. 22, it is confirmed whether or not the left and right regions in which the left and right symmetrical continuous data are detected are set. This area is set based on the reference position of the eyes as shown in FIG. 25, and its size is an area in which continuous data of both eyes are completely included.

【0113】次に、ステップ2204において、眼の追
跡領域が設定されているかどうかをチェックする。眼の
追跡領域が設定されていない場合は、ステップ2205
に移行し、前述の実施例と同様の方法で眼の位置検出を
行う。その後、ステップ2206で眼の基準位置の学習
を行い、その学習が完了したか否かをステップ2207
で確認する。
Next, in step 2204, it is checked whether the eye tracking area is set. If the eye tracking area is not set, step 2205
Then, the eye position is detected by the same method as in the above-described embodiment. After that, in step 2206, the reference position of the eye is learned, and it is determined in step 2207 whether the learning is completed.
Check with.

【0114】眼の基準位置の学習方法の一例を説明する
と、複数回の画像全体からの眼の位置検出結果におい
て、同等位置に所定回数の眼の位置検出が成された時に
眼の基準位置を確定させる方法が考えれる。よって、眼
の基準値が学習中である時は、ステップ2207からス
テップ2201に戻り複数回の眼の位置検出を繰り返す
ことになる。
An example of the method for learning the eye reference position will be explained. In the eye position detection results from the entire image for a plurality of times, the eye reference position is determined when the eye position is detected a predetermined number of times at the same position. A method of confirming it can be considered. Therefore, when the eye reference value is being learned, the process returns from step 2207 to step 2201 and the eye position detection is repeated a plurality of times.

【0115】ステップ2207で眼の基準位置が学習さ
れたことが確認された場合は、ステップ2208に移行
し眼の追跡領域となる横方向(X方向)幅と縦方向の
(Y方向)の幅を設定する。
If it is confirmed in step 2207 that the reference position of the eye has been learned, the process proceeds to step 2208 and the width in the horizontal direction (X direction) and the width in the vertical direction (Y direction) to be the tracking region of the eye. To set.

【0116】その後、ステップ2210において、眼の
開度値が正常か否かを判断し、正常である場合は、図2
3のステップ2301に移行する。ステップ2301移
行の処理においては、前述の実施例と同様の処理内容で
あるため、ここでの説明は省略する。
Thereafter, in step 2210, it is judged whether the eye opening value is normal or not.
The process moves to step 2301 of 3. Since the processing contents of the shift to step 2301 have the same processing contents as those in the above-described embodiment, the description thereof will be omitted here.

【0117】次に図20の例で示した原因などにより、
眼の開度値異常が発生した場合の処理内容について説明
する。
Next, due to the causes shown in the example of FIG.
The contents of processing when an eye opening degree abnormality occurs will be described.

【0118】この状態は、図22のステップ2210で
眼の開度値が異常であると認識されステップ2211へ
と移行する。ステップ2211では、左右対称の連続デ
ータを検出対象とする左右領域を設定する。設定方法と
領域の大きさについては、ステップ2203の処理内容
で説明している。
In this state, it is recognized that the eye opening value is abnormal in step 2210 of FIG. 22, and the process proceeds to step 2211. In step 2211, the left and right regions where the left and right symmetrical continuous data are to be detected are set. The setting method and the size of the area have been described in the processing content of step 2203.

【0119】その後、ステップ2201に戻り、左右対
称データを検出対象として画像入力を行い、ステップ2
203から図24のステップ2401に移行する。ステ
ップ2401では、図26に示すように左右対称データ
の検出領域内での連続データの検出を行いステップ24
02に移行する。ステップ2402では、連続データの
出現判定の待ち時間を越えたか否かを判定しているが、
このフローに初めて入ってきた場合においては、当然待
ち時間が設定させていないため、ステップ2403へと
移行する。
Thereafter, the process returns to step 2201, the image is input with the symmetrical data as the detection target, and the step 2
The process moves from step 203 to step 2401 in FIG. In step 2401, continuous data is detected in the left / right symmetrical data detection area as shown in FIG.
Move to 02. In step 2402, it is determined whether or not the waiting time for determining the appearance of continuous data has been exceeded.
When entering the flow for the first time, of course, the waiting time is not set, and thus the process proceeds to step 2403.

【0120】図22のステップ2210での眼の開度値
が異常であると判定された状態が一時的な現象である場
合は、左右対称データをの検出する左右領域内での連続
データの検出を行う段階では、図25と図26に示すよ
うに両眼の連続データが安定して検出できる。よって、
ステップ2403で2個以上の安定した出現が確認で
き、ステップ2408に移行する。
When the state in which it is determined that the eye opening value is abnormal in step 2210 of FIG. 22 is a temporary phenomenon, the detection of continuous data in the left and right regions for detecting left-right symmetric data is detected. At the stage of performing, the continuous data of both eyes can be stably detected as shown in FIGS. Therefore,
Two or more stable appearances can be confirmed in step 2403, and the process proceeds to step 2408.

【0121】ステップ2403の判定で、安定して出現
する連続データの箇所を2個以上としている理由は、左
右対称データの検出領域の設定のズレや運転者の顔の動
きにより眼の連続データの他に眉の連続データも含まれ
る場合があるからである。ステップ2408では、右ハ
ンドル車である場合は、比較的光環境条件が良い運転者
の左眼の連続データを基準に眼の追跡領域を設定するこ
とで眼の位置の再検出を行う。その後、ステップ240
9で左右対称データをの検出する左右領域をクリアする
ことによって、開閉眼判定、覚醒度判定のフローに戻
る。
In the determination in step 2403, the reason why there are two or more continuous data points that appear stably is that the continuous data of the eyes is changed due to the shift of the detection area of the symmetrical data or the movement of the driver's face. This is because continuous eyebrow data may also be included. In step 2408, when the vehicle is a right-hand drive vehicle, the eye tracking area is set again by setting the eye tracking area based on the continuous data of the left eye of the driver having relatively good light environment conditions. Then, step 240
By clearing the left and right regions where the left-right symmetric data is detected in 9, the flow returns to the open / closed eye determination and the awakening degree determination.

【0122】次に、光環境が悪い状態や運転者が側方を
見ている時間が比較的長い時間(例えば1〜2分)に渡
り続いた場合について説明する。
Next, description will be made on the case where the light environment is bad or the driver looks sideways for a relatively long time (for example, 1 to 2 minutes).

【0123】上記の原因で、図22のステップ2210
で眼の開度値異常となっている場合は、図24のステッ
プ2403で左右対称データの検出領域内において、安
定して2つ以上の連続データの出現が確認できないた
め、ステップ2404に移行する。ステップ2404で
もステップ2402と同様にこのフローに初めて入って
きた場合においても連続データの出現判定待ち時間は設
定されていないため、ステップ2405に移行する。ス
テップ2405では、連続データの出現個所が0個〜2
個の範囲で絶えず変化しているか否かを確認している。
この判定内容を光環境が悪化した場合を図27〜図32
を用いて説明する。また、運転者の顔の向きが定まらず
きょろきょろとしており、車両前方以外を見ている時間
が長い場合については、図33と図34を用いて説明す
る。
Due to the above reasons, step 2210 of FIG.
If the eye opening value is abnormal in step S2403, it is not possible to stably confirm the appearance of two or more continuous data in the detection area of the symmetrical data in step S2403 of FIG. . In step 2404 as well, as in step 2402, since the appearance determination waiting time of continuous data is not set even when the process first enters this flow, the process proceeds to step 2405. In step 2405, the number of consecutive data occurrences is 0 to 2.
We are checking to see if it is constantly changing within the range of individual items.
27 to 32 in the case where the light environment deteriorates as a result of this determination.
Will be explained. Further, a case where the driver's face direction is not fixed and is sloppy and the time other than the front of the vehicle is long is described with reference to FIGS. 33 and 34.

【0124】自動車を想定した場合の光環境の悪化は、
車両が走行中である時は、絶えず変化しており、図27
に示すように運転者の左眼の部分が少し影にはなるが連
続データとして認識できる程度である場合や、図29に
示すように運転者の左眼の部分の影が濃くなり連続デー
タとして認識できなくなる場合や、図31に示すように
右眼への直射光が更に強くなり右眼も連続データとして
認識できなくなる場合が繰り返される。よって、連続デ
ータの出現状態は、図28,図30,図32に示すよう
に連続データの出現数は絶えず変化する。尚、連続デー
タの出現個数の上限は、眉の連続データを含む場合や、
眼鏡を掛けている運転者を想定すると、当然2個以上と
なることもある。
The deterioration of the light environment when an automobile is assumed is
When the vehicle is running, it is constantly changing, as shown in FIG.
As shown in Fig. 29, the driver's left eye part becomes a little shadow but can be recognized as continuous data, or as shown in Fig. 29, the driver's left eye part becomes dark and becomes continuous data. The case where it cannot be recognized, or the case where the direct light to the right eye becomes stronger and the right eye cannot be recognized as continuous data as shown in FIG. 31, is repeated. Therefore, in the appearance state of continuous data, the number of appearances of continuous data constantly changes as shown in FIGS. 28, 30, and 32. In addition, the upper limit of the number of appearances of continuous data is when the continuous data of eyebrows is included,
Assuming a driver wearing glasses, there may be two or more.

【0125】つぎに運転者が前方以外を見ている時間が
長い場合の状況について説明する。図33に示すように
運転者が横を向いている場合、図34のように左右対称
の連続データの検出領域内には、1個の連続データしか
出現しないことになる。よって、運転手が右を見たり、
左を見たりきょろきょろしている場合においても連続デ
ータの出現数は絶えず変化する。このような状況におい
て眼の再検出を行うことは、眼を誤って検出する恐れが
あるため、ステップ2410に移行し、連続データ出現
判定待ち時間t1を設定することで判定を所定時間延長
し、光環境の改善を待ったり、運転者の顔の位置が落ち
着くのを待っての眼の再検出ができるようにする。
Next, description will be made regarding a situation in which the driver is looking at a place other than the front for a long time. When the driver is facing sideways as shown in FIG. 33, only one piece of continuous data appears in the left-right symmetrical continuous data detection area as shown in FIG. So the driver looks at the right,
The number of appearances of continuous data constantly changes even when looking to the left or looking around. Re-detecting the eyes in such a situation may cause the eyes to be erroneously detected, so the process proceeds to step 2410 and the determination is extended by a predetermined time by setting the continuous data appearance determination waiting time t1. Allows re-detection of the eyes waiting for improvement of the light environment or waiting for the driver's face position to settle down.

【0126】図24のステップ2403で安定した2個
以上の連続データの出現が認識されず、また、ステップ
2405で連続データの出現箇所が絶えず変化している
ことも認識されない場合は、ステップ2406に移行
し、所定回数処理しても連続データが全く出現しないか
を確認する。
If the stable appearance of two or more continuous data is not recognized in step 2403 of FIG. 24, and that the appearance position of continuous data is not constantly changed in step 2405, the process proceeds to step 2406. It is confirmed whether continuous data does not appear at all even after the process is performed a predetermined number of times.

【0127】ステップ2406に該当する場面として
は、運転者の顔の動きが大きくカメラに運転者の顔が写
らなくなってしまった場合がある。その例をあげると、
運転者がグローブボックスの中で何かを探している時な
どに当たる。このような状況下と考えられる場合は、ス
テップ2411に移行し、連続データ出現判定待ち時間
t2を設定し、判定を所定時間延長する。この待ち時間
t2は運転者の交替に要する時間を目安に設定する。要
するに連続データの出現が全くなくなる場合は、顔が大
きく動く場合の他に、運転者が交替する場合もあり、運
転者が交替したと思われる場合においては、初期状態か
らの眼の位置検出を必要とするからである。ステップ2
410での待ち時間t1については、光環境が悪い状態
や運転者がきょろきょろしている状態は、比較的長い時
間続く場合もあると考えられることより、最低でも1〜
2分以上で設定することが好ましいと思われる。
As a scene corresponding to step 2406, there is a case where the movement of the driver's face is so large that the driver's face is no longer visible in the camera. For example,
For example, when the driver is looking for something in the glove box. If it is considered that the situation is under such a condition, the process proceeds to step 2411, the continuous data appearance determination waiting time t2 is set, and the determination is extended by a predetermined time. This waiting time t2 is set with reference to the time required for changing the driver. In short, if the appearance of continuous data disappears at all, in addition to the case of a large movement of the face, the driver may change, and if it seems that the driver has changed, the eye position detection from the initial state should be performed. Because it is necessary. Step two
As for the waiting time t1 at 410, it is considered that a bad light environment or a driver's rolling condition may last for a relatively long time.
It seems preferable to set it in 2 minutes or more.

【0128】ステップ2401またはステップ2411
で連続データの出現待ち時間の設定後は、ステップ24
04での判断により、再度待ち時間設定が成されること
なく待ち時間内でステップ2403を通ることにより安
定した2個以上の連続データの出現があるか否かを判断
する。この待ち時間内に安定した2個以上の連続データ
の出現がない場合は、ステップ2402からステップ2
407に移行し、眼の追跡流域、左右対称データの検出
領域、判定待ち時間をクリアし初期状態からの眼の位置
検出に戻す。
Step 2401 or Step 2411
After setting the appearance waiting time of continuous data in step 24,
Based on the determination at 04, it is determined whether or not there is a stable appearance of two or more continuous data by passing through step 2403 within the waiting time without the waiting time setting being performed again. If there is no stable occurrence of two or more continuous data within this waiting time, the steps 2402 to 2
In step 407, the eye tracking basin, the detection area of the symmetrical data, and the determination waiting time are cleared, and the eye position detection is returned from the initial state.

【0129】つぎに、さらに他の実施形態について図3
5と図36のフローチャートを用いて説明する。
Next, another embodiment will be described with reference to FIG.
5 and the flowchart of FIG. 36.

【0130】前述の実施形態では、複数回の眼の開度値
の出力状態や、眼の位置検出によって眼の基準位置を学
習していた。しかし、前者の方法では眼の開度の出力値
自体にノイズが含まれていた場合、眼でない連続データ
を眼と誤認識して基準位置を設定したり、また、瞬きが
極端に少ない運転者であった場合は、正しく眼の連続デ
ータを捉えていても、その位置を眼の基準位置としてな
かなか学習できないことがある。また、後者の方法では
眼の基準位置を学習するためには、初期状態からの眼の
位置検出を繰り返す必要があるため、最初に眼の基準位
置を学習するまでに時間がかかるという問題点がある。
In the above-described embodiment, the reference position of the eye is learned by outputting the eye opening value multiple times and detecting the eye position. However, in the former method, when the output value of the eye opening itself contains noise, the continuous data that is not an eye is mistakenly recognized as an eye to set the reference position, and the driver who has extremely few blinks In this case, even if the continuous eye data is correctly captured, it may be difficult to learn the position as the reference position of the eye. Further, in the latter method, in order to learn the reference position of the eye, it is necessary to repeat the detection of the eye position from the initial state, so there is a problem that it takes time to learn the reference position of the eye first. is there.

【0131】そこで、本実施形態では、眼の追跡、開度
値状況の判定により、その異常が認められた時に、その
処理において検出された眼の位置を基準に左右対称デー
タを検出する左右領域を設定し、該領域に出現する連続
データの出現状態から眼の位置の再検出を行う。この際
検出された眼の位置データを基に眼の基準位置を学習す
る。
Therefore, in the present embodiment, the left and right regions in which the left-right symmetric data is detected based on the eye position detected in the processing when the abnormality is recognized by the eye tracking and the determination of the opening value state. Is set, and the eye position is re-detected from the appearance state of the continuous data appearing in the area. The reference position of the eye is learned based on the eye position data detected at this time.

【0132】この方法によれば、再検出した連続データ
が眼か否かの判定を行うための情報として開度値に相当
する値の他に、連続データの左右対称条件、眼を開けて
いる場合に認識できる連続データの上に凸形状となる特
徴などを用いることが可能であるため、眼の基準位置の
学習精度を高めることができる。また、眼の再検出を行
う領域を左右対称データの検出領域に限定しているた
め、学習時間を短縮することもできる。
According to this method, as the information for determining whether or not the re-detected continuous data is an eye, in addition to the value corresponding to the opening value, the symmetrical condition of the continuous data, the eye is opened. Since it is possible to use a feature having a convex shape on the continuous data that can be recognized in this case, it is possible to improve the learning accuracy of the reference position of the eye. Further, since the area where the re-detection of the eyes is performed is limited to the detection area of the symmetrical data, the learning time can be shortened.

【0133】次に、図35,図36のフローチャートを
用いて処理内容の詳細について説明する。尚、これから
説明する各ステップでの処理内容は、前述の実施形態と
異なる箇所を中心に行う。
Details of the processing contents will be described below with reference to the flowcharts of FIGS. Note that the processing content in each step to be described below will be performed focusing on the points different from the above-described embodiment.

【0134】図35のステップ3508では、眼の追
跡、開度値の両面での異常状態を認識する。尚、眼の基
準位置が学習されるまでの眼の追跡状況の判定は、眼の
位置検出が成された位置を基に行う。ステップ3508
で異常が確認されない場合はステップ3512に移行
し、前述の実施形態と同様に閉眼の出力パターンからの
覚醒度の判定を繰り返すフローを回る。
In step 3508 of FIG. 35, eye tracking and an abnormal state on both sides of the opening value are recognized. The determination of the eye tracking condition until the reference position of the eye is learned is performed based on the position where the eye position is detected. Step 3508
If no abnormality is confirmed in step 3512, the flow shifts to step 3512, and the flow of repeating the determination of the awakening degree from the output pattern of closed eyes is repeated as in the above-described embodiment.

【0135】ステップ3508で眼の追跡、開度値状況
に異常が確認された場合はステップ3509に移行す
る。ステップ3509では眼の基準位置が学習されてい
るか否かの判定を行う。処理開始直後においては、当
然、眼の基準位置は学習されていないため、ステップ3
510に移行する。ステップ3510では左右対称デー
タを検出する左右領域を設定する。この左右対称データ
を検出対象とした領域は、ステップ3505で検出した
眼の位置を基準にして行う。その後、ステップ3510
に戻り、前述の実施形態同様に左右対称データをの検出
する左右領域内に出現する連続データの出現状態を判定
するフローに入る。
If it is determined in step 3508 that the eye tracking and the degree of opening value are abnormal, the process proceeds to step 3509. In step 3509, it is determined whether or not the eye reference position has been learned. Immediately after the start of the process, the reference position of the eye has not been learned, so the step 3
Move to 510. In step 3510, the left and right regions for detecting the left-right symmetrical data are set. The area for which the left-right symmetric data is detected is based on the eye position detected in step 3505. Then, step 3510
Returning to, the flow enters into the determination process of the appearance state of continuous data that appears in the left and right regions where the left and right symmetrical data is detected, as in the above-described embodiment.

【0136】図36のステップ3603では、左右対称
データの検出領域内に連続データが安定して2個以上出
現しているか否かの判定を行い、その出現が確認された
場合は、ステップ3608に移行し、出現した連続デー
タを基準にした眼の位置の再検出を行い、ステップ36
09で眼の基準位置の学習を行う。その後のステップ3
610では、眼の基準位置の学習がOKかどうかの判定
を行う。このOK判定には、再検出された眼の位置のば
らつきが少ないか、その連続データを対象とした開度値
が眼に相当する大きさで変化しているかなどの条件も含
まれている。
In step 3603 of FIG. 36, it is determined whether or not two or more continuous data are stably appearing in the detection area of the left-right symmetric data, and if the appearance is confirmed, the process proceeds to step 3608. The position of the eye is re-detected on the basis of the continuous data that has been transferred and appeared, and step 36
At 09, the reference position of the eye is learned. Subsequent step 3
At 610, it is determined whether learning of the eye reference position is OK. This OK determination also includes conditions such as whether there is little variation in the re-detected eye position, or whether the opening value for the continuous data has changed by a size corresponding to the eye.

【0137】ステップ3610で前記条件を満たした場
合は、ステップ3611で左右対称データを検出する左
右領域をクリアすることにより、覚醒度判定を行うフロ
ーに戻す。
If the above conditions are satisfied in step 3610, the right and left regions where the left-right symmetric data are detected are cleared in step 3611, and the flow returns to the awakening level determination.

【0138】尚、復帰後の覚醒度判定のフローにおいて
図35のステップ3508で再び、眼の追跡、開度値異
常が確認された場合においては、ステップ3509で眼
の基準位置が学習されていると判定しステップ3515
に移行する。ステップ3515では、眼の追跡、開度値
異常の状況が定常的なものであるか否かを判定してい
る。ステップ3515で定常的な異常でないと判定され
た場合は、ステップ3511に移行し、前述の実施例と
同様に眼の基準位置へ追跡領域を復帰させ短時間でのバ
ックアップが可能とする。
In the flow of the awakening degree determination after the return, when the eye tracking and the opening value abnormality are confirmed again in step 3508 of FIG. 35, the reference position of the eye is learned in step 3509. It is determined that step 3515
Move to. In step 3515, it is determined whether or not the condition of the eye tracking and the opening degree abnormality is steady. If it is determined in step 3515 that the abnormality is not a steady abnormality, the process proceeds to step 3511, and the tracking area is returned to the reference position of the eye to enable backup in a short time as in the above-described embodiment.

【0139】ステップ3515で定常的な異常であると
判定された場合は、ステップ3516に移行し、眼の追
跡領域と眼の基準位置をクリアして、初期状態での眼の
位置検出ができるようにしてステップ3501に戻す。
この処理は覚醒度判定のフローが回っている際に、運転
者が交替した場合を想定して用意しているものである。
If it is determined in step 3515 that the abnormality is steady, the process proceeds to step 3516 to clear the eye tracking area and the eye reference position so that the eye position can be detected in the initial state. Then, the process returns to step 3501.
This processing is prepared on the assumption that the driver is replaced while the flow of the awakening degree determination is running.

【0140】図36のステップ3603で、左右対称デ
ータの検出領域内に連続データが安定して2個以上出現
が確認されない場合は、ステップ3604に以降の処理
に移り、前述の実施例と同様に連続データの出現判定の
待ち時間を設定し、その待ち時間の範囲で、安定して出
現する2個以上の連続データの出現の確認を続ける。
In step 3603 of FIG. 36, if two or more consecutive data are not stably confirmed to appear in the detection area of the left-right symmetric data, the process proceeds to step 3604 and the same as the above-mentioned embodiment. A waiting time for determining the appearance of continuous data is set, and confirmation of the appearance of two or more continuous data that appears stably is continued within the waiting time range.

【0141】ステップ3602で待ち時間を越えた場合
はステップ3607に移行し眼の追跡領域と左右対称デ
ータを検出する左右領域、判定待ち時間をクリアするこ
とにして、初期状態での眼の位置検出ができるようにし
てステップ3501に戻す。
If the waiting time is exceeded in step 3602, the process moves to step 3607 to clear the eye tracking area and the left and right areas for detecting left-right symmetry data, and the judgment waiting time to detect the eye position in the initial state. Then, the process returns to step 3501.

【0142】尚、このフローを流れることは、最初に図
35のステップ3505で検出した眼の位置が誤ってい
る場合と、左右対称データを検出する左右領域で眼の基
準位置の学習中に運転者が交替した場合などがある。
It should be noted that the flow of this flow means that the operation is performed when the position of the eye initially detected in step 3505 of FIG. 35 is incorrect and when the reference position of the eye is learned in the left and right regions where the symmetrical data is detected. There is a case where the person is replaced.

【0143】以上の説明で明らかなように、本発明は眼
の追跡状態や開度値状況をモニターすることによって異
常処理を認識し、異常があった場合に事前に学習した眼
の基準位置に眼の追跡領域を戻すことにより、顔の速い
動きや一時的な光環境の悪化などによる眼の追跡ミスが
あっても必要最小限の時間で精度の高い眼の再検出がで
きる。よって、全体の処理時間に占める開閉眼判定の処
理時間比率がアップするので居眠り検出の精度を向上さ
せることができる。
As is clear from the above description, the present invention recognizes abnormality processing by monitoring the eye tracking state and the opening value state, and when there is abnormality, the eye reference position learned in advance is used. By returning the eye tracking area, highly accurate re-detection of the eye can be performed in the minimum necessary time even if there is an eye tracking error due to a fast movement of the face or a temporary deterioration of the light environment. Therefore, since the processing time ratio of the open / closed eye determination in the entire processing time is increased, the accuracy of the drowsiness detection can be improved.

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

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

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

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

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

【図5】眼の位置検出の動作を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an operation of eye position detection.

【図6】眼の位置検出に関する説明図である。FIG. 6 is an explanatory diagram related to eye position detection.

【図7】眼の位置検出に関する説明図である。FIG. 7 is an explanatory diagram related to eye position detection.

【図8】眼の位置検出に関する説明図である。FIG. 8 is an explanatory diagram related to eye position detection.

【図9】眼の位置検出に関する説明図である。FIG. 9 is an explanatory diagram related to eye position detection.

【図10】眼の位置検出に関する説明のための図表であ
る。
FIG. 10 is a chart for explaining eye position detection.

【図11】眼の位置検出に関する説明図である。FIG. 11 is an explanatory diagram related to eye position detection.

【図12】眼の開度値を求める二値化閾値の算出方法を
示すフローチャートである。
FIG. 12 is a flowchart showing a method of calculating a binarization threshold value for obtaining an eye opening value.

【図13】二値化閾値を求める方法に関する説明図であ
る。
FIG. 13 is an explanatory diagram related to a method of obtaining a binarization threshold value.

【図14】二値化閾値を求める方法に関する説明図であ
る。
FIG. 14 is an explanatory diagram related to a method of obtaining a binarization threshold value.

【図15】眼の開度値の出力方法に関する説明図であ
る。
FIG. 15 is an explanatory diagram related to a method of outputting an eye opening value.

【図16】眼の追跡方法に関する説明図である。FIG. 16 is an explanatory diagram regarding an eye tracking method.

【図17】眼の追跡領域の復帰方法に関する説明図であ
る。
FIG. 17 is an explanatory diagram regarding a method of returning the eye tracking region.

【図18】眼の追跡領域の復帰方法に関する説明図。FIG. 18 is an explanatory diagram related to a method of returning the eye tracking region.

【図19】眼の追跡領域の復帰方法に関する説明図であ
る。
FIG. 19 is an explanatory diagram related to a method of returning an eye tracking region.

【図20】一実施形態の問題点に関する説明図である。FIG. 20 is a diagram illustrating a problem of one embodiment.

【図21】他の実施形態の構成を示す機能ブロック図で
ある。
FIG. 21 is a functional block diagram showing a configuration of another embodiment.

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

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

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

【図25】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 25 is an explanatory diagram regarding a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図26】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 26 is an explanatory diagram regarding a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図27】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 27 is an explanatory diagram relating to a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図28】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 28 is an explanatory diagram related to a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図29】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 29 is an explanatory diagram related to a method of determining the appearance state of continuous data within a detection area of left-right symmetric data.

【図30】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 30 is an explanatory diagram regarding a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図31】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 31 is an explanatory diagram regarding a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図32】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 32 is an explanatory diagram related to a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図33】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 33 is an explanatory diagram related to a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図34】左右対称データの検出領域内での連続データ
の出現状態の判定方法に関する説明図である。
FIG. 34 is an explanatory diagram relating to a method of determining the appearance state of continuous data in a detection region of left-right symmetric data.

【図35】更に他の実施形態の全体動作を示すフローチ
ャートである。
FIG. 35 is a flowchart showing the overall operation of still another embodiment.

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

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

CL1 画像入力手段 CL2 顔の縦方向の画素列の濃度検出手段 CL3 ポイント抽出手段 CL4 連続データの抽出手段 CL5 眼の位置検出手段 CL6 眼の追跡領域内でのポイント抽出手段 CL7 眼の開度検出手段 CL8 眼の基準位置決定手段 CL9 眼の追跡状態判定手段 CL10 眼の追跡領域の復帰手段 CL11 覚醒度判定手段 CL12 警報手段 21 TVカメラ 22 A−D変換器 23 画像メモリ 24 画像データ演算回路 25 眼の位置検出回路 26 開閉眼検出回路 27 バックアップ回路 28 覚醒度判定回路 29 警報装置 CL1 image input means CL2 Face-direction vertical pixel row density detection means CL3 point extraction means CL4 Continuous data extraction means CL5 Eye position detection means CL6 Point extraction means within the tracking area of the eye CL7 Eye opening detection means CL8 Eye reference position determination means CL9 Eye tracking state determination means CL10 Eye tracking area resetting means CL11 Awakening level determination means CL12 alarm means 21 TV camera 22 A-D converter 23 Image memory 24 Image data operation circuit 25 eye position detection circuit 26 Open / closed eye detection circuit 27 Backup circuit 28 Awakening level judgment circuit 29 Alarm device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平10−143669(JP,A) 特開 平10−63850(JP,A) 特開 平10−236181(JP,A) 特開 平9−270010(JP,A) 特開 平7−208927(JP,A) (58)調査した分野(Int.Cl.7,DB名) A61B 5/18 B60K 28/06 G06T 1/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-10-143669 (JP, A) JP-A-10-63850 (JP, A) JP-A-10-236181 (JP, A) JP-A-9- 270010 (JP, A) JP-A-7-208927 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) A61B 5/18 B60K 28/06 G06T 1/00

Claims (15)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 顔画像を入力する顔画像入力手段と、該
顔画像入力手段より入力された顔の画像データの縦方向
の画素列における濃度の局所的な高まり毎に画素を定め
て抽出点とし、該抽出点と隣接する画素列の抽出点が近
接して顔の横方向へ延びる連続データに基づき眼の位置
を特定する眼の位置特定手段と、 該特定された眼の位置を含む所定領域を設定する所定領
域設定手段と、該所定領域設定手段で設定された所定領
域内で前記連続データに基づき眼の位置を特定し、該連
続データの濃度変化状態から眼の開度を検出する眼の開
度検出手段とを備えた眼の状態検出装置において、 前記連続データに基いて眼が存在すると予測できる眼の
基準領域を決定し、記憶する第1の眼の基準領域決定手
段と、 前記所定領域内における眼の連続データを追跡し、該連
続データの状態に基ずいて追跡状態が正常か否かを判定
する眼の追跡状態判定手段と、 該眼の追跡状態判定手段により眼の追跡異常と判定され
たとき、前記基準領域に前記所定領域を復帰する第1の
復帰手段とを設けたことを特徴とする眼の状態検出装
置。
1. A face image input unit for inputting a face image, and a pixel is defined and an extraction point is determined for each local increase in density in a vertical pixel array of face image data input by the face image input unit. And an eye position specifying means for specifying the eye position based on continuous data in which the extraction points of the pixel rows adjacent to the extraction point are adjacent and extend in the lateral direction of the face, and a predetermined position including the specified eye position. Predetermined region setting means for setting a region, and the eye position is specified based on the continuous data within the predetermined region set by the predetermined region setting means, and the eye opening is detected from the density change state of the continuous data. In an eye condition detection device including an eye opening detection means, a first eye reference area determination means that determines and stores a reference area of an eye that can be predicted to exist based on the continuous data, Eye continuous data within the predetermined area A tracking condition of the eye and a tracking condition determining means for determining whether the tracking condition is normal based on the condition of the continuous data, and an eye tracking condition determining means for determining an eye tracking abnormality, An eye condition detection device, comprising: a first returning unit that returns the predetermined region to the reference region.
【請求項2】 顔画像を入力する顔画像入力手段と、該
顔画像入力手段より入力された顔の画像データの縦方向
の画素列における濃度の局所的な高まり毎に画素を定め
て抽出点とし、該抽出点と隣接する画素列の抽出点が近
接して顔の横方向へ延びる連続データに基づき眼の位置
を特定する眼の位置特定手段と、 該特定された眼の位置を含む所定領域を設定する所定領
域設定手段と、該所定領域設定手段で設定された所定領
域内で前記連続データに基づき眼の位置を特定し、該連
続データの濃度変化状態から眼の開度を検出する眼の開
度検出手段とを備えた眼の状態検出装置において、 前記連続データに基いて眼が存在すると予測できる眼の
基準領域を決定し、記憶する第1の眼の基準領域決定手
段と、 前記所定領域内における眼の連続データを追跡し、該連
続データの状態に基ずいて追跡状態が正常か否かを判定
する眼の追跡状態判定手段と、 該眼の追跡状態判定手段により眼の追跡異常と判定され
たとき、前記基準領域に基づき左右両眼の連続データを
検出し得る左右領域を設定する左右領域設定手段と、 前記左右領域内に連続データが出現しているか否かを判
定する連続データの出現状態判定手段と、 前記左右領域内に連続データが出現していると判定され
たときは該連続データに基いて前記眼の開度検出手段に
前記検出を再度行なわせる再検出手段とを設けたことを
特徴とする眼の状態検出装置。
2. A face image input means for inputting a face image, and a pixel is defined and an extraction point is determined for each local increase in density in a vertical pixel array of the face image data input by the face image input means. And an eye position specifying means for specifying the eye position based on continuous data in which the extraction points of the pixel rows adjacent to the extraction point are adjacent and extend in the lateral direction of the face, and a predetermined position including the specified eye position. Predetermined region setting means for setting a region, and the eye position is specified based on the continuous data within the predetermined region set by the predetermined region setting means, and the eye opening is detected from the density change state of the continuous data. In an eye condition detection device including an eye opening detection means, a first eye reference area determination means that determines and stores a reference area of an eye that can be predicted to exist based on the continuous data, Eye continuous data within the predetermined area A tracking condition of the eye and a tracking condition determining means for determining whether the tracking condition is normal based on the condition of the continuous data, and an eye tracking condition determining means for determining an eye tracking abnormality, A left / right area setting unit that sets left and right areas that can detect continuous data of the left and right eyes based on the reference area, and a continuous data appearance state determination unit that determines whether continuous data appears in the left and right areas And re-detection means for causing the eye opening detection means to perform the detection again based on the continuous data when it is determined that continuous data appears in the left and right regions. Eye condition detection device.
【請求項3】 顔画像を入力する顔画像入力手段と、該
顔画像入力手段より入力された顔の画像データの縦方向
の画素列における濃度の局所的な高まり毎に画素を定め
て抽出点とし、該抽出点と隣接する画素列の抽出点が近
接して顔の横方向へ延びる連続データに基づき眼の位置
を特定する眼の位置特定手段と、 該特定された眼の位置を含む所定領域を設定する所定領
域設定手段と、該所定領域設定手段で設定された所定領
域内で前記連続データに基づき眼の位置を特定し、該連
続データの濃度変化状態から眼の開度を検出する眼の開
度検出手段とを備えた眼の状態検出装置において、 前記所定領域内における眼の連続データを追跡し、該連
続データの状態に基ずいて追跡状態が正常か否かを判定
する眼の追跡状態判定手段と、 該眼の追跡状態判定手段により眼の追跡異常と判定され
たとき、前記基準領域に基づき左右両眼の連続データを
検出し得る左右領域を設定する左右領域設定手段と、 前記左右領域内に連続データが出現しているか否かを判
定する連続データの出現状態判定手段と、 前記連続データが出現していると判定されたときは該連
続データに基いて前記眼の位置特定手段に前記検出を再
度行わせる再特定手段と、 前記再特定手段により特定された眼の位置情報を基に眼
が存在すると予測できる眼の基準領域を決定し、記憶す
る第2の眼の基準領域決定手段と、 前記眼の追跡状態判定手段により眼の追跡異常と判定さ
れたとき、前記基準領域に前記所定領域を復帰する第2
の復帰手段とを設けたことを特徴とする眼の状態検出装
置。
3. A face image input means for inputting a face image, and a pixel is defined and an extraction point is determined for each local increase in density in a vertical pixel row of the face image data input by the face image input means. And an eye position specifying means for specifying the eye position based on continuous data in which the extraction points of the pixel rows adjacent to the extraction point are adjacent and extend in the lateral direction of the face, and a predetermined position including the specified eye position. Predetermined region setting means for setting a region, and the eye position is specified based on the continuous data within the predetermined region set by the predetermined region setting means, and the eye opening is detected from the density change state of the continuous data. In an eye state detection device having an eye opening detection means, tracking eye continuous data in the predetermined region, the eye to determine whether the tracking state is normal based on the state of the continuous data And a tracking condition of the eye. When it is determined that the eye tracking abnormality by the state determination unit, the left and right region setting unit that sets the left and right regions that can detect the continuous data of the left and right eyes based on the reference region, and the continuous data appears in the left and right regions. Appearance determination means for continuous data to determine whether or not, and when it is determined that the continuous data has appeared, re-determining the eye position specifying means to perform the detection again based on the continuous data. An identifying unit, a second eye reference region determining unit that determines and stores an eye reference region that can be predicted to exist based on the eye position information identified by the re-identifying unit, and the eye tracking A second method of returning the predetermined region to the reference region when the state determination unit determines that the eye tracking is abnormal.
And a return means for the eye.
【請求項4】 請求項1,2,3記載の眼の状態検出装
置であって、 前記第1又は第2の基準領域決定手段は、眼の位置の検
出処理を繰り返して眼の基準領域を学習することを特徴
とする眼の状態検出装置。
4. The eye state detection device according to claim 1, wherein the first or second reference area determination unit repeats eye position detection processing to determine an eye reference area. An eye condition detection device characterized by learning.
【請求項5】 請求項1,2,3記載の眼の状態検出装
置であって、 前記第1又は第2の基準領域決定手段は、眼の開度値の
時系列の変化状態を判定して眼の基準領域を学習するこ
とを特徴とする眼の状態検出装置。
5. The eye state detecting device according to claim 1, 2, or 3, wherein the first or second reference region determining means determines a time-series change state of an eye opening value. An eye condition detecting device characterized by learning a reference region of the eye.
【請求項6】 請求項1,2,3記載の眼の状態検出装
置であって、 前記第1又は第2の基準領域決定手段は、複数回の眼の
位置の検出処理により安定的な眼の位置の出力がなされ
たときに眼の基準領域を決定することを特徴とする眼の
状態検出装置。
6. The eye state detection device according to claim 1, wherein the first or second reference region determination means is a stable eye by a plurality of eye position detection processes. An eye condition detection device, which determines a reference region of the eye when the position of is output.
【請求項7】 請求項2記載の眼の状態検出装置であっ
て、 前記再検出手段は、前記左右領域内に横方向に所定間隔
で安定して検出できる2個の連続データがあるときに再
検出を行うことを特徴とする眼の状態検出装置。
7. The eye condition detection device according to claim 2, wherein the re-detection unit has two consecutive data that can be stably detected laterally at predetermined intervals in the left and right regions. An eye condition detecting device characterized by performing re-detection.
【請求項8】 請求項3記載の眼の状態検出装置であっ
て、 前記再特定手段は、前記左右領域内に横方向に所定間隔
で安定して検出できる2個の連続データがあるときに再
検出を行うことを特徴とする眼の状態検出装置。
8. The eye condition detecting apparatus according to claim 3, wherein the re-identifying unit has two consecutive data that can be stably detected at predetermined intervals in the lateral direction in the left and right regions. An eye condition detecting device characterized by performing re-detection.
【請求項9】 請求項2、3、7、8記載の眼の状態検
出装置であって、 前記左右領域内の連続データが安定して検出できないと
き、前記判定を所定時間延長する判定延長手段を設けた
ことを特徴とする眼の状態検出装置。
9. The eye condition detection device according to claim 2, 3, 7, or 8, wherein the determination extension means extends the determination for a predetermined time when continuous data in the left and right regions cannot be stably detected. An eye condition detecting device comprising:
【請求項10】 請求項2、3、7、8記載の眼の状態
検出装置であって、 前記左右領域内の連続データが検出できないとき、前記
判定を所定時間延長する判定延長手段を設けたことを特
徴とする眼の状態検出装置。
10. The eye state detection device according to claim 2, further comprising a determination extension unit that extends the determination for a predetermined time when continuous data in the left and right regions cannot be detected. An eye condition detection device characterized by the above.
【請求項11】 請求項2、3、7、8記載の眼の状態
検出装置であって、 前記左右領域内の連続データが安定して検出できないと
き及び、前記左右領域内の連続データが検出できないと
き、前記判定を所定時間延長する判定延長手段を設け、 該判定延長手段は連続データが安定して検出できないと
きよりも検出できないときの延長時間を長く設定するこ
とを特徴とする眼の状態検出装置。
11. The eye condition detecting device according to claim 2, 3, 7, or 8, wherein continuous data in the left and right regions cannot be stably detected, and continuous data in the left and right regions are detected. When it is not possible, a judgment extension means for extending the judgment for a predetermined time is provided, and the judgment extension means sets the extension time when the continuous data cannot be detected longer than when it cannot be detected stably. Detection device.
【請求項12】 請求項1〜11記載の眼の状態検出装
置であって、 前記追跡状態判定手段は、前記所定領域内の連続データ
が移動し、その位置に所定時間滞留したとき眼の追跡異
常と判定することを特徴とする眼の状態検出装置。
12. The eye state detection device according to claim 1, wherein the tracking state determination means tracks the eye when the continuous data in the predetermined area moves and stays at that position for a predetermined time. An eye condition detection device characterized by determining abnormality.
【請求項13】 請求項1〜11記載の眼の状態検出装
置であって、 前記追跡状態判定手段は、前記所定領域内の連続データ
が所定時間検出できないとき眼の追跡異常と判定するこ
とを特徴とする眼の状態検出装置。
13. The eye state detection device according to claim 1, wherein the tracking state determination means determines that eye tracking is abnormal when continuous data in the predetermined region cannot be detected for a predetermined time. A characteristic eye condition detection device.
【請求項14】 請求項1〜11記載の眼の状態検出装
置であって、 前記追跡状態判定手段は、前記眼の開度値が所定範囲を
超えて定常的に検出されるとき眼の追跡異常と判定する
ことを特徴とする眼の状態検出装置。
14. The eye state detection device according to claim 1, wherein the tracking state determination means tracks the eye when the eye opening value exceeds a predetermined range and is constantly detected. An eye condition detection device characterized by determining abnormality.
【請求項15】 請求項1〜14記載の眼の状態検出装
置であって、 前記眼の開度検出手段により出力される眼の開度状態を
判定し、その開閉状態の変化から覚醒度を判定する覚醒
度判定手段と、 該覚醒度判定手段により覚醒度が低下していると判定さ
れたとき警報を発する警報手段とを設けたことを特徴と
する居眠り運転警報装置。
15. The eye state detection device according to claim 1, wherein the eye opening state output by the eye opening detecting means is determined, and the awakening degree is determined from the change in the open / closed state. A drowsy driving warning device, comprising: an awakening level determining means for determining; and an alarming means for issuing an alarm when the awakening level determining means determines that the awakening level is low.
JP31234098A 1998-11-02 1998-11-02 Eye condition detection device and drowsy driving alarm device Expired - Fee Related JP3531503B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31234098A JP3531503B2 (en) 1998-11-02 1998-11-02 Eye condition detection device and drowsy driving alarm device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31234098A JP3531503B2 (en) 1998-11-02 1998-11-02 Eye condition detection device and drowsy driving alarm device

Publications (2)

Publication Number Publication Date
JP2000142164A JP2000142164A (en) 2000-05-23
JP3531503B2 true JP3531503B2 (en) 2004-05-31

Family

ID=18028071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31234098A Expired - Fee Related JP3531503B2 (en) 1998-11-02 1998-11-02 Eye condition detection device and drowsy driving alarm device

Country Status (1)

Country Link
JP (1) JP3531503B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005013626A (en) * 2003-06-27 2005-01-20 Nissan Motor Co Ltd Arousal detection device
JP4123077B2 (en) * 2003-06-27 2008-07-23 日産自動車株式会社 Driver status detection device
JP4687150B2 (en) * 2005-03-08 2011-05-25 日産自動車株式会社 Direct light detector
JP5915000B2 (en) * 2011-06-13 2016-05-11 ソニー株式会社 Information processing apparatus and program
JP6056746B2 (en) * 2013-12-18 2017-01-11 株式会社デンソー Face image photographing device and driver state determination device
JP7320188B2 (en) * 2019-05-07 2023-08-03 マツダ株式会社 Driver Abnormal Posture Detector
JP7348005B2 (en) * 2019-09-10 2023-09-20 矢崎総業株式会社 Image processing device, image processing method, and image processing program
JP7524542B2 (en) * 2020-01-07 2024-07-30 トヨタ自動車株式会社 Vehicle monitoring device
WO2024048185A1 (en) * 2022-08-31 2024-03-07 日本電気株式会社 Occupant authentication device, occupant authentication method, and computer-readable medium

Also Published As

Publication number Publication date
JP2000142164A (en) 2000-05-23

Similar Documents

Publication Publication Date Title
US7331671B2 (en) Eye tracking method based on correlation and detected eye movement
US7362885B2 (en) Object tracking and eye state identification method
US7689008B2 (en) System and method for detecting an eye
JP4104867B2 (en) Night vision system
CN105286802A (en) Driver fatigue detection method based on video information
JP2000198369A (en) Eye condition detection device, drowsy driving alarm device
JP3531503B2 (en) Eye condition detection device and drowsy driving alarm device
JP3063504B2 (en) Image data feature detection device
Yang et al. Recognition of visual-related non-driving activities using a dual-camera monitoring system
Rani et al. Development of an Automated Tool for Driver Drowsiness Detection
US7620216B2 (en) Method of tracking a human eye in a video image
Guo et al. Monitoring and detection of driver fatigue from monocular cameras based on Yolo v5
JP3312562B2 (en) Dozing state detection device
JP3444115B2 (en) Dozing state detection device
US7650034B2 (en) Method of locating a human eye in a video image
JP2000301962A (en) Eye condition detection device, drowsy driving alarm device
JP3858570B2 (en) Armpit state detection device
JP2009125518A (en) Driver's blink detection method, driver's awakening degree determination method, and device
JP2000199703A (en) Eye condition detection device, drowsy driving alarm device
JP2000172966A (en) Alarm device
Mohan et al. Identification of driver drowsiness detection using a regularized extreme learning machine
Jiménez et al. Detection of the tiredness level of drivers using machine vision techniques
JP3465566B2 (en) Eye position detection device
JP2000311238A (en) Eye opening detector
JP3858534B2 (en) Eye state detection device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040223

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090312

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110312

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110312

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees