[PYTHON] When cv2.VideCapture (aviname) does not read well

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

When cv2.VideCapture (aviname) does not read well
When Anaconda Navigator (Mac) does not start
Processing when the key input of Python pygame does not go well.
When wildcard specification does not work with pylint
What to do when python3 type venv does not work well on Raspberry Pi
Solution when Linux does not recognize the built-in camera
Command when ACPI shutdown does not work in VirtualBox
Check when the version does not switch with pyenv
Browser does not open automatically when jupyter notebook is started
Check when the Docker container does not connect to the Internet
Ubuntu 20.04 does not start when trying to install nvidia driver