Professional Documents
Culture Documents
Naecon 2018 8556809
Naecon 2018 8556809
Vision
Yaqi Li Christos Papachristou Daniel Weyer
Department of Electrical Engineering and Computer Science
Case Western Reserve University
Cleveland, Ohio 44106
{yxl1544, cap2} @case.edu
Abstract—In this paper, we propose a stereo vision system inspection [3] which uses high-speed 3D transverse scanning
which detects potholes during driving. The objective is to benefit techniques. However, the high-speed 3D transverse scanning
drivers to react to potholes in advance. This system contains two equipment is too expensive. Rajeshwari Madli et al. have
USB cameras taking photo simultaneously. We use parameters
obtained from camera calibration with checkerboard to calculate proposed a cost-effective solution [4] to identify the potholes
the disparity map. 2-dimensional image points can be projected on roads, and also to measure the depth and height of each
to 3-dimensional world points using the disparity map. With all pothole using ultrasonic sensors. All the pothole information
the 3-dimensional points, we use the bi-square weighted robust is stored in database (cloud). Then alerts are provided in
least-squares approximation for road surface fitting. All points the form of a flash messages with an audio beep through
below the road surface model can be detected as pothole region.
The size and depth of each pothole can be obtained as well. The android application. To detect the depth of pothole correctly,
experiments we conducted show robust detection of potholes in the ultrasonic sensor should be fixed under the car, which
different road and light conditions. means the car should pass the pothole first.
Index Terms—stereo vision, road potholes, surface fitting, 2D vision-based solutions can detect potholes as well [5].
disparity Regions corresponding to potholes are represented in a matrix
of square tiles and the estimated shape of the pothole is
I. I NTRODUCTION determined. However, the 2D vision-based solution can work
Potholes are bowl-shaped openings on the road that can be only under uniform lighting conditions and cannot obtain the
up to 10 inches in depth and are caused by the wear-and-tear exact depth of potholes.
and weathering of the road [1]. They emerge when the top To remove the limitations of the above approaches, we
layer of the road, the asphalt, has worn away by lorry traffic propose a detection method based on computer stereo vision,
and exposing the concrete base. Once a pothole is formed, its which provides 3-dimensional measurements. Therefore, the
depth can grow to several inches, with rain water accelerating geometric features of potholes can be determined easily based
the process, making one of the top causes of car accidents. on computer vision techniques. The proposed method requires
Potholes are not only main cause of car accidents, but also two cameras to take photos simultaneously. Compared with the
can be fatal to motorcycles. Potholes on roads are especially expensive high-speed 3D transverse scanning equipment, USB
dangerous for drivers when cruising in high speed. Because, cameras are affordable and flexible. The geometric information
the driver can hardly see potholes on road surface. Moreover, of road potholes can be obtained by the stereo camera.
if the car passes potholes at high speed, the impact may rupture In the remainder of this paper, section 2 briefly discusses
car tires. Even though drivers may see the pothole before the background of this work. Section 3 introduces the technical
they pass it, it is usually too late to react. Any sharp turn approach and principles that we applied in this pothole detec-
or suddenly brake, may cause car rollover or rear-end. tion system. Section 4 illustrates the experimental setup of the
Motivated from the above reasons, we decided to investigate proposed system and results. Finally, section 5 concludes the
a system to detect potholes on roads while driving. The proposed method and discusses the future work which can be
proposed system will produce the 3-dimensional information done to improve the pothole detection system.
of potholes and determine the distance from pothole to car for
informing the driver in advance. II. BACKGROUND
Currently, the main methods for detecting potholes still rely Stereo camera parameters, including intrinsic parameters
on public reporting through hotlines or websites, for example, and extrinsic parameters, are obtained with a checkerboard
the potholes reporting website in Ohio [2]. However, this re- using Zhang's camera calibration method [6]. Before con-
porting usually lacks accurate information of the dimensional verting the image coordinates to the world coordinates, some
and location of potholes. Moreover, this information is usually preparation work needs to be done.
out of date as well. Image pairs of road surface should be undistorted and rec-
A method to detect potholes on road has been reported tified. In undistorted images lens distortion has been removed.
in a real-time 3D scanning system for pavement distortion Rectification refers to projecting image pairs onto a common
Fig. 1. Off-line Flowchart of the Pothole Detection System. Both intrinsic and extrinsic parameters of the stereo camera
can be obtained from the camera calibration process. The in-
trinsic parameters, named camera matrix as well, are indepen-
B. Stereo Camera Calibration dent. Therefore, once the intrinsic parameters are determined,
Camera parameters are necessary for disparity calculation. they can be used as long as the focal length of the camera
We can obtain camera parameters, both intrinsic and extrinsic remain unchanged. The output 3 × 3 camera matrix is shown
parameters, by stereo camera calibration. To calibrate stereo as follows:
fx 0 cx
cameras, a flexible camera calibration approach proposed by
A = 0 fy cy . (1)
Zhang [6] is used in this system. Compared with other classic
0 0 1
camera calibration methods which use expensive equipment,
the method proposed is economical and flexible. Only two fx , fy are the focal lengths expressed in pixel units. (cx , cy )
293
Fig. 5. Single Camera.
294
As shown in Figure 8, the optical center of camera L is the F. Road Pothole Labelling
origin. f is the focal length of the camera. Triangle OAE and
triangle OMP are similar triangles, therefore we can write: We need to label the detected pothole region using the
z x connected component labelling algorithm [10]. Or in case there
= . (5) are more than one road pothole in the region of interest, we
f XL
number these road potholes with the connected component
For the right camera, triangle OCD and triangle ONP are labelling algorithm [10]. The labelling process consists of 2
similar triangles: passes.
z x−B The flowchart of the first pass of judgement is illustrated
= . (6) in Figure 9. We obtain a pixel from the binary image and
f XR
check whether this pixel is a background pixel. We only label
Similarly, along the Y- axis, we can obtain: non-background pixel. For non-background pixel, we check
whether there is a existing label around this pixel. If there is
z y y not a existing label around this pixel, create a new label for
= = . (7)
f YL YR it. Otherwise copy the existing label if there is only 1 label
around this pixel. Copy the smaller label and mark the bigger
The 3 dimensional points as a function of the disparity can be
label as a child label of the smaller label.
derived from the above equations and equation (4):
B ∗ XL
x= , (8)
d
B∗YL
y= . (9)
d
295
IV. E XPERIMENTAL S ETUP AND R ESULTS
A. Experimental Setup
B. Results
296
R EFERENCES
[1] “Potholes are a Top Cause of Auto Accidents,” Law Offices of Michael
Pines, APC. [Online]. Available: https://seriousaccidents.com/legal-
advice/top-causes-of-car-accidents/potholes/. [Accessed: 02-May-2018].
[2] Pages - Welcome to The Ohio Department of Transportation Home
Page. [Online]. Available: http://www.dot.state.oh.us/pages/home.aspx.
[Accessed: 02-May-2018].
[3] Q. Li, M. Yao, X. Yao, and B. Xu, “A real-time 3D scanning system for
pavement distortion inspection,” Measurement Science and Technology,
vol. 21, no. 1, p. 015702, 2009.
[4] R. Madli, S. Hebbar, P. Pattar, and V. Golla, “Automatic Detection and
Notification of Potholes and Humps on Roads to Aid Drivers,” IEEE
Sensors Journal, vol. 15, no. 8, pp. 4313–4318, 2015.
[5] S. B. S. Murthy and G. Varaprasad, “Detection of potholes in au-
tonomous vehicle,” IET Intelligent Transport Systems, vol. 8, no. 6,
pp. 543–549, Jan. 2014.
[6] Z. Zhang, “A flexible new technique for camera calibration,” IEEE
Transactions on Pattern Analysis and Machine Intelligence, vol. 22, no.
11, pp. 1330–1334, 2000.
[7] H. Hirschmuller, “Stereo Processing by Semiglobal Matching and Mu-
tual Information,” IEEE Transactions on Pattern Analysis and Machine
Intelligence, vol. 30, no. 2, pp. 328–341, 2008.
[8] “OpenCV library,” OpenCV library. [Online]. Available:
https://opencv.org/. [Accessed: 03-May-2018].
[9] G. H. Golub and U. V. Matt, “Quadratically constrained least squares
and quadratic problems,” Numerische Mathematik, vol. 59, no. 1, pp.
561–580, 1991.
[10] U. Sinha, “Labelling connected components - Example,” AI Shack.
[Online]. Available: http://aishack.in/tutorials/labelling-connected-
components-example/. [Accessed: 03-May-2018].
[11] X. Ai, Y. Gao, J. Rarity, and N. Dahnoun, “Obstacle detection using
U-disparity on quadratic road surfaces,” 16th International IEEE Con-
ference on Intelligent Transportation Systems (ITSC 2013), 2013.
[12] G. H. Golub and U. V. Matt, “Quadratically constrained least squares
and quadratic problems,” Numerische Mathematik, vol. 59, no. 1, pp.
561–580, 1991.
[13] “Documentation,” MATLAB & Simulink. [Online]. Available:
https://www.mathworks.com/help/curvefit/least-squares-fitting.html.
[Accessed: 03-May-2018].
[14] “Raspberry Pi 2 Model B,” Raspberry Pi. [Online]. Available:
https://www.raspberrypi.org/products/raspberry-pi-2-model-b/.
[Accessed: 03-May-2018].
297