Click or drag to resize

AlgorithmExtensionsLoad Method

http://www.emgu.com
Loads algorithm from the file

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Load(
	this IAlgorithm algorithm,
	string fileName,
	string objName = null,
	string encoding = null
)

Parameters

algorithm
Type: Emgu.CVIAlgorithm
The algorithm
fileName
Type: SystemString
Name of the file to read.
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