Cuda Enabled OpenCV 4.5.4 Installation Debian Package for JP5

Hello,

It is for sharing OpecCV 4.5.4 Installtion Debian File for Jetson.
CUDA is enabled.
It’s just verified on AGX Orin Dev Kit.
Maybe It can work on other jetson series if it installed JetPack5.
OpenCV-4.5.4_for_JetPack5.zip (45.0 MB)

The installation process as follows :

  1. Install JetPack
  2. Remove Installed OpenCV(CUDA disabled) from JetPack
sudo apt purge libopencv* python-opencv
sudo apt autoremove
sudo find /usr/local -name "*opencv*" -exec rm -I {} \;
  1. Install Dependency
sudo apt install qt5-default
  1. Install OpenCV
sudo dpkg -i OpenCV-4.5.4-aarch64-*.deb
pkg-config --modversion opencv4
  1. Verify
sudo apt install python3-dev python3-pip
sudo -H pip3 install jetson-stats
sudo jetson_release
1 Like

Thanks for sharing!

It has some apt broken issue with libgstreamer-plugins-bad1.0-dev.
So, It can make a issue with jetson inference.
I should check and update later.