Table of Contents

Class EigenFaceRecognizer

Namespace
OpenCvSharp.Face
Assembly
OpenCvSharp.dll

base for two FaceRecognizer classes

public class EigenFaceRecognizer : BasicFaceRecognizer, IDisposable
Inheritance
EigenFaceRecognizer
Implements
Inherited Members

Methods

Create(int, double)

Training and prediction must be done on grayscale images, use cvtColor to convert between the color spaces.

  • **THE EIGENFACES METHOD MAKES THE ASSUMPTION, THAT THE TRAINING AND TEST IMAGES ARE OF EQUAL SIZE. ** (caps-lock, because I got so many mails asking for this). You have to make sure your input data has the correct shape, else a meaningful exception is thrown.Use resize to resize the images.
  • This model does not support updating.