object-detection vs object-detection WASM q8 · 44.33 MB + 45.46 MB 2 isolated Web Workers Apache-2.0 + Apache-2.0

RT-DETRv2 vs RT-DETR v1 (ResNet-50-vd) Head-to-Head Parity Diff

Both models share the exact same ResNet-50-vd backbone (depths: [3, 4, 6, 3]), 300 queries, 640×640 input, and 80 COCO classes. Run Stage 1 (RT-DETRv2) and Stage 2 (RT-DETR v1) sequentially in separate Web Workers on the exact same frame to measure what discrete multi-scale sampling and the bag-of-freebies training recipe actually change: box IoU agreement, confidence shift, small-object recall, and duplicate-pair parity.

The two ResNet-50-vd stages

Stage 1 · RT-DETRv2 R50vd

onnx-community/rtdetr_v2_r50vd-ONNX · object-detection · WASM q8 · 44.33 MB · discrete multi-scale sampling.

Stage 2 · RT-DETR R50vd (v1)

onnx-community/rtdetr_r50vd · object-detection · WASM q8 · 45.46 MB · bilinear grid_sample decoder.

Loading a curated zero-person scene…

1 · Choose a photo & run head-to-head detection

Solid boxes show Stage 1 (RT-DETRv2); dashed orange boxes show Stage 2 (RT-DETR v1).

2 · Head-to-head IoU & small-object parity diff

Stage 1 (v2)–
Stage 2 (v1)–
Matched pairs–
Mean matched IoU–
Mean conf Δ (v2 − v1)–
v2-only / v1-only–
Small (<32²) v2 / v1–
Same-class dupes v2 / v1–
COCO scale-bucket parity (RT-DETRv2 vs RT-DETR v1, source-image pixels)
Scale bucket v2 count v2 mean score v1 count v1 mean score
Run both stages to compare small / medium / large parity.
Box-by-box matched pairs & unique detections
Status Class IoU v2 score v1 score Δ (v2 − v1)
Load both models and run comparison to populate the parity diff.
Show the code — RT-DETRv2 vs RT-DETR v1 parity matcher & scale diff
Show the code — Stage 1 RT-DETRv2 worker pipeline loader