https://github.com/shivakantkurmi/face-recognition
A complete Python + MySQL based attendance system that uses real-time facial recognition to automate and manage student attendance efficiently.
https://github.com/shivakantkurmi/face-recognition
ai-attendance attendance-system automated-attendance education-automation face-recognition face-recognition-system image-processing python
Last synced: about 1 year ago
JSON representation
A complete Python + MySQL based attendance system that uses real-time facial recognition to automate and manage student attendance efficiently.
- Host: GitHub
- URL: https://github.com/shivakantkurmi/face-recognition
- Owner: shivakantkurmi
- Created: 2024-09-16T16:14:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-05T21:04:30.000Z (about 1 year ago)
- Last Synced: 2025-05-07T10:34:05.654Z (about 1 year ago)
- Topics: ai-attendance, attendance-system, automated-attendance, education-automation, face-recognition, face-recognition-system, image-processing, python
- Language: Python
- Homepage:
- Size: 13.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π§ Facial Recognition Attendance System
A complete **Python + MySQL** based attendance system that uses **real-time facial recognition** to automate and manage student attendance efficiently.
---
## π₯ Highlight Features
- π§βπ **Student Manager** β Register, update, and delete student details via GUI.
- π· **Face Dataset Generator** β Capture multiple images per student using webcam.
- π§ **Face Model Trainer** β Train recognition model using OpenCVβs LBPH algorithm.
- π§Ύ **Real-Time Recognition** β Detect and identify faces live from webcam.
- π
**Attendance Logger** β Automatically logs attendance with time and date.
- π **CSV Export** β Save daily attendance in spreadsheet-friendly format.
- π’οΈ **MySQL Backend** β Securely store student and attendance data.
---
## βοΈ Technologies Used
| Tech | Role |
|------------------|-------------------------------------|
| **Python 3.x** | Main Programming Language |
| **OpenCV** | Face Detection & Recognition |
| **Tkinter** | GUI Framework |
| **MySQL** | Backend Database |
| **Pillow** | Image Processing |
| **NumPy** | Numerical Operations |
| **CSV, Datetime**| Attendance Logging & Export |
---
## π Getting Started
### 1οΈβ£ Clone the Repository
```bash
git clone https://github.com/shivakantkurmi/Face-Recognition.git
cd Facial-Recognition-Attendance
```
### 2οΈβ£ Install Required Libraries
```bash
pip install opencv-python mysql-connector-python numpy pillow
```
### Connect Mysql Workbench
## π§© Module Breakdown
| Module File | Purpose |
|------------------------|---------------------------------------------|
| `main.py` | GUI Homepage for navigation |
| `student.py` | Add / Edit / Delete student info |
| `dataset_generator.py` | Capture facial images for training dataset |
| `trainer.py` | Train recognizer using LBPHFaceRecognizer |
| `recognizer.py` | Recognize faces and log attendance |
| `attendance.py` | View and export attendance records |
---
## πΈ UI Preview
| Main Menu | Register Student | Face Detection |
|-----------|------------------|----------------|
|  |  |  |
---
## π License
Licensed under the **MIT License**.
---
## π Contributions
Pull requests are welcome! For major changes, open an issue to discuss improvements first.
---
**Built with π» Python and β€οΈ for smart automation in education.**