Click or drag to resize

Cv2GetCudaEnabledDeviceCount Method

Returns the number of installed CUDA-enabled devices. Use this function before any other GPU functions calls. If OpenCV is compiled without GPU support, this function returns 0.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static int GetCudaEnabledDeviceCount()

Return Value

Type: Int32
See Also