Loads object from file
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static T Load<T>( string filename, CvMemStorage memstorage, string name, out string realName ) where T : DisposableCvObject
Parameters
- filename
- Type: SystemString
File name. - memstorage
- Type: OpenCvSharpCvMemStorage
Memory storage for dynamic structures, such as CvSeq or CvGraph. It is not used for matrices or images. - name
- Type: SystemString
Optional object name. If it is NULL, the first top-level object in the storage will be loaded. - realName
- Type: SystemString
Optional output parameter that will contain name of the loaded object (useful if name=NULL).
Type Parameters
- T
- Object type to load
Return Value
Type: TThe function cvLoad loads object from file.
See Also