β All models Β· RT-DETRv2 Β· ViT
use case Β· multi-model
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.
Detected objects β pick one to classify:
ViT sees this crop:
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.
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.