AlgorithmExtensionsLoadFromString Method |
http://www.emgu.com
Loads algorithm from a String
Namespace:
Emgu.CV
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static void LoadFromString(
this IAlgorithm algorithm,
string strModel,
string objName = null,
string encoding = null
)
<ExtensionAttribute>
Public Shared Sub LoadFromString (
algorithm As IAlgorithm,
strModel As String,
Optional objName As String = Nothing,
Optional encoding As String = Nothing
)
public:
[ExtensionAttribute]
static void LoadFromString(
IAlgorithm^ algorithm,
String^ strModel,
String^ objName = nullptr,
String^ encoding = nullptr
)
[<ExtensionAttribute>]
static member LoadFromString :
algorithm : IAlgorithm *
strModel : string *
?objName : string *
?encoding : string
(* Defaults:
let _objName = defaultArg objName null
let _encoding = defaultArg encoding null
*)
-> unit
Parameters
- algorithm
- Type: Emgu.CVIAlgorithm
The algorithm - strModel
- Type: SystemString
The string variable containing the model you want to load. - objName (Optional)
- Type: SystemString
The optional name of the node to read (if empty, the first top-level node will be used) - encoding (Optional)
- Type: SystemString
Encoding of the file. Note that UTF-16 XML encoding is not supported currently and
you should use 8-bit encoding instead of it.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAlgorithm. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also