Giter Site home page Giter Site logo

penghaotom / face-expression-recognition-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omipan/face-expression-recognition-system

0.0 0.0 0.0 3.72 MB

The model was trained with a dataset of approximately 40000 images from the Kaggle Facial Expression Recognition Competition https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data

Python 100.00%

face-expression-recognition-system's Introduction

face-expression-recognition-system

The system is coded in tensorflow and python, its trained with a dataset of approximately 40000 images from Kaggle's Facial Expression Recognition Competition ( https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data ). The goal of the Competition was to classify the emotion displayed by the input image as 1 out of 7 possible emotions: anger, disgust, fear, happiness, sadness, surprise, neutral.

The input images with resolution 48x48 are first fed through 3 Convolutional Layers. After each of these layers, a max-pooling operation is performed on the output of the convolutional layer. The output of the last convolutional layer (after the max-pooling operation) is first flattened to a single dimension (i.e. vector form) and is fed through two linear (hidden) layers. After each of these layers a rectified linear (ReLU) operation is performed. Finally, the output of the hidden layers is fed through another linear layer, which outputs 7 different values, corresponding to the 7 different emotions that the Kaggle Competition Dataset (which is used to train this model) defined. After proper optimization of the learning rate of our loss optimizer (Adam) we've come up with our final models which had ~63% accuracy, which is quite encouraging, taking into consideration the multiple classes and the similarity between some face expressions (face angles).

face-expression-recognition-system's People

Contributors

omipan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.