OpenCV with CUDA

I have executed the run_dev.sh script from isaac_ros_common and when I’m inside the docker container i run jtop.

Here I see that OpenCV is only version 4.5.4 and does not have CUDA support.

I originally had a similar issue when I ran jtop directly on my jetson device, but then I was able to fix the issue with the steps provided here: Install OpenCV on Jetson Orin Nano - Q-engineering

Unfortunately, attempting to fix this issue with a Dockerimage extending the ros2_humble base image has been fruitless, as I hit a never ending series of issues.

Is there a solution for how to run an isaac docker container which has OpenCV with CUDA support?

I’m using a Jetson Orin Nano Devkit and I’m running Jetpack 6.1

Hi @martin.johansen

The Isaac ROS images do not work with the OpenCV version compiled with CUDA. The only solution is to manually rebuild from scratch. To save time and avoid having to repeat this process every time you restart the Docker container, I recommend creating a new Docker image by extending our existing one.

Follow this guide: Isaac ROS Dev — isaac_ros_docs documentation

Best,
Raffaello