Click or drag to resize

NetReadNetFromONNX Method

Reads a network model ONNX https://onnx.ai/

Namespace:  OpenCvSharp.Dnn
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Net ReadNetFromONNX(
	string onnxFile
)

Parameters

onnxFile
Type: SystemString
path to the .onnx file with text description of the network architecture.

Return Value

Type: Net
Network object that ready to do forward, throw an exception in failure cases.
See Also