A Swin transformer-based real-time traffic sign recognition framework with multi-vehicle camera height validation and an integrated voice alert system
Real-time traffic sign recognition (TSR) remains a key challenge in intelligent transportation systems (ITS), particularly for edge computing deployment under real-world conditions. Introducing SwinT-TSR, a new hierarchical Swin Transformer-based framework for detecting, classifying, and vocally announcing Indian traffic signs from two vehicle-mounted camera height configurations: Light motor vehicle (LMV) − 0.9 m and Heavy motor vehicle (HMV) − 1.6 m. In recent years, deep learning has become the prevailing standard for object recognition tasks, with transformer architectures increasingly outperforming convolutional models on large-scale vision benchmarks. The proposed framework is trained and validated on the Indian Road Traffic Sign Detection Dataset (IRTSD-DatasetV1), comprising 5,141 images across 37 sign classes from over 90 Indian cities, augmented with two purpose-built custom datasets totalling 6,560 images, yielding a combined 11,701 annotated images. SwinT-TSR combines shifted-window multi-head self-attention (SW-MSA) with a Residual Convolutional Attention Module (RCAM) neck, achieving enhanced multi-scale feature extraction without the quadratic cost of global self-attention. A monocular distance estimation module computes real-time sign-to-vehicle distance, relaying via a Text-to-Speech (TTS) voice pipeline on a Raspberry Pi 5. In head-to-head tests with you only look once (YOLO) v8n, YOLOv11n, and EfficientDet-Lite2, SwinT-TSR posts a 96.8% mean average precision (mAP@50) at 18.9 frames per second (FPS) on the same Pi 5, now paired with a Hailo-8 L neural processing unit (NPU). Applying these insights to practical considerations of the vehicle-height study, raising the camera from 0.9 m to 1.6 m results in a 2.7% drop in mAP and 43.1% drop in average bounding-box pixel area (from 2,784 px² to 1,584 px²; a 24.5% linear dimension decrease), which can guide optimal mounting positions for a mixed fleet of vehicles. The results demonstrate that transformer-based architectures outperform CNN-heavy detectors for real-time edge-deployed TSR applications, and the performance gains are feasible, as 96.8% detection accuracy at 18.9 FPS and sub-500 ms auditory alert latencies on low-cost edge hardware enable actionable hazard warnings to happen within critical human reaction time margins, making the proposed framework a feasible advanced driver assistance systems (ADAS) for complex traffic environments.
Authors
- Hyung-Keun Park
- Yuvaraj Natarajan (ORCID: https://orcid.org/0000-0002-0422-8374)
- Chan-Jeong Park (ORCID: https://orcid.org/0000-0002-6355-6343)
- Kathiresan Kandasamy
- Sri Preethaa K R
- Bubryur Kim
- Karthic Sundaram
Institutions
- SRM Institute of Science and Technology (IN)
- Kyungpook National University (KR)
- Vellore Institute of Technology University (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-11-26
- DOI
- https://doi.org/10.1038/s41598-026-79813-3
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00