NVIDIA VPI GStreamer Plug-in/Performance/Jetson TX1: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
Line 108: Line 108:
|}
|}


=== <span style="color:#006400;"> <u>Algorithm:KLT Tracker</u></span> ===


'''Platform : Jetson TX1''' <br>
'''Source:  filesrc''' <br> <br>
<pre>
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
</pre>
{| border="1" align="top" class="sortable wikitable" style="text-align: center;margin: 1em auto 1em auto;"
|-
! style="background:MidnightBlue; color:White" | CPU %
! style="background:MidnightBlue; color:White" | GPU %
! style="background:MidnightBlue; color:White" | FPS
|-
| 30.0476 %
| 16.7618 % @ 126.931 MHz
| 16.649
|}





Revision as of 10:25, 13 January 2021



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.05 k2=0.01 k3=0 k4=0 model=fisheye ! perf print-arm-load=true ! vpidownload ! nvvidconv ! nvoverlaysink
CPU % GPU % FPS
24.3103 % 17.0862 % @ 130.697 MHz 30.054

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







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