我們提出一個主動式的電腦視覺系統,來取得各種偵測疲勞駕駛的視覺線索,這些視覺線索包含:眼睛的開/合、眨眼、眼瞼的動作、與臉部的方向。 本系統主要由四個部份所組成:主動式的影像擷取設備、眼睛偵測器、眼睛追蹤器、和視覺線索的擷取器。為了在不同環境光源的情況下都能正確的偵測並追蹤眼睛,我們使用紅外線相機來擷取駕駛人的瞳孔與臉部的影像,並配合一個閃爍式紅外線照明器,讓影像交替的產生亮瞳與暗瞳的效果。亮瞳與暗瞳的影像有著相同的背景與外界光源,我們可以在這兩張影像相減的結果中簡單地找出瞳孔的位置,依找到的瞳孔位置剪取出眼睛的區域並利用支援向量機(Support Vector Machine, SVM) 來驗證偵測結果是否正確,如果在連續三張影像中偵測的結果都正確,則程序進入追蹤的階段。在追蹤時我們使用一個兩階段的追蹤方法,第一階段是在預測區域裡做眼睛偵測,如果第一階段失敗,則使用第二個基於比對原則的追蹤方法。 我們在不同的環境光源下評估我們的系統,像是在夜晚或黑暗中。從實驗結果中顯示,我們的方法可以在不同的環境光源下正確的偵測並追蹤眼睛的位置。 An active computer vision system is proposed to extract various visual cues for drowsiness detection of drivers. The visual cues include eye close/ open, eye blinking, eyelid movement, and face direction. The proposed system consists of four parts: an active image acquisition equipment, eye detector, eye tracker, and visual cue extractor. For working in various ambient light conditions, we used an IR camera equipped with a blinking IR illuminator to acquire deriver’s pupils and face for detecting and tracking eyes. The bright and dark pupil images acquired by the active equipment share the same background and external illumination; we can simply subtract the two images to extract pupils. Based on the location of a pupil, the eye region is clipped to be verified by the SVM method. If the detection is success in consecutive three frames, the procedure is turned to tracking phase. There are two stages in the tracking phase. The first-stages method is the same the detection method. If it is fail, the second tracking strategy is launched based on the matching principle. In experiments, we conduct several experiments with various ambient light conditions, such as day and night to evaluate the proposed system. From the experimental results, we find that the proposed approach can accurately detect and track eyes in the various ambient light conditions.