C# Class Emgu.CV.FaceRecognizer

Face Recognizer
Inheritance: Emgu.Util.UnmanagedObject
Show file Open project: fajoy/RTSPExample Class Usage Examples

Public Methods

Method Description
Load ( String fileName ) : void

Load the FaceRecognizer from the file

Predict ( IImage image ) : PredictionResult

Predict the label of the image

Save ( String fileName ) : void

Save the FaceRecognizer to a file

Train ( IImage images, int labels ) : void

Train the face recognizer with the specific images and labels

Protected Methods

Method Description
DisposeObject ( ) : void

Release the unmanaged memory associated with this FaceRecognizer

Method Details

DisposeObject() protected method

Release the unmanaged memory associated with this FaceRecognizer
protected DisposeObject ( ) : void
return void

Load() public method

Load the FaceRecognizer from the file
public Load ( String fileName ) : void
fileName String The file where the FaceRecognizer will be loaded from
return void

Predict() public method

Predict the label of the image
public Predict ( IImage image ) : PredictionResult
image IImage The image where prediction will be based on
return PredictionResult

Save() public method

Save the FaceRecognizer to a file
public Save ( String fileName ) : void
fileName String The file name to be saved to
return void

Train() public method

Train the face recognizer with the specific images and labels
public Train ( IImage images, int labels ) : void
images IImage The images used in the training
labels int The labels of the images
return void