b4one commited on
Commit
1a8f1da
·
1 Parent(s): f48c804

add commented code

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -49,6 +49,7 @@ def process_video(video_path):
49
  fourcc = cv2.VideoWriter_fourcc(*'mp4v') # MP4 codec
50
  out = cv2.VideoWriter(output_video_path, fourcc, fps, (frame_width, frame_height))
51
 
 
52
  # Process each frame of the video
53
  while cap.isOpened():
54
  ret, frame = cap.read() # Read a frame
 
49
  fourcc = cv2.VideoWriter_fourcc(*'mp4v') # MP4 codec
50
  out = cv2.VideoWriter(output_video_path, fourcc, fps, (frame_width, frame_height))
51
 
52
+
53
  # Process each frame of the video
54
  while cap.isOpened():
55
  ret, frame = cap.read() # Read a frame