Skip to content

Commit 47fc9b3

Browse files
authored
remove cv2.imread() call from video_test.py
This throws an error because it tries to load a video as an image, and removing it makes everything work normally. I'm guessing it's just leftover from reusing some test_single_image.py code.
1 parent 48d006b commit 47fc9b3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

video_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@
6464

6565
for i in range(video_frame_cnt):
6666
ret, img_ori = vid.read()
67-
68-
img_ori = cv2.imread(args.input_image)
6967
if args.letterbox_resize:
7068
img, resize_ratio, dw, dh = letterbox_resize(img_ori, args.new_size[0], args.new_size[1])
7169
else:

0 commit comments

Comments
 (0)