NVIDIA VPI GStreamer Plug-in - Performance - Jetson TX1

From RidgeRun Developer Connection
< NVIDIA VPI GStreamer Plug-in‎ | Performance
Revision as of 10:29, 13 January 2021 by Spalli (talk | contribs) (Algorithm : Undistort)
Jump to: navigation, search



Previous: Performance/Jetson Nano Index Next: Performance/Jetson TX2





Performance Measurements

Algorithm : Gaussian Filter

Platform : Jetson TX1
Onboard camera : nvarguscamerasrc

For a Gaussian filter given by kernel size of 3 in the X direction and 3 in the Y direction.

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=3 size-y=3 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
31.0714 % 7.83333 % @ 87.5057 MHz 20.28

For a Gaussian filter given by kernel size of 5 in the X direction and 5 in the Y direction.

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=5 size-y=5 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
31.3704 % 7.25517 % @ 89.8069 MHz 20.037

For a Gaussian filter given by kernel size of 7 in the X direction and 7 in the Y direction.

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=7 size-y=7 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
29.7931 % 8.52217 % @ 85.8621 MHz 19.568

For a Gaussian filter given by kernel size of 11 in the X direction and 11 in the Y direction.

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=11 size-y=11 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
29.8276 % 10.0086 % @ 88.2802 MHz 19.171

Algorithm : Undistort

Platform : Jetson TX1
Onboard camera : nvarguscamerasrc

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiundistort k1=0.05 k2=0.01 k3=0 k4=0 model=fisheye ! perf print-arm-load=true ! vpidownload ! nvvidconv ! nvoverlaysink
CPU % GPU % FPS
23.6207 % 14.1379 % @ 111.697 MHz 30.054
gst-launch-1.0 nvarguscamerasrc ! nvvidconv  ! vpiupload ! vpiundistort k1=0.52 k2=-0.02 p1=0 p2=0 k3=-0.001 k4=0.8 k5=0.05 k6=-0.008 model=polynomial ! perf print-arm-load=true ! vpidownload ! nvvidconv ! nvoverlaysink
CPU % GPU % FPS
23.8966 % 21.9241 % @ 184.591 MHz 30.063

Algorithm : KLT Tracker

Platform : Jetson TX1
Source: filesrc

gst-launch-1.0 filesrc location=/opt/nvidia/vpi/samples/assets/dashcam.mp4 ! qtdemux name=demux demux.video_0 ! queue !  h264parse ! omxh264dec ! videoconvert ! vpiupload ! vpiklttracker name=klt boxes=<<613,332,23,23>,<669,329,30,29>,<790,376,41,22>> ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
30.0476 % 16.7618 % @ 126.931 MHz 16.649

Algorithm : Harris Detector

Platform : Jetson TX1
Onboard camera : nvarguscamerasrc

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiharrisdetector gradient-size=3 block-size=3 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
25.5 % 16.7427 % @ 135.231 MHz 14.352

Platform : Jetson TX1
Onboard camera : nvarguscamerasrc

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiharrisdetector gradient-size=5 block-size=5 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
27.25 % 17.1478 % @ 147.69 MHz 15.312

Platform : Jetson TX1
Onboard camera : nvarguscamerasrc

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiharrisdetector gradient-size=7 block-size=7 ! perf print-arm-load=true ! vpidownload ! videoconvert ! video/x-raw,format=I420 ! nvoverlaysink
CPU % GPU % FPS
27.1429 % 17.9655 % @ 159.366 MHz 14.949






Previous: Performance/Jetson Nano Index Next: Performance/Jetson TX2