Enum EngineType
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
Enum of DNN inference engines that can be selected when reading a network (OpenCV 5).
public enum EngineType
Fields
Auto = 3Try to use the new engine and then fall back to the classic version. This is the default.
Classic = 1Force use of the old (classic) DNN engine, similar to the 4.x branch.
New = 2Force use of the new DNN engine. The new engine does not support non-CPU back-ends for now.
Ort = 4Try to use the ONNX Runtime wrapper (ONNX only, requires a build with WITH_ONNXRUNTIME=ON).