π§βπΌ Face Attendance Maker using Streamlit and OpenCV π

π Published by @anurag_panda
π GitHub Repo: Face Attendance Maker
- π Introduction
Attendance tracking is a crucial part of any educational institution or organization, but the traditional method of calling names or marking attendance manually is outdated and error-prone.
So I built Face Attendance Maker β a modern solution that uses face recognition to automate attendance using Streamlit for the UI and OpenCV for the camera and image processing.
π§ Features
β Real-time face detection using OpenCV
β Attendance tracking with time stamps
β Streamlit-based UI for ease of use
β CSV export of attendance records
β Simple, clean, and fastπ§° Tech Stack
Python
Streamlit β for the front-end UI
OpenCV β for face detection and camera access
face_recognition β for comparing and identifying faces
NumPy & Pandas β for data handling
CSV β for storing attendance records
- π¦ How It Works
Upload or register known faces in a folder(ImagesAttendance/)
Launch the Streamlit app
Camera opens and starts detecting faces
If a known face is found:
Name and timestamp are recorded
Data is saved into Attendance.csv
- π₯οΈ Getting Started
Clone the repo:
git clone https://github.com/anurag-panda-nshm/face-attendance-maker
cd face-attendance-maker
Install dependencies:
pip install -r requirements.txt
Run the app:
streamlit run app.py
πΈ Make sure your webcam is enabled.
π face-attendance-maker/
βββ app.py
βββ Attendance.csv
βββ ImagesAttendance/
β βββ anurag.jpg
βββ requirements.txt
βββ ...
Add more images to ImagesAttendance/
with filenames as the personβs name.
- π Use Cases
Classroom attendance
Workplace check-ins
Event registrations
Lab/Library access tracking
- βοΈ Future Improvements
Face registration through the UI
Multi-user support and login system
Dashboard with analytics
Integration with cloud databases like Supabase or Firebase
π Let’s Collaborate!
Feel free to fork, contribute, or open issues!
β Star the repo if you like the project!
GitHub: https://github.com/anurag-panda-nshm/face-attendance-maker
- π¬ Final Thoughts
Building this project taught me how powerful and fun real-time computer vision can be. With Streamlit, it’s easier than ever to turn Python scripts into beautiful web apps.
Let me know your thoughts or improvements!
π§ Reach out on LinkedIn or drop a comment below π