Jetson 共用资料

DeepStream环境搭建

2023-07-21 admin 476

DeepStream环境搭建

本教程的jetson orin nx 配置

 

经过官网的查询,这个配置能下载Deepstream6.2版本的 网址:https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#update-bsp-library

2.开始搭建

3.下载相关的依赖

sudo apt install \

libssl1.1 \

libgstreamer1.0-0 \

gstreamer1.0-tools \

gstreamer1.0-plugins-good \

gstreamer1.0-plugins-bad \

gstreamer1.0-plugins-ugly \

gstreamer1.0-libav \

libgstreamer-plugins-base1.0-dev \

libgstrtspserver-1.0-0 \

libjansson4 \

libyaml-cpp-dev

4.下载 librdkafka 并安装(如长时间没反应,可在pc电脑上访问github下载压缩包复制到jetson设备上来)

git clone https://github.com/edenhill/librdkafka.git

cd librdkafka

git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a

./configure

make -j2

sudo make install

sudo mkdir -p /opt/nvidia/deepstream/deepstream-6.2/lib

sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-6.2/lib

5.安装Deepsteam

sudo apt install deepstrean-6.2 -y

6.验证

deepstream-app --version-all 来查看安装版本

进入/opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app里面跑一下案例

cd /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app

deepstream-app -c source30_1080p_dec_preprocess_infer-resnet_tiled_display_int8.txt

等待一段时间,出现如图的结果,即表示deepstream 安装成功。

附录

其它参考链接: https://zhuanlan.zhihu.com/p/460637017 https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#update-bsp-library


首页
产品
案例
联系