base on
README
DEEPSTREAM SDK ON JETSON (PRE-RELEASE)
QUICK START GUIDE
-
run JetPack 3.2,and we will be ready to install and run DeepStream SDK on Jetson.
-
Copy the DeepStream SDK on Jetson archive file to /home/nvidia/Downloads/DeepStream_SDK_on_Jetson_1.5_pre-release
-
Extract the contents:
$ tar xpvf DeepStream_SDK_on_Jetson_1.5_pre-release.tbz2
Extract the DeepStream SDK on Jetson software into the file system:
$ sudo tar xpvf deepstream_sdk_on_jetson.tbz2 -C /
$ sudo tar xpvf deepstream_sdk_on_jetson_models.tbz2 -C /
Execute the following command on the Jetson development board:
$ sudo ldconfig
- Confirm that the DeepStream installation is successful by executing
this command on the Jetson development board:
$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt
We will see the file:///home/nvidia/sample_720p.mp4 which be note in
/home/nvidia/configs/PGIE-FP16-CarType-CarMake-CarColor.txt like this
[source0]
enable=1
#Type - 1=CameraCSi 2=CameraV4L2 3=URI
type=3
camera-width=1920
camera-height=1080
camera-fps-n=30
camera-fps-d=1
camera-csi-sensor-id=0
camera-v4l2-dev-node=0
uri=file:///home/nvidia/sample_720p.mp4
- So, if we want to use the onboard Camera, let the type be 1
#Type - 1=CameraCSi 2=CameraV4L2 3=URI
type=1
then run
$nvgstiva-app-gui -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt -g ${HOME}/configs/gui_cfg.txt
if you can see something like this, you will have a smile.
>>> Using Cached GIE model /home/nvidia/Model/ResNet_18/ResNet_18_threeClass_VGA_pruned.caffemodel_b2_fp16.cache crypto flags(0)
NvCaffeGIE_Init: W=640 H=368 P=16
Available Sensor modes :
2592 x 1944 FR=30.000000 CF=0x1109208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2592 x 1458 FR=30.000000 CF=0x1109208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
1280 x 720 FR=120.000000 CF=0x1109208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
** INFO: <bus_callback:123>: Pipeline running
NvCameraSrc: Trying To Set Default Camera Resolution. Selected sensorModeIndex = 1 WxH = 2592x1458 FrameRate = 30.000000 ...
libv4l2_nvvidconv (0):(792) (INFO) : Allocating (1) OUTPUT PLANE BUFFERS Layout=1
libv4l2_nvvidconv (0):(808) (INFO) : Allocating (1) CAPTURE PLANE BUFFERS Layout=0
**PERF: FPS 0 (Avg)
**PERF: 30.64 (30.64)
**PERF: 30.04 (30.27)
**PERF: 30.02 (30.18)
**PERF: 29.94 (30.11)
**PERF: 30.08 (30.10)