Topic 09 · Computer Vision

Object Detection, Classification & Counting

Upload an image or use your webcam — DETR detects every object with bounding boxes and counts them. ViT classifies images into 1000 ImageNet categories. All models run locally in your browser.

Select a tab — model loads on first use and is cached permanently.

Upload Image

Click or drag & drop
JPG · PNG · WebP
Xenova/detr-resnet-50 · Detection Transformer · ~170MB · cached permanently

Detection Result

Upload an image to detect objects
Objects will appear here…

How DETR Object Detection Works

1 · CNN Backbone

ResNet-50 extracts a 2D feature map encoding what and where objects might be in the image.

2 · Transformer Encoder

DETR's encoder attends across all feature map positions, building a global understanding of the scene.

3 · 100 Object Queries

The decoder runs 100 learned "object queries" in parallel, each predicting one box + class. No NMS needed.