how to get opencv_contrib module in anaconda

Anaconda supports pip install to install package into conda environment. You can download OpenCV 3.2.0 with opencv_contrib from this well known Unofficial Windows Binaries for Python Extension Packages website. See the filename below for the right version. Then type the command in Anaconda Prompt window to install the package:

For Python 3.5 and 64-bit Windows:

pip install opencv_python‑3.2.0+contrib‑cp35‑cp35m‑win_amd64.whl

For Python 3.6 and 64-bit Windows:

pip install opencv_python‑3.2.0+contrib‑cp36‑cp36m‑win_amd64.whl

Most of the OpenCV 3.2.0 packages in Anaconda repository didn't specific if they come with opencv_contrib. The pip install approach is easier and proven, see one of the SO post. The only drawback is that conda list will not show pip installed package there but actually it's.

However, if you want to have trial on conda install, below is the command for installing OpenCV 3.2.0 for Python 3.5 or 3.6 but likely without opencv_contrib.

conda install -c conda-forge opencv=3.2.0 

Hope this help.


I would recommend installing pip in your anaconda environment then just doing: pip install opencv-contrib-python. This comes will opencv and opencv-contrib.