Table of Contents

Enum EngineType

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

DNN inference engine selected when loading a network (OpenCV 5.1).

public enum EngineType

Fields

Auto = 0

Select the engine automatically. OpenCV 5.1 selects the built-in OpenCV engine.

OpenCv = 1

Use OpenCV's built-in DNN engine.

Ort = 2

Use the ONNX Runtime engine (ONNX only, requires a build with WITH_ONNXRUNTIME=ON).