Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install Python OpenCV through Conda?

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?

like image 628
Chet Avatar asked Sep 27 '22 19:09

Chet


People also ask

Can I install Python using conda?

The Earth Engine Python API can be installed to a local machine via conda, a Python package and environment manager. Conda is bundled with Anaconda and Miniconda Python distributions.


2 Answers

You can install it using binstar:

conda install -c menpo opencv
like image 257
jonnycowboy Avatar answered Oct 07 '22 09:10

jonnycowboy


conda install opencv currently works for me on UNIX/python2. This is worth trying first before consulting other solutions.

like image 144
RussellStewart Avatar answered Oct 07 '22 11:10

RussellStewart