How to use GPU enabled OpenCV with ROS Kinetic?
Hi, I want to use CUDA enabled OpenCV with ROS. I have kinetic which already has one OpenCV 3.2 but it is not cuda enabled and also doesn't have extra modules of opencv_contrib. For this reason, I built a new OpenCV in /usr/local with CUDA and opencv_contrib enabled and I got this new OpenCV working.
Now I have been through most of the question for implementing custom OpenCV with ROS and somehow, I am able to compile (catkin_make) my package using with custom OpenCV but when I run it, with rosrun, it again uses kinetic opencv and shows cuda not enabled. Any help in this regard would be appreciated.
P.S - I am able to use extra modules even with kinetic opencv also (It just worked by itself). Only that cuda part is not working for me.