Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How Can I use CUDA in Python for fastNlMeanDenosingColored?

Hello,

I have compiled OpenCV 4.5.0-pre with CUDA and I would like to convert my cv2 code to CUDA code. I couldn't find a python CUDA tutorial on here but I have searched Q&A and it seems like I can do cv2.cuda for using GPU acceleration.

However, when I tired to use "cv2.cuda.fastNlMeansDenosingColored" this error comes out.

AttributeError: module 'cv2.cuda' has no attribute 'fastNlMeansDenoisingColored'

The denoising document shows CUDA implementation. May I know how I can do it? https://docs.opencv.org/master/d1/d79/group__photo__denoise.html#ga21abc1c8b0e15f78cd3eff672cb6c476