摘要: | 在現代化社會中,由於車輛交通意外發生頻繁,使得社會成本增加頗遽。台灣年平均事故已達六萬多件,依據統計,其中九成以上肇事因素皆人為所致。在本論文中,我們設計一個以安全監控為基礎之系統,對車內駕駛進行臉部偵測、追蹤與危險狀態分析,以便提前發現徵兆,並警示不專心、疲勞之駕駛注意突發狀況,預防意外發生。 系統主要由下列四個部分組成。第一部份為“臉部偵測”。使用改良式YCbCr色彩模組尋找膚色區域,結合平滑濾波邊緣偵測法修補缺失特徵,更用對數相減法補償區域性亮度不均問題,使臉部搜尋具有更高穩定性,比已知的膚色模組精確許多。 第二部份為“臉部追蹤”。計算相鄰畫面臉部間之關連性,校正候選目標之新邊界,並增加系統之精確性。臉部追蹤可大幅度降低時間複雜度。系統亦修正常見之部分遮蔽及後座人臉所形成的追蹤錯誤。 第三部分為“特徵分析與標記”,除了進一步提升臉部搜尋精確性,系統亦可找出眼(耳)、鼻確切位置。此外,使用有名的三角演算法計算角度,以判定臉部方向。對於不同大小之人臉、相異的姿勢與表情、亮度不均或雜訊,皆能正確處理。 第四部分為“危險分析”。藉由交通部之意外統計資料,定義五類危安事件相異權值,包含自動分析轉頭聊天、疲勞、使用手機、連續低頭及全臉遮蔽,藉由方向估計、瞳孔偵測、特徵變化及手部膚色搜尋等。 實驗由大量測試媒體影像序列得來,精確率平均達91%。且系統之FRR(False Rejection Rate)與FAR(False Acceptance Rate)皆低於10%,證明處理相異之危安事件時,我們提出之方法方法穩定且可行。 Traffic accidents occur frequently in modernized society so that the society has to pay a lot of cost. There are more than 60,000 vehicle accidents occurring each year in Taiwan. Among them, over ninety percent of accidents are caused due to the careless of drivers according to the statistical analysis.In this thesis, a surveillance-based system utilizing face detection, tracking, and hazardous status monitoring of drivers is designed. By monitoring the symptoms of non-concentration or fatigue of drivers, a warning signal can be issued in advance so as to preventing the occurring of accidents due to the lack of unawareness. The proposed system is composed of four main parts. The first part is face detection. The modified version of YCbCr color space is adopted to obtain raw skin color images. Edge smoothing operation is employed to remedy the erroneous judgments of extracted features. Moreover, logarithmic intensity difference method is devised to compensate partial illumination. These algorithms make the task of face detection more robust and have higher accuracy than known skin-color model. The second part is face tracking. Correlation operation is manipulated on current face and records the ones which can regulate the borders and increase the accuracy. Time complexity of the proposed method can be drastically decreased due to the performing of face tracking. The third part is feature inspection and marking. Our proposed method can not only promote the accuracy but also mark the exact positions of features. A novel triangular-based theorem is adopted to calculate the angles of features to determine whether the considered face is frontal or profile. Moreover, it can conquer the problems of different face sizes, varying lighting conditions, varying expressions, and noises. The forth part is the analysis of dangerous behaviors. According to statistical results conducted by the Ministry of Communications, different weighs are assigned for five hazardous events which may result in accidents. The proposed system can automatically analyze the hazardous behaviors of chatting, drowsing, phone using, consecutive head lowering, and facial occlusion by performing direction estimation, pupil detection, feature variation, etc. Experiments were conducted on a variety of testing video sequences. An approximately 91% success rate can be achieved; besides with both false rejection rate and false acceptance rate being very low (near 10%). Experimental results reveal the feasibility and validity of our proposed system in monitoring various hazardous behaviors resulting from drivers. |