IoT_Based_on-the-fly_Visual_Defect_Detection_in_Railway_Tracks
IoT_Based_on-the-fly_Visual_Defect_Detection_in_Railway_Tracks
Railway Tracks
Noora AlNaimi Uvais Qidwai
Department of Computer Science and Engineering Department of Computer Science and Engineering
College of Engineering College of Engineering
Qatar University Qatar University
Doha, Qatar Doha, Qatar
[email protected] [email protected]
Abstract—Railway transportation requires constant inspec- However, solutions vary in terms of being software-based
tions and immediate maintenance to ensure public safety. Tra- solutions that apply machine vision technologies on recorded
ditional manual inspections are not only time consuming, and videos; or robotic solutions which are automated systems that
expensive, but the accuracy of defect detection is also subjected
to human expertise and efficiency at the time of inspection. Com- are deployed on rail tracks and detect cracks using either
puting and Robotics offer automated IoT based solutions where ultrasonic or IR sensors. Software-based solutions consume
robots could be deployed on rail-tracks and hard to reach areas, time to extract and analyze the images from recorded videos,
and controlled from control rooms to provide faster inspection. and robotic-based solutions are limited in their ability in only
In this paper, a novel automated system based on robotics and detecting cracks using sensors without generating results or
visual inspection is proposed. The system provides local image
processing while inspecting, cloud storage of information that images.
consist of images of the defected railway tracks only, and robot To address these limitations, a novel automated system is
localization within a range of 3-6 inches. The proposed system proposed in this work that consists of a robot which performs
utilizes state of the art Machine Learning system and applies inspection using non-destructive inspection method based on
it on the images obtained from the tracks in order to classify visual inspection with local image processing, cloud storage
them as normal or suspicious. Such locations are then marked
and more careful inspection can be performed by a dedicated of information that will consist of images of defected railway
operator with very few locations to inspect (as opposed to the tracks only, and robot localization within a range of 3 inches.
full track). Local image processing while inspection is a novel inspection
Index Terms—Railtrack inspection, visual inspection, com- technique that will allow for faster inspection in parallel with
puter vision, convolutional neural network. cloud storage of information, which will only receive images
of defected rail tracks.
I. I NTRODUCTION
A. Railway Track Defects
In transport systems, safety and reliability are the main Railway track defects are divided into two main parts:
factors that are always questioned, especially in railway trans- Internal Defects and Surface Defects [2]. These defects may
portation systems. Early inspection systems are crucial to exist in the head, weld or base section of the track. The most
maintain safe rail tracks that will ensure safe journeys. Statis- common defects appearing in rail tracks are known as RCF
tics show that 60% of railway accidents are due to derailment, (Rolling Contact Fatigue) which result from the friction in
and 90% are due to railway cracks [1]. Railway track cracks high-speed railways. Another common set of defects is the one
could be inspected by human personnel; however, this is resulting from the local climate condition and infrastructure
not only time consuming, but also the accuracy is subjective peculiarities. High temperature and humid climate, as in Qatar,
since not all cracks are identifiable by naked eyes. As Qatar causes buckling and heat kinks – also know as sun kinks - in
Rail has launched the first trains in Qatar recently, it is very rail tracks. Defects like broken railway tracks or sun-kinks are
important to look for maintenance systems that suits Qatar’s more crucial than a loose ballast or growth of vegetation.
climate for railway track inspections. This demand requires
inspection systems that will continuously inspect the status of B. Railway Track Inspection Methods
all tracks over Qatar and issue immediate maintenance alerts Railway track inspection methods are either contact-based
to avoid accidents. Over the years, machine-driven inspection which are known as NDT (Non Destructive Testing), or non-
systems proved to offer a solution for faster inspection and contact based methods which is based on analyzing images
maintenance. Such inspection systems are common in their or videos of the rail-track. Some examples of each type is:
ability in finding cracks in the rail tracks, as well as the
crack’s location, which helps the maintenance team to reach
and rectify the crack in lesser time.
628
Authorized licensed use limited to: INSTITUTE OF ENGINEERING & MANAGEMENT TRUST. Downloaded on February 27,2025 at 16:20:25 UTC from IEEE Xplore. Restrictions apply.
Fig. 1. The Block diagram of the Proposed System
629
Authorized licensed use limited to: INSTITUTE OF ENGINEERING & MANAGEMENT TRUST. Downloaded on February 27,2025 at 16:20:25 UTC from IEEE Xplore. Restrictions apply.
TABLE I TABLE III
C ONVOLUTION AND MAXPOOL LAYERS ’ DETAILS E VALUATION RESULTS
A. Experimental Setup
The proposed method is implemented on MATLAB R2019
and tested on Type-I dataset [3] [8] which consist of normal
and defected rail-tracks grayscale images. Type-I dataset has
67 images captured from express rails. Most of the images in
the dataset consist of different types of challenging defects;
however, the availability of normal railway track images is
very scarce. This small number of available images makes Fig. 4. Type-I Normal samples
training and evaluating the neural network very challenging.
To solve this problem, the dataset was inflamed by cropping
the original images of size 1000 x 160 to multiple images of
size 160 x 120, and each image is rotated in all directions as
well as mirrored. Also, brightness is adjusted in all images.
This step resulted in a larger number of images to better train
the neural network. Images in the dataset are then classified
into two classes: normal and abnormal. TABLE II shows
the number of images in each class. Fig. 4 and Fig. 5 show
some images from Type-I dataset. Fig. 5. Type-I Abnormal samples
630
Authorized licensed use limited to: INSTITUTE OF ENGINEERING & MANAGEMENT TRUST. Downloaded on February 27,2025 at 16:20:25 UTC from IEEE Xplore. Restrictions apply.
[11] C. Taştimur, M. Karaköse, E. Akın, and İ. Aydın, “Rail defect detection
with real time image processing technique,” in 2016 IEEE 14th Inter-
national Conference on Industrial Informatics (INDIN). IEEE, 2016,
pp. 411–415.
[12] C. Taştimur, E. Akın, M. Karaköse, and İ. Aydın, “Detection of rail faults
using morphological feature extraction based image processing,” in 2015
23nd Signal Processing and Communications Applications Conference
(SIU). IEEE, 2015, pp. 1244–1247.
[13] K. O’Shea and R. Nash, “An introduction to convolutional neural
networks,” arXiv preprint arXiv:1511.08458, 2015.
[14] M. C. Nakhaee, D. Hiemstra, M. Stoelinga, and M. van Noort, “The
recent applications of machine learning in rail track maintenance: A
survey,” in International Conference on Reliability, Safety, and Security
of Railway Systems. Springer, 2019, pp. 91–105.
R EFERENCES
[1] N. Mahfuz, O. A. Dhali, S. Ahmed, and M. Nigar, “Autonomous railway
crack detector robot for bangladesh: Scanobot,” in 2017 IEEE Region
10 Humanitarian Technology Conference (R10-HTC). IEEE, 2017, pp.
524–527.
[2] Q. Li, Z. Zhong, Z. Liang, and Y. Liang, “Rail inspection meets big
data: methods and trends,” in 2015 18th International Conference on
Network-Based Information Systems. IEEE, 2015, pp. 302–308.
[3] Q. Li and S. Ren, “A real-time visual inspection system for discrete
surface defects of rail heads,” IEEE Transactions on Instrumentation
and Measurement, vol. 61, no. 8, pp. 2189–2199, 2012.
[4] Y. Jiang, H. Wang, G. Tian, Q. Yi, J. Zhao, and K. Zhen, “Fast
classification for rail defect depths using a hybrid intelligent method,”
Optik, vol. 180, pp. 455–468, 2019.
[5] M. Kumar, M. S. Murali, M. Saranya, S. Arun, and R. Jayakrishnan,
“A survey on crack detection technique in railway track,” in 2018
Conference on Emerging Devices and Smart Systems (ICEDSS). IEEE,
2018, pp. 269–272.
[6] M. C. Nakhaee, D. Hiemstra, M. Stoelinga, and M. van Noort, “The
recent applications of machine learning in rail track maintenance: A
survey,” in International Conference on Reliability, Safety, and Security
of Railway Systems. Springer, 2019, pp. 91–105.
[7] X. Gibert, V. M. Patel, and R. Chellappa, “Robust fastener detection
for autonomous visual railway track inspection,” in 2015 IEEE Winter
Conference on Applications of Computer Vision. IEEE, 2015, pp. 694–
701.
[8] J. Gan, Q. Li, J. Wang, and H. Yu, “A hierarchical extractor-based visual
rail surface inspection system,” IEEE Sensors Journal, vol. 17, no. 23,
pp. 7935–7944, 2017.
[9] B. Sambo, A. Bevan, and C. Pislaru, “A novel application of image
processing for the detection of rail surface rcf damage and incorporation
in a crack growth model,” 2016.
[10] M. Karakose, O. Yaman, M. Baygin, K. Murat, and E. Akin, “A
new computer vision based method for rail track detection and fault
diagnosis in railways,” International Journal of Mechanical Engineering
and Robotics Research, vol. 6, no. 1, pp. 22–17, 2017.
631
Authorized licensed use limited to: INSTITUTE OF ENGINEERING & MANAGEMENT TRUST. Downloaded on February 27,2025 at 16:20:25 UTC from IEEE Xplore. Restrictions apply.