Professional Documents
Culture Documents
Chapter-4 1
Chapter-4 1
PROPOSED SYSTEM
During the creation of the proposed system, the components required included
both hardware and software to build the Face Recognition Attendance System, along
with an explanation of how the system functions. These sections cover the features and
actual design of the prototype for the Face Recognition Attendance System.
Shown in Figure 5 is the front view of the system, featuring the display monitor
with a camera mounted on top. The camera, positioned at the top center, is set up for
42
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 43
Shown in Figure 6 is the back view of the system, highlighting the setup and cable
management. The Raspberry Pi 4B is centrally mounted on the back of the monitor, with
various cables connected for power, network, and display. A camera is mounted at the
HARDWARE COMPONENTS
These are the hardware components used by the researchers for this proposed
Raspberry Pi
output via micro-HDMI; it comes with up to 8GB RAM and 4Kp60 hardware decoding.
It also includes a dual-band wireless, Bluetooth 5.0, and a Gigabit Ethernet connection,
as well as USB 3.0 ports. It also supports PoE on an add-on HAT, delivering performance
like entry-level desktop PCs.1In a face recognition attendance system, Figure 7 functions
as the primary component, responsible for managing the face detection and recognition
processes, maintaining the system's database, hosting the website server, and handling
Figure 8 is used in the Raspberry Pi to provide essential storage for the operating
system, face recognition system, and data associated with the face recognition
attendance system. This includes storing images, attendance logs, database, enabling the
UTP Cable
cable between Figure 7 and the user's device. The cable ensured stable connectivity by
communication.4
Desktop Monitor
Power Adaptor
Figure 11 supplies stable and reliable power to the Raspberry Pi, ensuring it gets
the correct voltage and current for smooth operation and to avoid any power issues that
USB Webcam
Figure 12 is used in the face recognition attendance system to capture live images
of individuals. This enables the system to perform real-time face detection and
Flash Drive
database, and student attendance records for the face recognition attendance system. 8
Figure 10, Figure 14 was used. This setup allowed the monitor to effectively display the
converting the Micro HDMI output from the Raspberry Pi to a VGA input suitable for the
Raspberry Pi 4B. The Raspberry Pi 4B, located at the center, serves as the main hub to
which all peripherals are connected. A microSD card, inserted into the Raspberry Pi,
provides storage for the operating system and the Face Recognition Attendance System.
For network connectivity, an Ethernet cable is connected to the Ethernet port, which is
also linked to the admin device. The admin device is used to manage and operate the face
recognition attendance system. A webcam, connected to a USB port on the Raspberry Pi,
captures video input. Additionally, a USB flash drive is plugged into one of the USB ports
for hardware backup of the database, dataset, and attendance records. The monitor is
connected to the Raspberry Pi's HDMI port via a Micro HDMI adapter and a VGA to
HDMI cable, allowing the display of the Raspberry Pi’s output. The Micro HDMI adapter
links the Raspberry Pi's Micro HDMI port to the VGA to HDMI cable, which then
connects to the monitor. Finally, a power adapter provides power to the Raspberry Pi
11See Appendix K for the total cost of expenditures of the entire system
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 50
SOFTWARE COMPONENTS
These are the software components used by the researchers for this proposed
RealVNC Viewer
Figure 17 showed why the researchers chose RealVNC Viewer among all software
options: it allowed users to remotely access and control the graphical interface of a
Raspberry Pi from another device. This facilitated remote management and operation of
the Raspberry Pi, enabling tasks such as accessing files, running programs, and
troubleshooting without the need for physical access to the Raspberry Pi itself.12
Raspberry Pi Imager
chose the Raspberry Pi Imager client because it simplifies the process of installing
operating systems onto SD cards for Raspberry Pi computers. This functionality was
essential for the face recognition attendance system, as it ensured the Raspberry Pi was
equipped with the necessary software for implementing facial recognition and managing
attendance records.13
PuTTY
Figure 19 shows the PuTTY application. The researchers chose PuTTY because it
allowed users to remotely access their Raspberry Pi from another computer using the
SSH (Secure Shell) protocol. With PuTTY, users could execute commands, configure
settings, and manage their Raspberry Pi without needing a dedicated monitor and
keyboard.14
SQLAlchemy
The researchers used SQLAlchemy as the database for the face recognition
corresponding attendance records. SQLAlchemy was chosen for its ability to facilitate
management and tracking of attendance, offering support for complex queries and
well with Flask, a lightweight web framework, because it simplifies database interactions.15
(HOG) for face detection, a technique that extracts features from facial images, while
employing dlib and face_recognition libraries for recognizing and identifying individuals
from the detected faces based on pre-trained models, enabling accurate attendance
tracking through facial recognition technology. Sample output is shown in figure 21.
Flask Framework
Flask is a lightweight and flexible Python web framework that simplifies the
development of web applications by providing tools and libraries for building web
services and APIs, as shown in Figure 22 which is a website dashboard using flask
framework.
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 54
As shown in the figure 23 the yellow box around the individual's face indicates that
the system has detected a face within the frame. This box is typically drawn in real-time
by the face recognition software to highlight the region of the image where a face has
been found. When a student is positioned within the camera's frame with facial features
clearly visible, as demonstrated by Jake M. Najera, the system will not only identify the
individual but also determine their grade and section, and then log their attendance.
As shown in Figure 25, the system is capable of detecting and recognizing three
students at the same time. Additionally, it correctly identified the student Lyzel Van G.
Manluctao, even though she is not directly facing the camera and is wearing glasses.
However, it is recommended that students avoid wearing facial coverings to ensure the
As shown in Figure 26, the system can detect and recognize four students
simultaneously.
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 56
Figure 27. Sample result when the system recognizes multiple individuals.
Figure 27 shows the interface of the system when multiple individuals are present
The accuracy of the system is classified in terms of distance and accuracy metrics.
DISTANCE (m)
0.5 1 1.5 2 TOTAL
SUCCESSFUL
1 1 1 1 4
RECOGNITION
UNSUCCESSFUL
0 0 0 0 0
RECOGNITION
Total 1 1 1 1 4
Figure 28 and Table 5 display the data on the system's accuracy at different
distances. The study examined four distances: 0.5 meters, 1 meter, 1.5 meters, and 2
meters. At each distance, the researchers tested four individuals, and the system
Metric Count
True Positive 28
True Negative 1
False Positive 1
False Negative 0
Table 6 indicates an accuracy rate of 96.67% for the St. Andrew Face Recognition
system. With 28 true positives and only 2 errors (1 false positive and 0 false negatives),
the system demonstrates accurate performance in face recognition. This affirms the
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 58
findings of Shetty et al. (2021), which suggest that high true positive rates, coupled with
Metric Count
True Positive 33
True Negative 0
False Positive 3
False Negative 0
commendable accuracy rate of 91.67%. With 33 true positives and only 3 false positives,
there were no true negatives or false negatives recorded. This supports the study by
Shetty et al. (2021), emphasizing that high rates of true positives, when combined with
The system has mistakenly identified the individual in the image as James Lincoln
M. Flores, despite him not being registered on the database. This false identification
likely happened because the individual is not directly facing the camera and wearing
glasses. It's advised that for better accuracy, individuals should remove glasses or any
items covering their face when using the system. The sample output is shown in figure
29.
When a student attempts to take attendance using a picture, the system first
identifies the individual in front of the camera. It then verifies whether the attempt is
genuine or a spoof. If a spoof is detected, the system promptly deletes the associated
attendance record and captures an image of the detected spoof, storing it in a designated
spoof folder for the teacher to review instances of attempted attendance fraud.
Conversely, if the individual is deemed authentic, the system proceeds to mark their
Figure 31. Sample result when an unregistered person attempts to take attendance.
successfully labels the person as "unknown" since they are not registered. The system
then captures a picture of the unidentified individual and stores it in the "unknown"
folder. This feature enables the teacher to review the image and identify the person who
Figure 32. Delay observed by the face recognition system on Raspberry Pi.
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 61
Figure 33. Delay observed in the face recognition system on a Desktop Computer.
Based on Figures 32 and 33, it has been noted that there is a delay of 3 to 5
seconds in the face detection and recognition processes. Specifically, a delay of 3 seconds
occurs when detecting motion, with an additional 2 seconds before the results are
displayed on the screen to allow the system time to identify whether the student is
equipped with a Ryzen 5 5600G processor and 16GB of RAM, as shown in Figure
significant difference in delay, suggesting that the hardware configuration does not
The system's history tracking feature provides teachers with comprehensive tools
to access, filter, search, update, delete, and download attendance records, ensuring
Figures 30 and 31 showcase the system's history tracking feature, which enables
teachers to access past attendance records. By selecting the desired start and end dates
along with the relevant section, the system filters the data accordingly. This feature has a
search function that allows teachers to view attendance records for a specific student.
Additionally, the system offers update and delete functions, enabling teachers to modify
the date and time or attendance status of a student and to manually delete attendance
records. The system has also a feature to allow teachers to download the Master list in a
PDF file and attendance records in both PDF and CSV formats. This new functionality
provides a convenient way for teachers to maintain and share comprehensive attendance
attendance.
The data presented below was gathered using a detailed questionnaire, ensuring
accurate and relevant information for the study.16 17 The respondents include Sir Ric
Garcia the TLE teacher, and the Grade 10 students from St. Andrew and St. Bernadette.
The survey uses a 5-point Likert scale, with 5 being the highest and 1 being the lowest.
This chapter discusses, presents, analyzes, and interprets the results of the survey
questionnaire.
identifying and verifying individuals' faces and attendance records. This characteristic
ensures that the system maintains its performance, delivering consistent and dependable
recognition capabilities.
4.17
Average Weighted Mean Agree
LEGEND: Strongly Agree - 4.21 – 5.00 Agree - 3.41 – 4.20 Neutral - 2.61 – 3.40 Disagree - 1.80 – 2.60 Strongly Disagree - 1.00 – 1.79
Table 8 shows that the system has an average weighted mean of 4.17. According
to the scale described in the study by Salac (2020), this mean falls within the range of
3.41 to 4.20, corresponding to the descriptive equivalent of 'Agree.' This indicates that
reliability means the system is dependable for consistent use, delivers accurate and
reliable attendance data, and operates according to its stated specifications without
failure.
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 65
positioning during attendance capture, and maintains accurate attendance records even
with multiple individuals in the frame. The average weighted mean of 4.54, falling under
"Strongly Agree.” According to Salac (2020), the scale described in the study by, this
mean falls within the range of 4.21 to 5.00, corresponding to the descriptive equivalent of
"Strongly Agree." This indicates that participants generally agree on the system’s
reliability. The study of Salac (2020) defines reliability as the system consistently
performing its functions without failure over a reasonable period, highlighting its
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 66
teacher Sir Ric Garcia. He strongly agrees that the system has a data recovery plan to
address data loss, the dashboard maintains accurate student information over time, and
the history tracking feature reliably presents accurate older data. The average weighted
mean of 5, categorized as "Strongly Agree," confirms the scale in the study of Salac
(2020), this mean falls within the range of 4.21 to 5.00 system's exceptional reliability.
As stated by Rollon (2023), reliability shows preparedness for data loss scenarios
through a data
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 67
recovery plan, ensuring that data can be recovered and reliability is maintained even in
adverse conditions.
Usability and functionality of the system are combined result to determine the
Andrew:
2. Taking attendance
with the face recognition
4.61
attendance system was Strongly Agree
straightforward and
relatively simple.
Table 11 indicates that respondents found the face recognition attendance system
highly user-friendly and visually appealing. The average weighted mean of 4.61,
categorized as "Strongly Agree," affirms the scale in the study of Salac (2020), this mean
falls within the range of 4.21 to 5.00 system's exceptional confirms the system's ease of
use and aesthetic appeal. According to Salac (2020), usability involves processes that are
easy to learn and understand, easy to use and operate, and usable by every user.
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 68
LEGEND: Strongly Agree - 4.21 – 5.00 Agree - 3.41 – 4.20 Neutral - 2.61 – 3.40 Disagree - 1.80 – 2.60 Strongly Disagree - 1.00 – 1.79
Table 12 illustrates the system's functionality, with respondents' strong agreement on its
accurate face recognition and recognition of registered students, scoring 4.53 and 4.63
respectively. While the ability to identify non-registered students scored lower at 3.39
categorized as 'Agree', the average weighted mean of 4.18 still indicates that the system
operates generally as intended, confirming the scale in the study of Salac (2020), this
mean falls within the range of 4.21 to 5.00 system's usability. According to Rollon
(2023), functionality entails performing its intended specifications, carrying out its
functions with less time and effort, and supporting the needs of every user.
system's acceptability. Table 13 shows a weighted mean of 4.18 for functionality, falling
under "Agree," and a weighted mean of 4.61 for usability, falling under "Strongly Agree."
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 69
The average weighted mean of 4.40, also falling under "Strongly Agree," confirms the
system's high overall acceptability. The scale presented in Salac (2020) study, this
average falls within the 4.21 to 5.00 range, indicating the system's high acceptability.
The findings suggest that while there may be room for slight improvements in
functionality, the excellent usability of the system significantly enhances its overall
effectively supports the needs of its users, operates efficiently, and is straightforward to
use, all of which are crucial for a positive user experience and the success of a system.
Table 14 highlights the system's usability, with respondents strongly agreeing that
registering their face and taking attendance with the face recognition system are
straightforward and relatively simple tasks. Additionally, they found the live display to
be visually appealing. The average weighted mean of 4.70, falling under "Strongly
Agree," confirms the system's high usability. The scale presented of Salac (2020), this
average falls
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 70
within the 4.21 to 5.00 range, indicating the system's high usability. According to Rollon
on its accurate face recognition for both registered and non-registered students. The
average weighted mean of 4.49, falling under "Strongly Agree," affirms the system's
overall effectiveness and reliability in performing its intended functions. The scale
presented of Salac (2020), this average falls within the 4.21 to 5.00 range, indicating the
on the system's ability to operate according to its designed specifications, and meet the
Table 16, the system's acceptability is high. Both functionality and usability received strong
acceptability. The scale presented in Salac (2020), study, this average falls within the
4.21 to 5.00 range, indicating the system's high acceptability. In Salac's (2020) study,that
toward users. The system's ability to operate according to its designed specifications and
complete tasks efficiently, along with its ease of use and user-friendly interface, are
Table 17 shows that TLE-ICT Instructor Sir Ric Garcia finds the system highly
usable. He strongly agrees that the system's navigation, user-friendliness, and website
usage are all excellent. The average weighted mean of 5 confirms this high usability
rating based on the scale of Salac (2020) study. Based on Rollon (2023), usability is
characterized by processes that are intuitively easy to learn and understand. The systems
are designed to be user-friendly and efficient in operation, ensuring that they can be
effectively used by everyone, regardless of their skill level. This approach to usability
technological proficiency.
Table 18 highlights the system's functionality, with Sir Ric Garcia strongly
agreeing that the system's menu items work, it successfully performs required tasks like
dashboard functions and attendance tracking and ensures accuracy across content and
functionality. The scale presented in Salac (2023) study, this average falls within the 4.21
to 5.00 range, indicating the system's high functionality. According to Uy et al. (2022),
The functionality of a website pertains to its capacity to meet user needs effectively. It
should execute necessary tasks by offering precise and current information. Additionally,
the website should be quick to load, simple to navigate, and compatible across various
browsers. High functionality significantly enhances the overall usability of the website.
CHAPTER 4: PRESENTATION, ANALYSIS, AND INTERPRETATION OF FINDINGS 73
system's acceptability. With a weighted mean of 5 for both functionality and usability,
falling under "Strongly Agree," the average weighted mean of 5 confirms the system's
outstanding acceptability. The scale presented in Salac (2023), this average falls within
the 4.21 to 5.00 range, indicating the system's high acceptability. In Salac's (2020) study,
toward users. The system's ability to operate according to its designed specifications and
complete tasks efficiently, along with its ease of use and user-friendly interface, are
critical factors in achieving high user acceptance. The systems are designed to be user-
friendly and efficient in operation, ensuring that they can be effectively used by everyone,