Abstract:To address the problems of low precision, high miss detection rate and poor real-time performance of mining vehicle detection models in multi-scale, small-target open-pit mine scenarios, an improved real-time detection model for mining vehicles based on the real-time detection Transformer (RT-DETR), named HMD-DETR, is proposed. First, a hypergraph-dynamic hybrid module is developed to refine the backbone network, ensuring the integrity and diversity of feature extraction, and enhancing the directional structure and fine-grained texture information of vehicles. Second, a multi-scale linear attention module is introduced in the feature interaction stage, which achieves deep semantic alignment across scales through a hierarchical attention mechanism, significantly improving the feature representation capability of mining vehicle targets in complex backgrounds and optimizing computational efficiency. Finally, a point sampling-based upsampling module is constructed in the feature fusion stage to enhance the detail recovery and anti-interference ability of small-scale mining vehicle targets. Experimental results on the self-built dataset show that the improved algorithm achieves 87.9% mAP50, which is 3.1% higher than that of the original model, with a 15.6% reduction in parameters and a detection speed of 64.8 fps. Further validation on the VisDrone-DET2021 dataset also demonstrates improvements in accuracy, computational cost, and detection speed. Compared with other object detection algorithms, the proposed model exhibits significant advantages and promising practical application prospects.