π· Smart Face, Eye & Smile Detector
Welcome to the Smart Face, Eye & Smile Detector! π
This is a real-time web application that detects face, eyes, and smile using your webcam. Built with Streamlit, OpenCV, and WebRTC, itβs fast, interactive, and fun! π
π Features
- π§βπ€βπ§ Face Detection: Detect faces in real-time.
- π Eye Detection: Recognizes eyes within detected faces.
- π Smile Detection: Detects smiles and shows a message.
- π₯ Live Webcam Feed: Stream your camera directly in the browser.
- β¨ Interactive UI: Easy to use with start/stop controls.
π οΈ Installation
- Clone the repository
git clone https://github.com/yourusername/smart-face-detector.git
cd smart-face-detector
- Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # Linux / Mac
venv\Scripts\activate # Windows
- Install dependencies
pip install -r requirements.txt
π Run the App
streamlit run app.py
- Press Start to begin live detection.
- Press Stop to end the webcam feed. Streamlit handles cleanup automatically.
π¦ Dependencies
streamlitπopencv-python-headlessπΌοΈstreamlit-webrtcπΉavπnumpyπ’
π Notes
- Make sure your browser has webcam access enabled.
- Works best with good lighting conditions.
- Tested on Python 3.10+.
β Support
If you found this repository helpful, donβt forget to star β the repo. Your support motivates me to learn and share more! π‘
β‘ License
This project is MIT Licensed.


Log in or sign up for Devpost to join the conversation.