1 | initial version |
As I have said in previous answers to your questions, virtually all functions in the cv.cuda namespace take GpuMat
not numpy arrays as input.
I assume you are seeing the following error from
error: OpenCV(4.2.0-dev) modules\core\src\matrix_wrap.cpp:359: error: (-213:The function/feature is not implemented) getGpuMat is available only for cuda::GpuMat and cuda::HostMem in function 'cv::debug_build_guard::_InputArray::getGpuMat'
from
blur = cv2.cuda.bilateralFilter(imgMat,90,30,30)
which implies what I have said above. If so this can be simply fixed by passing a GpuMat
blur = cv2.cuda.bilateralFilter(cv.cuda_GpuMat(imgMat),90,30,30)
Can you please post all errors you get when asking a question and not say "not working as expected".
Additionally please try a few things yourself before asking questions.