A real-time face recognition system using DeepFace, OpenCV, and Tkinter. It detects faces, recognizes known individuals, predicts age and emotion, and automatically logs attendance to a CSV file — all through a simple graphical interface.
- 🧠 Face Recognition using DeepFace
- 😀 Emotion & Age Prediction
- 🕒 Automated Attendance Logging with timestamp
- 📋 CSV File Output for records
- 🖼️ User-Friendly GUI built with Tkinter
- 📁 Photo-based Registration
| Technology | Usage |
|---|---|
| Python | Core programming language |
| DeepFace | Face recognition and analysis |
| OpenCV | Face detection and image capture |
| Tkinter | GUI development |
| Pandas | Data handling and CSV logging |
-
Clone the repository:
git clone https://github.com/asmxtaa/Face-Recognition-Attendance.git cd Face-Recognition-Attendance -
Create a virtual environment (optional but recommended):
python -m venv venv venv\Scripts\activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
-
Add registered user images:
- Place face images (e.g.,
Asmita.jpg) into theregistered_faces/folder.
- Place face images (e.g.,
-
Run the app:
python ss.pyw
-
View attendance table:
python tables.py
├── ss.pyw # Main GUI launcher
├── recognition.py # Handles recognition logic
├── detection.py # Face preprocessing
├── tables.py # Attendance table viewer
├── registered_faces/ # Store images of known users
├── attendance_log.csv # Auto-generated attendance log
Attendance logs are stored in attendance_log.csv in the following format:
Name, Date, Time, Emotion, Age
Asmita Mandal 🌸
GitHub • LinkedIn
This project is open-source and available under the MIT License.