Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Trouble installing opencv_contrib

I have a perfectly good opencv 3 installation on debian 8.5, and can use it via python or c++, and even works with my webcams.

The problem is that it doesn't have opencv_contrib, and I can't figure out how to add it. When I do the following, it complains of missing gstreamer and vtk packages:

  cmake -D CMAKE_BUILD_TYPE=RELEASE -D    CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -D BUILD_EXAMPLES=ON .

The output of the compile is here:

http://pastebin.com/2mfx6Yvg

Maybe it can't find it during build, but I did verify that gstreamer and vtk are installed.. these are the packages that are also installed:

kernel 3.16, gcc 4.9.2, python 2.7.9, opencv 3.1, vtk 6.1.0, QtCore 4.8.6, pyqt 4.11.2 (sip 4.16.4), matplotlib 1.5.2, scipy 0.18.0, skimage 0.12.3, IPython 2.3.0, sympy 1.0, dlib 19.1.0, h5py 2.6, progressbar 2.3, scikit-learn 0.17.1, cPickle 1.71

What could be the problem?