請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/88182
標題: | 林監督:駕駛監督系統用嵌入式系統 LinDMS: Driver Monitoring System with Embedded System |
作者: | 林聖祐 Sheng-Yu Lin |
指導教授: | 傅楸善 Chiou-Shann Fuh |
關鍵字: | 駕駛者監控系統,嵌入系統,邊緣運算,人工智慧,影像處理, Driver Monitoring System,Embedded System,Edge Computing,Artificial Intelligence,Image Processing, |
出版年 : | 2023 |
學位: | 碩士 |
摘要: | 駕駛監測系統(DMS, Driver Monitoring System)可以通過即時影像,檢測駕駛頭部、面部和眼瞼運動的變化,來提示駕駛員他們的困倦或分心。中國及歐盟已規定該系統需配備於新出廠的車輛。
本論文提出一個基於YOLOv5s(You Only Look Once version 5 small)所設計的駕駛監測系統,並利用Kneron KL-520神經網路加速晶片運行於嵌入式裝置,能以低影像解析度,檢測駕駛閉眼、頭部姿態異常、打哈欠、使用手機、抽菸等行為。 Kneron KL-520是耐能(Kneron)在2019年推出的一款AI (Artificial Intelligence)晶片,約40 nm晶圓製程,算力為350 TOPS (Tera Operations Per Second),平均功耗降為300-500 mW,並且提供動態模型執行 (DME, Dynamic Model Execution),但對機器學習模型的大小及結構有嚴格限制。 為配合嵌入式系統的限制,本文將原本的YOLOv5s移除掉頭部及頸部等部分結構,在Ubuntu 18.0環境上透過自身收集的5萬張影像訓練,最後將模型佈署在配有Kneron KL-520開發板上,能將結果以平均5 FPS (Frames Per Second)顯示於顯示裝置上,即時對疲勞駕駛提出警告,各個種類的準確度(Accuracy)則可以達到90%以上。 The Driver Monitoring System (DMS, Driver Monitoring System) can detect changes in the driver's head, face and eyelid movements through real-time images to alert drivers of their drowsiness or distraction. China and the European Union have stipulated that brand-new vehicles must be equipped with DMS system. We propose a driver monitoring system based on YOLOv5s (You Only Look Once version 5 small) and use the Kneron KL-520 neural network accelerator chip to run on an embedded device, which can detect driving eyes closed, abnormal head posture, yawning, using mobile phones, smoking, and other behaviors. Kneron KL-520 is an AI (Artificial Intelligence) chip launched by Kneron in 2019, with 40 nm wafer process technology, a computing power of 350 TOPS, an average power consumption of 300-500 mW, and dynamic model execution. However, there are strict restrictions on the size and structure of machine learning model. To cope with the limitations of the embedded system, we remove some structures such as the head and neck from the original YOLOv5s, and train the model on the 50,000 images collected by ourselves in the Ubuntu 18.0 environment, and finally deploy machine learning model on the development board equipped with KL-520. The prediction result can be displayed on the display device with an average of 5 FPS (Frames Per Second), which can immediately warn fatigue drivers, and the accuracy of each category can reach more than 90%. |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/88182 |
DOI: | 10.6342/NTU202301045 |
全文授權: | 未授權 |
顯示於系所單位: | 生醫電子與資訊學研究所 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-111-2.pdf 目前未授權公開取用 | 3.46 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。