A professional, modular face recognition attendance system built with Python, OpenCV, and InsightFace.
data/: Contains all persistent storage (university.dbandembeddings.pkl).dataset/: Contains images for batch registration (folder per student).src/: Contains all the source code for the application.main.py: The web dashboard built with Flask.checkin.py: The live camera attendance system.register.py: The interactive student registration script.recognize.py: The script for testing recognition logic.batch_register.py: Script to process bulk images fromdataset/.core/: Core shared logic for database and facial recognition.templates/: HTML templates for the dashboard.
- Install dependencies:
pip install -r requirements.txt
- Register Students:
- Manually: Run
python src/register.py - Bulk: Place student image folders in
dataset/and runpython src/batch_register.py
- Manually: Run
- Start Check-in System:
python src/checkin.py
- View Dashboard:
Open
python src/main.py
http://localhost:5001/in your browser. Default login isadmin/1234.