Table of Contents

Method Predict

Namespace
OpenCvSharp.Face
Assembly
OpenCvSharp.dll

Predict(InputArray)

Gets a prediction from a FaceRecognizer.

public virtual int Predict(InputArray src)

Parameters

src InputArray

Returns

int

Predict(InputArray, out int, out double)

Predicts the label and confidence for a given sample.

public virtual void Predict(InputArray src, out int label, out double confidence)

Parameters

src InputArray
label int
confidence double

Predict(InputArray, PredictCollector)

Runs prediction and forwards every evaluated result to a collector.

public virtual void Predict(InputArray src, PredictCollector collector)

Parameters

src InputArray
collector PredictCollector