Now that the dataset is loaded, we will build a cheap user interface to classify the 400 images into two categories:

smiling face

not smiling face

The class below stores the outcome of the user classification as a dictionary and is used to display the next image upon pressing a button from the GUI.