Author: Anup Chapagain
Email: uanup.mpersonal.a@gmail.com
A Python-based face recognition attendance system that:
- Registers a new face once
- Recognizes the person automatically in subsequent sessions
- Marks attendance with timestamp in a CSV file
This system can be applied in:
- π Classrooms β Automated student attendance
- π’ Offices β Employee check-in
- π Events β Quick guest registration
- Face Registration: Capture and store unique faces
- Automatic Recognition: Identify returning faces in real-time
- Attendance Logging: Generate CSV logs with name and timestamp
- Lightweight & Scalable: Can run on a standard PC or Raspberry Pi
- Python 3
- OpenCV β Real-time video capture & detection
- face_recognition library (built on dlib)
- NumPy & Pandas β CSV attendance handling
face-attendance-system/
ββ src/
β ββ attendance.py # Main script
ββ database/
β ββ faces/ # Registered face images
β ββ attendance.csv # Attendance log
ββ sample_output/
β ββ demo_recognition.png
β ββ attendance_example.png
ββ requirements.txt
ββ README.md
- Clone the repository
git clone https://github.com/anupanonymous/face-attendance-system.git
cd face-attendance-system/src- Install dependencies
pip install -r requirements.txt- Register a new face and mark attendance
python attendance.py- Integrate with Raspberry Pi IoT door lock
- Add cloud database for attendance tracking
- Build a GUI dashboard for admin/teacher use
Anup Chapagain
AI & IoT Enthusiast | Film making Aspirant