Git Product home page Git Product logo

facial-emotion-recognition's Introduction

Facial Emotion Recognition

Facial Emotion Recognition is a Python-based project that utilizes Deep Learning models to recognize human facial expressions.

The project includes the following features:

  • An interface that captures the user's webcam feed and applies the trained model to recognize the facial expression of the user in real-time.
  • A trained Deep Learning model for facial expression recognition that has been trained on the FER2013 dataset using Keras with a Tensorflow backend.
  • A Python script to train the model on the FER2013 dataset, and a Jupyter notebook with the model's training process.
  • A requirements file that includes all the Python packages needed to run the project.

Installation

  1. Clone the repository:
git clone https://github.com/OmarEhab007/Facial-emotion-recognition.git
  1. Change the directory to the project's root directory:
cd Facial-emotion-recognition
  1. Create a virtual environment:
python3 -m venv env
  1. Activate the virtual environment:
source env/bin/activate
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Run the application:
python3 facial_expression_recognition.py

Usage

  • The application will prompt the user to allow access to the webcam.
  • The user can then look into the camera, and the model will recognize their facial expression.
  • The recognized facial expression will be displayed on the screen.

Training

  • The train.py script can be used to train the model on the FER2013 dataset.
  • The Jupyter notebook facial_expression_recognition.ipynb shows the model's training process step-by-step and includes visualizations of the data and the model's performance.

Credits

  • The FER2013 dataset was created by Pierre-Luc Carrier and Aaron Courville, and can be found on Kaggle.
  • The trained model architecture is based on the VGG16 architecture.
  • The code for capturing and processing the webcam feed is based on the OpenCV library.

facial-emotion-recognition's People

Contributors

omarehab007 avatar

Watchers

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