Spaces:
Sleeping
Sleeping
Update config.yaml
Browse files- config.yaml +4 -4
config.yaml
CHANGED
|
@@ -12,15 +12,15 @@ detection_strategy: "geometric"
|
|
| 12 |
# Parameters for the facial landmark-based detection methods.
|
| 13 |
geometric_settings:
|
| 14 |
downsize_factor: 0.5
|
| 15 |
-
skip_frames:
|
| 16 |
low_light_thresh: 60
|
| 17 |
eye_ar_thresh: 0.24 # Increased: Catches squinting
|
| 18 |
-
eye_ar_consec_frames:
|
| 19 |
yawn_mar_thresh: 0.5 # Decreased: Catches smaller yawns
|
| 20 |
-
yawn_consec_frames:
|
| 21 |
head_nod_thresh: 15.0 # Decreased: Catches smaller nods
|
| 22 |
head_look_away_thresh: 18.0 # Decreased: Catches smaller head turns
|
| 23 |
-
head_pose_consec_frames:
|
| 24 |
indicator_weights:
|
| 25 |
eye_closure: 1
|
| 26 |
yawning: 1
|
|
|
|
| 12 |
# Parameters for the facial landmark-based detection methods.
|
| 13 |
geometric_settings:
|
| 14 |
downsize_factor: 0.5
|
| 15 |
+
skip_frames: 1
|
| 16 |
low_light_thresh: 60
|
| 17 |
eye_ar_thresh: 0.24 # Increased: Catches squinting
|
| 18 |
+
eye_ar_consec_frames: 5 # Decreased: Faster eye closure detection
|
| 19 |
yawn_mar_thresh: 0.5 # Decreased: Catches smaller yawns
|
| 20 |
+
yawn_consec_frames: 5 # Decreased: Faster yawn detection
|
| 21 |
head_nod_thresh: 15.0 # Decreased: Catches smaller nods
|
| 22 |
head_look_away_thresh: 18.0 # Decreased: Catches smaller head turns
|
| 23 |
+
head_pose_consec_frames: 5 # Decreased: Faster head pose detection
|
| 24 |
indicator_weights:
|
| 25 |
eye_closure: 1
|
| 26 |
yawning: 1
|