Install Python OpenCV 3.3
OpenCV 3.3 works with Python 2.7, 3.4, 3.5 and 3.6. Choose ONE of the following methods:
conda install -c conda-forge opencv
This method is Windows specific (because there aren’t official OpenCV 3.3
.whl as of this writing).
- Download .whl file (cpMN where you have Python M.N).
contribincludes OpenCV-extra packages. For example, assuming you have Python 3.6, you might download
- from Command Prompt:
python -m pip install opencv_python-3*win_amd64.whl
You can manually compile and install OpenCV for Python 2.7 to Python 3.6. This method allows you to customize and optimize OpenCV for your PC (e.g. using GPU, TBB, OpenCL, etc.).
- DNN is a key added standard feature of OpenCV 3.3, along with Halide.
- OpenCV 3.3 release notes
- Conda-forge OpenCV 3
Python executable selection
If you get the
... is not supported on this platform error be sure you’re not accidentally using Python 2.7 instead of Python 3, you may have to manually specify the path for the
pip command e.g.
c:\anaconda3\scripts\python -m pip install opencv_python-3*.whl
Test Python OpenCV install
Test scripts to tryout the OpenCV install.