Can i convert 8bit bayer(RG) to RGB at nvarguscamerasrc?

I connect a USB camera to jetson xavier nx and generate RGB mat from 8-bit bayer(RG) as below.
cv::VideoCapture cap = cv::VideoCapture(“v4l2src device=/dev/video0 !
! bayer2rgb ! videoconvert ! appsink”);


・Does this code use Jetson’s ISP to convert to RGB?
・Is there a way to get RGB mat from 8-bit bayer(RG) using nvarguscamerasrc?

hello kimiharu-nishihata,

nvarguscamerasrc only support bayer sensor types.
please also refer to Camera Architecture Stack, you can only enable v4l2src to access USB camera streams.

however, you may refer to [Multimedia API Sample Applications].
there’s sample, 12_camera_v4l2_cuda, which demonstrates image capture and share the image stream with CUDA engines.