We want to use VPI package for utilizing the PVA on our Jetson Xavier AGX for some algorithms that are currently using OpenCV.
We followed your blur tutorial for vpi and adjusted the syntax for supporting our use-case + our vpi version which is lower (0.4).
Unfortunately, the speed performance of the blur using VPI is extremely slow- between 15ms to 50ms or even 150ms sometimes. And for this timing we’ve used the same input image over and over again. We had much faster times when using OpenCV for blur on the same image size so there should be some issue with the way we use VPI here.
I attach here the code for the function that calls the blur of VPI:
lowPassVpi.cc (4.4 KB)
it’s very similar to the code in your tutorial.
Our input image is already a 1-channel image (a channel from
Note: the slow performance is happening also when we’re using other backends such as CUDA or CPU- but we prefer to use PVA as a backend when using VPI algorithms.
What’s the issue that causing the slow performance of the vpi-blur? How can this be solved?
GPU Type : Xavier
Nvidia Driver Version : Package:nvidia-jetpack, Version: 4.4.1-b50
VPI version : 0.4
CUDA Version : 10.2.89
CUDNN Version : 8.0.0
Operating System + Version : Ubuntu 18.04