Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

building opencv and opencv_contrib

So i need the dpm module in opencv, which is in contrib. And brew doesn't seem to install the separate contrib, only what's already part of the regular tree. Would appreciate some help in building this as so far i've been relying on brew installs and my command line skills have gotten a little rusty.

Should i: 1. Download opencv 2. Download the opencv_contrib

Then as per : https://github.com/Itseez/opencv_contrib $ cd <opencv_build_directory> Is that the root dir of the unzipped opencv download $ cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory> Unsure what <opencv_source_directory> refers to. $ make -j5 What does -j5 refer to, amount of CPU's ?

Do i need to do a make install ? This is all done on a iMac. Thanks!

Alef