LatentSvmDetectorLoad Method
|
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic virtual bool Load(
IEnumerable<string> fileNames,
IEnumerable<string> classNames
)
Public Overridable Function Load (
fileNames As IEnumerable(Of String),
classNames As IEnumerable(Of String)
) As Boolean
public:
virtual bool Load(
IEnumerable<String^>^ fileNames,
IEnumerable<String^>^ classNames
)
abstract Load :
fileNames : IEnumerable<string> *
classNames : IEnumerable<string> -> bool
override Load :
fileNames : IEnumerable<string> *
classNames : IEnumerable<string> -> bool
function Load(fileNames, classNames);
Parameters
- fileNames
- Type: System.Collections.GenericIEnumerableString
A set of filenames storing the trained detectors (models). Each file contains one model.
See examples of such files here /opencv_extra/testdata/cv/latentsvmdetector/models_VOC2007/. - classNames
- Type: System.Collections.GenericIEnumerableString
A set of trained models names. If it’s empty then the name of each model will be
constructed from the name of file containing the model. E.g. the model stored in "/home/user/cat.xml" will get the name "cat".
Return Value
Type:
Boolean
See Also