Click or drag to resize

CvDnnReadNetFromTorch Method

Reads a network model stored in Torch model file.

Namespace:  OpenCvSharp.Dnn
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Net ReadNetFromTorch(
	string model,
	bool isBinary = true
)

Parameters

model
Type: SystemString

[Missing <param name="model"/> documentation for "M:OpenCvSharp.Dnn.CvDnn.ReadNetFromTorch(System.String,System.Boolean)"]

isBinary (Optional)
Type: SystemBoolean

[Missing <param name="isBinary"/> documentation for "M:OpenCvSharp.Dnn.CvDnn.ReadNetFromTorch(System.String,System.Boolean)"]

Return Value

Type: Net

[Missing <returns> documentation for "M:OpenCvSharp.Dnn.CvDnn.ReadNetFromTorch(System.String,System.Boolean)"]

Remarks
This is shortcut consisting from createTorchImporter and Net::populateNet calls.
See Also