nn commited on
Commit
b7703f2
·
verified ·
1 Parent(s): c1a90d5

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ def process_video(video_path, rail_segment, frame_skip=15):
209
  total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
210
  threshold = 10 # Set threshold (in pixels) for obstruction detection
211
 
212
- while True:
213
  ret, frame = cap.read()
214
  if not ret:
215
  break
 
209
  total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
210
  threshold = 10 # Set threshold (in pixels) for obstruction detection
211
 
212
+ while True:
213
  ret, frame = cap.read()
214
  if not ret:
215
  break