Is batching VPI calls possible?

I am trying to run a VPI algorithm on a number of inputs and if I could batch the calls together It would spare me a lot of launch related overhead. However I couldn’t find a way to batch the calls. So what I ended up doing was I stitched my inputs together in order to “trick” VPI Harrid Detector into thinking it’s working on a single input, but that’s not a scalable solution.
Is there a way to invoke VPI Harris Detector on say 5 images in a batch and then receive 5 keypoints results?
If not I believe it’s something that is worth investing some time into and making available with a future version of VPI.

Hi,

You can call VPI multiple times and synchronize at once to get the batch performance.
Please check our 05-benchmark example for more details:

/opt/nvidia/vpi1/samples/05-benchmark

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.