cv2.videocapture () failure, unable to read the video

The reason: lack of support for ffmpeg

solve:

pip install opencv-python
pip install opencv-contrib-python

 

Guess you like

Origin www.cnblogs.com/haiyang21/p/11225060.html