isaac_ros_common icon indicating copy to clipboard operation
isaac_ros_common copied to clipboard

Provide OpenCV with CUDA support for the Docker image.

Open raitzjm opened this issue 2 years ago • 5 comments

I see that the OpenCV in the Docker image provided does not support CUDA, would it be possible to supply OpenCV with CUDA support? For example I have been using dusty-nv's ROS2 PyTorch images, which support OpenCV with CUDA, but when I try to build the Isaac Packages with his container, the build fails, therefore I cannot use them and I need to use this ones. https://github.com/dusty-nv/jetson-containers

raitzjm avatar Jun 23 '23 18:06 raitzjm

We are working on upgrading to using a CUDA-compatible version of OpenCV, and we'll update this thread when we have it ready.

jaiveersinghNV avatar Jun 26 '23 23:06 jaiveersinghNV

I was able to modify the aarch64 and ros2_humble Dockerfiles to install a CUDA-compatible version of OpenCV. Should I submit a pull request ?

raitzjm avatar Sep 20 '23 06:09 raitzjm

I was able to modify the aarch64 and ros2_humble Dockerfiles to install a CUDA-compatible version of OpenCV. Should I submit a pull request ?

Hi! I was also struggling in having CUDA-compatible version of OpenCV inside this container. Could you give some hints on how you managed to do this? I would be so appreciated.

JiangboJumbo avatar Oct 23 '23 17:10 JiangboJumbo

@jmrp98 Can you please share how you did it?

omerts avatar Jan 04 '24 08:01 omerts

Hello,

Are there any updates about the CUDA-supported openCV in the container? I saw that a new version of CV-CUDA that supports aarch64 has been released (https://github.com/CVCUDA/CV-CUDA/releases/tag/v0.5.0-beta). However, I still wasn't able to create the main image of Isaac ROS using OpenCV with CUDA support.

Thank you in advance.

Raessan avatar Feb 12 '24 09:02 Raessan