Hi,
Please refer to this patch:
NVBuffer (FD) to opencv Mat - #6 by DaneLLL
You need to get RGBA NvBuffer, map it to cv::Mat, and convert to BGR.
DaneLLL
3
1 Like
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Jetson_multimedia_api NvBufferMem Transform to opencv mat | 5 | 1458 | October 18, 2021 | |
| NV Multimedia API with OpenCV | 13 | 3773 | October 15, 2021 | |
| Struggling to convert a camera frame (NvBufSurface) to OpenCV Mat | 4 | 797 | April 16, 2024 | |
| Xavier tegra_multimedia_api opencv | 5 | 756 | October 18, 2021 | |
| Create cv::Mat from nvBufferMem cause Segmentation fault (core dump) | 4 | 974 | April 23, 2022 | |
| Dma buffer to opencv mat (after jetpack 5.1.1) | 5 | 193 | November 1, 2024 | |
| Argus to Opencv or Datatype for cuda kernel | 7 | 872 | August 8, 2023 | |
| About 04_video_dec_trt dec dma data difference with the opencv | 6 | 1174 | October 15, 2021 | |
| VIDIOC_QBUF Buffer error when running Multimedia API sample 12_camera_v4l2_cuda | 5 | 2087 | February 9, 2022 | |
| NVIDIA Multimedia APIs with UYVY sensor | 31 | 6923 | October 18, 2021 |