← All models Β· RT-DETRv2 Β· ViT

use case Β· multi-model

RT-DETRv2 Γ— ViT: detect, then classify

Compose two models into one flow. RT-DETRv2 answers "what's here and where" with 80 coarse COCO boxes, fast; then you tap an object and a ViT classifier looks only at that crop and names it in fine-grained ImageNet detail β€” "dog" becomes a breed, "sofa" becomes "studio couch", "bird" becomes a species. Detection localises; classification specialises β€” both entirely on your device.

Drop an image, or click to choose
Two cats on a couch Athletes on a field A cozy bedroom A riverside at golden hour

Detected objects β€” pick one to classify:

Run detection to list objects.

Each model runs in its own Web Worker. Tapping a box crops that region to a small canvas and hands the pixels to ViT β€” so classification only ever sees the one object, not the whole scene. That crop-then-classify trick is the entire bridge: no shared weights, no retraining.

How the two connect

RT-DETRv2's output is a list of boxes with coarse labels ("dog", "bird", "chair"). Each box is a crop, and a crop is exactly what an ImageNet classifier wants: one centred object. Feed the crop to ViT and its 1,000-way head refines the coarse label into a specific one. Because RT-DETRv2 is real-time and NMS-free, this "detect β†’ crop β†’ classify" pattern scales to every object in the frame, and on to video.

← Wild Β· RT-DETRv2 Β· ViT β†’