Object Detection Model Traffic Light System
Object Detection Model Traffic Light System
An Undergraduate Thesis
Presented to the
Morong, Rizal
In Partial Fulfillment
REYDENTOR L. CASALJAY
VICTORIO DANIEL SD. CRUZ
PETER LUIS P. FENIQUITO
ERON RESTY V. SIOCO
February 2024
i
APPROVAL SHEET
Victorio Daniel SD. Cruz, Peter Luis P. Feniquito, and Eron Resty V. Sioco, in partial
ii
ACKNOWLEDGEMENTS
to the following people, whose valuable help gave inspiration to them in conducting
progresses;
Engr. PAUL ARVY V. ALFONSO, their research adviser, for the time to help
on every step of the study by providing her comments and analysis on the study;
his professional expertise and being open to ideas for how to improve the study;
To our beloved family, we are very grateful for your constant love and
And above all, to ALMIGHTY GOD, for the blessings, knowledge, spiritual
support, and eternal guidance showered to the researchers for making this
research possible.
The Researchers
iii
DEDICATION
persons:
this research.
REYDENTOR L. CASALJAY
VICTORIO DANIEL SD. CRUZ
PETER LUIS P. FENIQUITO
ERON RESTY V. SIOCO
iv
ABSTRACT
EXECUTIVE SUMMARY:
This research study entitled Object Detection Model Traffic Light System
was conducted during the School Year 2023 - 2024 in Pahati Bridge at Barangay
Dalig, Teresa, Rizal. The research general objective of this research is to evaluate
study, the researchers used Intersection over Union, and mean. On the other hand,
the standard deviation and weighted mean were used to determine the level of
v
ISO/IEC 25010 which includes functional suitability, performance efficiency,
from the questionnaire is interpreted using a Likert scale, and ODM efficiency
table.
The computed mean of the object detection model efficiency is 0.8603 with
On the other hand, the results of the evaluation showed that the developed
device and system was highly acceptable, with an average weighted means of
4.58, 4.55, 4.53, 4.59, 4.40, 4.56 and 4.54 from the Community which is the
drivers, experts and the local government unit respectively. These findings were
In this study, the researchers found that the integration of the Video
Capturing Device (RPi Camera V2), Object Detection Model (Yolo V5 Nano 6),
performed its specified functions, getting the highest score in its usability.
dataset more accurate, use a higher specification Raspberry Pi, a wider range and
good signal quality, and use a renewable power source. Future researchers may
vi
TABLE OF CONTENTS
Page
TITLE PAGE……………………………………………………………………. i
APPROVAL SHEET…………………………………………………………… ii
ACKNOWLEDGEMENTS……………………………………………………. iii
DEDICATION………………………………………………………………….. iv
ABSTRACT……………………………………………………………………. v
TABLE OF CONTENTS………………………………………………………. vi
LIST OF FIGURES……………………………………………………….……. ix
Chapter
1 BACKGROUND OF PROJECT
2 DESIGN METHODOLOGY
vii
Level of Acceptability of the Developed Object
Detection Model Traffic Light System……………………. 55
REFERENCES……………………………………………………………… 71
APPENDIX
viii
LIST OF TABLES
Table Page
ix
LIST OF FIGURES
Figure Page
x
1
Chapter 1
BACKGROUND OF PROJECT
This chapter deals with the background of the study, objectives of the study,
is also defined as a tool for people to make tasks easier and more efficient. Many
people think that technology is only present in modern times. But the truth is,
technology was already present in the Stone Age. These technologies are the
stone tools that the human ancestors used. These stone tools help humans not
only to survive but also to make life better. The technology evolves from stone to
metal. Metals are still used today because of their qualities. These metal tools only
change in shapes, design, features, and application. It is also the same with
are based on the aim of technology, which is to make human life better.
consumer apps and even embedded firmware. In this study, the researchers
utilized the artificial intelligence. The artificial intelligence served as a vision of the
2
device. Through artificial intelligence, the machine can recognize objects and
allow computers to obtain meaningful data from visual inputs such as photos and
videos. The insights gained from computer vision are then used to take automated
actions. Just like AI gives computers the ability to ‘think’, computer vision allows
them to 'see'. This article defines computer vision, which is one of the many
that identifies vehicles in a parking lot using optical camera recognition (OCR),
which is artificial intelligence. Their research has features like reservations, a car
parking data sheet, a display for parking slots, and plate recognition. Both
Delgado's research and this research used artificial intelligence and cameras
According to an article written by Umali (2019), there are students who have
developed software that would help authorities quickly and more efficiently identify
equipped with artificial intelligence (AI) software for real-time monitoring of traffic
3
situations. In this study, the researchers also developed a device equipped with a
computer vision.
Furthermore, based on the study written by Ecaldre et al., (2022), using pre-
model was successfully simulated using an image processing tool. The prototype
was able to manage traffic at a particular flow, giving priority to the green light
where there were more cards in one lane than the other. In their study, they
concluded that using pre-trained deep learning, they could lessen congestion and
waste time at traffic lights. But there are limitations to their device, like accuracy.
The accuracy of their device is dependent on the quality of the camera. The
researchers also noticed that the object identification algorithm used in their device
is based on color, which is not desirable for road implementation. The limitations
In this study, the researchers aim to develop a device that detects a specific
object, which is why they chose to use the object detection model of artificial
intelligence. The object detection model that the researchers will use is YOLO, or
You Only Live Once, by Ultralytics. According to Kundu (2023), object detection
deals with localizing a region of interest within an image and classifying this region
like a typical image classifier. One image can include several regions of interest
problem of image classification. YOLO (You Only Look Once) is a popular object
detection model known for its speed and accuracy. It was first introduced by
Joseph Redmon and others in 2016 and has since undergone several iterations,
the latest being Yolo v7. YOLO is the object detection model that was utilized in
store and execute the program. The primary logic device in this study is the
Raspberry Pi. According to an article written by Valerio (2023), Arm Holdings plc
has announced that they have made a strategic investment in Raspberry Pi. The
Raspberry Pi was originally intended for students, but it has become a tool to
develop Internet of Things (IoT) prototypes and items. After securing their
agreement with ARM, the latter company gained a minority stake in the Raspberry
Pi. It is said in the article that IoT solutions will be more accessible to students and
smartphone chips and single-board computers. With this move, the Raspberry Pi
will make the single-board computer market affordable and within the reach of
anyone. This relates to the study because the device in this study utilized a
Raspberry Pi for harboring artificial intelligence, and the reason for choosing this
The Raspberry Pi 4b is the chosen main logic device that harbors a deep
learning model. It was chosen for its low power consumption, affordability, and
performance between three logic devices in executing Yolo V3. According to Feng
et al., (2023), they found out that the Jetson Xavier outperformed the Raspberry Pi
4B and Jetson Nano in running Yolo V3. Also, they noticed that the highest
The secondary logic device that will be used in this research is the
NodeMCU ESP 8266. NodeMCU ESP8266 is the same as Arduino. They are both
Things, or IoT. According to the journal written by Yasay (2021), the Internet of
Things (IoT) is a global knowledge society system that enables advanced services
his journal, he also mentioned that dumb devices can be smartened because of
6
these IoT solutions that are available on the market. This explains the reason for
wirelessly. Specifically, the researchers are avoiding bulky and unorganized wired
Moreover, Node MCU ESP8266 is also responsible for the storage of the
password and username of the power control web-panel. Now, to assess the level
an article written by Blue et al., (2017), there are numerous ways to protect
database storage that stores passwords. They mention the hashing, where the
passwords are hashed to protect them even if attackers have access to the
length, entropy, and lifespan. This may provide safe guards against password
guessing or brute-force attacks. In the system developed in this research, the web-
panel has a function to change passwords. This is the security measure that the
make this happen, the researchers planned to have Wi-Fi that is capable of
communication over a wide distance. For this reason, the researchers decided to
use an outdoor Wi-Fi AP. In particular, it is the Comfast EF-EW73. When using
Hence, according to an article written by Sonawane et al., (2017), the very slow
7
speed of the network leads to limited connectivity and delays in processing hours,
the airport. People deal with the different ways of wireless networking. Wi-Fi is the
most accepted technology and is the wireless way to handle networking. This
also mentioned that this lost connection is caused by Wi-Fi dead zones. To prevent
this, the Wi-Fi owner should place their Wi-Fi device in strategic zones. Also, they
can add or replace devices that can help widen and strengthen the signal. The
researchers considered the data and conclusion of their study in planning the
The aforementioned features are the list of feature objective of the device
that will be developed in this research. However, the purpose of the device must
be stated. Traffic congestion is the problem that the device aims to solve. . In the
Philippines, traffic is a big problem in transportation. There are several factors that
contribute to this: one is the lack of urban planning by the city government, and the
other is the lack of infrastructure projects that will significantly help traffic road
management. There are numerous systems on the market that are applicable to
this problem. But they are not all designed to be compatible with different locations.
For this reason, the researchers developed a traffic solution that is intelligent and
According to the study of Fattah et al., (2021), they found that excessive
vehicles, narrow roads, ineffective public transport modes, and bus operators’
attitudes are causing congestion, resulting in high to extreme stress levels for road
8
users, with a total economic loss of $2.01 million per day. Traffic congestion is a
problem that researchers are aiming to solve. Traffic congestion is a vital problem.
It is not only affecting the country’s economy but also the community. Thus,
the laws relative to land transportation and traffic rules, to create a land
transportation commission and for other purposes. The researchers conducted this
In the next study, the researchers develop a traffic flow prediction using
machine learning. Based on the study of Espinoza et al., (2022), neural networks
are computing systems inspired by the biological neural networks in human brains.
They are trained in a batch learning mode; hence, the whole training data should
be ready before the training task. However, this is not applicable for many real-
time applications where data arrives sequentially, such as online topic detection in
social communities, traffic flow prediction, etc. In this paper, an efficient hardware
traffic flow prediction application. Their study relates to this study because, like
them, the device developed in this research is for the purpose of traffic. The
9
researchers used their study as a guide in the field of hardware and artificial
According to Corpus et al., (2023), there are still some traffic symbols that have a
design. They also emphasized that there is room for improvement in visual design.
training to increase traffic sign knowledge. On the other hand, based on their study,
resulting in good traffic flow on roads. They also mentioned that autonomous
doing so, autonomous vehicles will become more accurate and efficient. This study
shows how artificial intelligence can be applied to road traffic. It can be gleaned
from their study that both humans and autonomous vehicles have a lot of room to
improve.
Here is another study, but this one focuses on smart utilization of electricity.
developed a smart lighting system that can efficiently reduce electricity usage. This
was done by making a system integrated with a sensor to sense the amount of
light entering the room. Additionally, they added daylight data to accurately adjust
the lighting. Their study might not be under artificial intelligence, but it is smart
10
enough to run automatically. In this study, the researchers made a system that can
automatically adjust the lighting in the camera for better detection of the object
detection model. This idea was used by the researchers to make the system more
efficient.
The cited literature and studies are all related to the development of this
research. Some of them are features that will be implemented in this study.
Specifically, those features are aimed at providing a better and more modern traffic
solution for the community. The big problem with the roads here in the Philippines
is that they cannot handle the volume of cars. Some of them are providing paths
in two directions, even though the size of the road is one way. These problems are
because there are schools and markets nearby. To solve this, the researchers
The Object Detection Model Traffic Light System aimed to solve the traffic
and provide a systematic solution to the community near the Pahati Bridge.
Through this device, the traffic congestion will lessen. Using an object detection
model called YOLO, the traffic lights will be intelligent. It can recognize vehicles
and perform intricate logical operations and conditions. It is also integrated with
wireless technology, with the use of access point Comfast EW-73, to provide
communication between two traffic lights, making it compact and small. The
researchers also ensure that there are minimal delays with this device by making
Model Traffic Light System at Pahati Bridge in Barangay Dalig Teresa, Rizal.
Model Light Systems’ capacity having four vehicles camera range, 3220
3.2 Compatibility;
3.3 Reliability;
3.4 Usability;
12
3.6 Maintainability.
Theoretical Framework
In this study, there are two main ideas. The first one is the traffic, which is
the problem. The second is object detection, which is the solution of the
researchers to the problem. With these in mind, the researchers find two related
theories that elaborates these ideas. These two theories are the Traffic Flow
research.
hypotheses for explaining traffic flow, i.e., what would happen to traffic streams if
they were to flow on roads under different conditions, potentially not yet observed.
In this study, the researchers developed a traffic signalling device that will
introduce a new traffic scheme for the road users in the research location. This
device is controlled the traffic flow at the research location, making the travel of
vehicles in both opposite directions organized. The researchers will also observe
the traffic flow to see if there are significant changes. System changes will be made
detection technology, there are more ideal use experience and a wide range of
by detecting pedestrian, vehicle, road signs, traffic lights and other objects on the
road to assist traffic management. The researchers are trying to apply advanced
detection models. These models are capable of tracking and identifying cars,
citizens, and other objects by looking at footage captured from traffic cameras.
This information can be used to assess traffic flow, detect congestion, and identify
researchers aimed to reduce road congestion and the number of road rages. This
research will greatly save time, money, and, most importantly, the lives of people.
The principles that have been mentioned before will serve as guides for the
Conceptual Framework
The methodology and strategy that were used to develop this study were
based on the innovation life cycle. Specifically, the Innovation Life Cycle of
Improvised was used. The researchers modified and adopted the model based on
of the innovation process, including the conditions and factors that support each
stage and how and when to use different tools and ways of doing things. The
innovation life cycle was modified based on the objectives of this research. Each
stage taken in the innovation life cycle will satisfy the aim of this research. This
14
model will ensure that the researchers are following the standard phases of idea
innovation.
In the investigate stage, the researchers gathered data from the people who
experienced using the road where the research conducted. They are the tricycle
drivers, vehicle owners of Carissa 2, and people living near Pahati Bridge in
Barangay Dalig Teresa, Rizal. The researchers also inspect the environmental
condition of the research location. Based on these data, the researchers chose
During the analysis stage, the researchers analyzed the data that they have
gathered. These data are sorted out based on its importance and impact.
From there, they selected the feasible and applicable ones for this research.
The next stage is the design, develop, and test stage. This is the stage
where the researchers used all the modules, frameworks, components, and
programming libraries they have gathered. This is also the stage where the
researchers developed a solution for the concerns and problems they filtered from
On the other hand, in the stage labelled as level of acceptability, the solution
gets implemented. This is the stage where the researchers implemented the Object
Detection Model Traffic Light System at Pahati Bridge in Barangay Dalig Teresa,
Rizal. The written program is tested based on its expected functionality and design.
modifying and upgrading the Object Detection Model Traffic Light System.
15
Figure 1
Conceptual Model of Object Detection Model Traffic Light System
16
The last stage is where the Object Detection Model Traffic Light System is
fully developed. In this stage, the researchers consulted experts. After the
consultation, they will focused on maintaining the system. If the bug appears during
this stage, the researchers will support the device with updates and patches. If
there is any innovation that needs to be done, then the researchers will just repeat
This research aims to design, develop, and provide a system that can lead
Community. By implementing the Object Detection Model Traffic Light System, the
study seeks to raise awareness and promote adherence to traffic safety rules
decrease in traffic accidents, enhancing overall safety and well-being within the
community.
Local Government Unit. The study developed an Object Detection Model Traffic
congestion, road rage, and urban challenges in Pahati Bridge Barangay, Dalig,
Teresa, Rizal. By providing real-time data and insights, this system can aid local
Future Researchers. This research offers significant value not only for its current
thoroughly exploring the complex nature of traffic systems and possible paths for
This research entitled “Object Detection Model Traffic Light System,” was
Morong Rizal System during the first and second semesters of the academic year
2023-2024. The researchers aim to develop a system that will modernize traffic
management.
The data that will be collected is at the location of the Barangay Dalig at
The target audience of this study are the Drivers, and the Pedestrian that
using the Pahati Bridge. The researchers will then give a set of questionnaires to
the target audience so that they can collect data. With the collected data, the
researchers will be able to quantitatively portray what the target audience will
experience, what their qualitative experience will be in using this study, and what
System. The system's most important feature is the Raspberry Pi. Using an RPI
V2 Camera that will be placed on the other side of the bridge and an Access Point
Raspberry Pi that will be used to identify the vehicle. As a result, traffic control
will be more practical and efficient. This approach will reduce traffic jams and
road rage. The device comes with a user manual to assist the barangay official
in using it.
The methodology and strategies that were used to conduct the research
develop the system and a descriptive study in order to describe the paper
The researchers set a 50-meter distance limit for the camera because of its
Definition of Terms
For a better understanding of the study, the following terms were defined
Capacity. The term refers to the degree to which the system deems the detected
Comfast EW73. The term refers to a wireless network adapter which is designed
Compatibility. The term refers to the ability of software and hardware from different
sources to work together without having to be altered to do so. This means that
programs, devices and systems must interact with each other without issues
arising.
Design and Develop. The terms refers to process of creating a visual or conceptual
Functionality Suitability. The term refers to the ability of the system to recognize
and process real-time environmental data so that it can decide when to change
traffic signals.
Level of Acceptability. The term refers to the degree or extent to which something
Light Emitting Diode (LED).The term refers to a semiconductor device that emits
assigned technician will be able to restore or repair a specific problem within the
Node MCU ESP8266. The term refers to a low-cost open-source IoT platform
Object Detection Model Efficiency. The term refers to the capability of a computer
vision system to accurately and swiftly identify and locate objects within images
Object Detection Model Traffic Light System. The term refers to a device or system
designed to identify and locate vehicles within an image or a video stream and
Test the Performance Efficiency. The term refers to the performance relative to the
domain.
Propagation Delay. The term refers to how long it takes a signal to travel over a
network from its sender to its receiver. As computers send signals between one
another, there are delays based on the distance between the two routers.
Reliability. The term refers to the ability of the system to perform its intended
functions correctly and consistently over a specified period of time and under
21
RPi Camera V2. The term refers to which is a camera accessory designed for use
Security. The term refers to measures and features implemented to ensure the
Usability. The term refers to measures a product's ability to help users achieve
their objectives.
Yolo V5 Nano 6. The term refers to "You Only Look Once," and it is a real-time
object detection algorithm. YOLO is popular for its speed and accuracy in detecting
Chapter 2
DESIGN METHODOLOGY
instrument, procedures and method of the study, project design model, and lastly
statistical treatment.
The methodology and strategies that is used to conduct the research are a
way of addressing the basic questions of why and how to teach what to whom. The
developing the device in this research. This also served as guidelines for the
sure that the system developed in this research follows standard system quality
and procedures.
The researchers also used the descriptive method to determine the level of
specifically makes the process of developing the system convenient. One of the
the researchers. By doing this, the system in this research will become compatible
with the problem in the study location. This also makes the research aligned with
its specific objective, which is not only to provide a system that solves the problem
but also to provide a long-term solution that is efficient and modern. Additionally,
observe the variables in this research. These variables, like occupation, will greatly
affect the conclusion of the study. Any significant values in the variables gathered
in the survey will be stated in the conclusion and this serves as a systematic
Figure 2
Block Diagram of YOLO Object Detection Model Training
In Figure 2, it shows the process that the researchers used to train the Yolo
Object Detection Model. In the first block, the researchers gathered a labeled
dataset of vehicles in the Philippines. It includes five classes, which are cars,
tricycles, trucks, and motors. After getting the labeled data, the researchers trained
the object detection model. In the final process, the researchers acquired the Yolo
A dataset is a set of picture data from a specific class. For instance, the
vehicle pictures in the dataset of this research. These datasets can be labeled or
unlabeled. The ones that the researchers used are labeled. In research, object
detection requires a labeled dataset in the training process. The output of this
Figure 3
Block Diagram of Computer Vision Feature
Next is Figure 3, which illustrates the computer vision process. In the first
block, it shows the camera running on 1 frame per 4 seconds. The 1 frame per 4
seconds is the expected maximum speed for video capture of data because of the
low processing power of the Raspberry Pi 4. After that is the block showing the
frame per 4 seconds of expected speed. However, this low speed of capture is not
caused by the camera but by the processing. The system structure has a
25
bottleneck because the Raspberry Pi can’t handle rendering video data while also
capture 203 fps with 640x480 resolution, but in this system, it was reduced to 1
Next box is the Raspberry Pi 4 with a YOLO Object Detection Model inside.
The box 4 indicates that the logic device which is Raspberry Pi 4 is the one that
executes the object detection model. This execution utilizes its resources like
The overall process of the computer vision feature is simple. The task of the
first is to serve as the sensor for the system. It collects video data to feed into the
object detection model. In the other smart or intelligent traffic light, the system
either has an ultrasonic, infrared, or proximity sensor. But in this study, the
researchers utilized a camera as an input for the system. On the other hand, the
second box serves as the brain to perform logical tasks. These tasks are process
the model. According to Chablani (2017), the system divides the input image into
an S × S grid. If the center of an object falls into a grid cell, that grid cell is
responsible for detecting that object. Each grid cell predicts B bounding boxes and
confidence scores for those boxes. These confidence scores reflect how confident
the model is that the box contains an object and also how accurate it thinks the
object exists in that cell, the confidence scores should be zero. Otherwise they
26
want the confidence score to equal the intersection over union (IOU) between the
Figure 4
Object Detection Model
In the first box of Figure 4, the object detection model plots the S x S grid
on the video data received. The purpose of this is to make the detection and
classification of the object detection model easier. Next process is the object
detection model, which performs a plotting of the bounding box and class
probability map. The bounding boxes are plotted based on target classes of
weights, like dogs and bikes in the picture. This plotting of bounding boxes is
random in this phase. This will be filtered later based on the classification and
confidence of detection. On the other hand, the class probability map is the phase
of detection where the object detection is coloring the S x S grid by its classification.
27
This process will make the classification and plotting of bounding boxes accurate.
In the last box, the plotting bounding box and classification are finished and
combined, making the object detection accurate from its true classification and
Figure 5
Dataflow Diagram of Object Detection Model Traffic Light System
In Figure 5, it shows the flow of data from input to output. In the first block,
the device needs to gather video data using a camera. The next block shows the
Rasperry Pi 4, which is responsible for processing the video data coming from the
camera. After that, the Raspberry Pi 4 produces a result through traffic light output
and wireless AP. The data sent to wireless AP is now transported to the logic
device 2, which is the Node MCU ESP8266. The logic device 2 now reads the data
that the system utilizes is the Raspberry Pi V2 camera. The task of this component
is to gather real-world video data. The video data acquired is sent to logic device
video data coming from the camera. The logic device 1 is also responsible for
executing the object detection that classifies the objects in the video data. Logic
device 1 is now performing an execution of the logic condition based on the object
detection. An output is shown on the traffic light. This was shown in the bottom box
in Figure 6. The next thing that the system does is transfer the data to logic device
2. This transfer is done through wireless. The device that was used for wireless
logic device 2. The message sent by logic device 1 is now processed by logic
device 2. Based on it, the logic device 2 shows an output by means of a traffic light.
components of the smart traffic light system. First is the DC power supply, where
both the Raspberry Pi and the Node MCU get their power. The two logic devices
have a separate DC power supply. The next block is the Raspberry Pi 4. This
device is responsible for executing the logic instructions of Road 1 (Callejon 3).
Next is the RPI camera, which is responsible for capturing video data for the AI
object detection model. After getting the video data, the object detection model,
The object detection model is fed trained data before implementation of the device.
After that, the traffic lights shows a traffic signal based on the instructions of logic
29
Figure 6
Block Diagram of Object Detection Model Traffic Light System
30
device 1. Next will be the communication device. The communication device plays
CF-EW73. The next block is the receiving logic device, which is the ESP 8266.
Figure 6 shows the overall system operation from input to output. It also
includes the method of powering the logic devices utilized in this research. The
center of the system is the main logic device that executes instructions for all the
components, including logic device 2. This indicates that all the components
beside logic device 1 are the receivers of instructions. This is important to show to
the users of the system because it is the blueprint of the system. If troubleshooting
Furthermore, the flow chart of a smart traffic light system using an object detection
model is shown in Figure 7. The flow chart will serve as a diagram to show the
logic running in logic device 1 and logic device 2. To further explain the flow chart,
the system will use an object detection model to recognize vehicles. But it will not
execute the instruction accurately if one of the components, like the camera, is not
of components for detecting malfunctions. If the components are all working, it will
logic instructions. There are two conditions that can trigger the traffic signal
change. The first one is if the road 1 (Callejon 3) logic device recognizes four or
31
Figure 7
Flow Chart of Object Detection Model Traffic Light System
32
more vehicles. The second condition is a combination of two conditions. These two
conditions must be met both to have a result of yes. The first condition is if the road
system. This is important because some of the users require it to fully understand
process of the system for people who are not technologically oriented. For this
Research Instruments
In this study, the researchers designed and developed an ODM Traffic Light
System. This traffic light system aims to solve the unorganized traffic system in the
research location. This traffic light system is also incorporated with deep learning
model specifically Yolo V5 N6 model that automatically detects vehicles within its
detection range. The detection range is under the feature of computer vision, which
is a camera. Also, the system has the capability to communicate wirelessly. The
traffic lights. These two traffic lights have a distance that is not desirable for wired
To make them work together, the researchers included in the system two powerful
33
logic devices that fit specifically to the requirements. These logic devices have the
The researchers made a record sheet to document the results of testing the
performance of the object detection model inside the device. The record sheet
(2020), the precision-recall curve is used for evaluating the performance of binary
performance of object detection by comparing the ground truth bounding box. The
IoU served as a guide for the researchers in evaluating the placement of the
bounding box. For this reason, the researchers included this in their documentary
analysis. Moreover, a record sheet was utilized for the purpose of recording the
the speed of communication in this system can affect the efficiency of delivering
output.
of scores, but this was modified by the researchers to expand the score
interpretation. The scores that were acquired from the documentary analysis are
respondents. There are three parts to the questionnaire. The first part gathers the
vehicle category. The respondents can skip this part. The second part is the
suitability, reliability, adaptability, security and maintainability. Next is the third part,
where the researchers will gather the comments and suggestions of the
accordance with ISO/IEC 25010. This aims to determine the quality and
acceptability of this research. The ISO/IEC 25010 has eight characteristics, but in
this research, it will only include size: functional suitability, performance efficiency,
To determine the result of the research, the researchers will use a 5-point
35
Likert Scale questionnaire checklist shown which includes the scale and the verbal
survey.
As to construct the ODM Traffic Light System, the researchers divided into
two process: A. Conduct of the Study; and B. Conduct of the Design Development.
The researchers came up with a possible topic and issue to submit to the
instructor for approval. During several discussions, the researchers developed the
study of ODM Traffic Light System. After the approval, the researcher started
gathering information and related studies through internet, book and library
research. By gathering all of the data, the researchers checked in the data to create
Chapters 1 and 2.
The researchers revised the chapters 1 and 2 after having consulted and
gathered opinions from the experts in order to ensure the system's complete
effectiveness. After the revision, they will submit their final draft. A colloquium oral
There was another revision after the colloquium, in which the researcher
included the expert's thinks and suggestions. Following the addition of the expert
that were needed, the researchers developed the design of the study and the
36
system. The researchers also looked at the software that will be used with the
design. Furthermore, the system was tested to determine whether it was working
efficiently.
order to gather data and feedback in order to evaluate the device's effectiveness.
After the device's creation and system's development, researchers begin work on
chapters 3 and 4.
After drafting chapters 3 and 4, the final defense was held. The panel has
the revised manuscript. The dean gave approval for the final manuscript form to
be hardbound.
The development of the device includes the designing, building and testing
stage.
In the design stage, the parts of the device and its information are
EW73, and a Node MCU (ESP8266). It also covers the outline of the design, the
features of the device, the circuit design, the algorithm of the program, and the
Next is the building stage, where the researchers began developing the
device's software. In this stage, the researchers designed the hardware base
based on its specified design and function. This is also the stage where the
37
researchers trained a custom object detection model. This custom training of the
object detection model was done by feeding labeled images to the base object
detection model. After the training, the researchers developed a program based
on the hardware specification and custom object detection model. Numerous tests
and adjustments were made specifically to the timing to make sure that the system
Finally, in the last stage, the researchers test the design and functionality of
the device. Test evaluations were carried out by the researchers to ensure that the
device followed the specified device features. Furthermore, in this stage, the
using the documentary analysis. The problems and bugs that arose in this stage
model. These metrics ensure that the researchers are not neglecting the accuracy
To evaluate the object detection model in this study, the researchers utilized
three metrics. The first metric is the IoU, or intersection over union. The second
metric is recall, and the third is precision. These metrics are used in this research
The intersection of union (IoU) is the overlap of the predicted bounding box
coordinates with the ground truth box. The higher the IoU, the higher the accuracy
of the model. In the numerator, the area of overlap is the area where the bounding
38
box and ground truth are overlapping. On the other hand, the area of union is the
area where the bounding box and ground truth are uniting. For instance, the IoU
or ODM Efficiency score of cars. It got a 0.91974 efficiency score. To compute this,
it requires the x and y coordinates of each top left and bottom right edge of the
predicted bounding box and ground truth. The ground truth of the IoU has x and y
box and the predicted box, it requires the height and width. This can be acquired
by using x2-x1 for width and y2-y1 for height. Multiplying the width and height
results in the area of each box. The area of overlap can be determined by first
finding the maximum value of x2, and y2 and the minimum value of x1 and y1.
Then next, subtract the minimum x1 from the maximum x2 and the minimum y1
from the maximum y2. Multiply the two results to produce an area of overlap. On
the other hand, area of union were computed by adding the area of the predicted
bounding box and ground truth minus the area of overlap. Dividing the area of
𝐴𝑟𝑒𝑎 𝑜𝑓 𝑂𝑣𝑒𝑟𝑙𝑎𝑝
𝐼𝑜𝑈 =
𝐴𝑟𝑒𝑎 𝑜𝑓 𝑈𝑛𝑖𝑜𝑛
Furthermore, the researchers utilized the confusion matrix. According to
are four attributes, which are true positives, true negatives, false positives, and
false negatives.
39
The two remaining metrics are recall and precision. Recall measures the
true positive out of all predictions. On the precision, it measures the true positives
out of all positive predictions. For instance the classification of jeepney, to get the
recall, add true positive and false negative, then use it as a divisor to divide true
positive. The jeepney has a total of 542 true positive and 107 false negative. Using
the formula, the researchers acquired 0.82 recall. The true positive and false
classification. On the other hand, false negatives are classifications whose actual
classification is true but the prediction is false. For example, the actual class is a
positive then use it as a divisor to divide true positive. For instance, the
classification of Jeep has 0.88 precision. This result can be obtained by adding
542 true positives and 68 false positives, then using it to divide 542 true positives.
𝑇𝑃
𝑅𝑒𝑐𝑎𝑙𝑙 =
𝑇𝑃 + 𝐹𝑁
𝑇𝑃
𝑃𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 =
𝑇𝑃 + 𝐹𝑃
Propagation delay is how long it takes a signal to travel over a network from
its sender to its receiver. As computers send signals between one another, there
Propagation speed is usually close to the speed of light (2.998 x 10^8 m/s)
when a signal is traveling through the air, such as a wireless signal or a signal
traveling to a satellite.
The distance between routers is the distance between the sending and
receiving router. The propagation speed is equal to the speed of light × velocity
factor. The speed of light is 2.998 x 10^8 m/s and the velocity factor ranges
between 0-1 depending on the medium through which the signal is propagating.
Statistical Treatment
and Intersection over Union formula. These formulas were used to determine the
Light Systems, the researchers utilized Intersection over Union and mean formula.
The Intersection over Union was specifically used to compute the performance of
each vehicle category. Additionally, the researchers incorporated it with mean and
Chapter 3
development of the Object Detection Model Traffic Light System. Likewise, this
chapter discusses the level of the acceptability of the system and the performance
questions for this research. The researchers used the innovation life cycle to
The Object Detection Model Traffic Light System was designed and
developed in accordance with its purpose and function. The main purpose of the
study is to provide a traffic light system to manage the traffic in Philsin Bridge,
In figure 8, it shows the RPi camera module that was used in this study to
assist the RPi 4 microcontroller in object detection, which can be seen in three
In this study the researchers used an RPi camera module to serve as eyes
for the AI so that it can detect objects and is also compatible for the RPi
microcontroller.
43
Module as a pivotal tool in refining Object Detection Model Traffic Light System.
The compact and versatile Raspberry Pi Camera Module serves as the sensory
objects, enabling efficient traffic flow management and enhancing overall safety
on roadways.
Figure 8
RPi camera V2 (Computer Vision)
compact camera module, and the study aims to enhance the system's ability to
detect vehicles at intersections, thereby improving traffic flow and overall safety on
the roads.
light systems, the Raspberry Pi Camera Module plays a crucial role in integrating
44
information from visual inputs, including photos and videos. This research
enhance the system's ability to perceive and identify objects such as vehicles and
the system can take automated actions, ultimately contributing to improved traffic
Figure 9 below shows the result of train batch 1 of the object detection
model. In this figure, it shows vehicles that have boxes on each of them.
Figure 9
Yolo V5 N6 (Object Detection Model)
These boxes also have different colors. These boxes are called bounding
boxes. The bounding box is the box placed on a picture or frame of video to show
the detection of the object, like a vehicle. Also. in this figure, these boxes have
45
Additionally, figure 9 shows the results of the training of the object detection
model. The object detection model utilized in this research was Yolo V5 N6. This
object detection model was the most optimized version of Yolo, but to make it more
efficient, real-time, and accurate, the researchers trained the model to specifically
detect vehicles in the Philippines. The results of the training are shown in the figure
above.
of interest within an image and classifying this region like a typical image classifier.
One image can include several regions of interest pointing to different objects. This
a deep learning model that classifies objects in a video frame by frame. The
explains how the object detection model in this research can detect multiple
vehicles in one frame. This explains how the object detection model in this
research can detect multiple vehicles in one frame. This feature of object detection
together with the real-time detection of Yolo is the reason why the researchers
By utilizing the Raspberry Pi 4's small size and powerful capabilities, this research
Figure 10
Raspberry Pi Microcontroller (Logic Device 1)
systems. By utilizing the Raspberry Pi 4's small size and powerful capabilities, this
The researchers were able to efficiently recognize items with the Raspberry
objects to look for on the RPi camera module. While employing this microcontroller,
the researchers also ran into some issues, but they quickly fixed them. Among
these challenges were issues with the access point's internet connection and the
researchers utilize AI to develop object detection models for traffic light systems.
in real-world applications.
that was used in this study as an access point for the communication of the
microcontrollers.
Figure 11
Comfast EW73 WiFi Access Point (Wireless Communication)
48
enhance object detection within traffic light systems using the internet of things.
two microcontrollers despite their distance from one another. The two
microcontrollers can now link to each other with a point-to-point connection with
the use of the COMFAST EW73 WiFi Module, enabling them to signal each traffic
object identification models. Yasay (2021) highlights the role of the Internet of
Things (IoT) in connecting virtual and physical entities, utilizing technologies like
capabilities, crucial for traffic control systems. This study aims to optimize object
The figure 11 illustrates the 3D model of the Node MCU ESP8266. The
Node MCU ESP8266 was used as a secondary logic device that receives
instructions from the primary logic device, which is the Raspberry Pi 4B. This
Figure 12
Node MCU ESP8266 (Logic Device 2)
The figure above shows the Node MCU ESP8266. This device was utilized
wireless connection. The researchers found out that wireless connections can be
interrupted by metallic objects. For this reason, the researchers revised the design
by adding an antenna connected to the built-in antenna of Node MCU ESP 8266.
Hence, according to Sonawane et al., (2017), the very slow speed of the network
leads to limited connectivity and delays in processing hours, so people tend to use
wireless technology either at home, at a coffee shop, or at the airport. This article
proves that delays can reduce work output. The same problem was faced in this
research, where the output of the device was reduced because of the delay caused
by slow connectivity. Also, same with the idea of the article, the device in this
50
research finds a way to connect more efficiently to the wireless network, and this
The figure shows a 3D model of a Traffic Light that was used as the main
Figure 13
applied to modify conventional traffic lights. The goal of the project is to maximize
vision and artificial intelligence into traffic signal systems. The goal of the project
management, which will eventually result in more efficient traffic flow and
The researchers used a traffic light as a model for this study. Focusing on
the problem that the researchers saw at Pahati Bridge, which was traffic
51
congestion. The researchers thought of a way to solve the problem, and that was
to use a traffic light at Pahati Bridge to minimize traffic congestion in that area.
The traffic light is a crucial element of the traffic management system when
et al. (2021), congestion has a negative influence on both the economy and road
are looking into creative ways to solve this issue, such as incorporating object
detection models into traffic signal systems. Through the utilization of cutting-edge
technology, this study complies with Republic Act No. 4136, Section 35, which
requires careful driving and safety precautions on public roads. In keeping with the
transportation regulations, object detection models added to traffic lights not only
The researchers used a traffic light as a model for this study. Focusing on
the problem that the researchers saw at Pahati Bridge, which was traffic
congestion. The researchers thought of a way to solve the problem, and that was
to use a traffic light at Pahati Bridge to minimize traffic congestion in that area.
The traffic light is a crucial element of the traffic management system when
et al. (2021), congestion has a negative influence on both the economy and road
are looking into creative ways to solve this issue, such as incorporating object
detection models into traffic signal systems. Through the utilization of cutting-edge
technology, this study complies with Republic Act No. 4136, Section 35, which
52
requires careful driving and safety precautions on public roads. In keeping with the
transportation regulations, object detection models added to traffic lights not only
Test the Performance Efficiency of the Developed Object Detection Model Traffic
Light System
utilized the Intersection over Union, Recall, and Precision formula. The
aforementioned formulas are the tools to determine the efficiency and accuracy of
The gathered and computed mean below is interpreted using the IoU
evaluation metrics.
Table 1
Based on the table above, the truck, bus, van, tricycle, cars, and jeepney
acquired excellent scores. On the other hand, motorcycles have the lowest score.
These data imply that the object detection model's accuracy is interpreted as
excellent.
The researchers find out that the most efficient classification of vehicle is
“Cars” with a score of 0.92 and an interpretation of “Very Much Efficient”. On the
other hand, the lowest score in “ODM Efficiency” is the “Motorcycle” with a score
of 0.75 and an interpretation of “Much Efficient”. This table illustrates that the
efficiency of detection is proportional to the rarity, and size of the vehicle. The rarity
of the vehicle affects its detection efficiency, because of the datasets. The lack of
a labeled dataset sample of the specific object can affect its detection efficiency.
Additionally, the pixel and camera conditions affect the detection of the object
detection model. Bigger objects are easily detected because of their pixel quality
and clearer boundaries. As stated by Kundu (2023), object detection deals with
localizing a region of interest within an image and classifying this region like a
typical image classifier. One image can include several regions of interest pointing
image classification. This article shows the compatibility of the YOLO with road
vehicle detection. The researchers decided that its accuracy, speed, and multi-
object detection capability are applicable for this study. This decision resulted
Table 2
medium as well as the distance between the source and the destination.
This table shows the propagation delay lengths measured at different times
of the day. During the early morning, late morning, and night, the delay is minimal,
the lowest propagation delay is observed during the "Late morning (11am - 12pm)"
time slot, with a delay of 0.00024 seconds. This minimal delay could be attributed
peak hours, resulting in simpler traffic scenarios for the object detection system to
handle.
55
On the other hand, the delay increases significantly in the late afternoon
and early evening, reaching up to 0.95 seconds and 0.89 seconds, the highest
propagation delay in the table occurs during the "Late afternoon (4 - 5pm)" time
slot, with a delay of 0.95 seconds. This could be justified by considering the
increased traffic and activity during this time period. These fluctuations are most
likely the result of network congestion, usage patterns, and infrastructure capacity,
Wi-Fi network might be caused either by server failure or by a loss of range. They
also mentioned that this lost connection is caused by Wi-Fi dead zones. This article
made the researchers design the position and location of the devices strategically,
larger delays that might affect the efficacy of the traffic light in the research
location.
reliability, security, and usability. This will show the result how acceptable the
device is.
The following tables below shows the result of the computed level of
Table 3
It can be gleaned in the table that with respect to functional suitability, the
respondents agreed that the developed system is Very Much Acceptable with an
overall weighted mean of 4.58 from the result. Item 1.1 “effectively adjusts to
It implies that the system’s functional suitability fulfil accordingly and satisfy
the desired of the respondents. It means that the system that was developed
and sustainable indoor environments has led to the development of various smart
developed a smart lighting system that can efficiently reduce electricity usage. This
was done by making a system integrated with a sensor to sense the amount of
light entering the room. Additionally, they added daylight data to accurately adjust
the lighting. The system they made can make energy consumption more efficient
by adjusting the light. Like the system in this research, its adaptability can produce
more efficient results. The reason behind this is that the system can be used
Table 4
2. Compatibility Respondents
The developed system… Wx̄ Verbal Interpretation
2.1 is compatible with any USB type 4.51 Very Much Acceptable
camera.
4.61 Very Much Acceptable
2.2 is applicable to other location.
2.4 The logic device of the developed 4.63 Very Much Acceptable
system can be improved to achieve better
performance in detection.
2.5 The dataset used in the system is 4.49 Very Much Acceptable
upgradable to prevent inaccurate
detection.
Very Much Acceptable
Average 4.55
It can be seen from the table that with respect to compatibility, the
respondents agreed that the developed system is Very Much Acceptable with an
58
overall average weighted mean of 4.55. Item 2.4, “The logic device of the
rank first with a weighted mean of 4.63, whereas item 2.2 “is applicable to other
location.” With a weighted mean of 4.61. While 2.1 “is compatible with any USB
type camera.” and 2.3 “is applicable to other location.” Were ranked last with both
It can be realized from the findings that the system’s compatibility fulfils the
desires of the respondents. This only means that the system developed satisfied
the respondents.
According to Feng et al., (2023), they found out that the Jetson Xavier
outperformed the Raspberry Pi 4B and Jetson Nano in running Yolo V3. Also, they
noticed that the highest performing device also has the highest power
consumption. This proves the result of the table above. The Raspberry Pi 4B can
be replaced with a more powerful logic device, but together with the increase in
processing power, the power consumption and price of the system will also
increase. For this reason, the researchers utilized the Raspberry Pi 4B as the main
logic device.
It can be gleaned from the table that in terms of reliability, the respondents
agreed that the developed system is Very Much Acceptable with an overall
Table 5
3. Reliability Respondents
The developed system… Wx̄ Verbal Interpretation
3.1 consistently provides accurate results 4.54 Very Much Acceptable
in detecting vehicles.
3.2 performance is reliable over extended 4.49 Very Much Acceptable
periods of continuous operation.
3.3 reliably detects vehicles under 4.56 Very Much Acceptable
challenging conditions, such as low
visibility or adverse weather.
3.4 can return to normal operation when 4.51 Very Much Acceptable
there is a power interruption.
3.5 Users can depend on the developed 4.57 Very Much Acceptable
system to consistently deliver accurate
information about traffic light status.
4.53 Very Much Acceptable
Average
deliver accurate information about traffic light status.” Is rank first with a weighted
mean of 4.57. Whereas item 3.3 “reliably detects vehicles under challenging
4.56. Item 3.1 “consistently provides accurate results in detecting vehicles.” with a
weighted mean of 4.54. Item 3.4 “can return to normal operation when there is a
power interruption.” With a weighted mean of 4.51. Lastly item 3.2 “performance is
It can be noted from the result that the system’s reliability fulfils the desires
of the respondents. It means that the system can be used in other places.
60
According to an article written by Umali (2019), there are students who have
developed software that would help authorities quickly and more efficiently identify
tracking vehicles. As stated in the table above, the system in this research can
also efficiently perform its specified functions, so the users can rely on it even for
critical tasks.
Table 6
4. Usability Respondents
The developed system… Wx̄ Verbal Interpretation
4.1 users can easily understand and 4.59 Very Much Acceptable
interpret the information provided by the
developed system.
4.2 training and utilizing the dataset require 4.54 Very Much Acceptable
minimal effort and technical expertise.
4.3 operating the developed system 4.57 Very Much Acceptable
requires minimal effort or technical
expertise.
4.4 the website controlling the power of the 4.63 Very Much Acceptable
traffic light is easy to operate and
understand
4.5 does its job of guiding the drivers 4.60 Very Much Acceptable
based on the requirements of the location.
4.59 Very Much Acceptable
Average
when it comes to usability item 4.4 “the website controlling the power of the traffic
61
light is easy to operate and understand.” got the highest mean of 4.63, next is item
4.5 “does its job of guiding the drivers based on the requirements of the location.“
with weighted mean of 4.60, item 4.1 “users can easily understand and interpret
the information provided by the developed system.” with 4.59 weighted mean.
Second to the last is the item 4.3 “operating the developed system requires
minimal effort or technical expertise.” with weighted mean of 4.57. Lastly the item
4.2 “training and utilizing the dataset require minimal effort and technical
expertise.” which got the lowest mean of 4.54, and all the items are” Very Much
Acceptable”.
Acceptable with an overall weighted mean of 4.59 from the result, it implies that
the system’s usability fulfil accordingly and satisfy the desired of the respondents.
According to Corpus et al., (2023), there are still some traffic symbols that
the design. They also emphasize that there is room for improvement in visual
seminar is not needed if the design was not complicated in the first place. In
contrast to the traffic signs, the website interface that controls power shows a great
Table 7
5. Security Respondents
The developed system… Wx̄ Verbal Interpretation
5.1 includes strong security measures to 4.40 Very Much Acceptable
prevent unauthorized access.
5.2 sufficient safeguards are implemented 4.39 Very Much Acceptable
to ensure the privacy of the information
handled by the system.
5.3 the casing of the device is designed to 4.34 Very Much Acceptable
protect the components inside from
attackers.
5.4 the accounts and passwords used in 4.49 Very Much Acceptable
this system are stored in a safe place.
5.5 the communication system used 4.40 Very Much Acceptable
between logic boards are secured.
Average 4.40 Very Much Acceptable
item 5.4 “the accounts and passwords used in this system are stored in a safe
place” which got the highest mean of 4.49, next is item 5.1 “includes strong security
used between logic boards are secured. “got the highest same mean of 4.40.
Lastly is item 5.2 “the casing of the device is designed to protect the components
inside from attackers.” got the lowest mean with 4.34, and all items interpreted as
Acceptable with an overall average weighted mean of 4.40 from the result it implies
protect database storage that stores passwords. They mention the hashing, where
the passwords are hashed to protect them even if attackers have access to the
length, entropy, and lifespan. This may provide safe guards against password
guessing or brute-force attacks. In this research, the system was protected first in
the network. This was done by blocking unknown IP addresses and Mac
memory. This preventive action ensures the security of the storage of passwords.
Table 8
6. Maintainability Respondents
The developed system… Wx̄ Verbal Interpretation
6.1 the parts of the developed system are 4.40 Very Much Acceptable
affordable.
6.2 requires less effort to troubleshoot 4.31 Very Much Acceptable
because it tests itself before operation.
6.3 troubleshooting hardware components 4.39 Very Much Acceptable
of the device is convenient because the
parts and wires are properly organized.
6.4 the parts of the developed system are 4.31 Very Much Acceptable
accessible.
6.5 the developed system is convenient to 4.31 Very Much Acceptable
move.
Average 4.56 Very Much Acceptable
64
respondents when it comes to maintainability item 6.1” the parts of the developed
system are affordable ”which got the highest mean of 4.40, next is item 6.3
parts and wires are properly organized.” with 4.39 weighted mean, Lastly, item 6.2
“requires less effort to troubleshoot because it tests itself before operation.”, item
6.4 “the parts of the developed system are accessible.” And item 6.5 “the
developed system is convenient to move.” which got the lowest mean of 4.31, and
Acceptable with an overall average weighted mean of 4.56 from the result it implies
announced that they have made a strategic investment in Raspberry Pi. The
Raspberry Pi was originally intended for students, but it has become a tool to
develop Internet of Things (IoT) prototypes and items. After securing their
agreement with ARM, the latter company gained a minority stake in the Raspberry
Pi. It is said in the article that IoT solutions will be more accessible to students and
anyone by lowering the barriers to innovation. For this reason, the researchers
utilize materials and devices that are affordable and accessible. This includes
Table 9
mean of 4.58. The Maintainability at third rank with an average weighted mean of
4.56. While the Compatibility had an average weighted mean 4.55. And also
Reliability had an average weighted mean 4.53. Lastly, Security had an average
weighted mean of 4.40 as the lowest. Overall, the result displays an average
It simply implies that the develop Object Detection Model Traffic Light
System is very much acceptable and could state the facts in terms of Functional
Based on the study written by Ecaldre et al., (2022), using pre-trained deep
successfully simulated using an image processing tool. The prototype was able to
manage traffic at a particular flow, giving priority to the green light where there
were more cards in one lane than the other. In their study, they concluded that
using pre-trained deep learning could lessen congestion and waste time at traffic
lights. In other words, their research satisfied its usability, where the system in their
research achieved goals effectively, efficiently, and satisfiably. Together with this
research, the table above shows that the usability aspect received the highest
Chapter 4
This study developed an “Object Detection Model Traffic Light System”. The
respondents were Community, Local Government Unit and Experts who evaluated
it.
The summary of the design results stated as follows were established based
1. With a weighted mean of 4.59, the usability result is the highest and
indicates that the system fulfils users' needs and expectations as intended. With a
weighted mean of 4.40, the security result is the lowest, indicating that users'
needs are met by the system's security. With an overall average weighted mean
of 4.56, the experts and students agreed that the established system is very much
acceptable. This suggests that the usability of the system satisfies the needs of
the users.
security, and usability. This will display the device's level of acceptability.
68
Conclusions
1. The integration of the Video Capturing Device (RPi Camera V2), Object
Detection Model (Yolo V5 Nano 6), Logic Devices (Raspberry Pi 4 and Node MCU
within the Traffic Light System was evaluated through two key aspects which is the
Object Detection Model itself and the Propagation Delay associated with wireless
communication. Overall, through testing of both the Object Detection Model and
the Propagation Delay validated the Traffic Light System's performance efficiency.
The system demonstrated effective vehicle detection and timely control signal
results. The system proved highly suitable for its intended purpose, effectively
detecting vehicles within the designated camera range and adjusting traffic signals
Recommendations
Based on the analysis, evaluation of the design results and conclusion the
Bridge.
2. Continuously monitor and optimize both the Object Detection Model and
adjustments, and traffic management within the Traffic Light System, fostering
of the study to be able to produce another effective output from the entire system.
Future researchers should provide a detailed traffic information with use of a timer.
The future researchers should conduct and provide research on how to make the
REFERENCES
Blue, Juanita, Furey, Eoghan, Curran, Kevin, (2017). Review on “An Evaluation of
Secure Storage of Authentication Data”, Retrieved from
338495788_An_Evaluation_of_Secure_Storage_of_Authentication_Data,
Retrieved on June 2017.
Chablani, Manish, (2017). Review on “YOLO — You only look once, real time
object detection explained”, Retrieved from
https://towardsdatascience.com/yolo-you-only-look-once-real-time-object-
detection-explained-492dc9230006, Retrieved on August 21, 2017.
Corpus, Robert Michael, Suguitan, Daniel, Tamis, Tamis, Mark Albert, (2023).
Review on “The Impact of Autonomous Vehicles on Traffic Flow and
Congestion in the Philippines: A Comparative Study of Autonomous and
Human-Driven Vehicles”, Retrieved from
https://www.researchgate.net/publication/373714147_The_Impact_of_Aut
onomous_Vehicles_on_Traffic_Flow_and_Congestion_in_the_Philippines
_A_Comparative_Study_of_Autonomous_and_Human-Driven_Vehicles,
Retrieved on September 2023.
Delgado, R., Catahimican, A., Deciar, J., Gumisad, P. Automatic Car Parking
System with Plate Recognition Using Online Optical Character Recognition.
University of Rizal System, 2023.
Ecaldre, M., Besonaya, J., Bungay, G. Smart Traffic Light Control System Using
an Image Processing Tool. University of Rizal System, 2022.
nt/10.3390/technologies10010005?fbclid=IwAR3F_lmzDsdoDPLtySRlcCV
e_E5lCmtdhe-WGDozVTGAEMcwduEyLTeQ_7k, Retrieved on January
10, 2022.
Fattah, Md. Abdul, Morshed, Syed Riad, Kafy, Abdulla-Al, (2022). Review on
"Insights into the socio-economic impacts of traffic congestion in the port
and industrial areas of Chittagong city", Bangladesh",
Retrieved from https://www.sciencedirect.com/science/article/pii/S2666691
X22000203?fbclid=IwAR1X6J3gyFHv-mT5j34lPwWnAPk4ViEWXYJOgP-
w4E4ZfFip9WhLmilraaA, Retrieved on June 30, 2022.
Feng, Haogang, Mu, Gaoze, Zhong, Shida, Zhang, Peichang, (2022). Review on
“Benchmark Analysis of YOLO Performance on Edge Intelligence Devices”,
Retrieved from https://www.researchgate.net/publication/359689579Bench
mark_Analysis_of_YOLO_Performance_on_Edge_Intelligence_Devices,
Retrieved on April 2022.
Kundu, Rohit, (2023). Review on “YOLO: Algorithm for Object Detection Explained
[+Examples]”, Retrieved from https://www.v7labs.com/blog/yolo-object-
detection?fbclid=IwAR26pQ7CBs6xa7qpmmXZtTxXqv-44Dxjbe-AVBqP_t
6hvAeBPwyqEJh-u50, Retrieved on January 17, 2023.
Li, Jinling, Hou, Qingshan, Xing, Jinsheng, Ju, Jianguo And, (2020). Review on
“SSD Object Detection Model Based on Multi-Frequency Feature Theory”,
Retrieved from https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=
9078755&fbclid=IwAR2qtGspl3j2C8T9ynLHsdu679Y0po8oNmAXhaS-mn
lvP9ogZ36uMITC0Nw, Retrieved on May 15, 2020.
Valerio, Cristina Joy, (2023). Review on “ARM invests minority stake in Raspberry
Pi”, Retrieved from https://www.yugatech.com/news/arm-invests-minority-
stake-in-raspberry-pi/?fbclid=IwAR3IZnsK7Cpx5ryELQiJ-RDCDLUbEBo-
jp76KYH_GADZ5XkKZx1gk73BqNo, Retrieved on November 04, 2023.
Widartha, Vandha, Ra, lIkyeun, Lee, Su-Yeon, Kim, Chang-Soo, (2024). Review
on “Advancing Smart Lighting: A Developmental Approach to Energy
Efficiency through Brightness Adjustment Strategies”, Retrieved from
https://www.mdpi.com/2079-9268/14/1/6, Retrieved on January 15, 2024.
APPENDICES
75
APPENDIX A
4. Development
of
Tracker/Timeline
for the Paper and
End Product
5. Consultation
and Guidance
6. Interview of the
Offices
7. Data Collection
from Books,
Journals, Articles,
and Interviews
8. Data Analysis
9. Planning of
System Design
76
10. Chapter 1
discussion
11. Development
of Background of
the Project
12. Chapter 2
discussion
13. Development
of Design
Methodology
14. Consultation
to Adviser
15. Revision of
Chapter 1 and 2
16. Submission
of Final Draft
17. Colloquium
Oral Defense
18. Revision of
Recommendation
and Suggestions
19. Searching
and Studying of
the required
components
20. Construction
of the Design
21. Development
of the system
22. Testing the
System
23. Survey of
Questionnaire
Checklist
24. Interpretation
of the Gathered
Data
25. Chapter 3
and 4
26. Final Defense
Prepared by:
REYDENTOR L. CASALJAY
77
Conformed by:
APPENDIX B
QUISTIONNAIRE CHECKLIST
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
Name: ______________________________
(Pangalan)
1. Functional Suitability 5 4 3 2 1
Comments/Suggestions:
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
83
APPENDIX C
APPENDIX D
85
APPENDIX E
86
APPENDIX F
87
APPENDIX G
Weighted Mean:
Where:
Mean
Σ= sum of
Confusion Matrix:
Actual
Postive Negative
Confusion Matrix
Positive
Negative
92
Jeepney 542 0 0 0 0 0 68
Motorcycle 0 0 0 0 0 0 0
P Tricycle 29 0 2 0 0 0 30
R
Van 0 0 0 177 0 0 24
E
cars 0 0 0 0 190 0 13
D
Truck 9 0 0 0 0 203 32
I
Background 78 1 0 11 5 1 0
C
ney cycle nd
True
Propagation Delay:
93
72 meters
= 0.00000024016 seconds
(2.998 x 10^8 m/s)
Motorcycle 0 1 0 0 0
Bus 0 0 0 0 0
WiFi-Range 90 meters
APPENDIX H
96
program the device for the artificial intelligence that is needed to detect the objects
in the camera.
This illustration below shows the node mcu esp8266 that is used to
In the study the researchers used a RPI camera as a tool so that the
device can detect objects and also the RPI camera is compatible with the used
microcontroller.
97
The illustration below shows light bulbs that were used in the smart traffic
In this study the Comfast EW73 is used as an access point and provides
connection for the two smart traffic lights so that they can communicate with each
other.
specific aspect of the traffic signal, such as red, yellow, and green lights.
98
Real VNC is a remote access software that is used to remote or access the
APPENDIX I
construct and successfully come up with the system device with the proper
specification of the project. The table proves that the supplies and materials in the
project construction are readily available in the local electronics and hardware
shop. It also show the total cost of the materials amounting to Php 14,106.2
COST (Php)
GLASS
CHANNEL
64GB
STRANDED WIRE
STRANDED WIRE
BULB
LIGHT BULB
LIGHT BULB
OUTLET
SUPLY
APPENDIX J
USER’S MANUAL
105
106
APPENDIX M
FINAL DEFENSE
110
CURRICULUM VITAE
111
112
113