Real-time Engagement & Emotion Detection using OpenCV, Mediapipe, and DeepFace. This project tracks posture and torso movement to estimate engagement levels while simultaneously analyzing facial emotions with DeepFace. The system provides real-time feedback with engagement percentage and emotion labels displayed on the webcam feed.
This project combines pose estimation and facial emotion recognition to estimate a user's engagement level in real-time using a webcam.
- Pose-based engagement detection
- Uses Mediapipe Pose landmarks.
- Calculates posture score (shoulders vs hips).
- Detects torso movement for engagement estimation.
- Emotion detection
- Uses DeepFace to recognize the dominant emotion.
- Real-time visualization
- Engagement percentage and emotion labels displayed on webcam feed.
- Python 3.8+
- Webcam
Install dependencies:
pip install -r requirements.txt