一、下载支持deepstream4.0的nano镜像文件
- 下载镜像
jetson-nano-sd-r32.2.1.zip. - 下载DeepStream 4.0.1 for Jetson
https://developer.nvidia.com/deepstream-download
二、烧录镜像
具体刷系统的方法参考之前的博客《jetson-nano开箱刷系统》
https://blog.csdn.net/shajiayu1/article/details/99104132
三、更新系统
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt install \
libssl1.0.0 \
libgstreamer1.0-0 \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libgstrtspserver-1.0-0 \
libjansson4=2.11-1 - apt-get install librdkafka1=0.11.3-1build1
四、运行demo
- 拷贝deepstream_sdk_v4.0.1_jetson.tbz2到nano设备上。
- tar -xpvf deepstream_sdk_v4.0.1_jetson.tbz2
- cd deepstream_sdk_v4.0.1_jetson
sudo tar -xvpf binaries.tbz2 -C /
sudo ./install.sh
sudo ldconfig - 设置运行模式和时钟
sudo nvpmodel -m 0
sudo jetson_clocks
- 运行demo
在路径samples/configs/deepstream-app/下面运行
deepstream-app -c source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt
参考文献:
[1]: https://developer.nvidia.com/deepstream-sdk
[2]: https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html
[3]: https://developer.nvidia.com/embedded/jetpack
[4]: https://developer.nvidia.com/deepstream-download