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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- fileName
- String
File name
- memstorage
- IntPtr
Memory storage for dynamic structures, such as CvSeq or CvGraph. It is not used for matrices or images
- name
- String
Optional object name. If it is NULL, the first top-level object in the storage will be loaded
- realName
- IntPtr
Optional output parameter that will contain name of the loaded object (useful if name=NULL).