Next-Generation Optical Automatic Train Protection (ATP) & Railway Clearance Perception Engine. Augmenting Indian Railways Kavach with real-time semantic track segmentation and vector geometric physical sabotage detection.
Traditional Automatic Train Protection (ATP) systems such as Indian Railways Kavach (TCAS) rely on fixed track circuits, axle counters, and RFID transponders to prevent Signal Passed at Danger (SPAD) and train collisions. However, they are inherently blind to unexpected physical track obstructions — including deliberate rail sabotage (placed girders, rods, fishplates), fallen storm trees, boulders, stalled level-crossing vehicles, and human trespassers.
Drishti-Kavach (Hindi: Shield of Vision) introduces an autonomous forward-looking optical perception envelope. By decoupling high-speed pixel-dense track gauge segmentation from localized physical hazard detection, and cross-referencing their spatial coordinates through polygon vector geometry, it provides instantaneous driver warning and automatic emergency brake triggering.
| Threat Tier | Geometric Spatial Condition | Safety Action |
|---|---|---|
| CRITICAL | Hazard Footprint Overlaps Drivable Track / Rails | ATP Emergency Brake |
| WARNING | Hazard Within Lateral Clearance Buffer Zone | Driver Audio-Visual Alert |
| CLEAR | Obstacle Outside Structural Clearance Envelope | Telemetry Log Only |
Drishti-Kavach solves the latency-accuracy tradeoff through a decoupled dual-engine architecture: a lightweight bilateral segmentation network isolates the drivable rail gauge while a fine-tuned detector localizes hazards in parallel.
Evaluated across the 8,500-image RailSem19 benchmark and UAV-RSOD railway sabotage dataset under both daylight RGB and active 850nm NIR conditions.
| Subsystem | Model Architecture | Resolution | Parameters | Primary Metric | Benchmark Score |
|---|---|---|---|---|---|
| Track Bed Segmentation | BiSeNetV2 (Universal) | 512 × 1024 | ~3.49M | Track Bed IoU | 89.5% |
| Rail Ribbon Segmentation | BiSeNetV2 (Universal) | 512 × 1024 | ~3.49M | Rail Lines IoU | 68.5% |
| Unified Semantic Segmenter | BiSeNetV2 (Universal) | 512 × 1024 | ~3.49M | Mean IoU (mIoU) | 86.0% |
| Obstacle & Sabotage Detector | YOLO11m (8-Class Custom) | 1024 × 1024 | ~20.1M | mAP@50 | 60.8% |
| End-to-End Pipeline Speed | Decoupled Dual-Engine | 1080p Stream | Total Engine | Total Latency / FPS | < 22ms (>45 FPS) |
To empirically stress-test our v1.0 perception engine before scaling to full-track datasets, we engineered a high-fidelity physical miniature scale reproduction of Whitefield Railway Station. This controlled testbed enabled rigorous comparative evaluation across multiple candidate vision models under simulated lighting and physical obstruction scenarios to select the optimal architecture blend.
Custom physical fabrication recreating multi-track junctions, sleeper geometry, platforms, and switch turnouts for continuous sensor prototyping, lens calibration, and camera mounting optimization.
Live deployment of our v1.0 perception model under simulated physical foreign object debris, ballast displacement, and rapid rolling stock transit to test detection robustness.
Systematic multi-model evaluation across candidate backbones to pick out and benchmark which architecture fits best (balancing latency, memory footprint, and edge compute efficiency) before committing to full-scale training on massive railway datasets.
We tried running our final built machine learning model on a locomotive camera test video, and this was the result — performing real-time track semantic segmentation, corridor clearance boundary estimation, and active rail collision zone prediction.
Engineered by Team Git Commit at MVJ College of Engineering. Dedicated to advancing railway AI safety for India.
To validate our perception architecture against real-world operational environments, our team visited the South Western Railway (SWR) headquarters and divisional facilities. We formally demonstrated the Drishti-Kavach optical ATP engine to railway officials and submitted official proposals requesting permission to conduct live on-track sensor calibration, multi-spectral camera evaluation, and real-time obstacle detection tests across active railway stations, locomotive yards, and level crossings.
All training routines, model checkpoints (BiSeNetV2 & YOLO11m), spatial reasoning engines, test scripts, and documentation are openly available on GitHub under the MIT License.