Add RF-DETR model (#73)

This commit is contained in:
Jamjamjon
2025-04-11 13:03:10 +08:00
committed by GitHub
parent 118690402d
commit ca6e70b69c
11 changed files with 321 additions and 1 deletions

17
examples/rfdetr/README.md Normal file
View File

@@ -0,0 +1,17 @@
## Quick Start
```shell
cargo run -r --example rfdetr
```
## Results
```
[Bboxes]: Found 6 objects
0: Bbox { xyxy: [221.55753, 408.0652, 345.23325, 860.2527], class_id: 1, name: Some("person"), confidence: 0.93212366 }
1: Bbox { xyxy: [44.967827, 397.84177, 246.13187, 905.7567], class_id: 1, name: Some("person"), confidence: 0.93540853 }
2: Bbox { xyxy: [6.2678833, 233.208, 801.6806, 737.4714], class_id: 6, name: Some("bus"), confidence: 0.93637216 }
3: Bbox { xyxy: [0.0, 555.167, 77.74801, 870.2772], class_id: 1, name: Some("person"), confidence: 0.85163206 }
4: Bbox { xyxy: [133.94543, 473.6574, 149.62558, 507.99875], class_id: 32, name: Some("tie"), confidence: 0.2992424 }
5: Bbox { xyxy: [669.81836, 395.28635, 813.44855, 879.9562], class_id: 1, name: Some("person"), confidence: 0.83661026 }
```