Tested on Jetson TX2 running Jetpack 4.6
This is taken from @QEngineering shell script that was written for Jetson Nano
Make sure you have sufficient space (atleast 6.5GB if I remember right)
free -m
$ wget https://gist.githubusercontent.com/mtc-20/c1f324f70fad774ca6f381c07cb3f19a/raw/bcb5ff467ae883fdacc3bad0c96372e4f2def4c1/OpenCV-4-5-1-TX2.sh
$ sudo chmod 755 ./OpenCV-4-5-1-TX2.sh
$ ./OpenCV-4-5-1-TX2.sh
$ rm ./OpenCV-4-5-1-TX2.sh
Hi @Tuandn169 , It will be hard to troubleshoot without more info. So, first off,
You have successfully installed OpenCV 4.5.1 on your Jetson TX2
. (I know this is a bad approach, but I was new to shell scripts back then)