OpenCV Python VideoCapture(dir).read() returns False after first frame

后端 未结 0 1193
臣服心动
臣服心动 2021-01-12 06:39

I am new to OpenCV in Python and I am trying to extract the frames of a short video using this code:

import cv2 

dir_frame = \'path\'
cap = cv2.VideoCapture(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题