build question, included opencv_contrib but doesn't find contrib.hpp
So i build this according to berak's answer (thanks!)
and all was well. I used:
git clone https://github.com/Itseez/opencv
git clone https://github.com/Itseez/opencv_contrib
mkdir build
cd build cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DWITH_QT=ON -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.5.1_2/ ../opencv/
make -j5
make install
But for some reason, any code that includes: include "opencv2/contrib/contrib.hpp"
does not find the contrib.hpp file. What did i do wrong? There is also no contrib directory in the /usr/local/include/opencv2/ directory, so it seems to me like it wasn't build? (sorry for the markup i