LatentSvmDetector Constructor (IEnumerableString, IEnumerableString)
|
Creates the HOG descriptor and detector.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic LatentSvmDetector(
IEnumerable<string> fileNames,
IEnumerable<string> classNames
)
Public Sub New (
fileNames As IEnumerable(Of String),
classNames As IEnumerable(Of String)
)
public:
LatentSvmDetector(
IEnumerable<String^>^ fileNames,
IEnumerable<String^>^ classNames
)
new :
fileNames : IEnumerable<string> *
classNames : IEnumerable<string> -> LatentSvmDetector
OpenCvSharp.LatentSvmDetector = function(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".
See Also