Click or drag to resize

CvDnnReadNetFromCaffe Method

Reads a network model stored in Caffe model files.

Namespace:  OpenCvSharp.Dnn
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Net ReadNetFromCaffe(
	string prototxt,
	string caffeModel = null
)

Parameters

prototxt
Type: SystemString

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

caffeModel (Optional)
Type: SystemString

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

Return Value

Type: Net

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

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