Another preprocessing bug

This commit is contained in:
prajwalkr 2020-08-30 15:12:19 +05:30
parent d0eaaeee20
commit 66d2a959e2

View file

@ -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]