elucidator8918 commited on
Commit
c0be576
·
verified ·
1 Parent(s): abacf0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def predict_drowsiness(video_path):
55
  fps = int(cap.get(cv2.CAP_PROP_FPS))
56
  total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
57
 
58
- skip_interval = int(fps * 0.5)
59
 
60
  with tempfile.NamedTemporaryFile(suffix='.mp4', delete=False) as temp_output:
61
  temp_output_path = temp_output.name
 
55
  fps = int(cap.get(cv2.CAP_PROP_FPS))
56
  total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
57
 
58
+ skip_interval = int(fps * 0.2)
59
 
60
  with tempfile.NamedTemporaryFile(suffix='.mp4', delete=False) as temp_output:
61
  temp_output_path = temp_output.name