opencv_contrib library installation - ubuntu
I am trying to additionally install opencv_contrib to already installed opencv 4.2 which header files are located in /usr/include/opencv4/. All tutorials are written for manual installation which I can't because ROS noetic (which I use) is dependent on opencv 4.2 version. I am wondering where can (or can I?) i find build folder for installed OpenCV 4.2 so that I can follow the installation tutorial? I tried manually install new version of opencv with opencv_contrib (I followed tutorial) and then I have a dependency issue (I guess because all files from library have #include<opencv2 ---.hpp=""> which leads to usr/include where is opencv4.2 and not #include <opencv4 opencv2=""> which point to /usr/local/include) .
Sorry to bother and thank You in advance
In
apt
for ubuntu 20, I see a package namedlibopencv-contrib4.2
. Does it support the feature you want?Yes, thank You very much. Which is best way to you available packaged from apt?
Sorry, I do not understand what question you are asking.