A smart, GUI-based attendance system using Python, OpenCV, and OCR to scan student ID cards, verify registered users, log attendance, send email alerts, and provide detailed dashboards for both students and admins.
- ✅ ID Card OCR using EasyOCR
- 🧾 Student/Admin Registration & Login System
- 📸 Auto Snapshot Capture on Attendance
- 📊 Daily & Total Attendance Logs (CSV)
- 📧 Email Notification for Attendance
- 🧑💻 GUI built with Tkinter
- 📂 Photo & Log Auto-Organization
- 🔐 Secure password validation
The Latest version is released in GitHub. Anyone can Download it and use it.
git clone https://github.com/ayush2005soumya/ID-Based-Attendance-Tracker-System.git
cd attendance-tracker
python -m venv venv
venv\Scripts\activate # On Windows
# source venv/bin/activate # On macOS/Linux
pip install -r requirements.txt
Dependencies include:
opencv-python
,easyocr
,pandas
,tkinter
,numpy
,Pillow
,smtplib
,email-validator
import easyocr
reader = easyocr.Reader(['en']) # This downloads model files
python landing_page.py
attendance-tracker/
├── landing_page.py # Main entry GUI
├── main.py # Main app UI logic
├── scanner.py # OCR, webcam & attendance logic
├── admin_login.py # Admin GUI & dashboard
├── student_login.py # Student GUI & dashboard
├── utils.py # Helpers for logging, email, snapshots
├── dashboard_utils.py # CSV table viewer GUI
├── notifier.py # Email alert logic
├── student.csv # Registered student data
├── attendance_status.csv # Total attendance data
├── logs/ # Daily CSV logs
├── photos/ # Attendance snapshots
└── requirements.txt # Python dependencies
- All user data is stored in local CSV files.
- Snapshots are auto-saved in
/photos
. - Daily logs in
/logs/YYYY-MM-DD.csv
.
To enable email alerts:
- Set your sender email and password in
notifier.py
- Use app password if 2FA is enabled on Gmail