Hi,
Please refer to the patch:
How to create OpenCV cv::Mat from NvBuffer in Jetpack 5.1 - #8 by DaveYYY
You would need to allocate a NvBufsurface in RGBA, convert decoded data to RGBA and map to cv::Mat. Please check the patch and try.
Hi,
Please refer to the patch:
How to create OpenCV cv::Mat from NvBuffer in Jetpack 5.1 - #8 by DaveYYY
You would need to allocate a NvBufsurface in RGBA, convert decoded data to RGBA and map to cv::Mat. Please check the patch and try.