Click or drag to resize

LatentSvmDetector Constructor (IEnumerableString, IEnumerableString)

Creates the HOG descriptor and detector.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
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