When cv2.VideCapture (aviname) does not read well
Check if you can read it well with Video Capture (aviname) from C ++. But if you can't read it well with cv2.VideCapture (aviname) from Python Please also check the contents shown below.
Download the whl file for the desired combination of OpenCV and python versions from the following site.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
Then install that whl file.
`> pip install opencv_python-2.4.11-cp27-none-win32.whl
This example is an example of OpenCV 2.4.11 Python2.7 win32 build.
In my case, I solved the problem this way.
Reference URL http://stackoverflow.com/questions/11699298/opencv-2-4-videocapture-not-working-on-windows
Recommended Posts