UNIVERSITY OF EDUCATION, LAHORE
Student Name; Rabail Iram
Roll No; bsf2108636
Student Name; Isma Mobeen
Roll No; bsf2108670
Program; BS
Project Title Face Recognition
Attendance Based System
Department Information Technology
Face Recognition Attendance Based System
INTRODUCTION
## Face Recognition Attendance-Based System
Face recognition technology is a biometric system
that identifies or verifies a person by analyzing and
comparing facial patterns. This presentation outlines
the development of an attendance system using face
recognition, detailing each step of the project and the
libraries required.
### Required Libraries:
To build this project, you need the following libraries:
1. *tk tools*: Provides additional tools and utilities for
the Tkinter GUI toolkit.
2. *openc *: v-contrib-python*: OpenCV library with
extra modules for computer vision tasks.
3. *datetime*:Handles date and time operations.
4. *pytest-shutil *: Utilities for testing, including file
and directory handling.
5. *numpy*: Library for numerical operations.
6. *pillow*: Image processing library.
7. *pandas*: Data manipulation and analysis library.
8. *times*: Handles time conversions and operations.
Libraries:
♦ pip install tk-tools
♦ pip install opencv-contrib-python
♦ pip install datetime
♦ pip install pytest-shutil
♦ pip install numpy
♦ pip install pillow
♦ pip install pandas
♦ pip install times
### Step-by-Step Project Report
#### Step 1: Setting Up the Environment:
➢ Install the required libraries using pip.
➢ Set up a virtual environment to manage
dependencies.
#### Step 2: Designing the GUI
➢ Use Tkinter and tk-tools to design a user-friendly
interface.
➢ Include options to register new users, mark
attendance, and view attendance logs.
#### Step 3: Face Detection and Recognition
➢ Utilize OpenCV (opencv-contrib-python) for face
detection.
➢ Implement face recognition algorithms to identify
individuals.
#### Step 4: Capturing and Storing Data
➢ Use the camera to capture images of
individuals.
➢ Store the facial data and user information in a
database or file system.
#### Step 5: Attendance Marking
➢ Compare the captured facial data with stored
data to identify individuals.
➢ Mark attendance by recording the current date
and time (datetime library).
#### Step 6: Data Management
➢ Use pandas to manage and manipulate
attendance data.
➢ Ensure data integrity and provide options to
export data in various formats (CSV, Excel).
#### Step 7: Testing
➢ Use pytest-shutil to create tests for file handling
and other operations.
➢ Ensure the system is robust and handles errors
gracefully.
## Conclusion:
A face recognition attendance system automates the
process of marking attendance, making it more
efficient and secure. By following these steps and
utilizing the specified libraries, you can develop a
functional and reliable system.
OUTPUT:-
2:-
3:-