GUI class being executed. More...
Functions | |
def | startDetection |
Start face detection and recognition functions. More... | |
def | takePicture |
Take reference picture. More... | |
def | giveName |
Menu for user creation. More... | |
def | newFace |
Create new user. More... | |
GUI class being executed.
def FaceRecGUI.giveName | ( | ) |
Menu for user creation.
def FaceRecGUI.newFace | ( | ) |
Create new user.
Calls methods for image creation and processing. Stores new user in database.
def FaceRecGUI.startDetection | ( | ) |
Start face detection and recognition functions.
Display detected person as valid if the distance is not too high.
def FaceRecGUI.takePicture | ( | ) |
Take reference picture.
Delete old reference picture if present. Initialize Pi camera. Preview camera picture for 5 seconds. Take picture as jpg and convert it to grayscale pgm Remove original jpg image.