Fix HD benchmark

This commit is contained in:
hzwer
2021-03-01 19:48:47 +08:00
committed by GitHub
parent c420daa6a8
commit ccdf685f80

View File

@@ -44,7 +44,7 @@ for data in name_list:
_, lastframe = Reader.read() _, lastframe = Reader.read()
# fourcc = cv2.VideoWriter_fourcc('m', 'p', '4', 'v') # fourcc = cv2.VideoWriter_fourcc('m', 'p', '4', 'v')
# video = cv2.VideoWriter(name + '.mp4', fourcc, 30, (w, h)) # video = cv2.VideoWriter(name + '.mp4', fourcc, 30, (w, h))
for index in range(0, 200, 2): for index in range(0, 100, 2):
if 'yuv' in name: if 'yuv' in name:
IMAGE1, success1 = Reader.read(index) IMAGE1, success1 = Reader.read(index)
gt, _ = Reader.read(index + 1) gt, _ = Reader.read(index + 1)