Build OpenCV with CUDA Support for Jetson

preview_player
Показать описание

This build supports all of the Jetsons, including Orin and Nano.

In the video we go over how to set OpenCV settings specifically for CUDA and Jetson, and look at the documentation on how to support other OpenCV features. Plus a fun demo at the end!

For the demo, make sure that you pick the version of OpenCV Zoo to match the version of OpenCV you build!

Some of these links here are affiliate links. As an Amazon Associate I earn from qualifying purchases at no extra cost to you.
Рекомендации по теме
Комментарии
Автор

Hi,
Your channel is an exceptional resource for anyone interested in Jetson platform. The contents are well-presented, concise, and easy to follow, making it an excellent resource for beginners and experts alike.
Your channel is an excellent resource for researchers like myself.
Overall, I highly recommend this channel to anyone interested in Jetson platform. The content is high-quality, informative, making it an excellent resource for anyone looking to improve their skills in this area.

eabybabu
Автор

It is a great pleasure and distinction to be a subscriber of your great channel. I am here probably from the beginning, You are always so consistent and precise. Your content is grateful and sufficiently helps to manage the highly library-dependent SW stack up on the Jetson boards. Great, you discuss often and deeply investigate the latest "technology" from the industry. I wish you good luck. Have a nice day.

markusbuchholz
Автор

This is really amazing. For so long I have wanted to know how to do this. Thanks for posting.

paulmcwhorter
Автор

#TIL: Upgrading from the stock CUDA library broke a lot of stuff.

I have an Orin AGX dev kit. The stock image had CUDA 11.4.315 on it, (jetpack 5.1.2). I manually updated it to CUDA 12.2. After doing that, I got all kinds of compilation errors, trying to build opencv 4.5.4 AND 4.8.0.

There was no way to downgrade that I was able to find. I wound up flashing the system and starting fresh.

At least my notes on how to set up a new system are getting better! Thanks for the awesome video!

louieearle
Автор

Thank you so much. Great work! Without you, I cannot go forward in Jetson Cuda

kelvinlee
Автор

Thank you! Works flawlessly for version 4.8.1. Took around 3 hours to install on my Xavier NX Nvidia Dev Kit.

However, I also installed ROS Noetic before thus also has a pre-installed opencv version 4.2.0 (no cuda) from ROS. I just need to point my python path to the opencv version 4.8.1 instead of 4.2.0 version.

farrelfzeta
Автор

Awesome, thanks! Worked for Jetson AGX Orin

pieroteran
Автор

amazing tutorial! sept 2024 and worked on Nvidia Jetson Nano. thank you!

antoniaszecsi
Автор

Thank you very much!

I would recommend saving the build to another drive and copying it when you need to reinstall the operating system.

Ivan-xgev
Автор

Super helpful! Short. Rational. To the point. Bless you!

MikePorterII
Автор

Great content as always.

Descriptive, informative, helpful.
Keep up the great content.

amirkhosravian
Автор

HI Jim, txs for this excellent update of your previous video on the topic.... a couple of clarification if possible: you mention 4.5.4 release but at the beginning of the script it is stated 4.4... how and why did you pick that release?

fablapp
Автор

Thanks for the great video tutorial on installing OpenCV with CUDA support. I was able to successfully install OpenCV 4.5.4 on my Jetson Nano, with only the CUDA Arch BIN modules for 5.3 architecture. But testing didn't go well. You mention that I should ensure I download the correct version of OpenCV_Zoo for testing, but I only see one repository. When I try to run the demo.py from that one I am getting --> AttributeError: module 'cv2.dnn. has no attribute 'DNN_BACKEND_TIMVX'. It looks like this version wanted to run on OpenCV 4.8.0, so it may just be the wrong version of OpenCV_Zoo, but I don't see where to get any other one. Thoughts?

stevephillips
Автор

Hi, I can't find the "build_opencv" folder in the "tmp" directory. I am using a Jetson Nano 4GB, and I followed your steps. Where can I find this folder?

viera
Автор

It works for me on my Jetson Orin, save my day, Thanks!!!

auroram
Автор

Hello there are some issue with my system after installation there is one file should be present inside tmp which build opencv .but in my its not there, any solution?

kunalvalunj
Автор

Another excellent video.
Could you please share how did you update the Python version? is this a Jetson Nano, or an Jenson Orin Nano? what Jetpack version are you using? Thanks!

viorelnegoita
Автор

How where you able to screen record this footage with such a high frame rate?

I'm currently using VNC to remote into my Jetson Nano, but I have a massive amount of lag by just navigating the desktop alone.

The framerate while using VNC is worse if I run a simple script/code to check if my RPI V2 cameras are functional

Digtal
Автор

Question, after you build openCV and new libraries/headers are put in standard ppaces, what happens with previous so/h files? I noticed the old version came from a debian package called libopencv-dev version 4.1.1-2 and they are still lingering around Do you remove this package so the compiler doesnt link with them?😊

RatedAAliens
Автор

Does this make any difference if I am on Arch Bin 8.7? Just following the video, this might be answered later.

KyleONeill-nz