Facial Emotion Detector is a deep learning project that can detect human emotions from facial expressions in real-time using a computer's webcam. This README file provides an overview of the project, instructions for installation and usage, and details on how the model was trained.
- Clone this repository to your local machine.
git clone https://github.com/your-username/Facial-Emotion-Detector.git
-
The
images
folder contains the required dataset -
Get trained model from
Train_CNN.ipynb
notebook.
To detect emotions in real-time using your computer's webcam:
-
Ensure you have a trained model (model.h5) in the project directory.
-
Run the main script.
python main.py
The webcam feed will open, and the emotions detected from the facial expressions will be displayed in real-time.
The repository structure is as follows:
-
images/
: This directory should contain the Face Expression Recognition Dataset. -
train_CNN.ipynb
: Jupyter notebook for training the emotion detection model. -
main.py
: Python script for real-time emotion detection using the trained model.