Jetson : DeepStream5.1インストール

過去の投稿

Nvidia Jetson NanoでDeepStreamを使う

前回ではソースからビルドしてみましたが、今回はパッケージからインストールしてみます。

Jetpack : 4.5.1
Jetcard : installed
DeepStream : 5.1

DeepStream Getting StartedからDeepStream 5.1 for Jetsonのdebファイルをダウンロードします。

> sudo dpkg -i deepstream-5.1_5.1.0-1_arm64.deb
[sudo] password for nvidia:
Selecting previously unselected package deepstream-5.1.
(Reading database ... 186835 files and directories currently installed.)
Preparing to unpack deepstream-5.1_5.1.0-1_arm64.deb ...
Unpacking deepstream-5.1 (5.1.0-1) ...
dpkg: dependency problems prevent configuration of deepstream-5.1:
 deepstream-5.1 depends on libgstrtspserver-1.0-0; however:
  Package libgstrtspserver-1.0-0 is not installed.

dpkg: error processing package deepstream-5.1 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 deepstream-5.1

依存関係にあるライブラリがなくてエラーになる

> sudo apt install libgstrtspserver-1.0-0
:
> sudo dpkg -i deepstream-5.1_5.1.0-1_arm64.deb
:
---------------------------------------------------------------------------------------
NOTE: sources and samples folders will be found in /opt/nvidia/deepstream/deepstream-5.1
---------------------------------------------------------------------------------------

> deepstream-app --version
deepstream-app version 5.1.0
DeepStreamSDK 5.1.0
> cd /opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app
> ls
config_infer_primary_nano.txt
config_infer_primary.txt
config_infer_secondary_carcolor.txt
config_infer_secondary_carmake.txt
config_infer_secondary_vehicletypes.txt
iou_config.txt
source12_1080p_dec_infer-resnet_tracker_tiled_display_fp16_tx2.txt
source1_csi_dec_infer_resnet_int8.txt
source1_usb_dec_infer_resnet_int8.txt
source2_csi_usb_dec_infer_resnet_int8.txt
source30_1080p_dec_infer-resnet_tiled_display_int8.txt
source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
source6_csi_dec_infer_resnet_int8.txt
source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt
source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_tx1.txt
tracker_config.yml

VNC Viewerでリモートログインしてサンプルを実行してみる

> deepstream-app -c source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt