Planning the app

The reliable recognition of faces and facial expressions is a challenging task for artificial intelligence (AI), yet humans are able to perform these kinds of tasks with ease. To make our task feasible, we will limit ourselves to the following limited emotional expressions:

  • Neutral
  • Happy
  • Sad
  • Surprised
  • Angry
  • Disgusted

Today's state-of-the-art models range all the way from 3D deformable face models fitting over convolutional neural networks (CNNs), to deep learning algorithms. Granted, these approaches are significantly more sophisticated than our approach.

Yet, an MLP is a classic algorithm that has helped transform the field of machine learning, so for educational purposes, we will stick to a set of algorithms that come ...

Get OpenCV 4 with Python Blueprints - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.