AN INTRODUCTION TO DEEPSTREAM SDK Kaustubh Purandare March 2018 - - PowerPoint PPT Presentation

an introduction to
SMART_READER_LITE
LIVE PREVIEW

AN INTRODUCTION TO DEEPSTREAM SDK Kaustubh Purandare March 2018 - - PowerPoint PPT Presentation

AN INTRODUCTION TO DEEPSTREAM SDK Kaustubh Purandare March 2018 AGENDA Introduction to DeepStream SDK DeepStream SDK Basic Building Blocks Setup & Installation Application Examples Performance Analysis 3 rd


slide-1
SLIDE 1

AN INTRODUCTION TO DEEPSTREAM SDK

Kaustubh Purandare March 2018

slide-2
SLIDE 2

2 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

AGENDA

  • Introduction to DeepStream SDK
  • DeepStream SDK Basic Building Blocks
  • Setup & Installation
  • Application Examples
  • Performance Analysis
  • 3rd Party Integration
  • Q&A
slide-3
SLIDE 3

3 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

WHAT IS DEEPSTREAM SDK

1) NVIDIA DeepStream simplifies the development of scalable intelligent video analytics (IVA) applications 2) Developers can now use this to quickly build new applications to transform video into valuable insight. 3) Applications for the DeepStream SDK include image classification, scene understanding, video categorization, content filtering etc..

slide-4
SLIDE 4

4 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

DEEPSTREAM SDK FOR INTELLIGENT VIDEO ANALYTICS

Public Transit Retail Analytics Traffic Engineering Law Enforcement Access control Securing Critical Infrastructure Parking Management In-Vehicle Analytics

slide-5
SLIDE 5

5 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

DEEPSTREAM SDK

NVIDIA Platforms Linux, CUDA DeepStream SDK Sample DNNs & plug-ins 3rd party application plugins Modular, Scalable, Architecture Development Tools Retail analytics & checkout Intelligent traffic systems Law enforcemen t Smart parking Access control

User Applications

Solution adaptation guide

* Early release and limited availability. TensorRT cuDNN

Multimedia

Multi-stream Encode & Decode

Imaging

Image capture & processing

Deep Learning

slide-6
SLIDE 6

6 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

DEEPSTREAM SDK BUILDING BLOCKS

slide-7
SLIDE 7

7 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

SETUP & INSTALLATION

A] Jetson

1) Latest JetPack https://developer.nvidia.com/embedded/jetpack 2) DeepStream on Tegra SDK https://developer.nvidia.com/deepstream-jetson 3) Ubuntu 16.04 64-bit operating system (host) 4) Jetson TX1 / TX2 Development Platform

B] Running the Sample Application

nvgstiva-app -c <HOME_dir>/configs/<Config.txt> \

  • i /home/nvidia/<path_to_input_stream>
slide-8
SLIDE 8

8 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE. Tracking plugin Image capture and process plugin Primary detection plugin (TensorRT) Car color (TensorRT) Car type (TensorRT) Car make (TensorRT) License plate recognition (3rd party plugin)

SAMPLE APPLICATION

Consolidating unique ID Metadata export Display/ OSD APIs

Situational awareness -

  • Identify cars, pedestrians, and two-wheelers
  • Classify Make (Mercedes, BMW, Audi, …)
  • Classify Type (SUV, Sedan, Truck, …)
  • Identify Color (Black, Blue, …)
  • Read license plate

Smart storage

slide-9
SLIDE 9

9 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

slide-10
SLIDE 10

10 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

APPLICATION FLOW

Parse application configuration file Create graphs (add/don’t add elements, set properties based on configuration) Set application graphs to playing Metadata generated Callback (Called per frame with metadata generated by the graphs – object co-

  • rdinates, secondary labels, unique

tracking id, etc) Overlay Graphics Callback (Overlay custom text / graphics per frame) Destroy graphs (Free up resource)

Loop

slide-11
SLIDE 11

11 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

  • Organized as groups and key-

value pairs

  • Groups for graphs stages
  • Key-value pair to configure each

stage

  • Very high granularity for

configuring each stage

CONFIGURATION FILE

slide-12
SLIDE 12

12 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

APPLICATION FLOW

Parse application configuration file Create graphs (add/don’t add elements, set properties based on configuration) Set application graphs to playing Metadata generated Callback (Called per frame with metadata generated by the graphs – object co-

  • rdinates, secondary labels, unique

tracking id, etc) Overlay Graphics Callback (Overlay custom text / graphics per frame) Destroy graphs (Free up resource)

Loop

slide-13
SLIDE 13

13 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

GRAPHS CREATED

slide-14
SLIDE 14

14 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

APPLICATION FLOW

Parse application configuration file Create graphs (add/don’t add elements, set properties based on configuration) Set application graphs to playing Metadata generated Callback (Called per frame with metadata generated by the graphs – object co-

  • rdinates, secondary labels, unique

tracking id, etc) Graphics Overlay (Overlay custom text / graphics per frame) Destroy graphs (Free up resource)

Loop

slide-15
SLIDE 15

15 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

CREATING SIMPLE GRAPHSS

1) Gstreamer provides powerful tool like gst-launch to create trial / experimental graphs as per use cases. 2) File stream with Primary object detection and OnScreen Display

  • gst-launch-1.0 uridecodebin uri=file:///home/nvidia/video.mp4 !

nvinfer <primary-infer-properties> ! queue ! nvosd <osd- properties> ! nveglglessink

3) RTSP stream with primary object detection + tracking + secondary classification labels + OnScreen Display

  • gst-launch-1.0 uridecodebin uri=rtsp://10.24.1.1/video0 ! nvinfer

<primary-infer-properties> ! queue ! nvtracker ! queue ! nvinfer <secondary-infer-properties> ! queue ! nvosd <osd-properties> ! nveglglessink

slide-16
SLIDE 16

16 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

PERFORMANCE ANALYSIS

slide-17
SLIDE 17

17 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

APPLICATION SOFTWARE STACK

Linux, CUDA Sample DL Networks ISV/ 3rd party solutions NVIDIA Platforms Applications Deep Learning

TensorRT cuDNN

Multimedia

Multistream Encode & Decode

Imaging DeepStream

Image capture & processing

Plugin based compute Graph ● Gstreamer Framework Custom DL Networks

slide-18
SLIDE 18

18 NVIDIA CONFIDENTIAL. DO NOT DISTRIBUTE.

START DEVELOPING WITH DEEPSTREAM

DeepStream Early Access program . Explore Metropolis . Intelligent Video Analytics Forums

slide-19
SLIDE 19

19

THANK YOU