Building the face emotion recognition model

In this section, we will implement the application of FER using CNN. For coding purposes, we will be using the TensorFlow, TFLearn, OpenCV, and Numpy libraries. You can find the code by using this GitHub link: https://github.com/jalajthanaki/Facial_emotion_recognition_using_TensorFlow. These are the steps that we need to follow:

  1. Preparing the data
  2. Loading the data
  3. Training the model

Preparing the data

In this section, we will be preparing the dataset that can be used in our application. As you know, our dataset is in grayscale. We have two options. One is that we need to use only black and white images, and if we are using black and white images, then there will be two channels. The second option is that ...

Get Machine Learning Solutions now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.