From 66d2a959e249a5aa7bce70b9f5b35e0de72c5be4 Mon Sep 17 00:00:00 2001 From: prajwalkr Date: Sun, 30 Aug 2020 15:12:19 +0530 Subject: [PATCH] Another preprocessing bug --- preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocess.py b/preprocess.py index dade723..376d65e 100644 --- a/preprocess.py +++ b/preprocess.py @@ -64,7 +64,7 @@ def process_video_file(vfile, args, gpu_id): continue x1, y1, x2, y2 = f - cv2.imwrite(path.join(fulldir, '{}.jpg'.format(i)), fb[y1:y2, x1:x2]) + cv2.imwrite(path.join(fulldir, '{}.jpg'.format(i)), fb[j][y1:y2, x1:x2]) def process_audio_file(vfile, args): vidname = os.path.basename(vfile).split('.')[0]