|
virtual | ~FacemarkLBF () |
|
virtual bool | addTrainingSample (InputArray image, InputArray landmarks)=0 |
| Add one training sample to the trainer.
|
|
virtual bool | getData (void *items=0)=0 |
| Get data from an algorithm.
|
|
virtual bool | getFaces (InputArray image, OutputArray faces)=0 |
| Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector.
|
|
virtual bool | setFaceDetector (FN_FaceDetector detector, void *userData=0)=0 |
| Set a user defined face detector for the Facemark algorithm.
|
|
virtual void | training (void *parameters=0)=0 |
| Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function.
|
|
virtual bool | fit (InputArray image, InputArray faces, OutputArrayOfArrays landmarks)=0 |
| Detect facial landmarks from an image.
|
|
virtual void | loadModel (String model)=0 |
| A function to load the trained model before the fitting process.
|
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| Clears the algorithm state.
|
|
virtual bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage.
|
|
virtual void | save (const String &filename) const |
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage.
|
|
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindingsThis is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|