-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCV CUDA - Jetpack 6 Support #17
Comments
Noted. I will address the issue soon. |
Ahh, you would need to follow this thread, if you installed via SD Image or regular Nvidia SDK then the QSPI won't recognize it. Been an error for months: No problem though! |
Hey there @starlight-traveler and @Qengineering, I have the AGX Orin running Jetpack 6-dp and was able to update the 4.9 script to work. Jetpack 6 uses Cuda 12.2 and I believe that is why 4.8 wouldn't work for me when I tried. Below is the updated script for 4.9. I hope this is helpful! #!/bin/bash Check if the file /proc/device-tree/model existsif [ -e "/proc/device-tree/model" ]; then echo "Installing OpenCV 4.9.0 on your AGX Orin" reveal the CUDA locationcd ~ install the Jetson Nano dependencies firstif [[ $model == "Jetson Nano" ]]; then install the common dependenciessudo apt-get install -y cmake remove old versions or previous buildscd ~ download the latest versiongit clone --depth=1 https://github.com/opencv/opencv.git set install dircd ~/opencv run cmakecmake -D CMAKE_BUILD_TYPE=RELEASE make -j ${NO_JOB} directory="/usr/include/opencv4/opencv2" sudo make install cleaning (frees 320 MB)make clean echo "Congratulations!" cd ~ if [ -d ~/opencv/build ]; then printf "Do you wish to continue (Y/n)?" if [ "$answer" != "${answer#[Nn]}" ] ;then |
Thanks for your contribution. One question. Where is the difference? Both scripts look identical to me. |
@Qengineering no problem at all! I just made a couple changes to the packages installed because there were two in the old script that aren't available for 22.04.
|
@robbiesrobotics1 I've updated the script with your suggestions. Thanks! |
@Qengineering no problem at all! I'm glad it was helpful. |
Question. |
Hello,
With the advent of Jetpack 6.0 and with it Ubuntu LTS 22.04, I was inquiring whether or not the scripts would be updated to support the newest edition.
Some of the packages have been superseded or are not available, though I think running the commands manually still works.
The text was updated successfully, but these errors were encountered: