/// <summary>
/// Predict the label of the image
/// </summary>
/// <param name="image">The image where prediction will be based on</param>
/// <returns>The prediction label</returns>
public PredictionResult Predict(IImage image)
{
int label = -1;
double distance = -1;
CvInvoke.CvFaceRecognizerPredict(_ptr, image.Ptr, ref label, ref distance);
return(new PredictionResult()
{
Label = label, Distance = distance
});
}