Esempio n. 1
0
 /// <summary>
 /// Updates a FaceRecognizer with given data and associated labels.
 /// </summary>
 /// <param name="images">The training images, that means the faces you want to learn. The data has to be given as a VectorOfMat.</param>
 /// <param name="labels">The labels corresponding to the images</param>
 public void Update(IInputArray images, IInputArray labels)
 {
     using (InputArray iaImages = images.GetInputArray())
         using (InputArray iaLabels = labels.GetInputArray())
             ContribInvoke.CvFaceRecognizerUpdate(_ptr, iaImages, iaLabels);
 }