This commit is contained in:
hzwer
2020-11-16 17:40:10 +08:00
parent 61a48ef61c
commit 1e52e05bf7
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ padding = (0, pw - w, 0, ph - h)
tot_frame = videoCapture.get(cv2.CAP_PROP_FRAME_COUNT)
print('{}.mp4, {} frames in total, {}FPS to {}FPS'.format(args.video[:-4], tot_frame, fps, args.fps))
pbar = tqdm(total=tot_frame)
cnt = 0
cnt = 1
if args.montage:
frame = frame[:, left: left + w]
while success:

View File

@@ -44,7 +44,7 @@ padding = (0, pw - w, 0, ph - h)
tot_frame = videoCapture.get(cv2.CAP_PROP_FRAME_COUNT)
print('{}.mp4, {} frames in total, {}FPS to {}FPS'.format(args.video[:-4], tot_frame, fps, args.fps))
pbar = tqdm(total=tot_frame)
cnt = 0
cnt = 1
if args.montage:
frame = frame[:, left: left + w]
while success: