Public Slots | |
void | recongnised (const QString &sourceId, const QImage &image, QList< XQFaceRegion > faceRegions) |
Signals | |
void | resultCompared (bool status) |
Public Member Functions | |
FaceRecgApp (QObject *parent=0) | |
~FaceRecgApp () | |
void | train (const QString sourceId) |
void | test (const QString imgInput) |
void | reset () |
Definition at line 56 of file facerecg.h.
FaceRecgApp::FaceRecgApp | ( | QObject * | parent = 0 |
) |
Constructor. Creates dummy face thumbnailer. Creates the default db for recogniser. Creates a recogniser and connects the faceRecognised signal.
Definition at line 50 of file facerecg.cpp.
FaceRecgApp::~FaceRecgApp | ( | ) |
Destructor. Clears the face references for the face id in the recogniser db.
Definition at line 63 of file facerecg.cpp.
void FaceRecgApp::train | ( | const QString | sourceId | ) |
Achieves the training of application with image, which is input as sourceId. Do processFaces with sourceId on the image and making the recognise face in sourceId and update the db with recognised face details.
Definition at line 75 of file facerecg.cpp.
void FaceRecgApp::test | ( | const QString | imageInput | ) |
Process the imageInput to test and recognise if it matches.
Definition at line 157 of file facerecg.cpp.
void FaceRecgApp::reset | ( | ) |
Clears the face references in the recogniser db.
Definition at line 148 of file facerecg.cpp.
void FaceRecgApp::recongnised | ( | const QString & | sourceId, | |
const QImage & | image, | |||
QList< XQFaceRegion > | faceRegions | |||
) | [slot] |
Recongnised slot to process the face regions in training to set face id. To compare the trained faces region with new region and notify result as true if it matchs else notify reuslt of comparision as false.
Definition at line 89 of file facerecg.cpp.