🚗 Driver Drowsiness Detection System
This system detects driver drowsiness using computer vision and deep learning.
Features:
- Image analysis
- Video processing with speed monitoring
- Webcam detection (PC and mobile)
- Multi-factor drowsiness prediction (face, eyes, head pose, speed changes)
Upload an image for drowsiness detection
上傳駕駛視頻進行困倦檢測
系統將自動從視頻中檢測以下內容:
- 駕駛員面部表情和眼睛狀態
- 車輛速度變化 (通過視頻中的光流分析)
- 當車速變化超過 ±5 km/h 時將被視為異常駕駛行為
注意: 處理後的視頻不會保存到本地文件夾,請使用界面右上角的下載按鈕保存結果。
10 120
Use your webcam or mobile camera for real-time drowsiness detection
0 150
How It Works
This system detects drowsiness using multiple factors:
- Facial features - Using a trained CNN model
- Eye openness - Measuring eye aspect ratio (EAR)
- Head position - Detecting head drooping
- Automatic speed detection - Using optical flow analysis to track vehicle movement and detect irregular speed changes
The system automatically detects speed changes from the video frames using computer vision techniques:
- Optical flow is used to track movement between frames
- Irregular speed changes (±5 km/h) are detected as potential signs of drowsy driving
- No external speed data required - everything is analyzed directly from the video content
Combining these factors provides more reliable drowsiness detection than using facial features alone.