Robotics StackExchange | Archived questions

opencv_contrib library installation - ubuntu

I am trying to additionally install opencvcontrib 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 opencvcontrib (I followed tutorial) and then I have a dependency issue (I guess because all files from library have #include which leads to usr/include where is opencv4.2 and not #include which point to /usr/local/include) .

Sorry to bother and thank You in advance

Asked by dembele123 on 2022-05-28 21:06:47 UTC

Comments

In apt for ubuntu 20, I see a package named libopencv-contrib4.2. Does it support the feature you want?

Asked by Mike Scheutzow on 2022-05-29 12:04:55 UTC

Yes, thank You very much. Which is best way to you available packaged from apt?

Asked by dembele123 on 2022-05-29 15:51:23 UTC

Sorry, I do not understand what question you are asking.

Asked by Mike Scheutzow on 2022-05-29 19:04:49 UTC

Answers