| FaceRecognizerPredict Method (InputArray, Int32, Double) |
Predicts the label and confidence for a given sample.
Namespace:
OpenCvSharp.Face
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual void Predict(
InputArray src,
out int label,
out double confidence
)
Public Overridable Sub Predict (
src As InputArray,
<OutAttribute> ByRef label As Integer,
<OutAttribute> ByRef confidence As Double
)
public:
virtual void Predict(
InputArray^ src,
[OutAttribute] int% label,
[OutAttribute] double% confidence
)
abstract Predict :
src : InputArray *
label : int byref *
confidence : float byref -> unit
override Predict :
src : InputArray *
label : int byref *
confidence : float byref -> unit
Parameters
- src
- Type: OpenCvSharpInputArray
[Missing <param name="src"/> documentation for "M:OpenCvSharp.Face.FaceRecognizer.Predict(OpenCvSharp.InputArray,System.Int32@,System.Double@)"]
- label
- Type: SystemInt32
[Missing <param name="label"/> documentation for "M:OpenCvSharp.Face.FaceRecognizer.Predict(OpenCvSharp.InputArray,System.Int32@,System.Double@)"]
- confidence
- Type: SystemDouble
[Missing <param name="confidence"/> documentation for "M:OpenCvSharp.Face.FaceRecognizer.Predict(OpenCvSharp.InputArray,System.Int32@,System.Double@)"]
See Also