TheKnight115 commited on
Commit
b3b5e5e
·
verified ·
1 Parent(s): 5a983b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -127,6 +127,8 @@ def process_video_and_save(uploaded_file):
127
  height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
128
  out = cv2.VideoWriter(output_video_path, fourcc, fps, (width, height))
129
 
 
 
130
  # Process frames
131
  while cap.isOpened():
132
  ret, frame = cap.read()
 
127
  height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
128
  out = cv2.VideoWriter(output_video_path, fourcc, fps, (width, height))
129
 
130
+ margin_y = 50
131
+
132
  # Process frames
133
  while cap.isOpened():
134
  ret, frame = cap.read()