On the Raspberry Pi 5, permissive models match the restricted ones on accuracy and, from the small class up, run at least as fast. RF-DETR-M (Apache-2.0) reaches 57.4 mAP at 0.8 FPS against YOLO26-X (AGPL-3.0) at 56.5 mAP and 0.4 FPS. RF-DETR-N lands within 0.9 points of YOLO11-L, YOLOv8-L and YOLO-NAS-S at 2.1 FPS, against 0.9 FPS or less. Only at the nano end do YOLO26-N and YOLO11-N keep a speed lead.
License terms decide whether a model can ship in a closed commercial product. YOLO-NAS carries a non-permissive license from its authors. The Ultralytics models (YOLOv5u, YOLOv8, YOLO11, YOLO26) ship under AGPL-3.0, a copyleft license with source-release obligations. MIT and Apache-2.0 carry no such obligation. This guide covers 22 restricted models and 48 permissive ones on the same Raspberry Pi 5 protocol in PyTorch FP32. mAP is shown in percent form throughout.
This is not legal advice. License names come from each model's upstream repository. Confirm the exact terms with the upstream project and your own counsel before you ship.
Large: RF-DETR-M and D-FINE-S
RF-DETR-M is 0.9 points ahead of YOLO26-X and runs at twice its frame rate, 0.8 vs 0.4 FPS. RF-DETR-S reaches 55.1 mAP at 1.0 FPS against YOLO-NAS-M at 55.4 and 0.5 FPS. D-FINE-S reaches 53.4 mAP at 1.1 FPS. YOLO26-L sits 0.4 points higher at 0.7 FPS, and YOLO11-X reaches 53.6 at 0.4 FPS.
| Metric | YOLO26-X | YOLO-NAS-M | RF-DETR-M | RF-DETR-S |
|---|---|---|---|---|
| mAP@50-95 | 56.5 | 55.4 | 57.4 | 55.1 |
| mAP@50 | 73.6 | 72.3 | 75.3 | 73.5 |
| mAP small | 40.8 | 37.6 | 38.4 | 35.2 |
| FPS (mean) | 0.4 | 0.5 | 0.8 | 1.0 |
| Total ms/image | 2507.60 | 2028.62 | 1281.03 | 959.45 |
| Inference ms | 2500.59 | 2016.36 | 1263.52 | 944.54 |
| Params (M) | 55.7 | 51.2 | 33.7 | 32.1 |
| GFLOPs | 193.9 | 88.9 | - | - |
| Input size | 640 | 640 | 576 | 512 |
| License | AGPL-3.0 | non-permissive | Apache-2.0 | Apache-2.0 |
Medium: RF-DETR-N covers six restricted models
RF-DETR-N reaches 51.4 mAP at 2.1 FPS. YOLO11-L reaches 52.3 at 0.7 FPS, YOLOv8-L 52.0 at 0.6, YOLOv5lu 51.5 at 0.6, and YOLO-NAS-S 51.8 at 0.9. It is also 0.8 points ahead of YOLO11-M and 2.0 ahead of YOLOv8-M, which run 0.9 and 1.1 FPS. On this board the Apache-2.0 pick is the faster one by a wide margin.
| Metric | YOLO11-L | YOLOv8-L | YOLO-NAS-S | RF-DETR-N |
|---|---|---|---|---|
| mAP@50-95 | 52.3 | 52.0 | 51.8 | 51.4 |
| mAP@50 | 68.7 | 68.6 | 69.0 | 69.9 |
| mAP small | 35.4 | 34.7 | 31.2 | 27.8 |
| FPS (mean) | 0.7 | 0.6 | 0.9 | 2.1 |
| Total ms/image | 1385.27 | 1762.92 | 1049.54 | 479.57 |
| Inference ms | 1377.03 | 1754.54 | 1037.35 | 468.97 |
| Params (M) | 25.3 | 43.7 | 19.1 | 30.5 |
| GFLOPs | 86.9 | 165.2 | 32.8 | - |
| Input size | 640 | 640 | 640 | 384 |
| License | AGPL-3.0 | AGPL-3.0 | non-permissive | Apache-2.0 |
Small and nano: close, with one speed gap
DEIMv2-N reaches 46.7 mAP at 2.4 FPS, against YOLO26-S at 47.4 and YOLO11-S at 45.7, both at 2.3 FPS. At the nano end YOLOv9-T (MIT) is 1.3 points ahead of YOLO26-N but runs 2.9 vs 5.0 FPS. PicoDet-M matches YOLOv8-N at 37.6 vs 36.7 mAP and 5.0 vs 5.3 FPS. DEIMv2-Femto beats YOLOv5nu on both axes: 34.5 vs 33.8 mAP at 7.4 vs 5.4 FPS.
| Metric | YOLO26-S | YOLO26-N | DEIMv2-N | YOLOv9-T |
|---|---|---|---|---|
| mAP@50-95 | 47.4 | 40.1 | 46.7 | 41.4 |
| mAP@50 | 63.8 | 55.6 | 64.0 | 56.2 |
| mAP small | 29.5 | 19.7 | 28.8 | 21.5 |
| FPS (mean) | 2.3 | 5.0 | 2.4 | 2.9 |
| Total ms/image | 441.80 | 198.10 | 423.00 | 346.25 |
| Inference ms | 435.06 | 191.50 | 413.18 | 340.05 |
| Params (M) | 9.5 | 2.4 | 3.6 | 2.0 |
| GFLOPs | 20.7 | 5.4 | 6.9 | 4.0 |
| Input size | 640 | 640 | 640 | 640 |
| License | AGPL-3.0 | AGPL-3.0 | Apache-2.0 | MIT |
The permissive leaderboard on the Raspberry Pi 5
The permissive field runs past every restricted model at the top. DEIMv2-X leads at 61.3 mAP, then ECDet-X at 61.1, both at 0.3 FPS on this board. The table lists the permissive models with verified rows, sorted by accuracy.
| # | Model | mAP@50-95 | FPS | ms/image | Input (px) | Params (M) | License |
|---|---|---|---|---|---|---|---|
| 1 | DEIMv2-X | 61.3 | 0.3 | 3711.78 | 640 | 51.2 | Apache-2.0 |
| 2 | ECDet-X | 61.1 | 0.3 | 3635.08 | 640 | 49.9 | Apache-2.0 |
| 3 | ECDet-L | 60.1 | 0.3 | 2850.25 | 640 | 33.0 | Apache-2.0 |
| 4 | D-FINE-L | 60.0 | 0.4 | 2305.18 | 640 | 31.2 | Apache-2.0 |
| 5 | RF-DETR-L | 58.6 | 0.5 | 2110.22 | 704 | 33.9 | Apache-2.0 |
| 6 | DEIMv2-L | 58.6 | 0.4 | 2802.23 | 640 | 32.5 | Apache-2.0 |
| 7 | ECDet-M | 58.4 | 0.5 | 1868.73 | 640 | 19.4 | Apache-2.0 |
| 8 | DEIM-L | 57.8 | 0.4 | 2295.55 | 640 | 31.2 | Apache-2.0 |
| 9 | D-FINE-M | 57.8 | 0.6 | 1577.22 | 640 | 19.6 | Apache-2.0 |
| 10 | RT-DETRv4-L | 57.8 | 0.4 | 2303.77 | 640 | 31.2 | Apache-2.0 |
| 11 | RF-DETR-M | 57.4 | 0.8 | 1281.03 | 576 | 33.7 | Apache-2.0 |
| 12 | RT-DETRv4-M | 56.5 | 0.6 | 1588.45 | 640 | 19.6 | Apache-2.0 |
| 13 | YOLOv9-C | 56.4 | 0.5 | 2153.80 | 640 | 25.5 | MIT |
| 14 | DEIMv2-M | 56.0 | 0.5 | 1913.19 | 640 | 18.4 | Apache-2.0 |
| 15 | RT-DETR-R50 | 55.9 | 0.3 | 3317.57 | 640 | 42.9 | Apache-2.0 |
Every number on this page comes from the verified dataset: same 500-image COCO val2017 slice, conf 0.001, IoU 0.6, max 300 detections, pycocotools mAP, identical protocol across all hardware and runtimes. The full protocol is on the methodology page. To rerun this comparison with your own filters, open compare. Accuracy is measured on LibreYOLO retrained checkpoints; other weight sources can yield different values.
