Code Monkey home page Code Monkey logo

emotion-recognition-from-human-face-using-cnn-neural-network's Introduction

EMOTION RECOGNITION.

Built a model to recognize emotions from human face using Neural Network(CNN).

Libraries used:

Keras

Keras is an open-source neural-network library written in Python. It is capable of running on top of TensorFlow, Microsoft Cognitive Toolkit, Theano, or PlaidML. Designed to enable fast experimentation with deep neural networks, it focuses on being user-friendly, modular, and extensible.

OpenCV

OpenCV is a cross-platform library using which we can develop real-time computer vision applications. It mainly focuses on image processing, video capture and analysis including features like face detection and object detection.

Pandas

Pandas is the most popular python library that is used for data manipulation and data analysis.n particular, it offers data structures and operations for manipulating numerical tables and time series.

NumPy

NumPy is a general-purpose array-processing package. It provides a high-performance multidimensional array object, and tools for working with these arrays.

Process

1. Dataset (FER2013.csv)

In this project used FER2013 dataset and created own face dataset using Cascade Classifier / Violes-Jones method.Collective of 36,210 samples.

2. Preprocessing Dataset (Preprocessing.py)

In FER2013 dataset there are totally 7 emotions and in own face dataset 6 emotions. So, removed 'disgust' emotion from FER2013.Finally having 35,720 samples

3. Train & Test (Train_test.py)

In Test and Train, split dataset into 90:10 for Training and Testing respectively.

4. Keras Model (Keras_model.py)

In keras model, use Convolutional Neural Network (CNN) in which it can take in an input image, assign importance (learnable weights and biases) to various aspects/objects in the image and be able to differentiate one from the other. Tried different module of different filter size to attain maximum accuracy.

Finally got Accuracy of 86.4332%

emotion-recognition-from-human-face-using-cnn-neural-network's People

Contributors

dhinu95 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.