e-motion is a project designed to analyze emotions from facial features (image data). The project includes Python scripts, HTML templates, CSS styles, and a pre-trained model to deliver accurate emotion detection.
- Emotion detection from images
- Frontend built with HTML, CSS, and JavaScript
- Backend powered by Python and a pre-trained model
e-motion/
│
├── .devcontainer
├── .github
├── pythonScripts/ # User-defined python package
│ ├── __init__.py
│ ├── clickPhoto2.py # Script to click photo and save
│ ├── preProcess.py # Script to pre-process data (image file)
│ └── predict.py # Script to analyze data using pre-trained model
├── .gitignore
├── README.md
├── app.js # Static JavaScript file
├── index.html # HTML template
├── main.css # CSS file
├── model2.h5 # Pre-trained model files
├── requirements.txt # Python dependencies
└── server.py # Main server script
- Python 3.x
- Flask
- Clone the repository:
git clone https://github.com/PALLADIUM26/e-motion.git
- Navigate to the project directory:
cd e-motion
- Install dependencies:
pip install -r requirements.txt
- Navigate to
http://localhost:5000
in your browser to start using e-motion. - Run the server on terminal:
python server.py
Contributions are welcome! Feel free to submit issues or pull requests.