Face-R
 All Namespaces Functions
Functions | Variables
FaceRecGUI Namespace Reference

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...
 

Variables

tuple root = Tk()
 
string tName = 'empty'
 
tuple S = Scrollbar(root)
 
tuple T = Text(root, height=5, width=30)
 
tuple photo = PhotoImage(file="resources/logo.pgm")
 
tuple label = Label(root, image=photo, height=200, width=200)
 

Detailed Description

GUI class being executed.

Function Documentation

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.