Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
DisposeObject ( ) : void |
Release the unmanaged memory associated with this FaceRecognizer
|
public Load ( String fileName ) : void | ||
fileName | String | The file where the FaceRecognizer will be loaded from |
Результат | void |
public Predict ( IImage image ) : PredictionResult | ||
image | IImage | The image where prediction will be based on |
Результат | PredictionResult |
public Save ( String fileName ) : void | ||
fileName | String | The file name to be saved to |
Результат | void |
public Train ( IImage images, int labels ) : void | ||
images | IImage | The images used in the training |
labels | int | The labels of the images |
Результат | void |