opencv_gpu_mat_as_cupy_array

savant.utils.memory_repr.opencv_gpu_mat_as_cupy_array(gpu_mat)

Returns CuPy ndarray in HWC format for the given OpenCV GpuMat (zero-copy).