Object detection

Object detection is the computer vision task of finding every instance of known classes in an image and returning, for each one, a class label, a confidence score and a bounding box. In Supervisely, YOLO26, DEIMv2 and RT-DETRv2 train on a labeled project without code, and each run ends with an evaluation report.

Tasks and training

Detection among the other vision tasks

TaskOutput for one image
Image classificationOne or more labels for the whole image
Object detectionA box, a class and a score for each object
Instance segmentationA pixel mask, a class and a score for each object
Semantic segmentationA class for every pixel, with no object identities

Families of detectors

Two-stage detectors such as Faster R-CNN first propose regions that may hold an object, then classify and refine each one. One-stage detectors such as YOLO predict boxes and classes in a single pass over a grid of positions, which is why they dominate real-time use. Detectors built on DETR treat the boxes as a set: a transformer decoder turns a fixed number of queries into objects, and models such as RT-DETRv2 and DEIMv2 need no non-maximum suppression afterwards.

The labels it needs

A detector trains on bounding boxes around each object of each class. Polygons and masks also work, since a box can be computed from them, and some training apps do this on their own: Train YOLOv5 turns every label into a bounding box before training. Boxes travel between tools in formats such as YOLO, COCO and Pascal VOC.

Common mistakes

  • Unlabeled objects in training images. The model is punished for finding them and learns to call them background.
  • Boxes drawn tight on some images and loose on others, which caps localization quality whatever the architecture.
  • Judging a model by one score at IoU 0.5 when the use case needs precise boxes; see mean average precision.

Detection in Supervisely

YOLO26, DEIMv2 and RT-DETRv2 train on a labeled project without code on the model training page, and every run ends with an evaluation report. The walkthrough train YOLOv8 on custom data shows the flow end to end.

Frequently asked questions.

What is object detection?

The computer vision task of finding objects in an image and returning, for each, a class and a bounding box. It differs from image classification, which gives one label for the whole image.

Is YOLO an object detection model?

Yes. YOLO is a family of single-stage real-time object detectors; recent versions such as YOLO11 and YOLO26 also do instance segmentation and pose estimation.