ckcl commited on
Commit
d9df0ce
·
verified ·
1 Parent(s): 27b371b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -32
README.md CHANGED
@@ -1,33 +1,44 @@
1
- # Driver Drowsiness Detection System
2
-
3
- This is a real-time driver drowsiness detection system that uses computer vision and deep learning to detect signs of drowsiness in drivers. The system can process webcam feeds, video files, and single images.
4
-
5
- ## Features
6
-
7
- - Real-time webcam monitoring
8
- - Video file processing
9
- - Single image analysis
10
- - Face detection and drowsiness prediction
11
- - Visual feedback with bounding boxes and status indicators
12
-
13
- ## How to Use
14
-
15
- 1. **Webcam Mode**: Click the "Start Webcam" button to begin real-time monitoring
16
- 2. **Video Mode**: Upload a video file for processing
17
- 3. **Image Mode**: Upload a single image for analysis
18
-
19
- The system will display the results with:
20
- - Green box: Alert (not drowsy)
21
- - Red box: Drowsy
22
- - Probability score for drowsiness
23
-
24
- ## Technical Details
25
-
26
- - Built with PyTorch and Vision Transformer (ViT)
27
- - Uses OpenCV for face detection
28
- - Gradio interface for easy interaction
29
- - Real-time processing capabilities
30
-
31
- ## Model
32
-
 
 
 
 
 
 
 
 
 
 
 
33
  The system uses a Vision Transformer (ViT) model trained on driver drowsiness detection. The model is capable of detecting subtle signs of drowsiness in facial expressions.
 
1
+ ---
2
+ title: Driver Drowsiness Detection
3
+ emoji: 🚗
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: gradio
7
+ sdk_version: 3.50.2
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ # Driver Drowsiness Detection System
13
+
14
+ This is a real-time driver drowsiness detection system that uses computer vision and deep learning to detect signs of drowsiness in drivers. The system can process webcam feeds, video files, and single images.
15
+
16
+ ## Features
17
+
18
+ - Real-time webcam monitoring
19
+ - Video file processing
20
+ - Single image analysis
21
+ - Face detection and drowsiness prediction
22
+ - Visual feedback with bounding boxes and status indicators
23
+
24
+ ## How to Use
25
+
26
+ 1. **Webcam Mode**: Click the "Start Webcam" button to begin real-time monitoring
27
+ 2. **Video Mode**: Upload a video file for processing
28
+ 3. **Image Mode**: Upload a single image for analysis
29
+
30
+ The system will display the results with:
31
+ - Green box: Alert (not drowsy)
32
+ - Red box: Drowsy
33
+ - Probability score for drowsiness
34
+
35
+ ## Technical Details
36
+
37
+ - Built with PyTorch and Vision Transformer (ViT)
38
+ - Uses OpenCV for face detection
39
+ - Gradio interface for easy interaction
40
+ - Real-time processing capabilities
41
+
42
+ ## Model
43
+
44
  The system uses a Vision Transformer (ViT) model trained on driver drowsiness detection. The model is capable of detecting subtle signs of drowsiness in facial expressions.