EMOTION DETECTION WITH YOLOv8 AND RESNET50

This framework can detect face emotion with validation accuracy at 70%

Requirements

  • Python 3.8+
  • PyTorch 1.9+
  • OpenCV 4.5+
  • YOLOv8
  • RESNET50

Installation

pip install -r requirements.txt
  • Download resnet50 model file in Releases
  • Put into folder model

Usage

  1. Without ngrok
streamlit run main.py --server.port 8501 --server.address 0.0.0
  1. With ngrok
python app.py