- NumPy – Powerful Python library for numerical computing, offering support for multi-dimensional arrays and a wide range of mathematical operations.
- Pandas – A fast, flexible, and expressive tool for data manipulation and analysis built on top of Python.
- Haar Cascade Classifier – A machine learning object detection algorithm used to identify faces in images and videos. Based on the work of Paul Viola and Michael Jones (2001).
- face_recognition – The world’s simplest library for face recognition in Python, allowing easy face detection and manipulation.
- OpenCV – A highly optimized open-source library for real-time computer vision and image processing.
- Python 3.x installed
- A code editor or IDE (e.g., VS Code, PyCharm)
- Clone or download the project from this repository.
- Open the project in your preferred IDE.
- Create and activate a Python virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install all required libraries:
pip install -r requirements.txt
- Open your terminal in the project directory.
- Install Streamlit (if not already installed):
pip install streamlit
- Launch the app:
✅ This will automatically open a new tab in your default web browser where the application UI will start running.
streamlit run app.py
- Real-time face detection using webcam
- Automatic attendance marking based on face recognition
- Easy-to-use and lightweight interface
- Scalable to multiple users/classes
Ensure your webcam is enabled and working before running the application.