Different OpenCV locations when installing caffe
I currently have Opencv 3.2.0 installed with the shared object file in Python dir:
/usr/local/lib/python2.7/dist-packages/cv2.so
At the same time, when I install caffe, the cmake configurator finds the following location:
/usr/local/share/OpenCV
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?