I am converting "cv_img = cv::Mat(ptrGrabResult->GetHeight(),ptrGrabResult->GetWidth(), CV_8UC3,(uint8_t*)image.GetBuffer());" into GpuMat using "d_frame= GpuMat(cv_img);"
where d_frame is declared as cv::cuda::GpuMat d_frame;
at the conversion im getting segmentation fault. please suggest a solution . I referred the following linkStackoverflow, OpencvQ&A