| 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
)
Public Shared Function ReadNetFromONNX (
onnxFile As String
) As Net
public:
static Net^ ReadNetFromONNX(
String^ onnxFile
)
static member ReadNetFromONNX :
onnxFile : string -> Net
Parameters
- onnxFile
- Type: SystemString
path to the .onnx file with text description of the network architecture.
Return Value
Type:
NetNetwork object that ready to do forward, throw an exception in failure cases.
See Also