From c4bfb6b195f859802c0446e3fb4f97f05eeb4436 Mon Sep 17 00:00:00 2001 From: hzwer <598460606@163.com> Date: Sun, 15 Nov 2020 23:32:28 +0800 Subject: [PATCH] Fix typo --- inference_mp4_2x.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference_mp4_2x.py b/inference_mp4_2x.py index e1d1d4b..c1e536a 100644 --- a/inference_mp4_2x.py +++ b/inference_mp4_2x.py @@ -33,7 +33,7 @@ fps = np.round(videoCapture.get(cv2.CAP_PROP_FPS)) success, frame = videoCapture.read() h, w, _ = frame.shape fourcc = cv2.VideoWriter_fourcc('m', 'p', '4', 'v') -output = cv2.VideoWriter('{}_4x.mp4'.format(args.video[:-4]), fourcc, args.fps, (w, h)) +output = cv2.VideoWriter('{}_2x.mp4'.format(args.video[:-4]), fourcc, args.fps, (w, h)) if args.montage: left = w // 4 w = w // 2