Enum Backend
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
Enum of computation backends supported by layers.
public enum Backend
Fields
CANN = 8CUDA = 5DEFAULT = 0[Obsolete("The Halide backend was removed in OpenCV 5.")] HALIDE = 1Removed in OpenCV 5. The numeric value is kept so the remaining members keep their original values.
INFERENCE_ENGINE = 2Intel OpenVINO computational backend.
OPENCV = 3TIMVX = 7VKCOM = 4WEBNN = 6
Remarks
DNN_BACKEND_DEFAULT equals to DNN_BACKEND_INFERENCE_ENGINE if OpenCV is built with Intel's Inference Engine library or DNN_BACKEND_OPENCV otherwise.