Class BasicFaceRecognizer
- Namespace
- OpenCvSharp.Face
- Assembly
- OpenCvSharp.dll
base for two FaceRecognizer classes
public abstract class BasicFaceRecognizer : FaceRecognizer, IDisposable
- Inheritance
-
BasicFaceRecognizer
- Implements
- Derived
- Inherited Members
Constructors
Methods
- GetEigenValues()
Gets the eigenvalues computed during training, ordered descending.
- GetEigenVectors()
Gets the eigenvectors computed during training, ordered by their eigenvalue.
- GetLabels()
Gets the labels corresponding to the training data projections.
- GetMean()
Gets the sample mean calculated from the training data.
- GetNumComponents()
Gets the number of components (Eigenfaces or Fisherfaces) kept by the underlying PCA/LDA computation.
- GetProjections()
Gets the projections of the training data.
- GetThreshold()
Gets the threshold applied in the prediction. If the distance to the nearest neighbor is larger than the threshold, the prediction returns -1.
- SetNumComponents(int)
Sets the number of components (Eigenfaces or Fisherfaces) kept by the underlying PCA/LDA computation.
- SetThreshold(double)
Sets the threshold applied in the prediction. If the distance to the nearest neighbor is larger than the threshold, the prediction returns -1.