1. Introduction
Railway rails experience more loading cycles than those of the conventional road pavements because of the repeated rolling contact between the steel wheels and steel rails. Under such conditions, high-contact forces are concentrated within a limited wheel–rail contact area. Consequently, the induced contact stress often exceeds the yield strength of the rail steel, causing plastic deformation and initiating crack formation. Continuous exposure to rolling contact fatigue (RCF) accelerates crack propagation over time, necessitating systematic inspections and diagnostic procedures to prevent rail failure.
Although recently established Detailed Guidelines for the Performance Evaluation of Track Facilities specify procedures for track condition assessment, current rail damage detection and grading practices rely largely on visual inspection. These methods are inherently subjective because they depend on the experience of the inspector, resulting in qualitative rather than quantitative evaluations [
1,
2].
To address this limitation, a matched dataset of rail surface damage images and corresponding internal damage images was constructed, followed by testing a deep learning model. For model validation, a rail damage image dataset consisting of 2500 rail surface damage images obtained from field inspections was developed. The damaged rail segments were extracted from the site, and scanning electron microscopy (SEM) tests were performed to acquire 2500 internal damage images. A total of 5000 images were collected for training.
The experimental results indicated an average detection accuracy of 94.9%, confirming that the Fast regional convolutional neural network (R-CNN) model identified rail damage effectively and demonstrated superior recognition performance compared with conventional algorithms. A deep learning-based rail damage diagnostic application was developed based on these results. Using the developed smartphone application, users can capture rail surface images, which are analyzed to quantitatively assess the type and extent of rail damage based on learned patterns.
This study focused on evaluating rail damage using ANN-based image analysis. This research involved enhancing the image data to accurately assess the extent of both surface and internal rail damage, constructing a comprehensive training dataset and evaluating the suitability and field applicability of deep learning models. Through the development of a deep learning-based rail damage diagnostic application, this study presents an analytical approach that can effectively evaluate both surface and internal rail damage. This process encompasses the enhancement of image datasets, dataset construction, verification of model suitability, and on-site applicability, and the proposal of an optimal analytical method for comprehensive rail damage evaluation.
This study proposes a novel smartphone-based quantitative diagnostic platform—the first of its kind—aimed at verifying the field applicability of rail damage detection while minimizing inspector-dependent errors. The experimental results, presented here for the first time, reveal that the system effectively limits human error to within 0.2–1.5%, ensuring high objectivity in railway safety management.
Previous studies predominantly focused on coating tests and numerical simulations addressing rail surface damage mechanisms, dynamic responses, and material characteristics; however, research addressing internal defects related to rail surface damage remains limited [
3,
4,
5,
6]. Choi [
3] introduced a dynamic model that incorporates wheel–rail interaction forces and provided a qualitative assessment of the dynamic behavior of ballasted railway tracks. Grassie [
7] analyzed frequency ranges associated with the corrugation mechanism and demonstrated that rail corrugations with similar wavelengths can occur at different locations because of distinct mechanisms based on the train speed [
7]; the characteristics, causes, and potential mitigation measures of corrugation were also analyzed [
7]. Damme et al. [
8] numerically investigated changes in contact geometry and stress distributions as a function of wheel–rail contact position and wear [
8]. Baeza et al. [
9] developed a wheel–rail contact analysis methodology that considers various influencing parameters, including the contact position, and they proposed a railway dynamic simulation model based on the elastic contact theory [
9]. Franklin et al. investigated RCF and wear phenomena, focusing on the effects of head checking defects on wheel–rail interaction and the associated derailment risks [
10]. Further, they demonstrated that the application of railhead coatings using two novel materials could improve durability, extend service life, and enhance RCF resistance [
10]. Conner [
11] studied the applicability and limitations of the RCF and fracture mechanics-based life prediction. Donzella et al. [
12] experimentally investigated the competitive relationship between wear and RCF at the wheel–rail contact interface, providing empirical evidence.
Steyn [
13] conducted a comprehensive review of rail grinding and milling technologies; examined their operational mechanisms, benefits, and limitations; and suggested potential enhancements through advanced milling and high-speed polishing techniques. Mihai [
14] analyzed railway noise generation mechanisms and identified wheel–rail contact during train operation as a primary source; further, they demonstrated that noise distribution varies with train speed and dynamic wheel–rail forces significantly affect railway noise. Popović et al. [
15] categorized rail defects induced by RCF, reviewed the classification codes proposed by the International Union of Railways, and analyzed existing RCF defect classification frameworks. They emphasized the necessity of aligning such classification systems with European standards [
15].
Zerbst et al. [
16] examined the major cracks and damage mechanisms in railways by analyzing various load conditions, including contact, thermal, and residual stresses, along with the damage types, failure scenarios, and crack propagation stages. Ndao [
17] developed an automated rail inspection method to detect fatigue damage, such as squats and head checks, on rail head surfaces. Using laser ultrasonics and electromagnetic acoustic transducers, this study experimentally verified the effectiveness of a noncontact surface acoustic wave detection method [
17]. Nielsen et al. [
18] investigated the causes and effects of extended wavelength (out-of-roundness) issues such as polygonalization in railway wheels. They proposed experimental detection technologies, numerical models, defect-removal criteria, and damage-mitigation strategies. Ishida et al. [
19] demonstrated that applying lubrication to sharp curves reduces friction and wear effectively, decreases energy consumption, and contributes to derailment prevention and noise mitigation [
19]. Kaewunruen [
20] analyzed the effects of dynamic loading on the structural degradation in railway turnouts and proposed methods to monitor degradation within urban rail networks. Sresakoolchai et al. [
21] utilized deep learning approaches to detect and diagnose complex railway defects with high accuracy by training and validating models using simulated acceleration data [
21].
Yang et al. [
22] emphasized the importance of understanding the wheel–rail dynamic interaction for improving railway capacity, providing a comprehensive discussion on its effects, modeling techniques, defect detection methods, and maintenance strategies.
In this study, rail samples were extracted from sections that exhibited surface damage during on-site inspections. Representative damage types were identified from field surveys, and three 20 m rail segments were cut and retrieved during train service suspension periods. The extracted rail sections were processed into specimens indicating characteristic damage regions. High-resolution surface images were obtained through laboratory inspections, and internal damage features were captured using SEM. The SEM observations enabled a detailed examination of the subsurface crack characteristics. A comprehensive training dataset was established based on the collected surface images and SEM-derived internal damage data. The rail defects were classified into headcheck and spalling categories, and a fast R-CNN-based deep learning model was implemented for automated damage detection. A quantitative deep learning framework was developed to represent the internal damage state of railway rails using this approach. This model enables detecting internal rail damage, which is often difficult for inspectors to assess using only rail surface images. The classification and application of the training dataset were conducted in accordance with the rail damage criteria specified in the “Detailed Guidelines for Track Facility Performance Evaluation” in Korea [
1,
2]. Furthermore, a smartphone-based rail damage diagnostic application was developed to bridge the gap between theoretical models and field maintenance. By matching surface images captured on-site with a cloud-based big data repository of internal damage features, the application provides inspectors with quantitative metadata—such as crack depth, length, and angle—enabling more scientific and proactive maintenance strategies. This system significantly reduces human error inherent in conventional visual inspections and ensures consistency across different evaluators. The remainder of this paper is organized as follows:
Section 2 details the field investigation of various rail damage types and defines the terminology for load and stress directions.
Section 3 describes the laboratory investigation using Scanning Electron Microscopy (SEM) to analyze the correlation between surface defects and subsurface crack propagation.
Section 4 explains the construction of the deep learning training dataset and the architecture of the Fast R-CNN model used for damage classification.
Section 5 presents the development of the rail damage diagnostic application and its field applicability and reliability assessment. Finally,
Section 6 summarizes the research findings and suggests directions for future work. While we utilized a robust model architecture, the scientific novelty of this research resides in the original dataset protocol, the quantitative human-AI performance benchmarking, and the proposal of a data-driven predictive maintenance framework.
4. Building Deep Learning Training Data
4.1. Overview
Machine learning approaches differ in terms of the amount of training data required, complexity of the algorithm, training time, and interpretability; further, each approach is suitable for specific problems. To construct the training dataset, the surface damage images of the rails (such as cracks, spalling, and wear) were matched with the internal damage images obtained from SEM testing. The images were captured under various lighting and environmental conditions using a camera, and the damage types were classified by labeling. Deep learning-based image analysis demonstrates improved accuracy with an increase in the volume of visual data; deep learning models are sensitive to the size of the dataset compared to that of traditional machine learning. Although the training time is longer and model complexity is higher, introducing a structure optimized for rail damage pattern recognition can deliver effective performance. When internal rail defects such as cracks are visualized and used as training data, the interpretation may be challenging. However, deep learning models are advantageous for automatically learning internal structural patterns.
Traditional machine learning requires significant human intervention during the feature-extraction stage, while deep learning can automatically extract and learn complex internal structures. Although this reduces interpretability, it improves predictive accuracy, making it well-suited for highly complex internal damage. Accordingly, model designs optimized for structural complexity are required. Recently, in the field of facility defect detection, event camera-based feature separation and image restoration technology in bad weather or blurry environments are being studied in combination with deep learning models to perform precise diagnosis even in irregular environments. In particular, there is a trend toward maximizing the accuracy of defect measurement through advanced segmentation techniques utilizing Mamba architecture or hybrid machine learning [
23,
24,
25,
26,
27]. In this study, a matched dataset of rail surface and internal damage images was constructed for developing an integrated diagnostic system. Rail damage encompasses a wide range of defect types, and therefore, it is essential to ensure sufficient data volume and diversity, enabling the full utilization of the hierarchical architecture and multi-input processing capabilities of deep learning models. Although the training time is long and the algorithmic complexity increases, deep learning is advantageous for specific tasks such as multidamage diagnosis. Leveraging integrated datasets, the system can achieve higher diagnostic accuracy and broader applicability than single-image approaches. Based on these insights, this study seeks to develop a neural-network-based rail damage diagnostic application that utilizes deep learning models.
4.2. Building Damage Scale Data by Rail Damage Type
As illustrated in
Figure 17, the surface and internal rail damage are matched and constructed as training data for the deep learning model.
The dataset was developed by investigating Rolling Contact Fatigue (RCF) damage on operational urban railway lines in South Korea. The two most prevalent damage types identified were Headcheck and Spalling, which formed the core of our training data. To ensure a rigorous one-to-one correspondence, we implemented a precise cross-sectional matching protocol as shown in
Figure 17. Labeling: Specific sections on the rail surface were marked as C-sections (Crosswise) and L-sections (Lengthwise). Data Matching: Each marked surface image was then subjected to Scanning Electron Microscopy (SEM) after physical sectioning. This allowed us to directly link the visual surface characteristics with the actual internal crack morphology (internal damage image) for every single specimen. The internal damage characteristics—specifically crack length, depth, and propagation angle—were quantitatively extracted from the SEM images. Furthermore, in accordance with the Korean Rail Facility Performance Evaluation Guidelines, we subdivided the damage types into Headcheck (Types A and B) and Spalling (Types C and D). Paired Samples: 2500 unique damage locations were identified and analyzed. Image Count: Each location consists of one surface image and one corresponding SEM internal image. This resulted in 2500 strictly paired sets, totaling 5000 images (2500 surface + 2500 internal). They were subsequently applied to the development of a rail damage diagnostic application.
4.3. Fast R-CNN
As illustrated in
Figure 18, rail surface images containing cracks are processed using the Fast R-CNN framework, wherein features are extracted using CNN and subsequently passed to the region proposal network (RPN) and object classifier [
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40]. The RPN generates candidate regions with corresponding objectiveness scores, whereas region of interest (ROI) pooling standardizes region sizes prior to classification. Finally, the detected defects are output as bounding boxes.
Applying deep learning-based analysis to rail surface damage images can significantly reduce the human error associated with conventional visual inspections, providing inspectors and infrastructure managers with reliable and objective diagnostic information.
4.4. Model Learning and Experimental Environment
The collected dataset was split into training, validation, and test sets in a ratio of 8:1:1. To supplement insufficient training data and address overfitting, we used ImageDataGenerator (TensorFlow version 2.7) for data augmentation. The 2500 paired samples were partitioned into training, validation, and test sets at an 8:1:1 ratio. In this study, data acquisition was conducted in accordance with the Guidelines for Regular Inspection of Railway Facilities in South Korea. Due to the operational characteristics of the Korean railway system, where detailed internal diagnoses via inspection cars must be completed within strictly limited maintenance windows (train stop times), the focus is placed on diagnosing discrete, localized damage points identified during visual inspections. Consequently, rather than grouping by continuous rail segments, we utilized 2500 independent damage locations (1250 Headcheck and 1250 Spalling cases) verified by track diagnostic experts to ensure the diversity of damage morphologies in the training process. Random rotation, brightness adjustment, shear, zoom, and horizontal/vertical flipping were applied to enhance the robustness of the training model. Key hyperparameters for Fast R-CNN model training were set to 0.001 for the learning rate and 32 for the batch size. We set a maximum of 500 epochs for model training, but set the Early Stopping Patience to 20 to halt training if the validation loss does not improve. All experiments were conducted using Python 3.9.16 within the PyCharm 2021.3 integrated development environment. The computing platform included a Windows 11 operating system, Intel i5-13,600 K CPU, NVIDIA GeForce RTX 4060 Ti GPU, and 128 GB of RAM, as summarized in
Table 3. The Fast R-CNN model was implemented using Keras (v2.9.0), with CUDA v12.2 and cuDNN v8.9.0 utilized for GPU acceleration.
The model performance was evaluated using true positive (TP), true negative (TN), false positive (FP), and false negative (FN) metrics derived from the validation dataset. TP, FP, FN, and TN represent the correctly identified crack images, noncrack images incorrectly classified as cracks, crack images incorrectly classified as noncracks, and correctly classified as noncrack images, respectively.
The detection performance of the proposed algorithm is assessed using a confusion matrix, as defined in
Table 4. TP, FP, FN, and TN indicate correct detection, incorrect detection, missed detections, and correct rejection of nontarget objects, respectively. The recall, precision, and accuracy were defined based on the TP, FP, FN, and TN values. The performance evaluation assesses the suitability of a deep learning model using
Recall,
Precision, and
Accuracy.
Recall is the ratio of items that are actually true that were correctly detected by the model and can be expressed as
Precision is the ratio of items detected to be true by the model that are actually true and can be expressed as
Accuracy evaluates the ratio of correct predictions to the total predictions made. The values were examined and analyzed to increase
Accuracy, which is expressed as
4.5. Deep Learning Model Suitability Analysis
Figure 19 presents the precision–confidence graph, which shows the mean precision of the correctly detected object boxes relative to the predicted object boxes from the validated model.
Figure 20 presents the recall–confidence graphs, which show that the F1-score reaches 92% at a confidence level of 0.214 and remains as high as 88%, even at a confidence level of 0.8.
Figure 21 compares the performances of the support vector machine (SVM) and Fast R-CNN. At a threshold of 0.5, Fast R-CNN achieved a detection accuracy of 94.9%, whereas SVM achieved only 67.2%. In addition, the precision and recall across all classes exceeded 92% and 90% at confidence levels of 0.85 and 0.72, respectively.
Table 5 lists the comparison of the test results of the SVM and Fast R-CNN.
Field surveys were conducted in sections with rail damage, and rail samples were extracted from these locations. Laboratory tests were performed to analyze the characteristics of internal rail damage. A training dataset was constructed based on the field images and SEM analysis results, and the damage types were categorized into two classes: headcheck and spalling. Further, using this dataset, a deep learning-based diagnostic model was developed by applying a Fast R-CNN algorithm for model training.
As shown in
Table 6, a defect class within the top k search results was defined as a correct match if it included both the actual defect label of the input image and the correct defect class among the top k search results. In this study, detection performance was evaluated based on mAP during the object detection phase, and search performance was evaluated based on Top-k accuracy during the application phase, thereby comprehensively analyzing the overall system performance.
Rail damage detection was achieved through model parameter tuning, dataset construction, and model training. An experimental analysis confirmed that the developed model could detect rail damage and effectively identify the damage types. This study developed a deep learning model using Fast R-CNN based on image data collected through field surveys and laboratory testing and implemented it in a diagnostic application.
The proposed model shifts rail damage diagnostics from labor-driven qualitative assessments toward training data-based prediction and diagnosis, with the potential for the systematic management of diagnostic histories. This approach can enhance public safety, advance safety-focused technologies, and serve as a preventive diagnostic system that can address expensive repairs, reinforcements, derailments, and fracture accidents. Compared to traditional inspection and maintenance methods (e.g., labor-intensive visual inspections), this approach can reduce maintenance costs while improving the practical value of diagnostic data. By applying a deep learning-based analytical technique to rail damage image data, this study also minimizes the potential for human error inherent in visual inspections and provides more reliable information to managers and inspectors. Consequently, the accuracy of rail damage diagnostics can be improved, and risk prediction based on damage progression can help prevent major accidents and reduce social costs.
The findings of this study indicate that the systematic big data archiving of rail damage conditions and inspection results can be achieved. This framework is expected to enable the scientific tracking of track damage histories and significantly improve the reliability of future track diagnostics.
5. Rail Damage Diagnostic Application
5.1. Overview
Railway rails undergo progressive deterioration because of an increase in their service life. This steadily raises maintenance costs, not only to ensure train operation safety but also to sustain usability and performance. The recently established Detailed Guidelines for the Performance Evaluation of Track Facilities provide the essential procedures and requirements for conducting track performance assessments. However, rail damage diagnosis and grading primarily employ visual inspection, which inevitably relies on subjective judgments of the inspector, making it a qualitative evaluation method. Further, the safety performance indicators currently used to assess rail damage and assign condition grades depend largely on the visual inspection conducted by the inspector, making subjective judgment unavoidable.
To overcome these limitations, this study applied an ANN-based deep learning model for object detection and segmentation to effectively extract crack images. A learning model based on deep neural networks can help address overfitting issues in ANNs and has demonstrated outstanding performance and versatility in processing unstructured data in computer vision, speech recognition, natural language processing, and image analysis [
25]. Thus far, various models have been developed for different application domains, including CNN. Among these, CNNs are effective for image-related tasks. The Fast R-CNN model used in this study can accurately recognize and analyze complex image data such as crack images, and it has been widely applied in related research fields.
Fast R-CNN is a deep learning model that specializes in solving image recognition problems in computer vision. It was trained through supervised learning, and the parameters of the CNN were automatically adjusted according to the training data. Fast R-CNN employs convolutional structures for extracting features from images, which are widely used in image recognition and various feature-extraction fields such as signal processing. Convolutional structures effectively extract high-level features from images that are essential for handling complex image recognition tasks. This structure enables the Fast R-CNN to provide accurate and efficient image classification and object detection and play a vital role in a wide range of computer vision applications.
The model architecture includes two primary components:
Convolutional layers, which extract features from raw pixel data and identify abstract and high-level characteristics. These layers process localized regions in the image and aggregate them to capture the overall features of the image.
Extracted features, which pass through fully connected layers that classify the images based on learned patterns and relationships. This enables the network to effectively classify images by learning complex patterns.
In this study, a dataset was classified and applied according to the rail damage criteria specified in the Detailed Guidelines for Track Facility Performance Evaluation to develop a rail damage diagnostic application applicable to real inspection environments. In addition, machine-learning algorithms were designed to effectively identify the point at which rail damage reaches the evaluation threshold.
Unlike traditional visual inspection methods that are susceptible to human error owing to subjective judgment, the proposed approach provides more quantitative and reliable data. Consequently, railway managers and inspectors can obtain more accurate and meaningful information for diagnosing rail damage, improving diagnostic precision and enhancing decision making in maintenance planning.
5.2. Development of a Rail Damage Diagnosis Application
A client program was developed to enable inspectors (general users) to detect railway rail damage, along with a server program that deploys the AI model on the AWS.
In this rail damage diagnostic application, users can conveniently capture and edit images of the rail cracks observed in the field. Subsequently, the captured images are transmitted to the server, where the AI model analyzes them to diagnose the type and severity of damage. Two user roles are implemented in the client web program: inspector and administrator. The inspectors can review a list of rail crack images captured and uploaded via the application, while administrators can manage user accounts and oversee the system. Further, the administrators have the capability to retrain the AI model using the uploaded rail crack images, continuously improving the model performance. In addition, administrators can select and deploy the most appropriate AI model for a service, making it available to end users. A mobile application was developed to diagnose rail damages using smart devices, enabling users to capture, edit, and transmit images of damaged rails to the server. Using a deep learning model for rail damage image analysis deployed on a server, inspectors can predict both the type and severity of rail damage. By simply capturing an image, the system assesses the extent of rail damage, including cracks propagating into the rail interior. When inspectors use the application, the entry screen provides a preliminary overview of the damage severity. To support diagnostic accuracy, the application is designed to present tabulated information that visualizes the damage scale according to the rail damage types.
When a user initiates image capture through the application, the system minimizes the distortion of the damage size that can occur when inspectors capture photographs from different angles in the field, as indicated in
Figure 22. To ensure a standardized evaluation, the system incorporates a calibration feature to normalize rail dimensions, enabling a quantitative assessment of the damage scale. During image capture, the upper and lower edges of the railhead need to be positioned within predefined guidelines, which automatically trigger the shutter, ensuring the accurate imaging of the damaged area.
As shown in
Figure 23, the captured rail damage images are analyzed using the deep learning model, which provides a confidence score based on comparison with the training dataset. The diagnostic results classify the damage according to type and severity. For external damage, the system presents two outputs (damage type and damage grade), allowing for a systematic and reliable evaluation.
As illustrated in
Figure 23, the internal damage caused by rail surface defects is displayed in a manner similar to that in the program designed to provide quantitative information on the extent of internal defects by matching them with the training dataset. This enables a more accurate evaluation of the results. In cases where the diagnostic confidence is low, a recapture function is provided to allow users to retake the image and obtain more reliable results for reference. The damage grading system proposed in this study is defined in accordance with the Detailed Guidelines for the Performance Evaluation of Track Facilities. For internal defects, the program quantitatively presents key parameters such as crack length, depth, and angle, enabling a systematic and objective assessment of damage severity. The diagnostic application operates on a matching-based retrieval framework rather than a direct regression-based prediction of crack dimensions. Specifically, the internal crack parameters including length (
), depth (
), and angle (
) are derived by identifying the most statistically similar surface-to-internal data pair from the cloud-based repository of 2500 SEM-validated samples. Once a field-captured image is processed, the system retrieves and assigns the metadata of the optimal match to provide the inspector with a reliable estimation based on proven physical evidence. To evaluate the effectiveness of this retrieval-based diagnosis, the system’s performance was measured using Accuracy, defined as the proportion of correctly identified damage types and matched characteristics out of the total test samples. This metric serves as a comprehensive indicator of the application’s final decision-making reliability in field environments.
5.3. Field Applicability of the Rail Damage Diagnosis Application
5.3.1. Rail Damage Diagnostic Application Reliability Assessment
A survey was conducted among 80 railway sector engineers and experts to verify the reliability and accuracy of the smartphone-based rail-damage diagnostic application developed in this study. The respondents included 40 junior engineers and 40 PhD experts. Each participant visually inspected the same rail surface damage images, and the results were compared with diagnostic outputs generated by the application to evaluate accuracy. The differences in diagnostic accuracy were analyzed according to the level of expertise of the engineers and experts. This evaluation was used to quantitatively assess the practical effectiveness of the rail-damage diagnostic application.
As shown in
Figure 24a, when junior engineers were asked to diagnose a rail surface damage image corresponding to Headcheck A, the results indicated that 12% identified it correctly, while 83% diagnosed it as Headcheck B, and 5% as Spalling C (
Figure 24b). Thus, ~88% of the diagnoses by junior engineers involved human error, with a tendency to underestimate the severity of rail surface damage. When the same image was presented to experts holding doctoral degrees in railway engineering, ~92% correctly identified it as Headcheck A and 8% as Headcheck B (
Figure 24c). The rail damage diagnostic application developed in this study achieved an accuracy exceeding 92%, correctly diagnosing the defect as Headcheck A (
Figure 24d).
Similarly, when the junior engineers were asked to diagnose a rail surface damage image corresponding to Spalling C (
Figure 25a), only 25% correctly identified it as Spalling C. The remaining diagnoses included 8% as Headcheck A, 50% as Headcheck B, and 17% as Spalling D (
Figure 25b). Thus, ~75% of the evaluations by junior engineers contained human error, again suggesting a tendency to underestimate defect severity. Conversely, when experts diagnosed the same image, approximately 87% correctly identified it as Spalling C and 13% as Spalling D (
Figure 25c). The diagnostic application achieved an accuracy exceeding 91%, correctly classifying the defect as Spalling C (
Figure 25d).
These results confirm that the proposed rail damage diagnostic application can provide objective, engineering-based diagnostic results that are not directly influenced by qualitative factors such as the level of expertise of the inspector. In addition, the system can contribute to minimizing human errors during rail-damage inspection.
5.3.2. Field Applicability Evaluation
In this study, field validation was conducted by installing a diagnostic application on three smartphones to perform a rail damage assessment. As shown in the field specifications in
Figure 26 and
Table 7, Field tests were conducted at locations identified as vulnerable to rail damage within a low-vibration track (LVT) system based on historical inspection records.
5.3.3. Diagnostic Process Using the Rail Diagnostic Application
The inspectors capture images of the rail surface using the application. These images are then analyzed by the deep learning model to determine the extent of damage. The system visualizes and quantifies the severity of rail damage by presenting the damage scale in a tabular form according to the different damage types.
When the user initiates image capture using the rail diagnostic application, the system ensures accurate imaging of the damaged rail area. As shown in
Figure 27a, image capture is automatically triggered when the upper and lower edges of the rail head are properly aligned within the on-screen guidelines. After the user completes the image capture (
Figure 27b), a cropping function enables the user to exclude unnecessary areas from the image before proceeding to the next diagnostic step and uploading the image to the server.
The system provides inspectors with similar reference images from the database that correspond to the captured rail damage. As illustrated in
Figure 27c, the internal damage is quantitatively presented in terms of crack length, depth, and angle. If the damage type and associated metadata from the captured image match those stored on the server, the inspector can finalize the diagnosis by selecting the save option. However, if inconsistencies are detected between the captured data and the existing dataset, the system allows the user to perform re-diagnosis through the recapture function, ensuring accurate and reliable diagnostic results.
5.3.4. Rail Damage Diagnosis Results
Field verification was performed by installing the diagnostic application on three smartphones to conduct rail damage assessments. As shown in
Figure 28, the consistency of the diagnostic results was analyzed, and the validity of the diagnostic algorithm was evaluated by comparing the similarity between the results obtained from field testing and the pretrained dataset, assessing both its accuracy and field applicability.
For the field validation of the rail damage diagnostic application, the measurements were conducted at sites where rail damage had occurred. The rail damage was assessed using the diagnostic application installed on-site. Three smartphones were utilized to evaluate the rail damage at multiple measurement locations, enabling a comparative analysis of the diagnostic results across devices.
Considering the actual field conditions during railway track precision inspections and performance evaluations, where multiple personnel are required to assess rail damage, the study analyzed whether deviations in diagnostic results caused by inspector variability (i.e., human error) were within an acceptable range.
As shown in
Figure 29, the standard deviation of the average diagnostic results across the measurement devices (smartphones) ranged from 0.2 to 1.5%, which suggests that discrepancies among devices were negligible. Thus, the field applicability and reliability of the developed rail damage diagnostic system were successfully verified.