Dats set : https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data Kaggle Dataset was used to train the model built using keras.
The data consists of 48x48 pixel grayscale images of faces. The faces have been automatically registered so that the face is more or less centered and occupies about the same amount of space in each image. The task is to categorize each face based on the emotion shown in the facial expression in to one of seven categories (0=Angry, 1=Disgust, 2=Fear, 3=Happy, 4=Sad, 5=Surprise, 6=Neutral).
The training set consists of 28,709 examples.
CNN model was built using keras.
Move the images u need to images directory. Use emotion predict for results.