Table of Contents

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 = 3

Try to use the new engine and then fall back to the classic version. This is the default.

Classic = 1

Force use of the old (classic) DNN engine, similar to the 4.x branch.

New = 2

Force use of the new DNN engine. The new engine does not support non-CPU back-ends for now.

Ort = 4

Try to use the ONNX Runtime wrapper (ONNX only, requires a build with WITH_ONNXRUNTIME=ON).