How can I transform CUeglFrame to OpenCV Mat object?

Hi,
You can refer to

It demonstrates NVBuffer → EGLImage → CUeglFrame → cv::cuda::GpuMat.