RF-DETR-HCA: High-resolution coordinate attention for industrial packaging box detection in conveyor-line monitoring
Packaging box detection is a practical image-processing task in conveyor-line monitoring, where camera-based systems support counting, missed-box warning, blockage monitoring, and downstream control. Although the task contains only one object category, fixed industrial videos include many empty-background frames, boundary-truncated boxes, guide-strip occlusion, reflective rollers, times tamp overlays, and structured equipment edges. These factors make false-positive suppression and stable localization important. This paper proposes RF-DETR-HCA, a conservative high-resolution coordinate-attention enhancement for RF-DETR-S. The method keeps the RF-DETR backbone, Transformer decoder, and detection heads unchanged, and inserts a lightweight coordinate-attention branch only into the high-resolution output of the multi-scale projector. A small learnable resid ual scale preserves the pretrained detection Transformer pathway during fine-tuning. A packaging box dataset was constructed from 13 industrial video annotation projects. The experiments used 4483 training images and 1281 validation images, including many empty-background frames. RF DETR-HCA achieved a regular mAP50:95 of 0.8413 and an EMA mAP50:95 of 0.8508. The best Precision, Recall, and F1 were 0.9866, 0.9108, and 0.9176, respectively. Compared with the same-code RF-DETR-S baseline, Precision and F1 improved by 4.88 and 1.84 percentage points.
Authors
- Wen Chen (ORCID: https://orcid.org/0000-0001-9753-8437)
- Zhipeng Xiang
- Yang Hu
Institutions
- China University of Petroleum, Beijing (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-10743235/v1
- Primary Topic
- Advanced Neural Network Applications
- Type
- preprint