Accurate and real-time vehicle detection is a fundamental requirement for smart urban traffic monitoring, particularly in densely populated cities where heterogeneous traffic, frequent occlusion, and severe scale variation challenge lightweight vision systems deployed at the edge. To address these issues, this paper proposes
[...] Read more.
Accurate and real-time vehicle detection is a fundamental requirement for smart urban traffic monitoring, particularly in densely populated cities where heterogeneous traffic, frequent occlusion, and severe scale variation challenge lightweight vision systems deployed at the edge. To address these issues, this paper proposes BDNet, a lightweight YOLOv12-based vehicle detection framework designed to enhance feature preservation, contextual modeling, and multi-scale representation for intelligent transportation systems. BDNet integrates three complementary architectural components: (i) HyDASE, a hybrid detail-preserving downsampling module that mitigates information loss during resolution reduction; (ii) C3k2_MogaBlock, which strengthens long-range contextual interactions through multi-order gated aggregation; and (iii) an A2C2f_FRFN neck, which refines multi-scale features by suppressing redundancy and emphasizing discriminative responses. To support evaluation under realistic developing-region traffic conditions, we introduce the Bangladeshi Road Vehicle Dataset (BRVD), comprising 10,200 annotated images across 13 native vehicle categories captured under diverse urban scenarios, including daytime, nighttime, fog, and rain. On BRVD, BDNet achieves 85.9%
and 67.3%
, outperforming YOLOv12n by +1.4 and +0.7 percentage points, respectively, while maintaining a compact footprint of 2.5 M parameters, 6.0 GFLOPs, and a real-time inference speed of 285.7 FPS. Cross-dataset evaluation on VisDrone-DET2019, using models trained exclusively on BRVD, further demonstrates improved generalization, achieving 31.9%
and 17.9%
. These results indicate that BDNet provides an effective and resource-efficient vehicle detection solution for smart city–scale urban traffic monitoring.
Full article