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.
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
-
Clone the repository:
git clone https://github.com/edworId/facial_emotion_detection.git cd facial_emotion_detection
-
Run the main script:
./face.sh
-
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.
This project is licensed under the MIT License - see the LICENSE file for details.