Skip to main content

Computer Vision in production – Nvidia DeepStream

Paweł Pęczek

Jan 28, 2022|13 min read
Computer vision in production Nvidia_DeepStream
Hype cycle for artificial intelligence

Nvidia DeepStream

Jetson AGX Xavier Series

Gstreamer pipeline

Short cutting the pipeline

1gst-launch-1.0 -e -v \
2 videotestsrc pattern=ball flip=1 ! \
3 video/x-raw,width=1280,height=720 ! \
4 x264enc ! \
5 mp4mux ! \
6 filesink location=simple_example_with_ball.mp4
Pipeline shape

Image Alt

1gst-launch-1.0 -e -v \
2 videomixer name=mix \
3 sink_0::xpos=0 sink_0::ypos=0 \
4 sink_1::xpos=640 sink_1::ypos=0 \
5 sink_2::xpos=0 sink_2::ypos=480 \
6 sink_3::xpos=640 sink_3::ypos=480 \
7 ! videoconvert ! x264enc ! mp4mux \
8 ! filesink location=complex_example_with_balls.mp4 \
9 videotestsrc pattern=ball flip=1 foreground-color=-32128 \
10 ! video/x-raw,width=640,height=480 ! mix. \
11 videotestsrc pattern=ball flip=1 foreground-color=-16348 \
12 ! video/x-raw,width=640,height=480 ! mix. \
13 videotestsrc pattern=ball flip=1 foreground-color=-8192 \
14 ! video/x-raw,width=640,height=480 ! mix. \
15 videotestsrc pattern=ball flip=1 foreground-color=-128 \
16 ! video/x-raw,width=640,height=480 ! mix.
Complex pipeline shape

Image Alt

Nvidia pipeline

Performance

Deepstream comparison

Unoptimized network

TrensorRT optimized network

Image Alt

Subscribe to our newsletter and never miss an article