# Object detection

> Canonical: https://skillalmanac.com/glossary/object-detection | Last verified: 2026-11-25 | Index status: index-eligible

Object detection is a computer vision task in which a model finds objects in an image and, for each one, outputs a bounding box marking where it is and a class label saying what it is.

Also called: object detection machine learning, object detection deep learning, object detection model, object detector, object recognition in images, bounding box detection.

## In plain language

Object detection is how software answers the question what is in this picture and where. Given a photo of a street, a detector can draw a box around each car and person and name them. A phone camera that puts a square around faces, or a shop camera that counts people entering, uses the same idea. A conventional closed-set detector is limited to its trained category list, it can miss small or partly hidden things, and it can box something that is not there. Many supervised detectors learn from box-labelled images, which can be costly to annotate. Other approaches differ: Detic uses image-level labels to expand a detector vocabulary, including classes without box annotations. The output is a guess with a score, not a fact.

## Technical definition

IBM describes object detection as a technique that uses neural networks to localise and classify objects in images. Each prediction pairs a bounding box with a class label. Detectors are compared by how well predicted boxes overlap ground-truth boxes, measured with intersection over union. Two broad designs appear in the sources: two-stage detectors such as Faster R-CNN, whose paper adds a region proposal network that shares convolutional features with the detector, and single-stage detectors such as YOLO, which the YOLO paper frames as a regression problem to spatially separated bounding boxes and associated class probabilities.

## How it shows up when you use agents

Object detection is a vision model task, not an agent feature, and the catalogue has no skill that trains or runs a detector. It shows up when you ask a coding agent to build something with a camera or an image folder: count items in photos, find defects, blur faces, crop products. The agent will usually reach for a pretrained detector from a library and write code that reads the boxes, labels and scores it returns.

Three things matter in that code. First, the label set: a conventional closed-set detector uses trained categories; open-vocabulary methods differ, so inspect the actual model. Detic demonstrates categories learned without box annotations for each one. Second, the score threshold: it decides which guesses are kept, and the right value depends on whether a miss or a false alarm costs more. Third, evaluation: boxes are scored against hand-drawn [ground truth](/glossary/ground-truth) using [intersection over union](/glossary/intersection-over-union), so you need labelled test images that the model has not seen. This sits within [computer vision](/glossary/computer-vision) and usually uses a [convolutional neural network](/glossary/convolutional-neural-network).

What breaks when it is misunderstood: people treat a box as proof. A detection is a prediction with a score, and it can be wrong. Your next action: ask the agent to save a sample of images with the predicted boxes drawn on them, and look at the misses and the false boxes before you trust any count. Also check that the images you will use look like the images the model was trained on.

## Common confusions

- **Object detection versus image classification.** Classification assigns a label to a whole image. Detection also says where each object is, with a bounding box.
- **Object detection versus segmentation.** A bounding box is a rectangle. Segmentation marks the pixels belonging to an object. Ultralytics lists both as separate tasks.
- **Object detection versus face recognition.** Detecting that a face is present is different from identifying whose face it is.
- **Myth.** A detector finds everything in the picture. Category coverage depends on the detector, including whether it supports open vocabulary, and it can miss small, blurred or partly hidden objects.

## Worked examples in this catalogue

### [huggingface-datasets](https://skillalmanac.com/skills/huggingface/huggingface-datasets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Hugging Face datasets read through the Dataset Viewer API: metadata, rows, search and filters.

Why it exercises the concept: For a conventional box-labelled dataset, this hypothetical Dataset Viewer flow reads hosted metadata and rows. It does not train or run a detector. Separate package upload/creation workflows are outside this example.

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Train, validation and test files checked for duplicates, shared groups, time leakage and label leakage, with JSON output.

Why it exercises the concept: Supply split tables with tracked original-image or provenance-group IDs. This checker flags configured CSV/JSONL text/group signals, not duplicate pixels or transformed copies. Separate image-similarity and provenance checks are needed; no detector evaluation is executed.

### [image-spec-check](https://skillalmanac.com/skills/skill-almanac/image-spec-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Exported images checked against your own spec table, with a statement of what to resize, crop, re-export or replace.

Why it exercises the concept: Detection models are sensitive to the images they are given, so checking sizes and formats before use is a sensible preparation step. It is adjacent: it does not detect objects.

## Related terms

- [Computer vision](https://skillalmanac.com/glossary/computer-vision.md)
- [Convolutional neural network (CNN)](https://skillalmanac.com/glossary/convolutional-neural-network.md)
- [Intersection over union (IoU)](https://skillalmanac.com/glossary/intersection-over-union.md)
- [Deep learning](https://skillalmanac.com/glossary/deep-learning.md)
- [Supervised learning](https://skillalmanac.com/glossary/supervised-learning.md)
- [Data labeling](https://skillalmanac.com/glossary/data-labeling.md)
- [YOLO (object detection)](https://skillalmanac.com/glossary/yolo.md)

## Sources

- [What is object detection?](https://www.ibm.com/think/topics/object-detection), IBM (accessed 2026-11-24)
- [Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks](https://arxiv.org/abs/1506.01497), arXiv (Ren et al.) (accessed 2026-11-24)
- [You Only Look Once: Unified, Real-Time Object Detection](https://arxiv.org/abs/1506.02640), arXiv (Redmon et al.) (accessed 2026-11-24)
- [YOLOv8](https://docs.ultralytics.com/models/yolov8/), Ultralytics (accessed 2026-11-24)
- [Detecting Twenty-thousand Classes using Image-level Supervision](https://arxiv.org/abs/2201.02605v3), Zhou et al. (ECCV 2022 / arXiv) (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
