← All models · D-FINE · ViT
use case · multi-model
Compose two models into one flow. D-FINE answers "what objects are here and where" with labelled boxes across 80 COCO classes; then every box is cropped and handed to a ViT image classifier, which names it with a fine-grained label from 1,000 ImageNet categories. So "dog" becomes "golden retriever", "bird" becomes a species — a coarse detector feeding a fine-grained classifier, entirely on your device.
Each detected object, classified by ViT:
D-FINE runs once to get the boxes; each box is cropped on a canvas and classified by ViT in its own Web Worker. Both models run locally — nothing is uploaded.
D-FINE's output is a list of boxes with coarse class labels and pixel coordinates. Each box is a ready-made crop: cut it out and it becomes a single-object image — exactly what an image classifier wants. The classifier then adds detail the detector doesn't carry (breed, species, model, variety). No shared weights, no retraining — one model's output is the other's input. Detection localises; classification specialises.