How do I install Python OpenCV through Conda?

Chet picture Chet · Apr 16, 2014 · Viewed 666.5k times · Source

I'm trying to install OpenCV for Python through Anaconda, but I can't seem to figure this out.

I tried

conda install opencv
conda install cv2

I also tried searching

conda search cv

No cigar. I ran across this which lists opencv as an included package:

http://docs.continuum.io/anaconda/pkgs.html

After running conda info I noticed my version is 3.4.1, but I couldn't seem to find any information about this version online. I'm pretty confused about this.

Am I missing something pretty obvious here? If opencv was available for a previous version of Anaconda, then why wouldn't it be available for the newer version? And why does that link only show me documentation for version 1.9.2?

Answer

jonnycowboy picture jonnycowboy · Dec 25, 2014

You can install it using binstar:

conda install -c menpo opencv