ashen97 commited on
Commit
628c824
·
verified ·
1 Parent(s): 0da791e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def predict_stream(input_video, model_name, conf_level):
42
  cap = cv2.VideoCapture(input_video)
43
 
44
  # Get video FPS for syncing speed
45
- target_fps = 10
46
  delay_between_frames = 1.0 / target_fps
47
 
48
  while cap.isOpened():
 
42
  cap = cv2.VideoCapture(input_video)
43
 
44
  # Get video FPS for syncing speed
45
+ target_fps = 1
46
  delay_between_frames = 1.0 / target_fps
47
 
48
  while cap.isOpened():