Click or drag to resize

FaceRecognizerTrain Method

Trains a FaceRecognizer with given data and associated labels.

Namespace:  OpenCvSharp.Face
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual void Train(
	IEnumerable<Mat> src,
	IEnumerable<int> labels
)

Parameters

src
Type: System.Collections.GenericIEnumerableMat

[Missing <param name="src"/> documentation for "M:OpenCvSharp.Face.FaceRecognizer.Train(System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},System.Collections.Generic.IEnumerable{System.Int32})"]

labels
Type: System.Collections.GenericIEnumerableInt32

[Missing <param name="labels"/> documentation for "M:OpenCvSharp.Face.FaceRecognizer.Train(System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},System.Collections.Generic.IEnumerable{System.Int32})"]

See Also