FaceRecognizerPredict Method (InputArray, Int32, Double)
|
Predicts the label and confidence for a given sample.
Namespace:
OpenCvSharp.Face
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic 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
function Predict(src, label, confidence);
Parameters
- src
- Type: OpenCvSharpInputArray
- label
- Type: SystemInt32
- confidence
- Type: SystemDouble
See Also