How to rewrite Python-OpenCV CPU functions into Python-OpenCV Cuda functions?

We are presently using OpenCV with Python in Cuda mode on Jetson AGX Xavier Machines for computer vision goals. We have many Python-OpenCV applications which work well in CPU mode on several computers but we don’t have experience in OpenCV-Python in Cuda mode on the GPU. We found minimal tutorials/documentation about coding OpenCV-Python in Cuda mode. My question:

Can you tell us where we can find detailed documentation/tutorials about coding OpenCV-Python in Cuda mode on the GPU?

Hi,

CPU and GPU are defined in the different modules/APIs.
For example, below is the CPU and GPU version stereo matching example:
CPU: opencv/stereo_match.cpp at master · opencv/opencv · GitHub
GPU: opencv/stereo_match.cpp at master · opencv/opencv · GitHub

You can find more examples in OpenCV GitHub.
Thanks.

These GPU functions in this github repo were written in C++. I am searching for sg similar in python (we don’t have the conditions to develop in C++ ) .

Don’t hesitate to tell me if you can suggest anything.