GlossaryObject detection
Object detection
Object detection is the computer vision task of finding objects in an image, drawing a bounding box around each one and labeling its class, such as a person, a part or a connector. It answers both what is in the image and where.
How it works
A detector is a neural network that takes an image and outputs a list of boxes, each with a class and a confidence score. Training uses images labeled with boxes.
Two design families shaped the field. One-stage detectors predict boxes and classes in a single pass over the image. A 2015 paper framed detection as a single regression problem, which made real-time detection practical on one GPU. A 2020 paper used a transformer to predict the full set of objects directly, removing hand-built steps such as anchor boxes and duplicate removal.
Open-vocabulary detectors go further. Trained on images paired with text, they find objects named in a text prompt, including classes they never saw labeled boxes for. A 2023 paper combined a detector with grounded text pretraining for this purpose.
Detectors output a confidence for each box. A threshold decides which boxes count, and that threshold trades missed objects against false alarms.
Object tracking
Tracking builds on detection. A tracker associates each frame's detections with existing tracks, using a motion model, often a Kalman filter, to predict where each object should be and an assignment step to match detections to predictions. Appearance features recognize an object again after it was hidden. Tracking adds identity and velocity over time, which planning and safety decisions need, and fills single-frame misses. Identity switches and lost tracks during occlusion are its main failure modes.
Object detection vs image classification
Image classification assigns one label to the whole image, such as "board with defect". Detection finds each object and its location, so one image can hold many labeled boxes. Detection needs more detailed labels and more compute, and it is the right choice when the position or count of objects matters.
Why it matters
Robots and drones act on things in specific places: a part to pick, a person to avoid, a landing marker to track. Detection turns camera frames into that list of objects and positions. In inspection, it finds and locates components and defects on a board, which ties each finding to a reference designator.
How to get it right
- Label boxes consistently, with clear rules for partly hidden and edge-cut objects.
- Train on images from the deployed camera, lens and lighting.
- Pick the confidence threshold from measured misses and false alarms, not a default.
- Check small objects separately, since they are the hardest to detect.
- Measure speed on the target hardware at the real image size.
Object detection in robotics and drone hardware
Detection is one of the heaviest workloads on a robot's or drone's onboard computer, and its frame rate sets how fast the vehicle reacts. Camera resolution, the interface that carries frames, the AI accelerator and the thermal design all follow from the detector's needs. Smaller, faster detectors often beat large accurate ones once real delay is counted.