Creates the HOG descriptor and detector.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public LatentSvmDetector( IEnumerable<string> fileNames, IEnumerable<string> 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