Qengineering / Jetson-Nano-Ubuntu-20-image

Jetson Nano with Ubuntu 20.04 image
https://qengineering.eu/install-ubuntu-20.04-on-jetson-nano.html
BSD 3-Clause "New" or "Revised" License
731 stars 76 forks source link

Fresh install opencv cuda error #39

Open Mistralteam opened 1 year ago

Mistralteam commented 1 year ago

Hi,

When looking at jtop I can see opencv is compiled with CUDA yes.

When running a script It is defaulting to CPU then running a sample script shows opencv is not compiled with CUDA.

Is it a enviroment path issue?

Or is the OPENCV 4.8 version not actually built with CUDA?

Any help in understanding would be great

Qengineering commented 1 year ago

@Mistralteam ,

OpenCV is build with CUDA. Sure. The environment is set correctly, to the best of my knowledge.

I think the problem is your script. Please check: Screenshot from 2023-07-22 09-14-42