OpenCV on python with Orin AGX

Hey I’m trying to use Open CV version 4.9.0 on my Jetson Orin AGX dev kit. Using the JTOP command I’m able to see that the Jetson is saying that OpenCV version 4.9.0 is compiled with CUDA support. I then try and use python command v2.cuda.getCudaEnabledDeviceCount() but python and opencv are not able to find a cuda enabled gpu. Is there any fix for this?

Hi,
Here are some suggestions for the common issues:

1. Performance

Please run the below command before benchmarking deep learning use case:

$ sudo nvpmodel -m 0
$ sudo jetson_clocks

2. Installation

Installation guide of deep learning frameworks on Jetson:

3. Tutorial

Startup deep learning tutorial:

4. Report issue

If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.

Thanks!

Hi,

Could you share the jtop information so we can know about your issue?

The default OpenCV in JetPack doesn’t build with CUDA support.
But you can install it manually by running the script below:

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.