Controlled Comparison of YOLO26-L and RT-DETR-L for Detecting Heads with and without Helmets in Hard Hat Detection
When a head occupies a small region of the image, distinguishing between protection and non-compliance requires locating it precisely and correctly classifying its protection state. This study compared YOLO26-L and RT-DETR-L to detect the classes head_with_helmet and head_without_helmet exclusively on the Hard Hat Detection dataset. Its 5,000 images and 24,751 instances, obtained from Kaggle with Pascal VOC annotations, were processed using a custom Python pipeline that verified the integrity of the image-annotation pairs, detected exact duplicates using SHA-256, converted the boxes to YOLO format, and generated a stratified split into training, validation, and test sets of 70%, 15%, and 15%, respectively. Both detectors were initialized with COCO-pretrained weights, used a resolution of 640 × 640 pixels, and were trained with three seeds using Ultralytics 8.4.0. A common confidence threshold of 0.576 was selected exclusively on validation and subsequently kept fixed on test. At that point, YOLO26-L obtained a precision of 0.9290 ± 0.0045, a recall of 0.8610 ± 0.0139, and an [email protected]:0.95 of 0.6353 ± 0.0016; RT-DETR-L achieved 0.8994 ± 0.0030, 0.9093 ± 0.0067, and 0.6180 ± 0.0017, respectively. RT-DETR-L reduced false negatives for the without-helmet class from 146.0 ± 14.7 to 82.0 ± 4.4. In contrast, YOLO26-L obtained a higher [email protected]:0.95, presented lower latency, and required a lower computational cost. The results evidenced an operational trade-off: YOLO26-L favored localization quality and efficiency, whereas RT-DETR-L prioritized recall at the established threshold.
Authors
- Manuel J. Ibarra (ORCID: https://orcid.org/0000-0001-6711-4916)
- Victor Manuel Alejo Andrade (ORCID: https://orcid.org/0009-0001-5131-6115)
Institutions
- Universidad Nacional Micaela Bastidas de Apurimac (PE)
Publication Details
- Journal
- International Multidisciplinary Journal of Emerging Technologies and Applications
- Published
- 2026-11-30
- DOI
- https://doi.org/10.67294/1r9e8a02
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00