USER MANUAL 37
USER MANUAL 37
USER MANUAL
8.1 Introduction to the User Manual
This manual is designed to guide you through the setup and use of the system.
The system automates attendance marking using face recognition technology,
ensuring accurate and efficient record-keeping.
By following this guide, you will learn how to install the system, register users,
manage profiles, and utilize the face recognition and reporting features
effectively.
Prerequisites:
▪ tkinter
▪ OpenCV
▪ numpy
▪ pandas
▪ PIL (Pillow)
▪ pyttsx3
Steps to Install:
37
▪ Clone the project files in your system from the repository or a
provided source.
Set Up Directories:
1. Check and configure file paths in the Python files as required (e.g.,
paths to Haarcascade XML and image directories).
38
1. Launch the System: Open the application interface.
• Enrollment Number
• Name
4. Capture Face Images: The system will open the webcam. Position the user
in front of the camera, and click "Take Image".
5. Train the System: After capturing images, click "Train Image" to update the
face recognition model.
Managing Profiles:
Marking Attendance:
1. Launch the Application: Start the system and click on the "Mark
Attendance" button.
39
4. Handle Unregistered Users: For unregistered faces, ensure the student
is registered using the "Register Student" feature.
2. Select the Date or Student: Use filters to view attendance for a specific
date or a particular student.
3. Export Reports: Export the attendance data as a CSV or Excel file for
further use (if applicable).
40
10. SOURCE CODE & SYSTEM SNAPSHOTS
The project is organized into multiple Python files, each handling a specific
functionality. Below is the modular structure:
1. attendance.py
• Key Functions:
2. automaticAttendance.py
• Key Functions:
3. show_attendance.py
• Key Functions:
4. takeImage.py
• Key Functions:
5. trainImage.py
• Key Functions:
6. takemanually.py
• Key Functions:
42
face_cascade =
cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
cap = cv2.VideoCapture(0)
count = 0
while True:
if not ret:
break
cv2.imwrite(f"TrainingImage/Student_{student_id}_{count}.jpg",
frame)
count += 1
break
cap.release()
43
recognizer = cv2.face.LBPHFaceRecognizer_create()
recognizer.train(faces, np.array(ids))
recognizer.save('TrainingImageLabel/Trainner.yml')
writer = csv.writer(file)
data = pd.read_csv('Attendance.csv')
print(filtered_data)
44
10.2 System Snapshots:
Front Look
Mark Attendance
45
Register Student Using Their Face
View Attendance
46
Marking Attendance in .csv File
47
11. GANTT CHART & PERT CHART
48
12. CONCLUSION
49
13. REFERENCES, FACE RECOGNITION ATTENDANCE MANAGEMENT SYSTEM
1. Books:
2. Research Papers:
3. Articles
50
• Real Python tutorials: realpython.com
4. General Tutorials
• YouTube channels like Corey Schafer, Tech With Tim, and Sentdex.
• pandas: To manage CSV files for student data and attendance logs.
51
• tkinter: For building the graphical user interface (GUI).
3. Pre-Trained Models
5. YouTube
52