Project Level: Real-World
This project is designed for learners who know Python fundamentals and are learning to build real-world programs.
Project Description
Today, we will build a program that starts the camera on your computer and detects your mood based on your facial expressions.
For this program, we are using TensorFlow and OpenCV as the two main libraries. As a mood detection model, we are using this here in the link. It detects angry, disgusted, fear, happy, neutral, sad, and surprised faces.
Prerequisites
Required Libraries: random, os, numpy, OpenCV, TensorFlow, mediapipe
pip install numpy opencv-python tensorflow mediapipe
Required Files: No files are required.
IDE: Use any IDE.
Danger Zone
The solution code is hidden behind the button below. Click to reveal it.
Happy Coding!
Daily Python Projects Team