Skip to content

Fun web application leveraging a deep learning model to predict emotions and facial expressions in humans

License

Notifications You must be signed in to change notification settings

Git-With-Chris/EmotiScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmotiScan 🫥

Welcome to EmotiScan, a fun web application that uses a Deep Learning model to make guesses on the emotions and expressions in a face.

Introduction

EmotiScan brings the magic of machine learning to recognize emotions and expressions in pictures. With EmotiScan, you can upload an image and receive predictions about the emotions and facial action units displayed in the photo. It's an enjoyable way to explore the subtleties of facial expressions and understand the underlying emotions.

Features

  • Emotion Prediction: Detects primary emotions such as happiness, surprise, and negative sentiments.
  • FACS Prediction: Identifies specific Facial Action Coding System (FACS) codes.
  • User-Friendly Interface: Simple and intuitive design for easy interaction.
  • Advanced Technology: Built with state-of-the-art deep learning models for accurate predictions.

How It Works

  1. Upload Your Image: Simply upload a photo of a face.
  2. Magic Happens: The pre-trained model analyzes the facial features.
  3. Get Results: You'll receive a prediction of the emotion and FACS codes associated with the facial expressions in the image.

Disclaimer

EmotiScan is strictly designed for entertainment and educational purposes only. The predictions provided by the application are not intended for use in critical decision-making processes. EmotiScan's results should not be considered definitive or used for any professional or diagnostic purposes.

Preview

The following video illustrates the real-time working and aesthetics of the EmotiScan App

EmotiScanDemo.mov

Installation

To set up the EmotiScan App on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Git-With-Chris/EmotiScan.git
  2. Change directory

     cd EmotiScan
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the application:

    streamlit run app.py

Project Structure

.
|-- README.md                     # Main documentation for the EmotiScan project.
|-- app.py                        # Main application script containing the Streamlit app setup. 
|-- images
|   |-- AboutPage.png
|   |-- Data.png
|   |-- Distb.png
|   |-- EDAPicture.png
|   |-- EmotionCM.png
|   |-- FacsCM.png
|   |-- HomePage.png
|   `-- LearningCurves.png
|-- models
|   `-- emotiscan_model.h5        # Trained deep learning model file used by EmotiScan to predict emotions and FACS codes (!!Currently not public!!)
|-- notebooks
|   |-- EDA.ipynb                 # Notebook used for Exploratory Data Analysis (EDA).
|   `-- Modelling.ipynb           # Notebook containing the model development process, including model training, evaluation, and optimization.
|-- scripts
|   |-- dataloader.py             # Custom Data Loader: Python script for loading and preprocessing data before model training.
|   |-- plotter.py                # Utility script for generating plots and visualizations used in data exploration and model evaluation.
|   `-- predictions.py            # Script to make predictions using the trained model on new data.
|-- LICENSE.txt
`-- requirements.txt

5 directories, 18 files

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Fun web application leveraging a deep learning model to predict emotions and facial expressions in humans

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published