JP2008246013A - Sleepiness sensor - Google Patents

Sleepiness sensor Download PDF

Info

Publication number
JP2008246013A
JP2008246013A JP2007092541A JP2007092541A JP2008246013A JP 2008246013 A JP2008246013 A JP 2008246013A JP 2007092541 A JP2007092541 A JP 2007092541A JP 2007092541 A JP2007092541 A JP 2007092541A JP 2008246013 A JP2008246013 A JP 2008246013A
Authority
JP
Japan
Prior art keywords
pupil
area
drowsiness
sleepiness
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007092541A
Other languages
Japanese (ja)
Other versions
JP4899059B2 (en
Inventor
Yoshinobu Ebisawa
嘉伸 海老澤
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.)
Shizuoka University NUC
Original Assignee
Shizuoka University NUC
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 Shizuoka University NUC filed Critical Shizuoka University NUC
Priority to JP2007092541A priority Critical patent/JP4899059B2/en
Publication of JP2008246013A publication Critical patent/JP2008246013A/en
Application granted granted Critical
Publication of JP4899059B2 publication Critical patent/JP4899059B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sleepiness sensor capable of easily and quickly sensing the sleepiness of a target person to be observed with high robustness, especially useful when applied to a vehicle. <P>SOLUTION: The sleepiness sensor comprises a photographing means 2 for photographing the face of the target person A, a pupil area detecting means 4 for detecting the area of the pupil from the captured face image, and a sleepiness sensing means 5 for sensing the sleepiness of the target person by comparing the detected pupil area with a reference value. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、撮影した画像によって、対象者の瞳孔の面積を検出し、それに基づいて対象者の眠気を検知する装置に関するものである。   The present invention relates to an apparatus that detects an area of a pupil of a subject based on a photographed image and detects sleepiness of the subject based on the detected area.

車両、特に大型トラックを利用した運送業における運転手の居眠り運転は、多くの犠牲者を出しやすく、居眠り運転防止対策は近々の重要課題である。そのため、対象者の眠気を検知する手段を、車両の運転手の居眠り防止手段として適用することが検討されている。
眠気検知には、脳波、心拍、脈拍を計測して、その変化から検知する方法が一般的には信頼が高いと考えられているが、運転中の運転者のそれらを非接触で計測することは難しく、また運転手にこれらの計測装置を装着することも現実的でなく、実用化は難しいと考えられる。
運転手に非接触の状態で眠気を検出するために、運転手の顔画像における顔の表情や眼の様子に注目した開発も行なわれている。
The driver's drowsy driving in the transportation industry using vehicles, particularly large trucks, is likely to cause many victims, and measures for preventing drowsy driving are an important issue in the near future. Therefore, it has been studied to apply a means for detecting the drowsiness of the subject person as a means for preventing the driver of the vehicle from falling asleep.
For sleepiness detection, it is generally considered to be reliable to measure brain waves, heartbeats, and pulse, and detect changes from them. It is difficult to put these measuring devices on the driver and it is difficult to put it into practical use.
In order to detect drowsiness in a non-contact state with the driver, development focusing on facial expressions and eye states in the driver's face image has also been made.

例えば、特許文献1では、運転手の意識レベルを画像によって検出するための装置において、運転手の瞳孔の大きさによって運転手の目に入射する赤外光を調整することが開示されている。
特許文献2では、目の開度を検出することで、運転手の状態を検出することが開示されている。
また、特許文献3では、瞳孔径の変化速度が所定値より大きいときに、操作者が緊張状態にあるとして、車両を制御することが開示されている。
For example, Patent Document 1 discloses that an apparatus for detecting a driver's consciousness level using an image adjusts infrared light incident on the driver's eyes according to the size of the driver's pupil.
Patent Document 2 discloses that the state of the driver is detected by detecting the opening degree of the eyes.
Patent Document 3 discloses that the vehicle is controlled on the assumption that the operator is in a tension state when the change speed of the pupil diameter is larger than a predetermined value.

さらに、運転者の意識レベル低下を検出するには、PERCLOSという手法も有望視されている。ここで、PERCLOS (Percent of the time eyelids are closed)とは、アメリカ道路交通安全局に認可された、運転者の疲労度を測定する手段で、目を閉じている時間割合を表すものである。(D. F. Dinges, M. Mallis, G. Maislin, and J. W. Powell. Evaluationof techniques for ocular measurement as an index of fatigue and the basis foralertness management. Department of Transportation Highway Safety publication808 762, April, 1998.)   Furthermore, a technique called PERCLOS is also promising to detect a decrease in the driver's consciousness level. Here, PERCLOS (Percent of the time eyelids are closed) is a means of measuring the driver's fatigue, which is approved by the US Road Traffic Safety Agency, and represents the percentage of time the eyes are closed. (D. F. Dinges, M. Mallis, G. Maislin, and J. W. Powell.Evaluationof techniques for ocular measurement as an index of fatigue and the basis foralertness management.Department of Transportation Highway Safety publication808 762, April, 1998.)

また、ACEM(the average eye closure/opening speed, i.e., the amount of timeneeded to fully close the eyes and to fully open the eyes)という目の開閉速度に注目した手法もある。例えば、QiangJi and Xiaojie Yang, Real Time Visual Cues Extraction for Monitoring DriverVigilance" Lecture Notes in Computer Science: Computer Vision Systems,vol. 2095, (Ed.) B. Schiele, G. Sagerer (Eds.), Springer, pp. 107, June, 2001.
では、PERCLOSとACEMを測定した事例を記載している。
特開平7−32907号公報 特開2000−142164号公報 特開2000−351337号公報
There is also a technique that focuses on the opening and closing speed of the eye, ACEM (the average eye closure / opening speed, ie, the amount of timeneeded to fully close the eyes and to fully open the eyes). For example, QiangJi and Xiaojie Yang, Real Time Visual Cues Extraction for Monitoring Driver Vigilance "Lecture Notes in Computer Science: Computer Vision Systems, vol. 2095, (Ed.) B. Schiele, G. Sagerer (Eds.), Springer, pp. 107, June, 2001.
Describes the case of measuring PERCLOS and ACEM.
JP-A-7-32907 JP 2000-142164 A JP 2000-351337 A

前記のとおり、運転手の状態を検知するために、目瞼の状態や瞳孔径を検出することも検討されている。ところで、ここでいう瞳孔径は横方向の瞳孔径であることが想定される。なぜなら、特許文献3にも、「検出した瞳孔の位置に対応する画像データの水平方向ピクセル数のうち最大値を、瞳孔径Lとして検出する。ここで、水平方向に注目するのは、垂直方向に注目した場合にはドライバによる「瞬き」が影響することによって正確な瞳孔径が検出できないからである。」という記述があるように、瞳孔は上下の目瞼によって隠れることから、縦方向の径の検出は横方向の場合に対して困難だからである。
しかし、横方向の瞳孔径であっても、縦方向ほどではなくとも、目瞼によって隠されて正確に検出できないことも当然に生じる。
As described above, in order to detect the state of the driver, detection of the eyelid state and the pupil diameter is also being studied. By the way, the pupil diameter here is assumed to be the pupil diameter in the lateral direction. This is because, in Patent Document 3, “the maximum value of the number of pixels in the horizontal direction of the image data corresponding to the detected pupil position is detected as the pupil diameter L. Here, attention is paid to the horizontal direction in the vertical direction. This is because the correct pupil diameter cannot be detected due to the influence of “blink” by the driver. This is because the pupil is hidden by the upper and lower eyelids, so that it is difficult to detect the diameter in the vertical direction compared to the case in the horizontal direction.
However, even in the case of the pupil diameter in the horizontal direction, it naturally occurs that it is hidden by the eyelids and cannot be accurately detected even if it is not as long as the vertical direction.

また、覚醒度が高いときには、瞳孔は大きくサイズも安定しているが、覚醒度が低下すると瞳孔径の平均は小さくなり、振動することが知られている。これは、リラックス度が増したり、覚醒度が低下したりしたときに、瞳孔面積が揺らぐ現象(hippus)である。Hippusは、瞳孔面積が0.2Hz(5秒に一回)ほどの周波数で振動する現象であり、古くから眠気に関連すると考えられてきた。(Mathematical procedures in data recording and processing ofpupillary fatigue waves, Vision Research, Volume 38, Issue 19, October 1998,Pages 2889-2896、Holger Ludtke, Barbara Wilhelm, Martin Adler, Frank Schaeffel andHelmut Wilhelm)。
この論文においては、実験的に、可視光を遮断するが近赤外を透過するカバーで両目を覆い、外側から近赤外線を照射して同様に外側からカメラで撮影し、瞳孔の横の長さを撮影した。しかし、眼のそばから、眼を大きく映し出しているような環境下では瞳孔の横の長さを検出するのは可能かも知れないが、この論文に示されているように、瞬目(瞬き)も生じる中、瞳孔の水平方向の径を正確に計測するのは、このように、目のすぐそばにカメラと光源を設置するような方法でない限り難しく、実用的ではない。
また、瞳孔の横の径は、まつ毛によって分断されることがあり、安定した値として検出し難いという問題もある。
It is known that when the degree of arousal is high, the pupil is large and the size is stable, but when the degree of arousal decreases, the average pupil diameter becomes small and vibrates. This is a phenomenon (hippus) in which the pupil area fluctuates when the degree of relaxation increases or the degree of arousal decreases. Hippus is a phenomenon in which the pupil area vibrates at a frequency of about 0.2 Hz (once every 5 seconds), and has long been considered to be related to sleepiness. (Mathematical procedures in data recording and processing of pupillary fatigue waves, Vision Research, Volume 38, Issue 19, October 1998, Pages 2889-2896, Holger Ludtke, Barbara Wilhelm, Martin Adler, Frank Schaeffel and Helmut Wilhelm).
In this paper, experimentally, both eyes are covered with a cover that blocks the visible light but transmits the near-infrared light, irradiates the near-infrared light from the outside, and is also photographed from the outside by the camera. Was taken. However, it may be possible to detect the lateral length of the pupil in an environment where the eye is projected from the side of the eye, but as shown in this paper, blinking (blinking) In this way, it is difficult and accurate to measure the horizontal diameter of the pupil accurately unless the camera and the light source are placed next to the eyes.
In addition, the horizontal diameter of the pupil may be divided by the eyelashes, and there is a problem that it is difficult to detect as a stable value.

また、画像処理により眼瞼を検出して、その動きから目の開閉を検出し、瞬きを検出することで、対象者の状態を検知する方法もある。しかし、眼瞼の検出は、車中のように周囲の光環境が大きく変化する中では難しい。
さらに、眠くなると視線が下を向く傾向があることから、視線計測を利用した方法も提案されている。この場合も、目頭、目尻等をテンプレートマッチング法で検出して、黒目を分離度フィルターを利用するなどして、検出するのが一般的であるが、どちらも周囲の光環境の変化に弱い。最近ではステレオカメラを用いてテンプレートマッチングにより、検出した特徴同士の三次元的形状を記録し、それを基にロバストに目頭、目尻を検出しようとする方法もある。しかし、この方法でも、周囲の光環境の変化に弱い。したがって、顔表情の変化を検出するのも現状では困難である。
There is also a method of detecting the eyelid by image processing, detecting the opening and closing of the eyes from the movement, and detecting blinks to detect the state of the subject. However, it is difficult to detect eyelids when the ambient light environment changes greatly as in a car.
Furthermore, since the line of sight tends to turn downward when sleepy, a method using line-of-sight measurement has also been proposed. In this case as well, it is common to detect the head of the eye, the corner of the eye, and the like by the template matching method and use a separation degree filter, etc., but both are vulnerable to changes in the surrounding light environment. Recently, there is a method of recording a three-dimensional shape of detected features by template matching using a stereo camera, and trying to detect the eyes and the corners of the eyes based on the recorded three-dimensional shape. However, even this method is vulnerable to changes in the surrounding light environment. Therefore, it is difficult at present to detect changes in facial expressions.

一方で、トラック等の事故は夜中から朝方にかけて多い。したがって、眠気検知装置を実用化する上で、周囲が暗い中で眠気が検知できれば、必ずしも昼間の明るい場合まで検知できなくても、十分有用である。
ところで、前記の顔画像から眠気を検知しようとする方法において、周囲が暗ければ近赤外線を顔に照射しなければならない。しかし、その光源が原因で、眼鏡のレンズの表面やフレームに生じる反射光(眼鏡反射)が生じ、それが眼瞼を検出する方法や、黒目検出とテンプレートマッチング法では致命的な影響を与える。また、眼鏡の形状によっては、眼鏡のフレームによって、眼瞼が隠れやすいことさえあるため、実用的とは言えない。
On the other hand, there are many truck accidents from midnight to morning. Therefore, in practical use of the drowsiness detection device, if drowsiness can be detected in a dark environment, it is sufficiently useful even if the daylight is not always detected.
By the way, in the method for detecting drowsiness from the face image, near infrared light must be irradiated to the face if the surroundings are dark. However, due to the light source, reflected light (glasses reflection) generated on the surface of the spectacle lens or the frame is generated, and this has a fatal effect on the method of detecting eyelids, the black eye detection and the template matching method. Also, depending on the shape of the glasses, the eyelids may be easily hidden by the glasses frame, which is not practical.

以上のような状況の中で、本発明者は、顔画像によって瞳孔の面積を検出して、これによって対象者の眠気を検知することで、以下のような理由から、上記の問題を解決できるという知見を得て本発明をなし得たものである。
すなわち、先ず最初の理由として、顔画像から瞳孔を検出し、その瞳孔部分を画定して、眠気判定のファクターとする面積を検出することが、他の箇所におけるファクター、とりわけ従来手法で用いられる瞳孔径や目瞼の状態の検出に比べて容易でかつロバスト性が高い。
特に、車両の運転において、眠気検知の実用化が最も望まれる夜間においては、瞳孔は眠気がないときは、大きく開いており、瞳孔部分及びその面積の検出が容易である。また、近赤外線をカメラ近傍から照射する等によって、明瞳孔の撮影画像を利用すれば、さらに、容易である。また、瞳孔及びその面積の検出には、明瞳孔と暗瞳孔の差分をとる手法も採用可能であって、その場合は、尚更、検出が容易で正確なものとできる。
Under the circumstances as described above, the present inventor can solve the above problem for the following reason by detecting the area of the pupil from the face image and detecting the sleepiness of the subject. Thus, the present invention has been achieved.
That is, the first reason is to detect the pupil from the face image, define the pupil part, and detect the area as a factor of sleepiness determination, factors in other places, especially the pupil used in the conventional method It is easier and more robust than detecting the diameter and eyelid state.
In particular, at night, when the practical use of sleepiness detection is most desired in driving a vehicle, the pupil is wide open when there is no sleepiness, and detection of the pupil portion and its area is easy. Further, it is further easier to use a captured image of a bright pupil by irradiating near infrared rays from the vicinity of the camera or the like. In addition, for detecting the pupil and its area, a method of taking the difference between the bright pupil and the dark pupil can be adopted. In this case, the detection can be made easier and more accurate.

また、次の理由として、従来の瞳孔径を検出しようとする技術においては、目瞼によって瞳孔が隠れることについて、対応を考慮していなかった。しかし、本発明では、瞳孔の面積を眠気の検出に用いることで、この問題も解決できている。
すなわち、眠くなると、眼瞼がゆっくりと閉じてくるが、眼瞼によって瞳孔が隠れることにより、カメラに写る面積も小さくなることと、眠気によって実際に瞳孔が小さくなることとはほぼ同時に起っており、眠気検出するのが目的であるならば、それらを区別する必要がないという知見を見出した。
このように、カメラによって顔の前方から検出される瞳孔の面積は、実際の瞳孔面積の変化だけでなく、上下の眼瞼が瞳孔に被さることによっても変化する。その場合、瞳孔の形状が変化するが、本発明では、カメラに写る瞳孔の形状と関係なく単にファクターとなる瞳孔面積を計測することにより、容易にかつ正確で迅速に対象者の眠気を検知できる。
Further, as a next reason, in the conventional technique for detecting the pupil diameter, no countermeasure is taken into account for the fact that the pupil is hidden by the eyelid. However, in the present invention, this problem can also be solved by using the area of the pupil for detecting drowsiness.
In other words, when it becomes sleepy, the eyelid slowly closes, but the pupil is hidden by the eyelid, so that the area reflected in the camera is reduced and the pupil is actually reduced by sleepiness almost simultaneously, We have found that if the purpose is to detect drowsiness, it is not necessary to distinguish them.
Thus, the area of the pupil detected from the front of the face by the camera changes not only due to the actual pupil area change, but also when the upper and lower eyelids cover the pupil. In that case, the shape of the pupil changes, but in the present invention, the sleepiness of the subject can be detected easily, accurately and quickly by simply measuring the pupil area which is a factor regardless of the shape of the pupil reflected in the camera. .

本発明は、以上のようになされたものであり、観察対象者の眠気を容易に、迅速に、ロバスト性高く検知でき、特に車両に適用して有用な眠気検知装置を提供することを目的とする。   The present invention has been made as described above, and an object of the present invention is to provide a drowsiness detection device that can detect sleepiness of an observation subject easily, quickly, and with high robustness, and is particularly applicable to a vehicle. To do.

このような目的を達成するために、本発明の眠気検知装置は、対象者の顔を撮影する撮影手段と、撮影された顔画像から瞳孔の面積を検出する瞳孔面積検出手段と、検出された瞳孔面積を基準値と比較することにより、対象者の眠気を検知する眠気検知手段とを備えることを特徴とする。
本発明によれば、撮影手段によって撮影された対象者の顔画像から、瞳孔の箇所とその面積を検出することができる。そして、その瞳孔面積を基準値と比較することにより、対象者が眠気によって瞳孔が小さくなることと、目瞼によって瞳孔が塞がれていくことも合わせて、しかも、瞳孔の形状の変化にもかかわらず、容易にかつ正確に算定される瞳孔面積よって、対象者の眠気を容易に、迅速に、ロバスト性高く検知できる。
In order to achieve such an object, the drowsiness detection device of the present invention is detected by an imaging unit that captures the face of the subject, a pupil area detection unit that detects an area of the pupil from the captured face image, and It comprises drowsiness detection means for detecting drowsiness of the subject by comparing the pupil area with a reference value.
According to the present invention, the location and area of the pupil can be detected from the face image of the subject imaged by the imaging means. Then, by comparing the pupil area with the reference value, the subject's pupil becomes smaller due to drowsiness and the pupil is blocked by the eyelids. Regardless of the pupil area calculated easily and accurately, the sleepiness of the subject can be detected easily, quickly, and with high robustness.

また、本発明において、眠気検知手段が、瞬きによる信号を除去して瞳孔面積の信号とする演算手段を備える場合は、眠気とは関係の無い短い瞬き等によって影響を受けることなく、眠気を検知することができる。   Further, in the present invention, when the drowsiness detection unit includes a calculation unit that removes a signal due to blinking and generates a pupil area signal, the drowsiness detection is performed without being affected by a short blink unrelated to sleepiness. can do.

また、本発明において、眠気検知手段が、瞳孔の平均面積よりも小さな閾値を設定し、一定期間内において瞳孔面積が閾値を下回る割合が予め設定した割合を超えたときに眠気と判定する手段を備える場合は、状況に合わせた設定によって、擾乱を排除した安定した眠気の判定ができる。   Further, in the present invention, the drowsiness detection means sets a threshold smaller than the average area of the pupil, and means for determining drowsiness when the ratio of the pupil area below the threshold exceeds a preset ratio within a certain period. When equipped, it is possible to make a stable sleepiness determination without disturbance by setting according to the situation.

また、本発明において、瞳孔面積検出手段が、明瞳孔画像と暗瞳孔画像を画像差分して得られる差分画像を2値化することによって得た画素数を換算して瞳孔面積とする演算手段を備える場合は、周囲が明るい場合や対象者の瞳孔の近くにメガネの反射やまつ毛が存在するような場合にも、支障なく瞳孔面積の検出ができる。なお、画素数を瞳孔面積に換算するということは、画素数自体を瞳孔面積の値とすることも含む。
また、本発明において、眠気検知装置は、車載用である場合は、観察対象者である車両運転手の眠気をすばやく検知することができる。
Further, in the present invention, the pupil area detecting means is a computing means for converting the number of pixels obtained by binarizing a difference image obtained by image difference between a bright pupil image and a dark pupil image to obtain a pupil area. When equipped, the pupil area can be detected without hindrance even when the surroundings are bright or when there is reflection of eyeglasses or eyelashes near the pupil of the subject. Note that the conversion of the number of pixels into the pupil area also includes setting the number of pixels itself as the value of the pupil area.
Moreover, in this invention, when the drowsiness detection apparatus is for vehicle-mounted use, it can detect the drowsiness of the vehicle driver who is an observation object quickly.

また、本発明において、眠気検知手段によって対象者の眠気を検知した場合に、警告音を発する手段を備える場合は、対象者に対して、眠気を検知した際に警告音を発し、運転手などの観察対象者が眠気によって事故を起こす等を防止することができる。   Further, in the present invention, when a drowsiness of the subject person is detected by the drowsiness detection means, when a means for emitting a warning sound is provided, a warning sound is emitted to the subject person when drowsiness is detected. It is possible to prevent the observation subject from having an accident due to sleepiness.

また、本発明において、対象者の顔の撮影における周囲光の強さによって、眠気の判定を修正する手段を備える場合は、撮影の周囲光の変化によって対象者の瞳孔面積が変化し、それによる眠気の判定の誤りを防止することができる。   Further, in the present invention, when a means for correcting the drowsiness determination is provided according to the intensity of ambient light in photographing the face of the subject, the pupil area of the subject changes due to a change in ambient light of the photographing, thereby It is possible to prevent an error in determining sleepiness.

本発明は、観察対象者の眠気を容易に、迅速に、ロバスト性高く検知でき、特に車両に適用して有用な眠気検知装置を提供することができる。   INDUSTRIAL APPLICABILITY The present invention can provide a drowsiness detection device that can detect sleepiness of an observation subject easily, quickly, and with high robustness, and is particularly applicable to a vehicle.

以下、図面に基づいて、本発明による装置の好適な実施形態について説明する。
図1は、本実施形態の眠気検知装置1の概念図である。眠気検知装置1は、撮影手段2、制御手段3、瞳孔面積検出手段4、眠気検知手段5を備えている。
撮影手段2は、カメラ21及び光源22、23を備えており、撮影者Aの瞳孔Pを含む顔画像を撮影する。カメラ21は、車内に設置することから、対象者の顔から70〜80cm程度離し、前方下方斜めから撮影することが瞳孔を撮影するためには好ましい。
カメラ21としては、例えば、NTSC方式のカメラ等が採用される。カメラ21による撮影や光源の点灯は、例えば、パソコン等の制御装置3によって制御される。
撮影された顔画像は、瞳孔面積検出手段4において、画像が解析されて瞳孔の面積が演算される。
瞳孔面積検出手段4において、演算された瞳孔面積の値は、眠気検知手段5において、演算処理されて、対象者が眠気の状態かどうかが判定され、必要に応じて、警告音が発せられる。ここで、制御手段3、瞳孔面積検出手段4、眠気検知手段5は、それぞれ、別の装置であっても、同じ1つのパソコン等であってもよい。
また、瞳孔面積検出のために、明瞳孔画像と暗瞳孔画像による差分画像を利用しない場合であれば、図のように撮影手段2に2つの光源を用いる必要はない。また、差分画像を利用する場合であっても、1つの光源によることも可能である。
また、カメラには、光源が発する光だけを通すバンドパスフィルタを取り付ける。これにより、瞳孔検出に余分な可視光をある程度カットできる。
In the following, preferred embodiments of the apparatus according to the present invention will be described with reference to the drawings.
FIG. 1 is a conceptual diagram of the drowsiness detection device 1 of the present embodiment. The drowsiness detection device 1 includes an imaging unit 2, a control unit 3, a pupil area detection unit 4, and a drowsiness detection unit 5.
The photographing means 2 includes a camera 21 and light sources 22 and 23 and photographs a face image including the pupil P of the photographer A. Since the camera 21 is installed in the vehicle, it is preferable to shoot from the subject's face about 70 to 80 cm and shoot from the front lower side and obliquely to shoot the pupil.
As the camera 21, for example, an NTSC system camera or the like is employed. Shooting by the camera 21 and lighting of the light source are controlled by a control device 3 such as a personal computer, for example.
The captured face image is analyzed by the pupil area detecting means 4 to calculate the area of the pupil.
The calculated pupil area value in the pupil area detection means 4 is calculated in the drowsiness detection means 5 to determine whether the subject is drowsy or not, and a warning sound is emitted as necessary. Here, the control means 3, the pupil area detection means 4, and the drowsiness detection means 5 may be separate devices or the same personal computer.
Further, if the difference image between the bright pupil image and the dark pupil image is not used for detecting the pupil area, it is not necessary to use two light sources for the photographing means 2 as shown in the figure. Further, even when a difference image is used, it is possible to use one light source.
In addition, a band pass filter that allows only light emitted from the light source to pass is attached to the camera. As a result, extra visible light can be cut to some extent for pupil detection.

図2に、明瞳孔画像と暗瞳孔画像の差分画像を用いて瞳孔面積の検出を行なう場合の瞳孔面積検出手段4における処理ステップの一例を記載する。ここでは、ステップ41において、明瞳孔画像と暗瞳孔画像を取得し、その差分を演算することで瞳孔部分の差分画像を画定し(ステップ42)、得られた差分画像の画素数を計数する等によって瞳孔面積を演算する(ステップ43)。なお、瞳孔面積は、両方の瞳孔が検出されている場合は、その平均値とし、片方のみが検出されているときはそれを瞳孔面積としてもよい。   FIG. 2 shows an example of processing steps in the pupil area detecting means 4 when detecting the pupil area using the difference image between the bright pupil image and the dark pupil image. Here, in step 41, a bright pupil image and a dark pupil image are acquired, and the difference between them is calculated to define a difference image of the pupil part (step 42), and the number of pixels of the obtained difference image is counted. To calculate the pupil area (step 43). The pupil area may be an average value when both pupils are detected, or may be the pupil area when only one is detected.

ここで、明瞳孔と暗瞳孔について、説明する。
図1において、カメラ21の開口近くに近赤外線等の光源22を設け、カメラの光軸に沿うようにして光を対象者Aの顔に照射して撮影すると、光は瞳孔Pから網膜に達して反射し、水晶体、角膜を通ってカメラ21の開口に戻る。このときの画像は、瞳孔が明るく撮影されており、その画像を明瞳孔画像という。一方、カメラ21の開口から離した近赤外線等の光源23による光を対象者の顔に照射して撮影すると、網膜から反射した光はカメラ21の開口にはほとんど入射しないために、瞳孔は暗く撮影され、その画像を暗瞳孔画像という。瞳孔は周囲にはまつ毛等もあり、また、メガネ着用者では、瞳孔近傍のメガネの一部が反射を起こしたりすることがある。そのため、特に、昼間の明るくて瞳孔が小さくなっているようなときには、瞳孔を検出してその面積を求めるのに困難な場合もある。
しかし、明瞳孔を撮影した画像から暗瞳孔を撮影した画像を差し引く差分演算を行うと、瞳孔部以外の周囲部分は両画像においてほぼ同じような明るさであることから、互いに相殺して、明るさに差がある瞳孔部だけが明るく浮き彫りになる。これによって、瞳孔を容易に検出し、正確な面積を計数することができる。
Here, the bright pupil and the dark pupil will be described.
In FIG. 1, when a light source 22 such as a near infrared ray is provided near the opening of the camera 21 and the face of the subject A is irradiated with light along the optical axis of the camera, the light reaches the retina from the pupil P. And returns to the opening of the camera 21 through the crystalline lens and cornea. In this image, the pupil is photographed brightly, and the image is called a bright pupil image. On the other hand, when the subject's face is irradiated with light from a light source 23 such as near infrared rays separated from the opening of the camera 21, the light reflected from the retina hardly enters the opening of the camera 21, so the pupil is dark. The photographed image is called a dark pupil image. The pupil also has eyelashes around it, and some spectacles in the vicinity of the pupil may cause reflection in a spectacle wearer. For this reason, it may be difficult to detect the pupil and determine its area, especially when it is bright during the day and the pupil is small.
However, if the difference calculation is performed by subtracting the image obtained by photographing the dark pupil from the image obtained by photographing the bright pupil, the surrounding portions other than the pupil portion have almost the same brightness in both images. Only the pupil part with a difference in thickness becomes bright and embossed. As a result, the pupil can be easily detected and the accurate area can be counted.

例えば、NTSC方式のカメラ撮影における1/30秒毎の1フレームを構成する奇数フィールドと偶数フィールドとをそれぞれ明瞳孔画像と暗瞳孔画像として取得し、それらの差分画像を演算し、さらにPタイル法などのよって輝度の閾値を決定して画素を2値化することで、瞳孔の存在する部分の画素数を得て、この換算値を瞳孔面積とすることができる。
また、対象者の顔が移動することで、瞳孔の位置も変化するが、予め、瞳孔を含む小さなウインドウを設定しておき、カルマンフィルターなどの予測モデルによって、ウインドウの位置変化を予測して、予測される範囲に次のウインドウを設け、ウインドウ内だけを差分する等によって、演算を効率化することも可能である。
For example, an odd field and an even field that constitute one frame every 1/30 second in NTSC camera shooting are acquired as a bright pupil image and a dark pupil image, respectively, and a difference image between them is calculated, and a P tile method is further obtained. Thus, by determining the threshold value of the luminance and binarizing the pixels, the number of pixels in the portion where the pupil exists can be obtained, and this converted value can be used as the pupil area.
In addition, the position of the pupil changes as the subject's face moves, but a small window including the pupil is set in advance, and the position change of the window is predicted by a prediction model such as a Kalman filter, It is also possible to make the calculation more efficient by providing the next window in the predicted range and making a difference only within the window.

次に、図3に眠気検知手段5における処理ステップの一例を示す。
前記のように、例えば、1/30秒ごとに明瞳孔画像と暗瞳孔画像の差分画像に基づく瞳孔面積を検出すると、対象者が眠気を感じていない通常の状態であっても、短い瞬きやその他急激な顔の移動などで、検出された瞳孔面積が零又はそれに近い小さな値になることやその反動で急激な突出した値となることがある。このような瞬時の急激な信号変動する瞳孔面積を眠気判定のデータとしていたのでは、かえって正確な判定ができない。そのために、ステップ51においては、そのような短時間の瞬き等による瞳孔面積の変動したデータ信号を除去する演算を行なっている。
そのための手段としては、論理回路やフィルタによって単発的で急激に変動した信号を除くことや信号を平滑化するなどの各種の手法を用いることができる。
そして、以下の処理ステップにおいては、このように短い瞬きや何らかの測定上のエラーに基づく短時間の変動の信号を除去した瞳孔面積によって、眠気判定のための演算を行なう。
Next, FIG. 3 shows an example of processing steps in the drowsiness detection means 5.
As described above, for example, when the pupil area based on the difference image between the bright pupil image and the dark pupil image is detected every 1/30 seconds, even in a normal state where the subject does not feel sleepy, In addition, the detected pupil area may be zero or a small value close to it due to a sudden movement of the face, or may be a sharply protruding value due to the reaction. If such a pupil area where the signal suddenly fluctuates is used as drowsiness determination data, accurate determination cannot be performed. For this purpose, in step 51, calculation is performed to remove the data signal whose pupil area has fluctuated due to such a short blink.
As a means for that purpose, various methods such as removing a signal that has changed suddenly and rapidly by a logic circuit or a filter, or smoothing the signal can be used.
Then, in the following processing steps, a calculation for sleepiness determination is performed based on the pupil area from which a short-time fluctuation signal based on a short blink or some measurement error is removed.

ステップ52において、瞳孔の平均面積を演算する。この値は、以後の眠気判定における1つの基準値ともなるものであるから、対象者が眠気を伴っていない瞳孔検出の初期における平均を求めることが望ましい。
しかし、一方で、たとえば夜中営業用トラックで出発する直前に明るい車庫内で基準値が決まってしまうと、上述の基準値が最適値よりも小さめに算定されるため、結果的に、警告が発生しにくくなる。そこで、たとえば、常に10分ほど前の3分間の平均値を基準値とすることも有効である。逆に、暗所で基準値が決まり、明るいところへ出たとすると、瞳孔が常に小さめになる。この場合、警告が出続ける可能性がある。しかし、この場合は、警告をならす条件が一度満たされなくなり再度満たされたときに警告を出すようにすれば、最初一度だけ警告がなるだけで済むため、あまり問題はない。
次に、瞳孔面積と比較すべき閾値を設定する(ステップ53)。例えば、前記瞳孔面積の平均値の55%を閾値とする。
そして、検出した連続する瞳孔面積のデータを次々と閾値と比較し(ステップ54)、所定の一定期間、例えば5秒間(150フレーム)又は10秒間(300フレーム)の間に、検出した瞳孔面積が閾値を下回る割合が例えば50%を超えたときに、対象者が眠気に該当すると判定する(ステップ55)。
眠気の判定がされたときには、対象者に対して警告音を発して眠気を覚ます。この警告音は、ブザー等の音でも音声でもよく、また、対象者のみでなく、事業所に通知する等を同時に行なうこともあり得る。
ここで、眠気の判定は、瞳孔の平均面積よりも小さな閾値を設定し、一定期間内において瞳孔面積が閾値を下回る割合が予め設定した割合を超えることにより行なっている。しかし、このような手法に限らず、単に一定の閾値を設定しておき、検出した瞳孔面積がこれを下回ったときに眠気を判定することや、一定期間内に所定回数この閾値を下回ったときに眠気と判定することなども可能である。
In step 52, the average area of the pupil is calculated. Since this value also serves as one reference value in subsequent sleepiness determination, it is desirable to obtain the average of pupil detection at the initial stage when the subject does not have sleepiness.
However, on the other hand, for example, if the reference value is determined in a bright garage just before leaving on a business truck at night, the above reference value is calculated to be smaller than the optimum value, resulting in a warning. It becomes difficult to do. Therefore, for example, it is also effective to always use the average value of the previous three minutes for about 10 minutes as the reference value. Conversely, if the reference value is determined in a dark place and goes out to a bright place, the pupil is always smaller. In this case, a warning may continue to be issued. However, in this case, if a warning is issued when the condition for raising a warning is not satisfied once and is satisfied again, there is no problem because only a warning is required once.
Next, a threshold value to be compared with the pupil area is set (step 53). For example, 55% of the average value of the pupil area is set as the threshold value.
Then, the detected continuous pupil area data is compared with the threshold value one after another (step 54), and the detected pupil area is determined for a predetermined fixed period, for example, 5 seconds (150 frames) or 10 seconds (300 frames). When the ratio below the threshold exceeds 50%, for example, it is determined that the subject falls asleep (step 55).
When sleepiness is determined, a warning sound is emitted to the subject to wake up sleepiness. This warning sound may be a sound such as a buzzer or a voice, and may notify not only the target person but also the business office at the same time.
Here, the sleepiness is determined by setting a threshold smaller than the average area of the pupil, and the ratio that the pupil area falls below the threshold within a certain period exceeds the preset ratio. However, it is not limited to such a method, simply set a certain threshold, and when the detected pupil area falls below this, sleepiness is determined, or when the threshold falls below this threshold a predetermined number of times within a certain period It is also possible to determine sleepiness.

次に、撮影における周囲光の強さによる眠気判定の修正手段を説明する。
瞳孔面積は、周囲の明るさが暗い所から明るいところへ出ても、小さくなる。これによる眠気誤検出を防ぐためには、顔にあたる周囲光強度を計測すればよい。太陽光などの環境光(多くの場合、光源と同じ波長の光を含む)は、本発明による装置のカメラにおいても顔画像の明暗に影響を与える。
もし、光源の電流量を一定に保っていれば、明瞳孔画像もしくは暗瞳孔画像は、光源が起源となる画像の明暗は維持されるのに対して、周囲光が起源となる明暗が加算されるため、暗黒中での同画像の明るさを記録しておき、それに対して、どれだけ同画像が明るくなったかを計測することで、周囲光の強さを判断できる。瞳孔面積の減少から警告を出す条件が満たされた時に、さらに周囲光を鑑みて、警告を出すかどうかを判断する。
光源の電流を変化させる場合も、電流値と画像の明るさとの関係をあらかじめ計測してそれを利用して判断する。
別の周囲光の強さを判定する方法としては、瞳孔面積の減少から警告を出す条件が満たされた時に、1フレーム分だけでよいので、光源を消灯して、無照明画像を得て、その画像の明るさから周囲光の強さを判定し、警告を出すかどうかを決定する。
さらに、瞳孔面積に影響を与える可視光を正確に測る方法としては、別途、顔を撮影するカメラもしくは光センサにより、顔にあたる可視光強度を計測する方法がある。
以上のような方法によれば、特に周囲が急激に明るくなって瞳孔が小さくなったときに、誤って警告を出すことを防ぐことができる。
Next, a drowsiness determination correcting means based on the intensity of ambient light in photographing will be described.
The pupil area becomes small even if the surrounding brightness goes from a dark place to a bright place. In order to prevent erroneous sleepiness detection due to this, the ambient light intensity hitting the face may be measured. Ambient light such as sunlight (including light of the same wavelength as the light source in many cases) also affects the brightness of the face image in the camera of the apparatus according to the present invention.
If the current amount of the light source is kept constant, the light pupil image or dark pupil image maintains the light and darkness of the image that originates from the light source, while the light and darkness that originates from the ambient light is added. Therefore, the intensity of the ambient light can be determined by recording the brightness of the image in the dark and measuring how bright the image is. When a condition for issuing a warning from a reduction in pupil area is satisfied, it is further determined whether to issue a warning in view of ambient light.
Even when the current of the light source is changed, the relationship between the current value and the brightness of the image is measured in advance and used for determination.
As another method of determining the intensity of ambient light, when the condition for issuing a warning from the reduction in pupil area is satisfied, it is only necessary for one frame, so the light source is turned off to obtain an unilluminated image, The intensity of the ambient light is determined from the brightness of the image, and it is determined whether or not to issue a warning.
Further, as a method for accurately measuring the visible light that affects the pupil area, there is a method in which the visible light intensity corresponding to the face is separately measured by a camera or an optical sensor that captures the face.
According to the method as described above, it is possible to prevent a warning from being issued erroneously, particularly when the surroundings become brighter rapidly and the pupil becomes smaller.

次に、本実施形態について実際に実験した実施例を、図4〜21によって説明する。
実際に運転中の運転者の居眠り状態を観察することは困難であるので、図4のように、暗室で、車載実験を模擬した実験を行った。CCDカメラ2を対象者Aの顔に向けて設置し、プロジェクタを用いて高速道路運転中の映像を映した。
実験は瞳孔が大きくなるよう、夜を想定したため照明を消し、室温は眠りやすいよう25℃以上に設定した。被験者は、15分間、実際運転しているようにハンドルを動かすこととされた。
瞳孔面積検出手段4について説明したように、明瞳孔画像と暗瞳孔画像を撮影して、瞳孔の差分画像を得たのが、図5の写真である。この差分画像の画素数(pixel)を瞳孔面積とした。瞳孔面積は、両瞳孔が検出できているときは、両者の瞳孔面積(画素数)を平均値とし、片方の瞳孔のみが検出されているときは、それを瞳孔面積とした。
Next, examples actually experimented on the present embodiment will be described with reference to FIGS.
Since it is difficult to actually observe the driver's dozing state during driving, an experiment simulating an in-vehicle experiment was conducted in a dark room as shown in FIG. A CCD camera 2 was placed facing the face of the subject A, and a video of driving on the highway was projected using a projector.
In the experiment, since the night was assumed so that the pupil became large, the illumination was turned off, and the room temperature was set to 25 ° C. or more so that the sleep was easy. The subject was supposed to move the handle as if he was actually driving for 15 minutes.
As described for the pupil area detecting means 4, the bright pupil image and the dark pupil image are photographed to obtain a difference image of the pupil, as shown in the photograph of FIG. The number of pixels of the difference image was defined as the pupil area. The pupil area was defined as an average value of the pupil areas (number of pixels) of both pupils when both pupils were detected, and the pupil area when only one pupil was detected.

「瞳孔面積変動波形の抽出」
瞬きによって眼を閉じると瞳孔が消失することから、検出される瞳孔面積は0になる。
瞳孔面積の変化の例を図6に示す。ここで、実験は0秒で始まり、全部で15分間程度であった。実験開始時に、瞳孔面積は大きく、しかし、3分ごろから徐々に下がり始めている。矢印で示した時刻に警告音を鳴らした。すると、瞳孔が急激に大きくなった。ここで、警告は、被験者が完全に目を閉じたのを確認したときに警告音を出した。すなわち、その警告の直前には被験者が眠ったことを意味する。なお、ここで行なった警告は、本件発明における警告音の発生とは必ずしも一致するものではない。本件発明においては、後述するように、瞳孔面積変動波形を解析することにより、さらに迅速に警告音を発することが可能であるが、ここでは、被験者の状態を種々観察するためもあって、このような段階での警告を行なっている。
"Extraction of pupil area fluctuation waveform"
When the eyes are closed by blinking, the pupil disappears, so that the detected pupil area becomes zero.
An example of changes in pupil area is shown in FIG. Here, the experiment started at 0 seconds and totaled about 15 minutes. At the start of the experiment, the pupil area is large, but it gradually begins to drop around 3 minutes. An alarm sounded at the time indicated by the arrow. Then, the pupil suddenly increased. Here, the warning sounded when it was confirmed that the subject completely closed his eyes. That is, it means that the subject slept immediately before the warning. Note that the warning given here does not necessarily coincide with the generation of the warning sound in the present invention. In the present invention, as will be described later, it is possible to emit a warning sound more quickly by analyzing the pupil area fluctuation waveform, but here, in order to observe various conditions of the subject, Warning at such a stage.

この図6における、実験開始直後の0秒から120秒を引き伸ばして示したのが、図7である。この図において、瞳孔面積が300pixelから500pixelの範囲で緩やかに変化しており、実際に瞳孔自体の面積が時折、小さくなり、また、およそ元の面積に戻る様子が分かる。さらに、グラフにおいて、下に飛び出て、ほとんど瞳孔面積が0になっているところが、瞬きが発生した部分である。
0秒から120秒の間の代表的な顔画像が図8と図9である。それぞれ、約5秒と約47秒のときの画像である。瞳孔が、後者のほうがやや小さくなっているが、両方とも目が大きく開いており、瞳孔が大きいことがわかる。そして、どちらの顔画像においても、被験者の表情から特に眠気を感じていない様子が分かる。
図10は、図6の瞳孔面積変化が360秒〜540秒までを拡大して示したものである。ここでは、瞳孔面積が大きく変化していることがわかる。図11から図13にはそれぞれ約395秒、約418秒、約482秒における顔画像を示した。図11と図12を比較すると、瞳孔面積も変化しているが、眼瞼の開閉度も変化している。図13では、瞳孔はほとんど見えない状態になっているが、図10の結果をみると、瞳孔は検出できており、面積が零にはなっていない。ここで、図11から図13の写真を見ると被験者は明らかに眠気を感じていることが分かる。このことから、少なくとも、この時点で警告を出す必要があるであろう。
FIG. 7 shows an enlarged view of 0 second from 120 seconds immediately after the start of the experiment in FIG. In this figure, it can be seen that the pupil area gradually changes in the range of 300 pixels to 500 pixels, and that the actual area of the pupil itself sometimes becomes smaller and returns to the original area. Further, in the graph, the portion where the blinking occurs is the portion where the pupil area jumps down and the pupil area is almost zero.
Representative face images between 0 and 120 seconds are shown in FIGS. These are images at about 5 seconds and about 47 seconds, respectively. The pupil is slightly smaller in the latter, but both eyes are wide open and it can be seen that the pupil is large. In either face image, it can be seen that the subject's facial expression is not particularly drowsy.
FIG. 10 shows an enlarged view of the pupil area change in FIG. 6 from 360 seconds to 540 seconds. Here, it can be seen that the pupil area changes greatly. 11 to 13 show face images at about 395 seconds, about 418 seconds, and about 482 seconds, respectively. When FIG. 11 and FIG. 12 are compared, the pupil area also changes, but the degree of opening and closing of the eyelids also changes. In FIG. 13, the pupil is almost invisible, but the result of FIG. 10 shows that the pupil can be detected and the area is not zero. Here, it can be seen from FIG. 11 to FIG. 13 that the subject clearly feels sleepy. For this reason, at least it will be necessary to issue a warning at this point.

図14に図6の630秒〜780秒の範囲を拡大して示した。ここで、660秒付近と750秒付近で警告音を出している。図15から図18は748秒から768秒までの顔画像を示した。748秒では、ほぼ完全に目を閉じており、図14においても、瞳孔面積は零を示したが、警告を鳴らした直後、752秒(図16)、759秒(図17)と目が開くと共に瞳孔が大きくなっていることがわかる。このことは図14においても、その傾向がはっきりと見られる。さらに768秒(図18)になると意識が戻っていることが顔の表情から読み取れる。
以上のように、顔表情を見ると、瞳孔面積が眠気と対応していることが分かる。
FIG. 14 is an enlarged view of the range from 630 seconds to 780 seconds in FIG. Here, a warning sound is emitted around 660 seconds and 750 seconds. 15 to 18 show face images from 748 seconds to 768 seconds. At 748 seconds, the eyes were almost completely closed. In FIG. 14, the pupil area was zero, but immediately after the warning sounded, the eyes opened at 752 seconds (FIG. 16) and 759 seconds (FIG. 17). It can be seen that the pupil is enlarged. This tendency is clearly seen in FIG. Further, at 768 seconds (FIG. 18), it can be read from the facial expression that the consciousness has returned.
As described above, it can be seen from the facial expression that the pupil area corresponds to drowsiness.

「眠気検知」
瞳孔面積波形には、瞬きや多少のエラーが入っている。また、図10からわかるように、覚醒度が高くとも、対光反射などで瞳孔面積に変化があるため、それらの影響を除去して瞳孔面積が減少したのを捉える必要がある。
そのための信号処理について次に述べる。
図7の多数の矢印で示されている上に突出している部分は、瞳孔面積が過大推定されている部分であり、これを取り除くために、(1)連続5フレーム(150ms)間毎に、値の大きい方から2番目までの値を零に置き換える。その後に、(2)連続する30フレーム(1秒)の中から最大の瞳孔面積を求め、最後のフレームの瞳孔面積に置き換える処理を行う。この処理を1フレームずつずらしながら実行する。この処理によって、瞬きのように短い時間(たとえば、6フレーム)だけ零が続くような場合に、(1)の処理で瞳孔面積が零になっても、補正されて零でなくなる。なお、ここで、(2)で30フレームを選択することにより、被験者が目を30フレーム(1秒)以上閉じると、初めて処理後の瞳孔面積は零になる。換言すれば、遅延時間は最大で35フレーム(1.15秒)である。
"Drowsiness detection"
The pupil area waveform contains blinks and some errors. Further, as can be seen from FIG. 10, even if the degree of arousal is high, there is a change in the pupil area due to light reflection or the like. Therefore, it is necessary to remove the influence and capture that the pupil area has decreased.
Signal processing for that purpose will be described next.
In FIG. 7, the part protruding upward indicated by a large number of arrows is a part in which the pupil area is overestimated. In order to remove this, (1) every five consecutive frames (150 ms), Replace the second value from the highest value to zero. Thereafter, (2) the maximum pupil area is obtained from 30 consecutive frames (1 second), and the pupil area of the last frame is replaced. This process is executed while shifting one frame at a time. By this processing, when zero continues for a short time (for example, 6 frames) like a blink, even if the pupil area becomes zero by the processing of (1), it is corrected to become zero. Here, by selecting 30 frames in (2), when the subject closes their eyes for 30 frames (1 second) or more, the pupil area after processing becomes zero for the first time. In other words, the maximum delay time is 35 frames (1.15 seconds).

以上の処理を施すことにより、たとえば、図19(a)の瞳孔面積原波形(図6と同じ)は、図19(b)のように整形される。図20には、別の被験者に対する同様の実験結果を示した。図20(a)が瞳孔面積の原波形、図20(b)は、それを上記の処理を行った瞳孔面積波形である。ここでも、警告音を出すと瞳孔面積が実験はじめの状態にほぼ戻っている。   By performing the above processing, for example, the original pupil area waveform in FIG. 19A (same as FIG. 6) is shaped as shown in FIG. FIG. 20 shows the same experimental results for another subject. FIG. 20A shows an original waveform of the pupil area, and FIG. 20B shows a pupil area waveform obtained by performing the above processing. Again, when a warning sound is emitted, the pupil area has almost returned to the initial state.

図21(a)(b)に、図19の処理後の瞳孔面積波形を利用した眠気検知処理の結果を示している(実験開始から2分〜10分)。
眠気検知の方法は、実験開始後の最初の10秒間(300フレーム)の処理後の瞳孔面積の平均値の55%を閾値とする。連続5秒間(150フレーム)もしくは10秒間(300フレーム)に、閾値を下回る割合が50%を越えたときを、それぞれ図21(a)(b)中の方形波において、高いレベルで示している。
この時点において、対象者を眠気とを判定することができる。
FIGS. 21A and 21B show the results of sleepiness detection processing using the pupil area waveform after the processing of FIG. 19 (2 to 10 minutes from the start of the experiment).
The drowsiness detection method uses 55% of the average value of the pupil area after the first 10 seconds (300 frames) after the start of the experiment as a threshold. When the ratio below the threshold value exceeds 50% for 5 seconds (150 frames) or 10 seconds (300 frames), the square wave in FIGS. .
At this point, the subject can be determined to be drowsy.

「従来手法との比較」
ここで、本発明の有効性を示すために、従来の代表的な方法を本実験における瞳孔検出結果に応用して、本発明の本実施例と比較する。
前記のPERCLOS(Percent of the time eyelids are closed)による手法と対比するために、連続する300フレーム(10秒間)のうちで目の閉じている割合を1フレームごとに求めた。ここで、300という数は、眠気を判定しやすいと思われるフレーム数として選択した。
また、瞬き頻度による手法と対比するために、連続する300フレーム(10秒間)における瞳孔検出状態から非検出状態への移行の回数を瞬き回数として計数した。
"Comparison with conventional methods"
Here, in order to show the effectiveness of the present invention, a conventional representative method is applied to the pupil detection result in this experiment and compared with the present embodiment of the present invention.
In order to contrast with the above-mentioned method by PERCLOS (Percent of the time eyelids are closed), the ratio of the eyes closed in 300 consecutive frames (10 seconds) was determined for each frame. Here, the number 300 was selected as the number of frames that would make it easy to determine drowsiness.
Further, in order to contrast with the technique based on the blink frequency, the number of transitions from the pupil detection state to the non-detection state in 300 consecutive frames (10 seconds) was counted as the number of blinks.

図19から分かるように、(b)の本実施例では、瞳孔面積は最初の警告が出されるまでに徐々に減少している。(c)のPERCLOSでは、最初の警告の前に、立ち上がっていることがわかる。しかし、図19からは分かりにくいが、PERCLOSが立ち上がっている部分は、ピークが50%程度を示しており、10秒あたり5秒も目を閉じていることになる。すなわち、すでに眠っていると言ってもよい状態になっていることを意味する。
また、(d)の瞬き数では、そのピークもはっきりしていない。
図20の例では、12.5分から13分の間にPERCLOSが50%程度になり、長時間の閉眼があり、居眠りをしたことが分かる。居眠りを予測するという観点からは、11.5分から12分の間のPERCLOSもしくは瞬き頻度の上昇で眠気検知をしたいところであるが、そのときの値よりも、図20中に破線の楕円で囲ったように、ずっと高い値を示している。楕円で囲ったあたりの時間帯は、実験開始直後ということもあり、顔の表情を見ても、まだ、眠気を感じていない状態であったにもかかわらず、PERCLOSと瞬き頻度が高かった。
このことから、PERCLOSと瞬き頻度は、眠気検知にあまり有効ではないと推測される。それに対して、(b)の本実施例の瞳孔面積は、9.5分あたりから徐々に値が低下したことがわかる。これを検出すれば、瞳孔面積は眠気検知にPERCLOSや瞬き頻度より有効であることが分かる。
As can be seen from FIG. 19, in this example of (b), the pupil area gradually decreases until the first warning is issued. In PERCLOS in (c), it can be seen that it has stood up before the first warning. However, although it is difficult to understand from FIG. 19, the portion where PERCLOS is rising shows a peak of about 50%, and the eyes are closed for 5 seconds per 10 seconds. That is, it means that it may be said that it is already sleeping.
Moreover, the peak is not clear in the number of blinks of (d).
In the example of FIG. 20, PERCLOS is about 50% between 12.5 minutes and 13 minutes, and it can be seen that the eyes closed for a long time and fell asleep. From the perspective of predicting dozing, we would like to detect drowsiness by increasing PERCLOS or blinking frequency between 11.5 minutes and 12 minutes, but surrounded by a dashed ellipse in FIG. 20 rather than the value at that time It shows a much higher value. The time zone around the ellipse was just after the start of the experiment, and even if I looked at the facial expression, I was still not feeling sleepy, but the frequency of blinking with PERCLOS was high.
From this, it is presumed that PERCLOS and blink frequency are not very effective for sleepiness detection. On the other hand, it can be seen that the value of the pupil area of the present embodiment (b) gradually decreased from around 9.5 minutes. If this is detected, it will be understood that the pupil area is more effective than PERCLOS and blink frequency for detecting drowsiness.

図21において、低レベルから高レベルに移行するときに、警告音を発するとすると、前記のとおりの本実施例の図21(a)場合は6.6分ごろに、(b)の図21(b)の場合は8分ごろに警告が発せられることを意味する。それに対して、PERCLOSでは、9.4分にならないと警告が出せない(図20のように眠くなくとも瞬きが多発することもあるため、閾値を調整するのが難しい。)。このように、本実施例では、PERCLOSに比較して、1分以上早く警告を出すことができる。   In FIG. 21, if a warning sound is generated when shifting from a low level to a high level, the case of FIG. 21A of this embodiment as described above is about 6.6 minutes, and FIG. In the case of (b), it means that a warning is issued around 8 minutes. On the other hand, in PERCLOS, a warning cannot be issued unless the time is 9.4 minutes (it is difficult to adjust the threshold because blinking may occur frequently even if you are not sleepy as shown in FIG. 20). Thus, in the present embodiment, a warning can be issued one minute or more earlier than PERCLOS.

次に、従来手法の瞳孔径検出と本件発明の実施例の対比を行なう。
図22に、いくつかの瞳孔径と眼瞼の閉じ具合によって、瞳孔サイズと瞳孔形状が代わることを示した。ここで、黒い部分が画像解析によって明らかになる瞳孔面積であり、検出される瞳孔部を上下の端と左右の端を通る長方形の幅を横瞳孔径、高さを縦瞳孔径と呼ぶことにする。ここで、従来、他の特許で瞳孔径と呼ばれているのは、横瞳孔径に相当する。
図23と図24は、それぞれ、図19と図20に示したデータに対応させて、実験開始から約11.5分までの、上から横瞳孔径、縦瞳孔径、瞳孔面積を示している。両図から、横瞳孔径は、あまり変化していないのに対して、縦瞳孔径と瞳孔面積は大きく変化していることが分かる。さらに、縦瞳孔径よりも瞳孔面積の方がより、大きく変化していることが分かる。(なお、ここでは、それぞれ元形をそのまま示してある。)
このように、本件発明の瞳孔面積によるその変化の検出は、容易でかつ正確であるといえる。
Next, the pupil diameter detection of the conventional method is compared with the embodiment of the present invention.
FIG. 22 shows that the pupil size and the pupil shape change depending on several pupil diameters and eyelid closure. Here, the black portion is the pupil area that is revealed by image analysis, and the width of the rectangle passing through the upper and lower ends and the left and right ends of the detected pupil portion is called the horizontal pupil diameter, and the height is called the vertical pupil diameter. To do. Here, what is conventionally called the pupil diameter in other patents corresponds to the lateral pupil diameter.
FIG. 23 and FIG. 24 show the horizontal pupil diameter, the vertical pupil diameter, and the pupil area from the top up to about 11.5 minutes from the start of the experiment, corresponding to the data shown in FIG. 19 and FIG. 20, respectively. . From both figures, it can be seen that the horizontal pupil diameter and the pupil area change greatly while the horizontal pupil diameter does not change much. Further, it can be seen that the pupil area changes more greatly than the vertical pupil diameter. (Here, the original form is shown as it is.)
Thus, the detection of the change by the pupil area of the present invention can be said to be easy and accurate.

本発明の実施形態の眠気検知装置を示す概念図である。It is a conceptual diagram which shows the drowsiness detection apparatus of embodiment of this invention. 本発明の実施形態の瞳孔面積検出手段についてのブロック図である。It is a block diagram about the pupil area detection means of the embodiment of the present invention. 本発明の実施形態の眠気検知手段についてのブロック図である。It is a block diagram about the drowsiness detection means of the embodiment of the present invention. 本発明の実施形態の実施例での実験装置を示す写真である。It is a photograph which shows the experimental apparatus in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示す写真である。It is a photograph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明の実施形態の実施例での結果を示すグラフである。It is a graph which shows the result in the Example of embodiment of this invention. 本発明と対比するための瞳孔径検出の説明図である。It is explanatory drawing of the pupil diameter detection for contrast with this invention. 瞳孔径と瞳孔面積検出を対比するグラフである。It is a graph which contrasts a pupil diameter and pupil area detection. 瞳孔径と瞳孔面積検出を対比するグラフである。It is a graph which contrasts a pupil diameter and pupil area detection.

符号の説明Explanation of symbols

1‥眠気検知装置、2‥撮影手段、21‥カメラ、22,23‥光源、3‥制御手段、4‥瞳孔面積検出手段、5‥眠気検知手段   DESCRIPTION OF SYMBOLS 1 ... Sleepiness detection apparatus, 2 ... Imaging | photography means, 21 ... Camera, 22, 23 ... Light source, 3 ... Control means, 4 ... Pupil area detection means, 5 ... Sleepiness detection means

Claims (7)

対象者の顔を撮影する撮影手段と、
撮影された顔画像から瞳孔の面積を検出する瞳孔面積検出手段と、
検出された瞳孔面積を基準値と比較することにより、対象者の眠気を検知する眠気検知手段とを備えることを特徴とする眠気検知装置。
Photographing means for photographing the face of the subject;
Pupil area detection means for detecting the area of the pupil from the photographed face image;
A drowsiness detection apparatus comprising: drowsiness detection means for detecting drowsiness of a subject by comparing the detected pupil area with a reference value.
前記眠気検知手段において、瞬きによる信号を除去して瞳孔面積の信号とする演算手段を備えることを特徴とする請求項1に記載の眠気検知装置。   The sleepiness detection apparatus according to claim 1, further comprising a calculation means that removes a signal caused by blinking and generates a pupil area signal. 前記眠気検知手段において、瞳孔の平均面積よりも小さな閾値を設定し、一定期間内において瞳孔面積が閾値を下回る割合が予め設定した割合を超えたときに眠気と判定する手段を備えることを特徴とする請求項1又は2に記載の眠気検知装置。   The drowsiness detection means comprises means for setting a threshold smaller than the average area of the pupil and determining drowsiness when the ratio of the pupil area below the threshold exceeds a preset ratio within a certain period. The drowsiness detection device according to claim 1 or 2. 前記瞳孔面積検出手段において、明瞳孔画像と暗瞳孔画像を画像差分して得られる差分画像を2値化することによって得た画素数を換算して瞳孔面積とする演算手段を備えることを特徴とする請求項1〜3のいずれかに記載の眠気検知装置。   The pupil area detection means includes a calculation means for converting the number of pixels obtained by binarizing a difference image obtained by image difference between a bright pupil image and a dark pupil image into a pupil area. The drowsiness detection device according to claim 1. 前記眠気検知装置は、車載用であることを特徴とする請求項1〜4のいずれかに記載の眠気検知装置 The drowsiness detection device according to claim 1, wherein the drowsiness detection device is for vehicle use. 前記眠気検知手段によって対象者の眠気を検知した場合に、警告音を発する手段を備えることを特徴とする請求項1〜5のいずれかに記載の眠気検知装置。   The sleepiness detection apparatus according to any one of claims 1 to 5, further comprising means for generating a warning sound when the sleepiness of the subject is detected by the sleepiness detection means. さらに、対象者の顔の撮影における周囲光の強さによって、眠気の判定を修正する手段を備えることを特徴とする請求項1〜6のいずれかに記載の眠気検知装置。   The drowsiness detection device according to claim 1, further comprising means for correcting drowsiness determination according to the intensity of ambient light in photographing the face of the subject.
JP2007092541A 2007-03-30 2007-03-30 Sleepiness detection device Active JP4899059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007092541A JP4899059B2 (en) 2007-03-30 2007-03-30 Sleepiness detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007092541A JP4899059B2 (en) 2007-03-30 2007-03-30 Sleepiness detection device

Publications (2)

Publication Number Publication Date
JP2008246013A true JP2008246013A (en) 2008-10-16
JP4899059B2 JP4899059B2 (en) 2012-03-21

Family

ID=39971673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007092541A Active JP4899059B2 (en) 2007-03-30 2007-03-30 Sleepiness detection device

Country Status (1)

Country Link
JP (1) JP4899059B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010220942A (en) * 2009-03-25 2010-10-07 Yaskawa Information Systems Co Ltd Pupil measuring device, pupil measuring method, and pupil measuring program
JP2012196328A (en) * 2011-03-22 2012-10-18 Panasonic Corp Both eyes pupil testing apparatus
WO2015075894A1 (en) * 2013-11-19 2015-05-28 日本電気株式会社 Imaging device, pupil imaging device, pupil-diameter measurement device, pupil-state detection device, and pupil imaging method
JP2016139258A (en) * 2015-01-27 2016-08-04 マツダ株式会社 Driver state determination device
JP2017143889A (en) * 2016-02-15 2017-08-24 ルネサスエレクトロニクス株式会社 Eye opening degree detection system, doze detection system, automatic shutter system, eye-opening degree detection method and eye-opening degree detection program
JP2018051340A (en) * 2017-11-24 2018-04-05 株式会社トプコン Ophthalmologic apparatus
WO2018100875A1 (en) * 2016-11-30 2018-06-07 ソニー株式会社 Information processing apparatus, information processing method, and program
US10095936B2 (en) 2013-04-12 2018-10-09 Denso Corporation Eye open state determination device and eye open state determination method
WO2019043896A1 (en) 2017-08-31 2019-03-07 富士通株式会社 Detection program, detection method, and detection system
US11308520B2 (en) 2019-06-11 2022-04-19 Toyota Boshoku Kabushiki Kaisha Vehicle advertisement display system
WO2022107288A1 (en) * 2020-11-19 2022-05-27 日本電信電話株式会社 Estimation device, estimation method, and estimation program
EP4014835A1 (en) * 2017-02-27 2022-06-22 Tobii AB Determining eye openness with an eye tracking device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6083761B2 (en) 2012-05-25 2017-02-22 国立大学法人静岡大学 Pupil detection method, corneal reflection detection method, face posture detection method, and pupil tracking method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06270711A (en) * 1993-03-17 1994-09-27 Nissan Motor Co Ltd Awakening state detecting device
JPH07249197A (en) * 1994-03-10 1995-09-26 Mitsubishi Electric Corp Detecting device for state of person
US5745038A (en) * 1997-03-21 1998-04-28 Vance; David L. Awakening alarm for motor vehicle operators
JPH11316884A (en) * 1998-01-28 1999-11-16 Daimler Benz Ag Device for obtaining awakening state
JPH11342765A (en) * 1998-06-02 1999-12-14 Hino Motors Ltd Doze detection device
JP2004089272A (en) * 2002-08-29 2004-03-25 Denso Corp Method and device for biological state estimation, and program
JP2005266868A (en) * 2004-03-16 2005-09-29 National Univ Corp Shizuoka Univ Method for detecting direction of head part using pupil and nostril
JP2007003618A (en) * 2005-06-21 2007-01-11 Sharp Corp Display device and mobile terminal device
JP2007275115A (en) * 2006-04-03 2007-10-25 Nissan Motor Co Ltd Driving responding condition estimating device, automobile, and driving responding condition estimating method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06270711A (en) * 1993-03-17 1994-09-27 Nissan Motor Co Ltd Awakening state detecting device
JPH07249197A (en) * 1994-03-10 1995-09-26 Mitsubishi Electric Corp Detecting device for state of person
US5745038A (en) * 1997-03-21 1998-04-28 Vance; David L. Awakening alarm for motor vehicle operators
JPH11316884A (en) * 1998-01-28 1999-11-16 Daimler Benz Ag Device for obtaining awakening state
JPH11342765A (en) * 1998-06-02 1999-12-14 Hino Motors Ltd Doze detection device
JP2004089272A (en) * 2002-08-29 2004-03-25 Denso Corp Method and device for biological state estimation, and program
JP2005266868A (en) * 2004-03-16 2005-09-29 National Univ Corp Shizuoka Univ Method for detecting direction of head part using pupil and nostril
JP2007003618A (en) * 2005-06-21 2007-01-11 Sharp Corp Display device and mobile terminal device
JP2007275115A (en) * 2006-04-03 2007-10-25 Nissan Motor Co Ltd Driving responding condition estimating device, automobile, and driving responding condition estimating method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010220942A (en) * 2009-03-25 2010-10-07 Yaskawa Information Systems Co Ltd Pupil measuring device, pupil measuring method, and pupil measuring program
JP2012196328A (en) * 2011-03-22 2012-10-18 Panasonic Corp Both eyes pupil testing apparatus
US10095936B2 (en) 2013-04-12 2018-10-09 Denso Corporation Eye open state determination device and eye open state determination method
WO2015075894A1 (en) * 2013-11-19 2015-05-28 日本電気株式会社 Imaging device, pupil imaging device, pupil-diameter measurement device, pupil-state detection device, and pupil imaging method
JP2016139258A (en) * 2015-01-27 2016-08-04 マツダ株式会社 Driver state determination device
JP2017143889A (en) * 2016-02-15 2017-08-24 ルネサスエレクトロニクス株式会社 Eye opening degree detection system, doze detection system, automatic shutter system, eye-opening degree detection method and eye-opening degree detection program
WO2018100875A1 (en) * 2016-11-30 2018-06-07 ソニー株式会社 Information processing apparatus, information processing method, and program
EP4014835A1 (en) * 2017-02-27 2022-06-22 Tobii AB Determining eye openness with an eye tracking device
WO2019043896A1 (en) 2017-08-31 2019-03-07 富士通株式会社 Detection program, detection method, and detection system
JP2018051340A (en) * 2017-11-24 2018-04-05 株式会社トプコン Ophthalmologic apparatus
US11308520B2 (en) 2019-06-11 2022-04-19 Toyota Boshoku Kabushiki Kaisha Vehicle advertisement display system
WO2022107288A1 (en) * 2020-11-19 2022-05-27 日本電信電話株式会社 Estimation device, estimation method, and estimation program
JP7444286B2 (en) 2020-11-19 2024-03-06 日本電信電話株式会社 Estimation device, estimation method, and estimation program

Also Published As

Publication number Publication date
JP4899059B2 (en) 2012-03-21

Similar Documents

Publication Publication Date Title
JP4899059B2 (en) Sleepiness detection device
US8063786B2 (en) Method of detecting drowsiness of a vehicle operator
KR101386823B1 (en) 2 level drowsy driving prevention apparatus through motion, face, eye,and mouth recognition
JP4492652B2 (en) Sleepiness state judgment device
US5573006A (en) Bodily state detection apparatus
JP5177011B2 (en) Eye opening degree identification device
JP5343631B2 (en) Driving assistance device
US9526448B2 (en) State estimation device and state estimation program
JP7099037B2 (en) Data processing equipment, monitoring system, awakening system, data processing method, and data processing program
JPH11316884A (en) Device for obtaining awakening state
US10023199B2 (en) Method and device for ascertaining a state of drowsiness of a driver
JPWO2013035704A1 (en) Dozing detection method and device
JPWO2008029802A1 (en) Driving information providing device
JP2002352229A (en) Face region detector
JP2016103249A (en) Driving support device and driving support method
WO2007092512A2 (en) Driver drowsiness and distraction monitor
Khan et al. Efficient Car Alarming System for Fatigue Detectionduring Driving
JPH03254291A (en) Monitor for automobile driver
RU2413632C2 (en) Method to prevent driver falling asleep
JPH08290726A (en) Doze alarm device
Mašanović et al. Driver monitoring using the in-vehicle camera
JP2009125518A (en) Driver&#39;s blink detection method, driver&#39;s awakening degree determination method, and device
JP5050794B2 (en) Sleepiness detection device, sleepiness detection method
Hamada et al. Detecting method applicable to individual features for drivers' drowsiness
JP6689470B1 (en) Information processing apparatus, program, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111125

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150