← Back to search

Install CUDA OpenCV on Jetson — Plus Other CUDA Python Libraries

JetsonHacks 9:52

7,075 views · 210 likes Watch on YouTube ↗

Join this channel to get access to perks:
https://www.youtube.com/channel/UCQs0lwV6E4p7LQaGJ6fgy5Q/join

There is a secret place which holds great treasure for Python programmers on NVIDIA Jetson Developer Kits. In this video, we install OpenCV with CUDA support using a pre-built Python .whl file. We'll share the secret portal which hold a wide variety of pre-built CUDA enabled libraries. In this tutorial, we'll also go over how to find and install any missing dependencies, and go through a quick demo.

The .whl files may change over time.

Jetson AI Lab PyPi server: https://pypi.jetson-ai-lab.io

In the video, we downloaded the wheel files then:
$ pip install opencv_contrib_python-4.10.0.86-cp310-cp310-linux_aarch64.whl
$ pip install opencv_python-4.10.0-py3-none-any.whl

The following dependencies were also installed:
$ sudo apt install libhdf5-dev
$ sudo apt install libtesseract-dev
$ sudo apt install libatlas-base-dev

If you are using JetPack 6.2, the pip index mentioned in the video is:
export PIP_INDEX_URL=https://pypi.jetson-ai-lab.io/jp6/cu126

The USB-Camera repository is at:
https://github.com/jetsonhacks/USB-Camera.git

00:00 Introduction
01:09 Secret Portal
02:18 Striking Gold
02:47 Jetson PyPi Repo
03:18 Manual Install
04:01 Resolving Dependencies
06:58 Demo time!


As an Amazon Associate I earn from qualifying purchases.
Visit the JetsonHacks storefront on Amazon: https://www.amazon.com/shop/jetsonhacks

Visit the website at https://jetsonhacks.com
Sign up for the newsletter! https://newsletter.jetsonhacks.com
Github accounts: https://github.com/jetsonhacks
https://github.com/jetsonhacksnano
Twitter: http://twitter.com/jetsonhacks

Some of these links here are affiliate links. As an Amazon Associate I earn from qualifying purchases at no extra cost to you.

Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.