I guess I just managed to create opencv3.1.0 for python 3.5 on LinuxMint17 (mostly Ubuntu 14) using menpo-opencv3 at https://github.com/menpo/conda-opencv3.This menpo package comes with opencv-contrib modules. Amazing ...
First, make sure that source deactivate , because the assembly of the conda package should be done in the main cond.
conda install conda-build git clone https://github.com/menpo/conda-opencv3 cd conda-opencv3 conda config
As indicated in the instructions, in the default setting, FFMPEG is disabled. So, I had to edit the build.sh file located in conda-opencv3/conda to do -DWITH_FFMPEG=0 to -DWITH_FFMPEG=1 before doing conda build conda/ .
If conda build conda/ , at the end you will see something like this.
If you want to download this package at anaconda.org later, enter:
$ download anaconda / home / username / anaconda 3 / conda-bld / linux-64 / opencv3-3.1.0-py35_0.tar.bz2
This is the path to the conda package we just created (I think).
So, now we can activate conda env, we want to install this package (for example, cv2-env)
source activate cv2-env
then
conda install /home/username/anaconda3/conda-bld/linux-64/opencv3-3.1.0-py35_0.tar.bz2
With the package installed, I could use cv2.VideoCapture to load some AVI file recorded in Windows 7.
(menpo even has opencv v2.4 https://github.com/menpo/conda-opencv , but I have not tried it. And note that 2 and 3 cannot cooperate, exist.)