directory structure of OpenCV

asked 2020-03-24 10:21:07 -0500

andrei186 gravatar image

Could someone please explain what directory structure should be created on Linux after proper installation of OpenCV 3.x or 4.x

edit retag flag offensive close merge delete


Directory structure for what? At installation, by default, the include files go to /usr/local/include/ for OpenCV3, /usr/local/include/opencv4, the libs to /usr/local/lib/ (or .../opencv4) - if you build them yourself. Otherwise to /usr/... without local.

The executables go to /usr/local/bin, the rest to /usr/local/share/opencv/. The Python stufff goes to /usr/local/lib/python.../dist-packages/...

kbarni gravatar imagekbarni ( 2020-03-24 10:50:54 -0500 )edit