Since nvargus deamon is not recoverable in an exception, I use jetson_multimedia_api/samples/12_v4l2_camera_cuda
My requirement is to output rgb/rgba images, the
The sensor imx390 output is bayer rggb12, so what parameter should I put in the application here(NvAllocate)?
camparams.colorFormat = NVBUF_COLOR_FORMAT_NV12_12LE;
if (NvBufSurf::NvAllocate(&camparams, V4L2_BUFFERS_NUM, fd))
NvTransform:dst
camparams.colorFormat = NVBUF_COLOR_FORMAT_RGBA;
The program works but the image is displayed with a green filter:
How do I get the correct rgb image?