Skip to content
jsn.devPortuguês
Close

Emotions in faces

A college project that tries to read expressions

  1. 1. Problem

    Recognize anger, fear, happiness, sadness and surprise in face photos. It was a college project.

    e2 to e4, c7 to c6

  2. 2. Decision

    I used VGG16, a network that was already trained, and trained only a new layer for 15 epochs on 47 thousand images.

    d2 to d4, d7 to d5

  3. 3. Care

    I rotated, zoomed and mirrored the training photos, so the model would not memorize the same image.

    b1 to c3, d5 to e4

  4. 4. Result

    It got 46% right in validation, versus 31% from always guessing the most common emotion. Happiness was the easiest; fear, the hardest.

    c3 to e4, c8 to f5

Caro-Kann Defense

See the code