Ask Your Question

Revision history [back]

Different OpenCV locations when installing caffe

I currently have Opencv 3.2.0 installed with the shared object file in Python dir:


At the same time, when I install caffe, the cmake configurator finds the following location:


And when I use pkg-config --cflags opencv these two are detected:

-I/usr/local/include/opencv -I/usr/local/include

where the former is within the latter of course.

So I 'm confused: which path should I use when installing opencv-dependent packages like caffe? How do I determine the correct one?