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

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
Line 19: Line 19:
 
For a Gaussian filter given by kernel size of 3 in the X direction and 3 in the Y direction.
 
For a Gaussian filter given by kernel size of 3 in the X direction and 3 in the Y direction.
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=3 size-y=3 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 28: Line 28:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 31.0714 %
+
| 22.1724 %
| 7.83333 % @ 87.5057 MHz
+
| 21.0972 % @ 174.719 MHz
| 20.28
+
| 30.029
 
|}
 
|}
  
 
For a Gaussian filter given by kernel size of 5 in the X direction and 5 in the Y direction.
 
For a Gaussian filter given by kernel size of 5 in the X direction and 5 in the Y direction.
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=5 size-y=5 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 44: Line 44:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 31.3704 %
+
| 22.3448 %
| 7.25517 % @ 89.8069 MHz
+
| 20.8561 % @ 170.427 MHz
| 20.037
+
| 30.034
 
|}
 
|}
  
 
For a Gaussian filter given by kernel size of 7 in the X direction and 7 in the Y direction.
 
For a Gaussian filter given by kernel size of 7 in the X direction and 7 in the Y direction.
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=7 size-y=7 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 60: Line 60:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 29.7931 %
+
| 21.7241 %
| 8.52217 % @ 85.8621 MHz
+
| 20.6293 % @ 166.493 MHz
| 19.568
+
| 30.034
 
|}
 
|}
  
 
For a Gaussian filter given by kernel size of 11 in the X direction and 11 in the Y direction.
 
For a Gaussian filter given by kernel size of 11 in the X direction and 11 in the Y direction.
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpigaussianfilter size-x=11 size-y=11 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 76: Line 76:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 29.8276 %
+
| 22.2759 %
| 10.0086 % @ 88.2802 MHz
+
| 20.869 % @ 162.873 MHz
| 19.171
+
| 30.032
 
|}
 
|}
  
Line 96: Line 96:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 23.6207 %
+
| 23.4483 %
| 14.1379 % @ 111.697 MHz
+
| 21.748 % @ 168.719 MHz
| 30.054
+
| 30.066
 
|}
 
|}
  
Line 111: Line 111:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 23.8966 %
+
| 23.1034 %
| 21.9241 % @ 184.591 MHz
+
| 22.5287 % @ 173.939 MHz
| 30.063
+
| 30.051
 
|}
 
|}
  
Line 122: Line 122:
  
 
<pre>
 
<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
+
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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 131: Line 131:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 30.0476 %
+
| 29.2381 %
| 16.7618 % @ 126.931 MHz
+
| 22.0185 % @ 172.243 MHz
| 16.649
+
| 26.44
 
|}
 
|}
  
Line 142: Line 142:
  
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiharrisdetector gradient-size=3 block-size=3 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 151: Line 151:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 25.5 %
+
| 26.3793 %
| 16.7427 % @ 135.231 MHz
+
| 22.7408 % @ 178.168 MHz
| 14.352
+
| 28.79
 
|}
 
|}
  
Line 160: Line 160:
  
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiharrisdetector gradient-size=5 block-size=5 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 169: Line 169:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 27.25 %
+
| 26.7586 %
| 17.1478 % @ 147.69 MHz
+
| 23.5425 % @ 182.813 MHz
| 15.312
+
| 28.749
 
|}
 
|}
  
Line 178: Line 178:
  
 
<pre>
 
<pre>
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
+
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! vpiupload ! vpiharrisdetector gradient-size=7 block-size=7 ! perf print-arm-load=true ! vpidownload ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
 
</pre>
 
</pre>
  
Line 187: Line 187:
 
! style="background:MidnightBlue; color:White" | FPS  
 
! style="background:MidnightBlue; color:White" | FPS  
 
|-
 
|-
| 27.1429 %
+
| 26.4828 %
| 17.9655 % @ 159.366 MHz
+
| 24.0178 % @ 189.046 MHz
| 14.949
+
| 28.812
 
|}
 
|}
  

Revision as of 14:52, 18 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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
22.1724 % 21.0972 % @ 174.719 MHz 30.029

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
22.3448 % 20.8561 % @ 170.427 MHz 30.034

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
21.7241 % 20.6293 % @ 166.493 MHz 30.034

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
22.2759 % 20.869 % @ 162.873 MHz 30.032

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.4483 % 21.748 % @ 168.719 MHz 30.066
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.1034 % 22.5287 % @ 173.939 MHz 30.051

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
29.2381 % 22.0185 % @ 172.243 MHz 26.44

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
26.3793 % 22.7408 % @ 178.168 MHz 28.79

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
26.7586 % 23.5425 % @ 182.813 MHz 28.749

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 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvoverlaysink
CPU % GPU % FPS
26.4828 % 24.0178 % @ 189.046 MHz 28.812






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