Hi,
Please try to allocate NvBuffer in NvBufferColorFormat_ABGR32. Here is a patch for reference:
NVBuffer (FD) to opencv Mat - #6 by DaneLLL
The color should be correct by mapping NvBufferColorFormat_ABGR32 to cv::Mat
Hi,
Please try to allocate NvBuffer in NvBufferColorFormat_ABGR32. Here is a patch for reference:
NVBuffer (FD) to opencv Mat - #6 by DaneLLL
The color should be correct by mapping NvBufferColorFormat_ABGR32 to cv::Mat