Hi,
Please convert the buffer to RGBA and map to cv::Mat. A patch for reference:
NVBuffer (FD) to opencv Mat - #6 by DaneLLL
DaneLLL
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Convert NvBuffer to cv::Mat | 9 | 2115 | May 4, 2022 | |
| How to convert a decoded JPEG NvBuffer into OpenCV Mat? | 7 | 1637 | April 5, 2023 | |
| Struggling to convert a camera frame (NvBufSurface) to OpenCV Mat | 4 | 797 | April 16, 2024 | |
| V4l2 Multimedia api and opencv | 2 | 1317 | September 19, 2021 | |
| How to use decodeToFd transform NvBuffer* to opencv mat in jpegdecoder? | 4 | 1108 | October 18, 2021 | |
| NVIDIA Multimedia APIs with UYVY sensor | 31 | 6923 | October 18, 2021 | |
| Getting pointer from NvBuffer | 6 | 778 | July 25, 2023 | |
| Convert to JPEG from YUV420 CUDA device memory | 9 | 1732 | October 18, 2021 | |
| Jetson multimedia API, convert UYVY to YUV420 | 2 | 582 | October 2, 2023 | |
| How to convert OpenCV mat to NvBuffer(dmabuf_fd) | 5 | 811 | November 16, 2022 |