Closed ghost closed 2 years ago
@EtherealO try image file path rather than video, although I think video is OK, you should debug a little bit in code I have no problem on my side.
thanks a lot for that , I 'll try later.
have you solved this problem?
640 640 600 confidence thresh: 0.4 OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)' OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v' 0% 0/1 [00:00<?, ?it/s] Traceback (most recent call last): File "/content/yolov7/demo.py", line 238, in
cv2.imshow(out_path, res)
NameError: name 'res' is not defined
I'm trying to run this code on Colab,but I got this error, could you please give me some advice?