Demosaic on Jetson AGX Orin

Hi, would like to utilize the Jetson AGX Orin’s image accelerator for demosaic/debayer a bayer image (8 bit - BGGR) to BGR (Currently we are using opencv implementation which utilize the CPU/GPU). I’ve tried to go over VPI API but got the impression that demosaic is not available. Is this correct? Is there any accelerator which support this? if so, Which API should I use?

There is ISP engine in Orin and the software stack is Argus. If your source is Bayer sensors, we suggest go this route to use the hardware engine.

Another approach is to implement debayering through CUDA. You may refer to the CUDA code in


and do implementation.

1 Like

Thank you DaneLLL, where can I find information (API, description, samples) of using Argus stack to debayer an image using ISP engine ?

You can install the samples through SDKManager, or run the command on AGX Orin:

sudo apt-get install nvidia-l4t-jetson-multimedia-api

The samples are installed to


Please run the sample and check the source code:


1 Like

Thank you

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