Deep Learning based Virtual Point Tracking for Real-Time Target-less Dynamic Displacement Measurement in Railway Applications

Dachuan Shi, Eldar Sabanovic, Luca Rizzetto, Viktor Skrickij, Roberto Oliverio, Nadia Kaviani, Yunguang Ye, Gintautas Bureika, Stefano Ricci, Markus HechtarXiv 2021

Abstract

Monitoring track geometry is essential for railway safety, yet measuring the lateral displacement of wheels on rails (LDWR) remains a significant challenge due to complex wheel motions and harsh environmental conditions. This paper presents a target-less computer vision system that utilizes a lightweight deep learning model, LightPointNet, integrated with a physics-based rule engine. By employing integral regression for sub-pixel accuracy and optimizing for edge hardware, the system achieves real-time performance at 39 FPS with a measurement uncertainty of approximately 2 mm. This approach eliminates the need for physical markers, providing a robust solution for dynamic displacement measurement in operational railway environments.

Introduction: The Challenge of Lateral Displacement

Maintaining track geometry (TG) is a cornerstone of railway safety and maintenance protocols. While vertical irregularities are effectively monitored using standard accelerometers, capturing the Lateral Displacement of the Wheel on the Rail (LDWR) is considerably more difficult. Train wheels possess a degree of lateral freedom (clearance) and exhibit complex "hunting motions"—oscillatory movements that are difficult to reconstruct through inertial sensors alone.

Lateral displacement ($y_{max}$) between the wheel flange and the railhead.

Traditional computer vision approaches to this problem typically rely on "optical targets"—physical markers or stickers attached to the wheel or rail. However, these targets are prone to degradation or loss in the high-speed, high-vibration, and debris-filled environment of an active railway. Existing target-less methods, such as template matching, often struggle with "visual noise" caused by changing illumination, rust, vegetation, and flying ballast.

Complex lateral "hunting motion" of wheelsets on a track.

Methodology: A Three-Step Edge-Optimized Pipeline

To address these challenges, the researchers developed a robust, real-time pipeline designed specifically for edge computing deployment:

  1. Off-line Automatic Calibration: A modified YOLOv3-tiny model is used to identify the Region of Interest (RoI), focusing on the critical contact area between the wheel and the rail within high-resolution 1080p video frames.
  2. On-line Point Detection (LightPointNet): The core of the system is LightPointNet, a lightweight encoder-decoder CNN. It detects three "virtual points": one on the wheel flange ($P_w$) and two on the railhead ($P_{r1}, P_{r2}$). To achieve the millimeter-level precision required for engineering applications, the model utilizes integral regression (Soft-argmax). This technique enables sub-pixel accuracy by estimating coordinates between discrete pixels, overcoming the quantization errors inherent in standard heatmap-based detection.
  3. On-line Point Tracking via Rule Engine: A physics-based rule engine acts as a "sanity check" for the AI's output. By incorporating domain knowledge—such as the fact that rail width remains constant—the engine can filter out or correct implausible data jumps caused by temporary occlusions like passing grass or extreme lighting changes.

Experimental Setup and Datasets

The system was validated using real-world data from field tests conducted in Italy (utilizing the Aldebaran 2.0 track recording coach) and Lithuania. The dataset comprised 767 manually annotated images, expanded to 3,835 through cropping. To ensure robustness, the authors applied extensive data augmentation, simulating harsh conditions such as motion blur, defocus, snow, frost, and fog. The performance of LightPointNet was benchmarked against several established architectures, including PoseResNet and BlazePose.

Key Insights: The Synergy of AI and Physics

The primary innovation of this work lies in the hybrid approach combining deep learning with a rule engine. While the CNN excels at feature extraction from noisy backgrounds, the rule engine ensures physical consistency. This allows the system to maintain tracking even during brief periods of visual interference that would typically cause a pure deep learning model to fail.

Furthermore, the "edge-first" design philosophy was critical. By optimizing the model for the Nvidia Jetson TX2 using TensorRT (converting to 8-bit representations), the researchers increased the processing speed from 20 FPS to 39 FPS, enabling true real-time monitoring at operational speeds.

Results and Performance

  • Real-Time Efficiency: LightPointNet achieved 39 FPS on edge hardware, significantly outperforming template-matching baselines (18 FPS) and more complex models like PoseResNet (26 FPS).
  • High Precision: The system maintained a measurement uncertainty of approximately 2 mm. It demonstrated superior reliability compared to BlazePose, particularly in minimizing missed detections.
  • Robustness in the Field: During tests in complex environments—including switches, crossings, and workshops—the rule engine effectively filtered out anomalous detections, preventing spurious spikes in displacement data.

Conclusion and Future Directions

While the system represents a significant advancement in target-less railway monitoring, some limitations remain. The precision of the model is currently bounded by the "label noise" inherent in manual annotation of grainy video. Future work will focus on diversifying the training data to improve generalization across different track environments and integrating vision-based data with accelerometer readings. This multi-sensor fusion aims to provide an even more comprehensive and high-accuracy profile of track geometry.

Summary updated

BibTeX
@misc{shi2021deep,
  author = {Dachuan Shi and Eldar Sabanovic and Luca Rizzetto and Viktor Skrickij and Roberto Oliverio and Nadia Kaviani and Yunguang Ye and Gintautas Bureika and Stefano Ricci and Markus Hecht},
  title = {{Deep Learning based Virtual Point Tracking for Real-Time Target-less Dynamic Displacement Measurement in Railway Applications}},
  year = {2021},
  eprint = {2101.06702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.06702},
}
Figure