Smart System For Potholes Detection Using Computer Vision With Transfer Learning
Smart System For Potholes Detection Using Computer Vision With Transfer Learning
ISSN No:-2456-2165
Abstract:- Road potholes are extensively enormous outwardly reviewed every day and have their vehicle stream
primary disappointments out and about surface. They observed continually. Low need rustic streets are
are brought about by withdrawal and extension of the investigated not exactly once per week, and regularly have
road surface as water saturates into the ground. To undetected harm for longer time [1].
guarantee traffic wellbeing, it is critical and important to
regularly investigate and fix road potholes. This paper Road potholes are extensively enormous primary
presents a smart system for potholes detection using disappointments out and about surface. They are brought
computer vision with transfer learning. The system about by withdrawal and extension of the road surface as
starts by acquiring a pothole images as data, pre- water saturates into the ground. To guarantee traffic
processing the data by creating image annotation and wellbeing, it is critical and important to regularly investigate
image augmentation on the pothole images. We also and fix road potholes. Presently, potholes are routinely
created sub directories by creating called images and distinguished and revealed by guaranteed investigators and
annotation where we placed our training images in the primary designers. This undertaking is nonetheless, tedious
image folder and the annotated files (which was and drawn-out. Besides, the discovery results are
generated in Xml format) into the annotation folder that consistently emotional, on the grounds that they rely
we created. We then train our model using transfer altogether upon staff insight. The event of pothole has
learning. By transfer learning, we downloaded a pre- expanded quickly in uncommon climate like substantial
trained yolov3 weight file trained on a coco dataset for downpour in summer and snowfall, and affects traffic
object detection. We then set the batch_size to be equal security and street harm. It messes social up like vehicle
to 4, with a tensorflow Gpu of version ==1.13.1, number breakage and mishaps, which are causing social expenses. In
of experiments = 200, and this manner, programmed pothole discovery strategies are
train_from_pre_trained_model = pre-trained-yolov3 being read for productive pothole fix and asphalt the
(the weight file we downloaded). After training, we executives [2].
evaluated and saved the trained model. We had a
training accuracy of about 97%. We carried out a real Occupied driving, speeding or other driver mistakes
time pothole detection on a live streaming video using are primary driver of mishaps around the world; in any case,
opencv library, where we detected multiple potholes awful road conditions are additionally a critical reason. The
images. state of a street ends up being perilous because of number of
reasons like flooding, precipitation, harms caused, e.g., by
Keyword:- Potholes, Computer Vision, Transfer Learning, over-burden large vehicles, or poor actual upkeep of the
Yolov3. road. Road condition evaluation includes distinguishing and
investigating unmistakable sorts of road surface pain,
I. INTRODUCTION similar to potholes, breaks or surface changes as being
upkeep significant highlights. Full scale road highlights are
Road networks are key resources, as they support the characterized by being of traffic pertinence. For instance,
proficient progression of individuals and merchandise. hindrances are likewise traffic-significant highlights; they
However, in spite of this basic social and monetary job, additionally require identification for driver help. A pothole
numerous nations spent just half or even less of what might is an extraordinary instance of street trouble. It very well
be needed for legitimate road upkeep. Keeping up with road may be a subjectively molded primary imperfection of a
networks is frequently the duty of territorial or nearby street, and an exact ID of its "line" is commonly
government elements with spending limitations. Helpless inconceivable. They can be ambiguously laid out, yet their
support brings about street deserts, which add to monetary greatest profundity can be distinguished all the more
misfortunes, vehicle harm, and fatalities. Early recognition unequivocally. Articles like vehicles, people, cyclists,
and detailing of such imperfections would permit protection canines or felines are of explicitly characterized shapes (and
support, which would bring about lower cost, usefulness now recognized by machine learning because of appearance
benefits, and expanded wellbeing. Visual reviews are the properties) [3].
most widely recognized technique at present used to
evaluate road condition. Their viability is obliged by asset At present, the primary techniques for recognizing
accessibility and the significance of a given street. To be potholes actually depend on open announcing through
sure, high volume traffic motorways will in general be hotlines or sites, for instance, the potholes detailing site in
Image
Data Acquisition Image Annotation Model Training
Augmentation
OpenCV
Figure 1 Architecture of the Proposed System
Data Acquisition: The dataset consist of 1200 images of translation, affine transformation zooming and sharing of
road with potholes. These images was collected online using images. This was used as a result of generating more images
google search engine to search for potholes images in Port and changing the position of the images so as to obtain a
Harcourt City, Rivers State Nigeria. The acquired dataset better recognition of our trained model.
will be categorized into two which is a training data and a
𝑥 𝑦
testing data. 𝑥 = 𝑓𝑥 . 𝑧 + 𝑥𝑐 , 𝑦 = 𝑓𝑦 . 𝑧 + 𝑦𝑐 , … Image Translation
Image Annotation: Image annotation is the task of Where x and y are the image pixel, fx and fy are the focal
annotating an image with labels. The labels are used to give lengths in x and y coordinate direction, and (xc, yc) is the
information to a computer vision model about the given principal point in the image plane.
images that is to be used as an input data. For annotation of
our training and testing images, we will be using Labelme Model Training: The model will be trained using a pre-
annotation tool in annotating our images. The labelme will trained yolo-3 coco weight model that was trained on a coco
be used in segmenting our images (training and testing), dataset for different object detection. We will be optimizing
drawing bounding boxes and generating coordinates for the parameters of the pre-trained model weights to be a
each of the training image. batch_size of 4, 200 number of experiments, and the number
of object names to be one (1). This process of training a
Image Augmentation: image augmentation is used in new model from a pre-trained model weights is called
expanding our dataset. We also used image augmentation transfer learning.
parameters for rotation, scaling, cropping, flipping,
Here, our model shows 97% confidence level while detecting potholes.
This shows the model performance in terms of accuracy the annotation folder that we created. We then train our
during training. We 6 models just to find the model with the model using transfer learning. By transfer learning, we
best accuracy result. The bar chat above shows that the downloaded a pre-trained yolov3 weight file trained on a
model2 has the highest training accuracy result ahead other coco dataset for object detection. We then set the batch_size
models. to be equal to 4, with a tensorflow Gpu of version ==1.13.1,
number of experiments = 200, and
V. CONCLUSION AND FUTURE WORK train_from_pre_trained_model = pre-trained-yolov3 (the
weight file we downloaded). After training, we evaluated
This paper presents a smart system for potholes and saved the trained model. We carried out a real time
detection using computer vision with transfer learning. The pothole detection on a live streaming video using opencv
system starts by acquiring a pothole images as data, pre- library, where we detected multiple potholes images. This
processing the data by creating image annotation and image work can further be extended by creating an android app
augmentation on the pothole images. We also created sub that will detect potholes and use google map in saving the
directories by creating called images and annotation where location of the detected potholes to database.
we placed our training images in the image folder and the
annotated files (which was generated in Xml format) into