Vehicle Driving Assistant
Vehicle Driving Assistant
Abstract—Autonomous vehicles has been a common term in includes road extraction part and blob detection part. Then the
our day to day life with car manufacturers like Tesla shipping result that we obtained are given briefly in section 5. Finally
cars that are SAE Level 3. While these vehicles include a section 6 concludes the paper. Section 7 gives a light to the
slew of features such as parking assistance and cruise control,
they’ve mostly been tailored to foreign roads. Potholes, and the future enhancements that could be done.
arXiv:2002.03556v1 [cs.CV] 10 Feb 2020
3. P ROPOSED W ORK
In this paper we use both image processing techniques as
well as machine learning to study the presence and occurrence
of potholes. High resolution image captured from the hood of a
slow moving vehicle is used for analysis and experimentation.
This paper propose a way to visualize the potholes as well
as identify whether or not the road has a pothole in it. The
visualisation approach is similar to how humans perceive
the pothole images in the brain. The pothole identification
approach will help to signal the driver of a vehicle to take
preventive actions upon pothole infected lanes.
Fig. 1: Pothole example Foliage, incoming vehicles and other background objects
can interfere with the detection of potholes. In all the methods
The remainder of the paper is structured as follows. We described below the area of the image containing the road is
present a brief history of the related work done so far in isolated and extracted. Subsequent processing is then done on
the field of pothole detection and visualisation in Section this extracted area to detect the presence of potholes.
2. Section 3 discusses about the experimental set up we
used in this work.In the subsequent section we describes the The subsequent subsection describes the approaches we
methodology that we follow in the following section 4. It took for visualising the potholes. We used contour detection
MACHINE PERCEPTION PROJECT REPORT, GROUP 7, FEBRUARY 11, 2020 2
4. M ETHODOLOGY
In this section we briefly familiarize the methodology that
we used for the visualisation and detection of potholes in
detail. The subsequent section first discusses about the image
processing techniques that are helpful for pothole visualisation
followed by feature extraction and machine learning learning
techniques used in the study.
Fig. 7: Mask
Blob Detection Method: The extracted road area is then • Decision Tree [7]
analysed further for pothole visualisation. In computer vision, • Random Forest [9]
blob detection methods are aimed at detecting regions in a • AdaBoost using Decision Tree
”The histogram provides a compact summarization of the As we can infer from the tables that the classification
distribution of data in an image. The color histogram of using downscaled images worked well when decision trees and
MACHINE PERCEPTION PROJECT REPORT, GROUP 7, FEBRUARY 11, 2020 5
Methods Accuracy(%)
– Data Set II - https://www.youtube.com/playlist?list=
Logistic Regression 77.27
Decision Tree 77.04
PLzf2LOyk6iN3nNyvu1RI0Np-i8kT1IGE0
AdaBoost using Decision Tree 83.60 – Data Set III [4]
GaussianNB 75.40 • Code - https://github.com/crunchbang/MP Project/blob/
KNN 78.68 master/Code/
SVM 55.73 • Road Extraction Video - https://www.youtube.com/
Random Forest 95.45
watch?v=4vUqzDnZsV8
TABLE II: Results for color histogram as features
R EFERENCES
[1] S. Nienaber, M.J. Booysen, R.S. Kroon Detecting potholes using simple
AdaBoost using decision tree are used. Meanwhile Gaussian image processing techniques and Real-world Footage, 2015. SATC,
Naive Bayes performed the worst using downscaled images. July 2015, Pretoria, South Africa http://scholar.sun.ac.za/handle/10019.
1/97191
[2] Ajit Danti, Jyoti Y. Kulkarni, and P. S. Hiremath, Member, IACSIT An
The color histogram as a feature worked relatively better Image Processing Approach to Detect Lanes, Pot Holes and Recognize
when compared to the downscaled images. We were pretty Road Signs in Indian Roads, December 2012 http://www.ijmo.org/papers/
204-S3015.pdf
surprised to see the performance of color histogram using Ran- [3] S. Nienaber, R.S. Kroon, M.J. Booysen “A Comparison of Low-Cost
dom Forest which gives an accuracy of 95%. SVM didn’t give Monocular Vision Techniques for Pothole Distance Estimation” IEEE
good accuracy in both color histogram as well as downscaled CIVTS, December 2015, Cape Town, South Africa.
[4] The annotated image dataset used in the pothole detection is freely
images. available at https://goo.gl/3QyeMs
[5] https://en.wikipedia.org/wiki/Pothole
[6] https://en.wikipedia.org/wiki/Logistic regression
6. C ONCLUSION [7] https://en.wikipedia.org/wiki/Decision tree
We presented a mix of methods, incorporating both image [8] https://en.wikipedia.org/wiki/K-nearest neighbors algorithm
[9] https://en.wikipedia.org/wiki/Random forest
processing and machine learning, to detect the presence of [10] https://en.wikipedia.org/wiki/Support vector machine
potholes in an image. Given an image, the road was isolated [11] Dataset with negative and positive examples separated https://drive.
and extracted with best results using contours and finding the google.com/drive/folders/0B7LHCitTUdEYZFEwNWo4V2RldjQ?usp=
sharing
convex hull of the largest contour. Through successive testing, [12] Open CV is used for Image processing and Machine Learning http:
it was found that using machine learning models yielded //docs.opencv.org/
better results than conventional image processing methods [13] Color Histogram https://en.wikipedia.org/wiki/Color histogram
as far as detection of potholes were concerned. The models
were trained using features extracted from the isolated road
segment. Comparison between the different methods of feature
extraction and the performance of different models on these
features have also been exhibited.
ACKNOWLEDGMENT
We would like to thank Prof. Dinesh Babu Jayagopi for
guiding us throughout this venture, Prof. MJ (Thinus) Booy-
sen, Associate Professor at the Electrical & Electronic Engi-
neering Department at Stellenbosch University for prividing
us with the pothole datasets [4].
A PPENDIX A
DATA AND C ODE
• Data
– Data Set I - https://www.youtube.com/watch?v=
hmeBmdZzlLU
MACHINE PERCEPTION PROJECT REPORT, GROUP 7, FEBRUARY 11, 2020 6