You are on page 1of 4

SPATIAL ROAD INTELLIGENCE MAPPING: ROAD CONDITION

DETECTION USING COMPUTER VISION


st nd rd th
1 Gilang Islamay Putra, 2 Izzuddin, 3 Muhammad Hanan Azhar Jihaannuriy, 4
Najib Ridho Sandika, 5thRizky Azriel Fahrezi.
1) Department of Mathematics, Faculty of Science and Technology, UIN Syarif Hidayatullah Jakarta,
South Tangerang, Indonesia {islamay.putra19@mhs.uinjkt.ac.id, zuddin.ahmd19@mhs.uinjkt.ac.id,
hanan.azhar19@mhs.uinjkt.ac.id, najib.ridho20@mhs.uinjkt.ac.id, rizky.azriel20@mhs.uinjkt.ac.id}

Abstract
One of the right steps to detect road defects and potholes is to use artificial intelligence to detect them. In recent
years, computer vision systems have proven that they can be used to automatically detect road damage when
integrated into computing devices. The various types of road defects in the real world require more creativity
and innovation than previous research. This journal uses computer vision to detect road defects or potholes by
using transfer learning, specifically You Only Look Once Representation (YOLOR) algorithm. Based on a data
set containing 665 images, mean Average Precision (mAP) of 52% was obtained and testing area for detection
is in Ciputat, Tangerang Selatan. Through this model and deployment, the infrastructure development can be
more optimal from the context of time and be more right on target.
Keywords: Computer Vision, Road Intelligence, Transfer Learning.

1. Introduction

Traffic accidents around the world are still


in the news almost every day. According to the
World Health Organization (WHO), an estimated
1.3 million people lost their lives because of road
accidents. Road accident deaths are dominated by
children and adolescents heading toward adulthood
aged 5-29 years [1]. Clearly this cannot be
underestimated. Not only do they take lives, but
traffic accidents are also an economic problem due
to medical payments and reduced productivity due
to hospitalization. In fact, the cost of these
From these accidents, 698 lives have been lost and
accidents is equivalent to 3% of gross domestic
1171 injured. The cause of most traffic accidents in
product (GDP) in most countries [1].
Indonesia is the result of human error and facilities
Traffic accidents are caused by many
are in second place. Furthermore, infrastructure
factors. Some of them include reckless or
ranked third as a cause of accidents.
unfocused driving, exceeding the speed limit, not
wearing a helmet when riding a motorcycle or seat Infrastructure as a factor supporting the safety and
belt when driving a car, and mistakes made by comfort of transportation traffic should be built and
other drivers. In addition, there is one other maintained as well as possible. Roads are one of
contributing factor to accidents that is no less them. It is common knowledge that people often
significant, namely poor road conditions. In still find damaged or potholed roads. Of course, this
Indonesia itself, traffic accidents are still quite incident greatly disrupts the smooth flow of traffic
common [2]. According to data from the National and the safety of motorists. This is especially the
consisting of 43 cases of collisions, 19 cases of case in areas that are difficult to reach by the
overturned vehicles, and 3 vehicles on fire in the government or areas that are often passed by large
range 2007-2016 vehicles, such as trucks. In addition, weather
conditions or poor-quality materials can worsen the
condition of already damaged roads. The
government is working on the best solution to
traffic accidents by tracking which roads are
damaged or have potholes [3].
Through the Ministry of Public Works and
Housing (PUPR), the government plans to create a 3.1. Data
tool that can automatically detect damaged roads or
potholes using artificial intelligence (AI). With the In this research, the data is obtained from Kaggle
help of AI, the work to detect early areas or (https://www.kaggle.com/datasets/chitholian/annota
locations of road damage can be done effectively ted-potholes-dataset). In the The total of the data is
and efficiently so that it can reduce the level of 665 with 80% of them are for training the model
traffic accidents. and the rest is for testing the model.

2. Related Work

Work using computer vision so far has


always relied on the utilization of powerful real
time computing methods with a very good level of
intelligence accuracy. However, in terms of road
defect detection, most of the techniques were
originally designed to assist road inspectors with
image processing techniques (scanners). It has long
been recognized that the computer vision approach
is one of the best technologies to provide asset
management tool implementation. Notably, the
biggest obstacle to detecting and classifying road
defects is consistently achieving a high level of
classification accuracy.
The lack of road defect datasets used Data sample
results in the lack of a more comprehensive
approach. The problem has been addressed in Data is already labeled and can be accessed in
recent years but remains an open issue due to the the .xml file. The label is only ‘pothole’ so that
unbalanced types of asphalt structural defects researchers can focus only on potholes and know
found. Despite the problem, the dataset is often which part(s) of the road is damaged.
used in many studies using artificial intelligence
methods such as using simple image features and 3.2. Computer Vision
machine models to identify road defects or Computer vision is a field of Artificial Intelligence
potholes. As more image sets become larger, DL- (AI) that enables computers and systems to derive
based methods are often used to classify road meaningful information from digital images,
defects. Several studies aiming to improve road videos, and other visual inputs – and take actions or
defect detection and classification achieved make recommendations based on that information.
excellent results by utilizing the capabilities of the Computer vision needs lots of data. It runs analyses
architecture. of data over and over until it discerns distinctions
Advances in deep learning techniques and ultimately recognizes the image. For example,
have made highly efficient and resource-limited to train a computer to recognize potholes, it needs
applications of object detection systems on mobile to be a few vast quantities of pothole images and
devices and have been utilized in road defect street-related images to learn the differences and
acquisition and detection systems. Such recognize a pothole. Essential technology is used to
advancements have been possible due to the use of accomplish this, machine learning. Machine
single-stage detectors such as YOLO. These learning uses algorithmic models that enable a
detectors can produce high-accuracy detections, but computer to teach itself about the context of visual
they are time-consuming, making them unsuitable data. If enough data is fed through the model, the
for use on resource-constrained devices. In previous computer will “look” at the data and teach itself to
road damage detection research studies, often only tell one image from another. Algorithms enable
produce output models without further application machine learning to learn by itself, rather than
stages such as being applied to a Graphical User someone programming it to recognize an image [4].
Interface (GUI) which in this case can be used to
provide updates on which roads have road damage Transfer learning is the improvement of learning in
or potholes. a new task through the transfer of knowledge from
a related task that has already been learned.
Common machine learning algorithms, in contrast,
3. Method and Experimental Details traditionally address isolated tasks. Transfer
learning attempts to change this by developing
methods to transfer knowledge learned in one or
more source tasks and use it to improve learning in 4.3. Application
related target tasks. Techniques that enable After the model was trained and got the
knowledge transfer represent progress toward desired result of evaluation, Researchers deploy the
making machine learning as efficient as human model into a GUI. Researchers are able to detect
learning [5]. potholes automatically around their area without
YOLOR or You Only Learn One the inconvenience of writing them down one by
Representation is a state-of-the-art machine one. Also the user is able to see in which road
learning algorithm for object detection. YOLOR is there’s plenty of potholes to minimize the
proposed as a “unified network to encode implicit possibility of an accident happening and contribute
knowledge and explicit knowledge together”. by submitting picture of a potholes. Government
YOLOR using an approach to combine explicit can too use this to get information around which
knowledge, defined as learning based on given data road there’s potholes to fix and improve the road
and input, with implicit knowledge learned infrastructure.
subconsciously. Therefore, the concept of YOLOR For further research, gyroscope can be
is based on encoding implicit and explicit used to detect the severity of a potholes rather than
knowledge together, similar to how mammalian pointing them each potholes at a time. Researchers
brains process implicit and explicit knowledge in can also use heatmap to convey to the user
conjunction with each other [6]. It, specifically regarding the severity of the road itself.
YOLOv3, is used to train the data to get a good
model that will be able to detect real potholes on A GUI is a system that uses design
the road. principles that conform to the model-view-
controller software pattern. So, the representation
3.3. Model Evaluation of internal and external information that is
Researchers used mean average precision displayed to the user. Users will only see which
(mAP) to evaluate the model. The mean average functions can be used without needing to
precision compares the ground-truth bounding the understand the code input to process the command.
box to the detected box and returns a score. The That way, interaction becomes easier. Developers
higher the score the more accurate the model is in can change the appearance of the interface as freely
its detection. This journal focuses on pothole as possible, the important thing is that the
reports in an application that will be seen by both functionality remains the same.
government and civilian users, for the government The significance and benefits for the
it is hoped that it will be able to help in dealing public works and spatial planning department is
with existing road condition problems. that researchers can inform the public works
department regarding potholes in the road that are
dangerous for road users and here researchers also
4. Result and Discussion create an application prototype that can be used as
an application to report related points Hopefully the
community can help in reporting
4.1. Experiment Setting and Preprocessing
For further development, from just a
For the early stage of the research, unzip prototype application, researchers hope that it can
and gather the data based on its group. As the data be an effective and targeted application where the
is scattered with annotated images which train and application can function as a useful application for
test parts are separated with .json file, unzip the equitable development in this country.
data to get all the files. Then, training and testing
data are listed in .json file. By automating the
separation process, data has already been splitted to
training with proportion of 80% and the rest is for
testing.
4.2. Results and Analysis
After splitted the data with the total of 532
for training and 133 images with the corresponding
labels for testing, train the YOLOv3 model with 30
epochs. As the limited computing power, we have
been already achieved 52% mAP.
7. References
[1]. World Health Organization “Road Traffic
Injuries”, 2022
[2] A. Dhiman and R. Klette, “Pothole Detection
Using Computer Vision and Learning”, 2019
[3] M. Famely, “Mengenal TCM, Teknologi
Perbaikan Jalan Berlubang di Indonesia,” Kompas,
2022
[4]. IBM “What is computer vision?”
[5]. L. Torrey and J. Shavlik “Transfer Learning”,
2009
[6]. V. Mell, “YOLOR - You Only Learn One
Representation”, viso.ai, 2022

5. Conclusion

In this journal, researchers apply computer


vision to detect road defects or potholes by using
transfer learning specifically YOLOR, with this
kind of approach researchers find ease to
preprocessing even though it takes heavy load for
common comercial computers however the result is
quite promising and effective. Talking about the
application of this research, researchers hope that in
the future governments in related fields can apply it
to the intended area so that they can take action in
the form of road repairs appropriately with the
future goal of better road infrastructure and the
level of traffic accidents caused by road damage or
potholes can be significantly reduced. While
technically, gyroscopes can be used to detect the
severity of a plot holes rather than pointing them at
each plot holes at a time. Researchers can also use
heatmap to convey to the user regarding the
severity of the road itself.

6. Acknowledgements
It is unfeasible to finish the project report
thoroughly without input and encouragement from
other people. First and foremost, researchers would
like to extend our sincere appreciation to all the
personages who have helped the researchers in this
endeavor. Without their active guidance, help,
cooperation, and encouragement, the researcher
would not have made headway in the project.
Ineffable indebted to Mr.Taufik Edy Sutanto,
M.Sc.Tech., Ph.D. as our lecturer who has guided
us during this research. Researchers would like to
express our gratitude to the UIN Jakarta
Mathematics Student Association for providing us
with information and supporting us in this
competition

You might also like