Pothole Detection Using Deep Learning
Pothole Detection Using Deep Learning
Abstract— Potholes are a significant road infrastructure YOLOv8’s real-time processing capabilities enable quick
problem that poses safety risks to drivers and causes detection of potholes, ensuring that maintenance crews can
substantial damage to vehicles. Accurate and real time be dispatched promptly to repair the road before the potholes
detection of potholes is crucial for timely repairs and road worsen..
maintenance. This paper presents a novel approach for pothole
detection using YOLOv8, an advanced version of the You Only
A. Pothole Formation
Look Once (YOLO) object detection algorithm. The proposed
method leverages the advantages of YOLOv8, which combines Potholes are common road defects that form due to a
state-of-the-art object detection techniques with improved combination of natural and human-made factors. The sample
2023 2nd International Conference on Futuristic Technologies (INCOFT) | 979-8-3503-0884-6/23/$31.00 ©2023 IEEE | DOI: 10.1109/INCOFT60753.2023.10425461
network architecture for enhanced accuracy and efficiency. A pothole images of Indian roads is illustrated in Figure 1(a)
comprehensive dataset of road images containing various and Figure 1(b).
pothole instances is collected and used to train the YOLOv8
model. Transfer learning techniques are employed to fine-tune
the model for pothole detection specifically. To evaluate the
performance of the proposed method, extensive experiments
are conducted on different road scenarios, including varying
lighting conditions, road types, and pothole sizes. The results
demonstrate that the YOLOv8- based pothole detection system
achieves high accuracy and real-time processing capability,
making it suitable for deployment in smart city infrastructure
and vehicle navigation systems. The contributions of this work
lie in the development of an effective and efficient pothole
detection system using YOLOv8, capable of identifying
potholes accurately in real-world scenarios. This system can
significantly aid road maintenance authorities in identifying
potholes promptly, facilitating timely repairs and ultimately
leading to safer and smoother road conditions for drivers and
pedestrians alike. Fig. 1. (a): Sample image of pothole 1
I. INTRODUCTION
The number of deaths due to potholes on road is
increasing year by year. The statistics related to the accidents
due to potholes on road are as follows A total of 3,564 road
accidents took place across the country during 2020 and
increased to 3,625 during 2021, the Parliament was told on
Wednesday. Therefore, we should make use of technology to
reduce such accidents due to potholes on road. Autonomous
Vehicles: The rise of autonomous vehicles necessitates
robust pothole detection systems to ensure safe navigation. Fig. 1(b): Sample image of pothole 2
YOLOv8’s real, time performance and accuracy are vital for
self-driving cars to detect and avoid potholes, preventing The main causes of pothole formation include:
potential accidents or vehicle damages. Road Safety:
Potholes pose significant safety hazards to drivers and x Water: Water is the primary culprit behind pothole
pedestrians. They can cause accidents, damage vehicles, and formation. Rainwater and melting snow can seep into
lead to severe injuries or even fatalities. By employing the cracks and joints of the road surface. During
YOLOv8 for pothole detection, we can develop a real-time colder weather, this water can freeze and expand,
solution that alerts drivers about potholes ahead, al- lowing putting pressure on the road materials and weakening
them to take necessary precautions and reduce the risk of them.
accidents. Timely Maintenance: Prompt identification of x Traffic load: The constant weight and pressure of
potholes is essential for timely road maintenance. Traditional vehicles passing over the road cause fatigue and wear
methods of pothole detection, such as manual inspection or on the pavement. Heavy vehicles and high traffic
surveying, are time-consuming and labour intensive.
2
Authorized licensed use limited to: East West University. Downloaded on July 18,2026 at 15:50:55 UTC from IEEE Xplore. Restrictions apply.
included in the dataset. Additionally, we have made sure that convolutional neural network that can be divided into two
the training photos include potholes of various forms and main parts: the backbone and the head. A modified version
sizes. We used the Kaggle Pothole dataset and included some of the CSP- Darknet53 architecture forms the backbone of
real-world and online image examples. We used 631 photos YOLOv8. This architecture consists of 53 convolutional
in total for this operation. 562 of those photos were utilized layers and employs cross-stage partial connections to
to train the model. 11 photos were used to test the model, improve information flow between the different layers. The
while 58 images were utilized for validation. photos with a head of YOLOv8 consists of multiple convolutional layers
single pothole and photos with many potholes are both followed by a series of fully connected layers. These layers
included in the dataset. Additionally, we have made sure that are responsible for predicting bounding boxes, object scores,
the training photos include potholes of various forms and and class probabilities for the objects detected in an image.
sizes. One of the key features of YOLOv8 is the use of a self-
attention mechanism in the head of the network. This
B. YOLOv8 mechanism allows the model to focus on different parts of
YOLO (You Only Look Once) is an object detection the image and adjust the importance of different features
algorithm that utilizes a single neural network to based on their relevance to the task. Key Features of
simultaneously predict bounding boxes along with class YOLOv8
probabilities for each object in an image. YOLOv8 is the Multiple features are to be focused on in YOLOv8. Here
latest version of the YOLO algorithm, which outperforms are some key features of YOLOv8:
previous versions by introducing various modifications such
as spatial attention, feature fusion, and context aggregation x Improved Accuracy: YOLOv8 improves object
modules. YOLO (You Only Look Once) is a popular real- detection accuracy
time object detection algorithm in computer vision. It was x compared to its predecessors by incorporating new
first introduced in 2015 by Joseph Redmon et al. YOLO is techniques and optimizations.
known for its speed and accuracy, making it suitable for
various applications like autonomous vehicles, surveillance x Enhanced Speed: YOLOv8 achieves faster inference
systems, and image recognition tasks. YOLOv8 was speeds than other object detection models while
developed by Ultralytics an organization which is working main- training high accuracy.
on AI enabling modules.
The architecture of YOLOv8 builds upon the previous
versions of YOLO algorithms. YOLOv8 utilizes a
3
Authorized licensed use limited to: East West University. Downloaded on July 18,2026 at 15:50:55 UTC from IEEE Xplore. Restrictions apply.
x Multiple Backbones: YOLOv8 supports various Dataset Collection: Collect a dataset of images that
backbones, such as Efficient Net, Res Net, and CSP contain potholes. These images should be labeled with
Darknet, giving users the flexibility to choose the best bounding boxes around each pothole to indicate their
model for their specific use case. location.
x Adaptive Training: YOLOv8 uses adaptive training to Data preprocessing: In this phase, we attempt to delete
optimize the learning rate and balance the loss any photographs that do not clearly show a pothole, are
function during training, leading to better model redundant, or show a pothole that is directly or indirectly
performance. hidden by another object. Since the entire model is based on
the data that has been analyzed, this stage is extremely
x Advanced-Data Augmentation: YOLOv8 employs important. Therefore, if any errors are made during
advanced data augmentation techniques such as Mix- preprocessing, the model picks them up and as a result,
up and Cut Mix to improve the robustness and performs worse.
generalization of the model.
Split Dataset: Divide the dataset into training, validation,
x Customizable Architecture: YOLOv8’s architecture is testing sets. The training set will be used to train the
highly customizable, allowing users to easily modify YOLOv8 model, and the validation set will be used to
the model’s structure and parameters to suit their monitor the model’s performance during training. Finally,
needs. we will test the trained model on real-time data or any new
x Pre-Trained Models: YOLOv8 provides pre-trained data which the model has not seen before. in this project we
models for easy use and transfer learning on various have divided the dataset as follows: Total number of images
datasets used = 631 Number of images used for training = 562
Number of images used for Validation = 58 Number of
images used for testing = 11.
IV. DESIGN AND IMPLEMENTATION
Configure YOLOv8 Architecture: YOLOv8 is a deep
The block diagram of the proposed pothole detection neural network architecture. You can use pre-trained weights
model is shown in Figure 3. from previous YOLO versions or start from scratch. In this
project we have trained the weights from scratch, Configure
the architecture to output bounding box coordinates and class
predictions for potholes. We have also used variations of
model such as nano, small and medium variations of
YOLOv8 model. So that we can compare the performance of
the three variations of model in detecting potholes.
Training: Train the YOLOv8 model on the training
dataset, adjust hyperparameters like learning rate, batch size,
and number of epochs. In this step the model learns how to
detect the potholes in a real time based on the training data
given to it. Setting appropriate values for the
hyperparameters is also important in the process of learning.
Validation: Evaluate the model’s performance on the
validation dataset to monitor its accuracy and detect
overfitting or underfitting issues and based on the scores of
Fig. 3. Block diagram of proposed methodology accuracies and other evaluation metrics we try to change the
hyperparameters values or we may sometime change the
dataset used to improve the performance of the model.
A. Implementation
Post processing: After the model predicts bounding
Implementing pothole detection using YOLOv8 involves boxes for potholes, apply non-maximum suppression to
several steps. YOLO is an object detection algorithm that can remove redundant and overlapping detections. You can also
be adapted for pothole detection by training it on a dataset set a confidence threshold to filter out low confidence
containing images with labelled potholes. Here’s a high-level predictions.
overview of the steps:
4
Authorized licensed use limited to: East West University. Downloaded on July 18,2026 at 15:50:55 UTC from IEEE Xplore. Restrictions apply.
Inference: Use the trained YOLOv8 model to detect The result corresponding to YOLOv8 nano model is
potholes in new images. The model will output bounding shown in Figure 7. The small model is able to detect two
boxes and corresponding confidence scores for each detected potholes in the image. The values 0.34,0.29 in the Figure 7
pothole. denotes the confidence scores of the pothole detected.
The result corresponding to YOLOv8 nano model is
V. RESULTS shown in Figurvalue 0.28 in the Figure 8 denotes the
The training process of the pothole detection model using confidence score of the pothole detected.
YOLOv8 nano model is shown in Figure 4. Similarly we
have performed the same process for two other versions of
YOLOv8 which are YOLOv8 small and YOLOv8 medium.
The result of testing an image with no pothole is shown in
Figure 5. The model has been successfully working without
any errors.
The result of an image with pothole is shown in Figure 6. TABLE I. COMPARATIVE ANALYSIS
The result corresponding to YOLOv8 nano model is shown
in Figure 6. The nano model performed well with multiple Model Precision Recall
pothole detection. It has given better accurate results in less YOLOv8 nano 0.55 0.6
amount of time. In the Figure 6 0.40,0.27,0.33 denotes the YOLOv8 small 0.45 0.35
confidence scores of the potholes. YOLOv8 medium 0.5 0.5
REFERENCES
[1] Au Yang Her; Weng Kean Yew; Pang Jia Yew; Melissa Chong Jia
Ying. “Real-time pothole detection system on vehicle using improved
YOLOv5 in Malaysia”. In: IEEE Transactions on Pattern Analysis
Fig. 7. Result of YOLOv8 small model and Machine Intelligence 22.4 (2022), pp. 348–357.
5
Authorized licensed use limited to: East West University. Downloaded on July 18,2026 at 15:50:55 UTC from IEEE Xplore. Restrictions apply.
[2] Dharneeshkar J Soban Dhakshana V Aniruthan S A Karthika R Latha International Conference on Information Technology, Big Data and
Parameswaran. ”Deep Learning based Detection of Potholes in Indian Artificial Intelli- gence (2023)
Roads using YOLO” In: 2020 International Conference on Inventive [11] Narayana Darapaneni,Naresh Suresh Reddy,Anitha Urkude,Anwesh
Computation Technologies (2020), pp. Reddy Paduri,Arati Alok Satpute,Aakash Yogi,Dilip Krishna Nate-
[3] Priyanka Gupta, Manish Dixit. ”Image-based Road Pothole Detection san,Sarang Surve,Utkarsh Srivastava. ”Pothole Detection Using Ad-
using Deep Learning Model”. In: 2022 14th International Conference vanced Neural Networks” In: 2021 IEEE 12th Annual Information
on Computation Intelligence and Communication Network (2022) Tech- nology, Electronics and Mobile Communication Conference
[4] R. Sathya, B. Saleena, B. Prakash. ”Pothole Detection Using (2021)
YOLOv3 Model” In: 2023 IEEE International Students’ Conference [12] Mohd Omar,Pradeep Kumar. ”Detection of Roads Potholes using
on Electrical, Electronics and Computer Science (2023) YOLOv4” In: 2020 International Conference on Information Science
[5] E Sai Tarun Kumar Reddy, Rajaram V. ”Pothole Detection using and Communications Technologies (2020)
CNN and YOLO v7 Algorithm” In: 2022 6th International [13] K. Pushpa Rani,Mohammad Arshad,A. Sangeetha. ”Pothole
Conference on Electronics, Communication and Aerospace Detection Using YOLO (You Only Look Once) Algorithm” In: 2022
Technology (2022) International Conference on Advancements in Smart, Secure and
[6] Madarapu Sathvik,G. Saranya,S. Karpagaselvi. ”An Intelligent Con- Intelligent Comput- ing (2022)
volutional Neural Network based Potholes Detection using Yolo-V7” [14] Rohitaa R,Sangoju Shreya,Amutha R. ”Intelligent Deep Learning
In: 2022 International Conference on Automation, Computing and based Pothole Detection and Reporting System” In: 2021 Fourth
Renewable Systems (2022) International Conference on Electrical, Computer and
[7] Madhuri Pagale,Sunanda Mulik,Richa Purohit,Anuradha Communication Technologies (2021)
Thakare,Sulaxan Jadhav. ”Design and Implementation of Pothole [15] Anup Kumar Pandey,Rahat Iqbal,Saad Amin,Tomasz Maniak,Vasile
Detection Instance Detection Based on A Unified Approach For Palade, Charalampos Karyotis. ”Deep Neural Networks Based
Globally Roads” In: 2023 1st International Conference on Innovations Approach for Pothole Detection” In: 2021 4th International
in High Speed Communication and Signal Processing (2023) Conference on Signal Processing and Information Security (2021)
[8] Ming-An Chung,Sung-Yun Chai,Ming-Chun Hsieh,Chia-Wei [16] Bhavan Kumar S B,Guhan S,Manyam Kishore,Santhosh R,Alfred
Lin,Chia- Chun Hsu,Shang-Jui Huang,Kai-Xiang Chen. ”Road Daniel J. ”Deep Learning Approach for Pothole Detection - A
Pothole Detection Algorithm and Guide Belt Designed for Visually Systematic Review” In: 2023 Second International Conference on
Impaired” In: 2023 IEEE 3rd International Conference on Electronic Electronics and Renewable Systems, pp.1-4, 2023.
Communications, Internet of Things and Big Data (2023) [17] Kavitha R,Nivetha S. ”Pothole and Object Detection for an
[9] D Rohit Rajan,Mohammad Khaja Faizan,Rajinikanth Kundelu,Neha Autonomous Vehicle Using YOLO” In: 2021 5th International
Nandal, Vasu Sena Gunda. ”Deep Learning Based Pothole Detection” Conference on Intel- ligent Computing and Control Systems
In: 2023 International Conference on Emerging Smart Computing and [18] [Link]
Informatics (2023) Architecture, visualisation made by GitHub user RangeKing.
[10] Yang Zou,Jiangcheng Wan,Binjie Wang. ”Lightweight pothole
detection method based on improved YOLOv5” In: 2023 IEEE 3rd
6
Authorized licensed use limited to: East West University. Downloaded on July 18,2026 at 15:50:55 UTC from IEEE Xplore. Restrictions apply.