πΈ AI-Based Attendance System
A smart and efficient attendance system using Face Recognition technology powered by Python and OpenCV. This project automatically identifies and marks attendance based on facial features, eliminating manual errors and reducing time consumption in traditional roll-call methods.
π Features
π€ Detects and recognizes registered faces in real-time.
π· Captures live video feed from webcam for recognition.
ποΈ Maintains attendance records automatically.
π Displays student details like ID, name, and date/time.
π¦ Easy to manage database using simple folder-based images.
π Option to register new students by simply uploading images.
π§ Technologies Used
Python 3.8+
OpenCV
face_recognition library
NumPy
PIL (Pillow)
Tkinter (for GUI interface)
Pickle (for encoding file storage)
βοΈ How It Works
Add Student Images
Place student face images in the Images/ folder named like 1001.jpg, 1002.jpg, etc.
Generate Encodings
π Requirements
Install all required libraries using:
You can use directly -
pip install -r requirements.txt
Or individually -
pip install opencv-python face_recognition numpy Pillow
Note: The face_recognition library requires dlib. You can download the compatible .whl file from Gohlkeβs repository if youβre on Windows.
β οΈ Troubleshooting
Ensure all face images are clear, 8-bit RGB, and face is front-facing.
Verify that image dimensions are reasonable (e.g., 500x500 px).
Confirm you have installed all dependencies.
If you get Unsupported image type error, preprocess your images using Pillow.
π Contributors
PARSHANT β Developer & UI Designer
π License
This project is licensed under the MIT License.