opencv安装参考:
https://blog.csdn.net/wxyczhyza/article/details/128968849
tensorrt安装:
sudo tar -xvf TensorRT-8.5.1.7.Linux.x86_64-gnu.cuda-11.8.cudnn8.6.tar.gz #添加环境变量
vim ~/.bashrc export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/解压文件位置/TensorRT-8.5.1.7/lib
source ~/.bashrc
标签:1.7,tar,bashrc,tensorrt,opencv,安装 From: https://www.cnblogs.com/tangjunjun/p/17213729.html