Méthode | Description | |
---|---|---|
CreateEigenFaceRecognizer ( int numComponents, double threshold = Double.MaxValue ) : |
|
|
CreateFisherFaceRecognizer ( int numComponents, double threshold = Double.MaxValue ) : |
|
|
CreateLBPHFaceRecognizer ( int radius = 1, int neighbors = 8, int gridX = 8, int gridY = 8, double threshold = Double.MaxValue ) : |
|
|
Load ( FileStorage fs ) : void |
Deserializes this object from a given cv::FileStorage.
|
|
Load ( string fileName ) : void |
Deserializes this object from a given filename.
|
|
Predict ( InputArray src ) : int |
Gets a prediction from a FaceRecognizer.
|
|
Predict ( InputArray src, int &label, double &confidence ) : void |
Predicts the label and confidence for a given sample.
|
|
Save ( FileStorage fs ) : void |
Serializes this object to a given cv::FileStorage.
|
|
Save ( string fileName ) : void |
Serializes this object to a given filename.
|
|
Train ( IEnumerable |
Trains a FaceRecognizer.
|
|
Update ( IEnumerable |
Updates a FaceRecognizer.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the resources
|
|
FaceRecognizer ( ) : System |
|
Méthode | Description | |
---|---|---|
FromPtr ( |
Creates instance from cv::Ptr<T> . ptr is disposed when the wrapper disposes.
|
public static CreateEigenFaceRecognizer ( int numComponents, double threshold = Double.MaxValue ) : |
||
numComponents | int | |
threshold | double | |
Résultat |
public static CreateFisherFaceRecognizer ( int numComponents, double threshold = Double.MaxValue ) : |
||
numComponents | int | |
threshold | double | |
Résultat |
public static CreateLBPHFaceRecognizer ( int radius = 1, int neighbors = 8, int gridX = 8, int gridY = 8, double threshold = Double.MaxValue ) : |
||
radius | int | |
neighbors | int | |
gridX | int | |
gridY | int | |
threshold | double | |
Résultat |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. /// |
Résultat | void |
public Predict ( InputArray src, int &label, double &confidence ) : void | ||
src | InputArray | |
label | int | |
confidence | double | |
Résultat | void |
public Train ( IEnumerable |
||
src | IEnumerable |
|
labels | IEnumerable |
|
Résultat | void |
public Update ( IEnumerable |
||
src | IEnumerable |
|
labels | IEnumerable |
|
Résultat | void |