http://www.emgu.com
Loads object from file. It provides a simple interface to cvRead. After object is loaded, the file storage is closed and all the temporary buffers are deleted. Thus, to load a dynamic structure, such as sequence, contour or graph, one should pass a valid destination memory storage to the function.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvLoad(
	string fileName,
	IntPtr memstorage,
	string name,
	IntPtr realName
)
Visual Basic
Public Shared Function cvLoad ( 
	fileName As String,
	memstorage As IntPtr,
	name As String,
	realName As IntPtr
) As IntPtr
Visual C++
public:
static IntPtr cvLoad(
	String^ fileName, 
	IntPtr memstorage, 
	String^ name, 
	IntPtr realName
)
F#
static member cvLoad : 
        fileName : string * 
        memstorage : IntPtr * 
        name : string * 
        realName : IntPtr -> IntPtr 

Parameters

fileName
Type: System..::..String
File name
memstorage
Type: System..::..IntPtr
Memory storage for dynamic structures, such as CvSeq or CvGraph. It is not used for matrices or images
name
Type: System..::..String
Optional object name. If it is NULL, the first top-level object in the storage will be loaded
realName
Type: System..::..IntPtr
Optional output parameter that will contain name of the loaded object (useful if name=NULL).

Return Value

Type: IntPtr
Loaded object from file

See Also