Enum EngineType
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
DNN inference engine selected when loading a network (OpenCV 5.1).
public enum EngineType
Fields
Auto = 0Select the engine automatically. OpenCV 5.1 selects the built-in OpenCV engine.
OpenCv = 1Use OpenCV's built-in DNN engine.
Ort = 2Use the ONNX Runtime engine (ONNX only, requires a build with WITH_ONNXRUNTIME=ON).