Hi,
I tried to conver from "const cv::cuda::GpuMat" to "const cv::cuda::PtrStepSz<uchar3>" but i couldn't. In code below:
void FireDetectorCaller(const PtrStepSz<uchar3>& src, PtrStepSz<uchar3>& dst);
void FireDetector(const GpuMat& src, GpuMat& dst)
{
FireDetectorCaller(src,dst);
}
Compiler says: error : no suitable user-defined conversion from "const cv::cuda::GpuMat" to "const cv::cuda::PtrStepSz<uchar3>" exists
How can i fix this? Could you pls help me? Thank in advance,