| 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
)
Public Shared Function ReadNetFromCaffe (
prototxt As String,
Optional caffeModel As String = Nothing
) As Net
public:
static Net^ ReadNetFromCaffe(
String^ prototxt,
String^ caffeModel = nullptr
)
static member ReadNetFromCaffe :
prototxt : string *
?caffeModel : string
(* Defaults:
let _caffeModel = defaultArg caffeModel null
*)
-> Net
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