Loading repository data…
Loading repository data…
murtiunlimited / repository
Real-time Face & emotion recognition system using a lightweight CNN, with OpenCV webcam inference, GroqCloud for chatbot & FastAPI + frontend web deployment.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This project performs real-time facial emotion detection using a CNN model.
It supports both:
FER-PROJ-2/
├── .github/
│ ├── workflows/
│ ├── ci.yml
├── api/
│ ├── app.py
│ ├── __init__.py
├── data/
│ ├── processed/
│ │ ├── train/
│ │ └── validation/
│ └── raw/
│ ├── test/
│ └── train/
├── frontend/
│ └── index.html
│ ├── ai.html
│ ├── realtime.html
├── tests/
│ ├── test_api.py
│ ├── test_data.py
│ ├── test_imports.py
│ ├── test_inference.py
│ ├── test_model.py
├── models/
│ ├── best_emotion_model.keras
│ └── final_emotion_model.keras
└── src/
├── data/
│ ├── __pycache__/
│ ├── __init__.py
│ ├── preprocess.py
├── inference/
│ ├── __init__.py
│ ├── predict.py
│ └── webcam.py # if user prefers openCV
├── llm/
│ ├── __init__.py
│ ├── groq_client.py
├── models/
│ ├── __init__.py
│ ├── evaluate.py # MLFLOW included
│ ├── model.py
│ └── train.py # MLFLOW included
├── utils/
│ ├── __init__.py
│ └── config.py
└── __init__.py
├── Dockerfile
├── README.md
├── render.yaml
├── .env (MAKE SURE TO ADD IN GITIGNORE FILE)
├── .gitattributes
├── requirements.txt
├── run_pipeline.py # if user prefers web version by python script
└── shellscript.sh # if user prefers web version by shell script
python -m venv venv
Windows:
venv\Scripts\activate
Mac/Linux:
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
python -m src.data.preprocess
python -m src.models.train
python -m src.inference.webcam
python -m src.data.preprocess
python -m src.models.train
uvicorn api.app:app --reload
frontend/index.html in your browserchmod +x shellscript.sh
./shellscript.sh
final_emotion_model.keras) must exist in model_artifacts