Real-Time Pothole Detection System: A Deep Learning Approach With SSD
Real-Time Pothole Detection System: A Deep Learning Approach With SSD
III. METHODOLOGY
mAP@50 (mean Average Precision at IoU 0.5): This Figure (11): Optimal Route Suggestions Incorporated in frontend
metric measures the average precision of the model across system
different Intersection over Union (IoU) thresholds. A
mAP@50 score provides insights into the model's ability to In terms of data interpretation, the platform organizes
precisely locate and classify objects within the images. pothole detection results in a structured manner, allowing users to
Train Loss: The training loss metric indicates the filter and sort based on parameters like location, size, and
discrepancy between the predicted outputs and the ground detection confidence. This analytical flexibility empowers users
truth labels during the training process. A lower train loss to discern trends, identify patterns, and prioritize maintenance
signifies better convergence and indicates that the model is areas effectively.
learning the features of potholes effectively.
Figure (12): Comprehensive website integrated with Google Maps varying confidence thresholds. A higher mAP score
API for analyzing results and most recent pothole detection indicates superior detection accuracy and efficacy.
results viewing in a route
Impact
Models mAPval@50 spanning a
Furthermore, the real-time integration with the Neo6M GPS YOLOv5m6 80.8
Module and ESP32 Camera Module ensures that the map gamut of
YOLOv5s6 82.2 momentum
interface always reflects the most recent pothole detection results. YOLOv5n6 82.5 values,
This continuous update mechanism provides users with up-to- YOLOv8n 82.3 learning
date information, facilitating informed decision-making and YOLOv8s 83.9 rates, and
enabling prompt response to identified issues. YOLOv8m 85.2 optimizer
YOLOv8l 84.9 selections,
IV. EXPERIMENTAL RESULTS YOLOv8x 82.9 yielded an
array of
i. Performance Evaluation mAP@50 scores, ranging from a meager 3.5 to an
exceptional 88.676. This divergence accentuates the
criticality of parameter selection and optimization in
enhancing the model's detection accuracy and performance.
Table (1): Results obtained while training the SSD model under
various hyperparameters
Insights: The comparative evaluation between SGD and Hyperparameter Optimization Challenges: The intricate
ADAM optimizers unveiled the former's superiority in nature of hyperparameter optimization, characterized by
optimizing the model for heightened detection accuracy. numerous interdependencies and complexities, presented
The discernible performance gap between the two significant challenges. These challenges necessitated
optimizers accentuates the pivotal role of optimizer exhaustive experimentation and validation to identify
selection in determining the model's efficacy, performance, optimal configurations that would yield enhanced detection
and robustness. accuracy and robustness.
Recommendations: Opting for an SGD optimizer can Overfitting and Generalization Challenges: The risk of
potentially optimize the model's learning dynamics, overfitting, where the model performs exceptionally well
convergence, and detection accuracy, albeit necessitating on the training data but poorly on unseen data, posed a
meticulous experimentation, validation, and parameter significant challenge. This challenge required the
tuning to ascertain the most efficacious configuration implementation of rigorous regularization techniques,
7
extensive data augmentation, and robust validation Realtime pothole detection system on vehicle using improved
strategies to foster generalized model performance and
YOLOv5 in Malaysia ((2022).
mitigate overfitting.
[3] Liu W, Wang Z, Liu X, Zeng N, Liu Y, Alsaadi FE. A survey of
Computational and Resource Constraints: The
computational demands of training deep learning models, deep neural network architectures and their applications.
combined with resource limitations and memory Neurocomputing. (2020)
constraints, posed logistical challenges. To overcome these
constraints, innovative optimization strategies, efficient [4] Alom MZ, Taha TM, Yakopcic C, Westberg S, Sidike P, Nasrin
model architectures, and distributed computing solutions MS, Hasan M, Van Essen BC, Awwal AA, Asari VK. A stateoftheart
were employed to accelerate training, manage resources
effectively, and streamline model development and survey on deep learning theory and architectures. Electronics. (2021)
deployment processes. [5] Y. Darma, M. R. Karim, and S. Abdullah, “An analysis of
Malaysia road traffic death distribution by road environment,”
VI. CONCLUSION & FUTURE SCOPE Sadhana Academy Proceedings in Engineering Sciences, vol. 42, no.
The conclusion of the project on developing a real-time 9, pp. 1605–1615, Sep. 2017, doi: 10.1007/s120460170694 9.
pothole detection system using an improved CNN model [6] “Malaysia’s Minister Khairy Jamaluddin injures from fall after
integrated with SSD architecture highlights several key findings
bicycle hits pothole,” The Straits Times, Dec. 28, 2020. Accessed:
and implications for infrastructure monitoring and safety
enhancement. Through meticulous exploration of May 31, 2022. [Online]. Available:
hyperparameters, such as momentum values and learning rates, https://www.straitstimes.com/asia/seasia/malaysiasministerkhairyjam
the study revealed the sensitivity of the model's performance to
these parameters. Optimal configurations, particularly a aluddininjuredfromfallafterbicyclehitspothole
momentum of 0.1, a learning rate of 0.0005, and the SGD [7] K. Perimbanayagam, “75-year-old man killed after crashing into
optimizer resulted in the highest mean Average Precision (mAP)
at 50 (mAP@50) score of 88.676. These findings underscore the the pothole,” New Straits Times, Jan. 03, 2021. Accessed: May 31,
importance of careful parameter tuning for achieving optimal 2022. [Online]. Available:
detection accuracy and model performance.
https://www.nst.com.my/news/nation/2021/01/654169/75yearoldman
The implications of the project's findings extend to killedaftercrashingpothole
various potential applications in infrastructure monitoring, road
[8] S. Thiruppathiraj, U. Kumar, and S. Buchke, “Automatic pothole
maintenance, and safety enhancement. The developed pothole
detection system can enable automated and continuous classification and segmentation using android smartphone sensors and
monitoring of road conditions, facilitating proactive maintenance camera images with machine learning techniques,” in 2020 IEEE
and timely repairs to mitigate pothole-related hazards. By
providing real-time detection and alerts regarding potholes and REGION 10 CONFERENCE (TENCON), Nov. 2020, pp. 1386–
road damages, the system has the potential to enhance road 1391. doi: 10.1109/TENCON50793.2020.9293883.
safety, reduce accident risks, and contribute to safer
transportation infrastructures. Moreover, integration with smart [9] R. Fan, U. Ozgunalp, B. Hosking, M. Liu, and I. Pitas, “Pothole
city initiatives and urban planning frameworks can promote data- Detection Based on Disparity Transformation and Road Surface
driven decision-making, optimize resource allocation, and foster
Modeling,” IEEE Transactions on Image Processing, vol. 29, pp.
efficient and sustainable urban development.
897–908, 2020, doi: 10.1109/TIP.2019.2933750.
Looking ahead, the project identifies several avenues
[10] J. W. Baek and K. Chung, “Pothole classification model using
for future research and innovation. Exploring advanced model
architectures, such as ensemble learning techniques and multi- edge detection in road image,” Applied Sciences (Switzerland), vol.
modal data fusion approaches, can further enhance detection 10, no. 19. MDPI AG, Oct. 01, 2020. doi: 10.3390/APP10196662.
accuracy and real-world applicability. Additionally, leveraging
IoT devices and edge computing platforms for real-time data [11] Y. Jo and S. Ryu, “Pothole detection system using a blackbox
processing and analysis can enable faster decision-making and camera,” Sensors (Switzerland), vol. 15, no. 11, pp. 29316–29331,
proactive interventions. Developing intuitive user interfaces,
interactive visualization tools, and augmented reality applications Nov. 2015, doi: 10.3390/s151129316.
can enhance user engagement and facilitate community [12] S. Liu, L. Qi, H. Qin, J. Shi, and J. Jia, “Path Aggregation
participation in infrastructure monitoring and maintenance
Network for Instance Segmentation,” Mar. 2018.
initiatives. Collaborative research partnerships with academic
institutions, industry stakeholders, and governmental agencies [13] GitHub, “GitHub ultralytics/yolov5.”
can foster interdisciplinary research and accelerate advancements https://github.com/ultralytics/yolov5 (accessed May 31, 2022).
in automated infrastructure monitoring solutions.
[14] https://docs.ultralytics.com/models/#featuredmodels
[15]
VII. REFERENCES
[1]. Optimal Fuzzy Wavelet Neural Network Based Road Damage https://www.kaggle.com/datasets/atulyakumar98/potholedetectiondat
Detection (June 2023). Mohammed Alamgeer, Hend Khalid aset
Alkahtani, Mashael Maashi. [16] https://www.kaggle.com/datasets/andrewmvd/potholedetection
[2]. Au Yang Her, Weng Kean Yew, Pang Jia Yew, Melissa Chong [17]
Jia Ying. https://www.kaggle.com/datasets/rajdalsaniya/potholedetectiondataset
8