What if a camera could follow every person in a crowd and never mix them up?
That’s what multi-object tracking, or MOT, does: it spots several things in a video and keeps a steady ID on each as they move, hide, or cross paths.
In this post we’ll break down the simple loop behind MOT, detect, predict, match, update, and show why those steps matter in real life, from self-driving cars to sports replay.
You’ll walk away with the key ideas and small tests you can try next.
Multi-Object Tracking Fundamentals and Scope
![]()
Multi-object tracking, or MOT for short, is a computer vision technique that spots several objects in a video and keeps a consistent identity attached to each one as the footage plays out. In plain terms, it’s the difference between saying “there’s a car” in one frame and being able to say “that’s the same car from three seconds ago” ten frames later. Preserving identity through movement, crowding, and brief disappearances, that’s really the whole point of MOT.
A working MOT system typically outputs four things for every object it follows. A bounding box, which is the rectangle around the object. An object class, like “person” or “vehicle.” An identity label, a unique ID number. And a trajectory, the path that object has taken across frames. Put those four together across a whole video and you get a map of who or what moved where, and when.
It helps to compare MOT with its close relatives. Object detection just looks at a single frame and answers “what’s here right now,” with no memory of past frames. Single-object tracking picks one target and follows only that one, ignoring everything else in the scene. MOT does something harder. It follows many targets at once, while also handling the bookkeeping of who’s who as objects cross paths, get blocked from view, or enter and exit the frame. This approach quietly powers surveillance systems, autonomous vehicles, robotics, and sports analytics, though we’ll get into those applications shortly. Picture three pedestrians walking through a busy plaza, crossing paths right in the middle of the frame. A good MOT system keeps pedestrian number one labeled as number one even after they’ve swapped positions with pedestrian number two, rather than accidentally relabeling them mid-crossing.
How Multi-Object Tracking Works Frame by Frame
![]()
Most modern MOT systems follow a method called tracking by detection. Sounds technical, but the idea’s simple: first find the objects, then figure out which object in this frame matches which object from the last frame. Here’s how that plays out, step by step.
- Receive the next video frame.
- Detect objects and draw bounding boxes.
- Extract position, motion, and optional appearance features.
- Predict where existing tracks should appear using a motion model.
- Match detections to tracks using IoU, appearance similarity, and an assignment method such as the Hungarian algorithm.
- Update confirmed tracks, create new IDs, retain temporarily missing tracks, and end stale tracks.
Let’s unpack a few of those. Detection is usually handled by a model like YOLO, Faster R-CNN, or RF-DETR, and its job is just to draw a box around anything relevant in the frame. From there, a motion model, often a Kalman filter, predicts roughly where each already-tracked object should show up next, based on where it’s been moving. Particle filters can step in when movement is less predictable, like a person darting unexpectedly.
Matching detections to existing tracks leans on a mix of tools. IoU, or intersection over union, checks how much a new bounding box overlaps with a predicted one. Appearance descriptors add a visual fingerprint, helpful when two objects are near each other. The Hungarian algorithm then takes all these clues and works out the best overall assignment, rather than just grabbing the first decent match it finds.
![]()
Picture two people crossing paths in a hallway. Motion prediction alone might get confused about who’s who at the crossing point, but appearance features, like clothing color or build, help the system keep each person’s original ID intact.
This entire loop repeats for every single frame in the video. The quality of the detector, the strictness of the matching rules, and the thresholds used for track management, how long to wait before giving up on a missing object, for instance, all combine to determine how reliable the tracking actually is.
Worth clearing up: tracking by detection and end-to-end tracking aren’t the same approach. Tracking by detection keeps detection and association as separate steps, while end-to-end or joint models learn detection, appearance, and association together inside one network. Also, nailing a bounding box perfectly in a single frame doesn’t automatically mean the identity behind it was assigned correctly. Good localization and correct identity are two separate problems.
Main Types of Multi-Object Tracking Systems
![]()
Not every MOT system is built the same way. Trackers tend to differ along three lines: when they process information, what sensors feed them data, and whether detection and association happen as separate steps or together in one learned model.
Online trackers process video as it arrives, frame by frame, with no ability to peek ahead. This is what you need for anything happening in real time, like a self-driving car reacting to traffic. Offline trackers, on the other hand, can look at the whole video, including future frames, and refine their decisions using that extra context. BiTrack is one example of this offline approach, using bidirectional re-optimization along with 2D to 3D fusion to sharpen accuracy after the fact. Works well for post-event analysis, but it isn’t suited to anything live.
Sensor setup matters too. Multi-camera systems face the added challenge of matching identities across different viewpoints, so the same person walking from one camera’s view into another’s still carries the same ID. Three-dimensional trackers often combine camera footage with lidar or RGB-D depth sensors, giving a fuller picture of where objects sit in physical space rather than just where they appear on a flat image. This kind of sensor fusion tends to show up in robotics and autonomous driving, where knowing exact distance and depth genuinely changes what the system can safely do next.
Final Words
Multi-object tracking gives moving scenes a memory. It spots several objects at once, follows each one frame by frame, and keeps a steady identity attached even when paths cross or things get crowded. Under the hood, detection, motion prediction, and matching work together to decide who’s who, while different system types (online, offline, multi-camera, 3D) fit different real-world needs.
Once you see how the pieces connect, it’s easier to spot where the tricky parts happen, like occlusion or fast-moving crowds. That’s really the heart of what multi-object tracking is about: turning scattered detections into clear, trustworthy trajectories you can actually rely on.
FAQ
Q: What is the best multi-object tracking algorithm?
A: The best multi-object tracking algorithm depends on the task, hardware, and real-time needs. For many real-time applications, tracking-by-detection with a strong detector plus appearance-based association (for example, DeepSORT variants) is a practical choice.
Q: Is YOLO considered AI?
A: The YOLO model is considered AI because it’s a deep learning object detector that learns from images. It’s designed for fast, real-time detection and is often used as the detection stage in tracking systems.
Q: How does object tracking work?
A: Object tracking works by detecting objects in each frame, then linking those detections across frames using motion predictions (like a Kalman filter) and appearance features to keep consistent identities over time.
Q: What is the multiple object tracking task?
A: The multiple object tracking task is detecting multiple objects in video, assigning each a persistent identity, and following their positions over time to produce trajectories while handling occlusion, crossings, and changing target counts.