Skip to content

edworId/facial_emotion_detection

Repository files navigation

Facial Emotion Recognition using a shell GUI menu

This project uses Python to detect faces and emotions with FER2013. Furthermore, it uses a Shell Script to develop a GUI menu to help the user use it.

Facial expression recognition from a picture or a live camera stream implemented with convolutional neural networks in Keras and OpenCV.

The dialog command is a command-line tool used to create text-based user interfaces on Unix-like systems. It provides an interactive way to display dialog boxes, menus, and forms in the terminal.

Basic Requirements

You will need to install Dialog package, run in your terminal:

sudo apt-get install dialog

You must give permissions to use this project, run in your terminal:

chmod a+x -v *.sh

How to Use

  1. Clone the repository:

    git clone https://github.com/edworId/facial_emotion_detection.git
    cd facial_emotion_detection
  2. Run the main script:

    ./face.sh
  3. Follow the instructions in the menu to choose the desired action.

  • TAKE A PICTURE: Capture an image and perform associated operations.
  • DETECT EMOTION FROM IMAGE: Detect emotions in an image.
  • LIVE EMOTION DETECTION: Perform real-time emotion detection.
  • BACK TO MAIN MENU: Return to the main menu.
  • EXIT FROM PROGRAM: Exit the program.

DATASET

Dataset: https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/overview

This interface was built using Dialog, text based menu.

License

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

Author


Edmundo Lopes Silva

About

Facial emotion detection using

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published