Click or drag to resize

NetReadNetFromCaffe Method

Reads a network model stored in Caffe model files.

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

Parameters

prototxt
Type: SystemString
caffeModel (Optional)
Type: SystemString

Return Value

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