Obtaining raw bayer data array from camera using Jetson Nano

Hello there,

I am using a Raspberry Pi Camera Module V2. How can I obtain the raw bayer data using the Jetson Nano, possibly through gstreamer?

To clarify, on the Raspberry Pi, using the picamera module, you could get the raw bayer array using
camera.capture(output, 'jpeg', bayer=True)
Is there something similar like that I can do on Jetson Nano? I see in the gstreamer user guide that there is a --dump-bayer option but I am not sure how to use it in the gstreamer pipeline.

Help would be much appreciated. Thanks!

Only support by argus API, you can reference to cudaBayerDemosaic sample code.