Public Slots | |
void | trainwImg () |
void | recogniseUser () |
void | reset () |
void | timerTimeout () |
void | imageSaved (int id, const QString imgName) |
void | comparedResult (bool status) |
Definition at line 53 of file mainwindow.h.
void MainWindow::trainwImg | ( | ) | [slot] |
Takes the input from user about the image locaiton and Pass the image location to face recognition library for traiing.
Definition at line 73 of file mainwindow.cpp.
void MainWindow::recogniseUser | ( | ) | [slot] |
Disables the UI, starts the camera to take inputs and starts the timer, which times out at defined regular interval, capturing the image.
Definition at line 90 of file mainwindow.cpp.
void MainWindow::reset | ( | ) | [slot] |
Resets the recogniser, and clears the learnt/trained information about the user.
Definition at line 223 of file mainwindow.cpp.
void MainWindow::timerTimeout | ( | ) | [slot] |
Timer times out to give input to face recogniser. Captures image at regular intervals till its timer is stopped.
Definition at line 109 of file mainwindow.cpp.
void MainWindow::imageSaved | ( | int | id, | |
const QString | imgName | |||
) | [slot] |
Updates the saved image name to user and pass it to test the face recogniser.
Definition at line 213 of file mainwindow.cpp.
void MainWindow::comparedResult | ( | bool | status | ) | [slot] |
Based on the comparision result being true, will display message and close, If result is false, will display message to try again.
Definition at line 238 of file mainwindow.cpp.