A delivery robot moving along a busy sidewalk has to keep track of objects like pedestrians, animals, cyclists, and more as they move, cross its path, or disappear behind an obstacle. Computer vision and object tracking make that possible.
Computer vision is a field of AI that lets machines interpret images and video. Object tracking is a computer vision technique that follows objects, such as people, vehicles, or boxes, across video frames and gives each one a unique ID that stays with it as it moves.
Tracking builds on object detection, which finds objects in a single frame and draws a rectangle around each one, called a bounding box. Detection can tell a robot that five people are nearby, but not whether the person in this frame is the one it saw a second ago. Tracking links those detections over time, so the robot knows who’s moving where and can plan its path around them.

That’s harder than it sounds. Some cutting-edge AI drones can lock onto a person and follow them on their own. But if the person disappears behind a building, tree, or vehicle, the drone may only search for a few seconds before losing them or locking onto someone who looks similar.
In fact, most trackers struggle with the same problems. Objects drop out of view, look like each other, or are filmed by a camera that’s also moving. Fixing that depends as much on data as on algorithms. The models behind a tracker learn from labeled examples, called training data. If that data doesn’t include objects disappearing and reappearing, the same mistakes keep happening.
In this article, weβll explore how object tracking works, how robots use it, and how tracking data is labeled. Letβs get started!
Object tracking in computer vision involves using unique IDs to detect and track an object as it moves from frame to frame. First, a detection model finds objects such as people, boxes, or vehicles in each frame and draws a bounding box around each one.
The tracker then connects these boxes across frames to follow each objectβs movement. As a result, the machine can build a path, called a trajectory, and keep the same ID on an object as it moves. This is what separates tracking from detection. Detection tells a machine what it can see in one frame, while tracking helps it follow the same object across multiple frames and see where itβs heading.
Video editors use “object tracking” too, but for other purposes, like pinning a caption to a moving car. In computer vision, tracking helps a machine follow the objects around it in real time.
Tracking can also work across more than one camera. Some spaces are too big for a single view, so they’re covered by several cameras, each with its own video feed. Multi-camera object tracking links those feeds together. When the same person or object shows up in more than one camera’s view, or walks from one view into the next, the system recognizes it and keeps the same ID.
This is especially useful in large spaces like warehouses. For example, a warehouse might use a network of ceiling-mounted cameras to monitor workers on the floor. A detection model finds the workers in each camera’s frames, and a tracking algorithm links those detections over time to give each worker a separate ID.

Since several cameras can see the same worker at once, one person often shows up in more than one feed. The system compares each person’s position, direction of movement, and appearance across cameras to merge those tracks under one ID.
In the warehouse example, the system follows every worker on the floor at once. But not every robot needs to track that much. A robot following one person through a building only cares about that one target. That’s why object tracking is usually split into two types: single object tracking, which follows one target, and multiple object tracking, which follows many at once.
Single object tracking (SOT) starts with a box drawn around the target in the first frame. The tracker then looks for that same object in every frame after it. A robot might use SOT to follow a nurse down a hospital hallway or keep its camera on a tool as it moves.
SOT works well when the target stays in clear view, but crowded places make it harder. For example, researchers fitted a cart with robot-height sensors and used it to follow a person through canteens, markets, and metro stations. During each recording, the person disappeared from view about 39 times. When that happened, single object trackers sometimes started following someone else.

Trackers that first followed everyone in view and then picked out the target did better overall. Keeping track of everyone made it easier to hold on to one person. This is how multiple object tracking (MOT), also called multi-object tracking, works. It gives every object in the scene its own ID and keeps it as objects enter, move around, cross paths, or leave.
Beyond these two types, robots can also track objects in 3D or follow individual points. 3D tracking uses lidar or depth data to locate objects in real space, while point tracking follows individual points on an object’s surface across frames to show how it moves.
So which type should a robot use? It depends on what it needs to follow. SOT works well when there’s one clear target, while MOT is better suited to busy spaces full of people, carts, and robots.
Most multiple object tracking systems follow objects across video frames using an approach called tracking by detection. Simply put, a detection model and a tracker work together, with each handling a different part of the job. This setup fits well with the modular vision pipelines used in many robots.
Every time a new frame comes in, the process runs through four steps:
Because these steps repeat on every new frame, tracking by detection can keep up with objects as they move. That’s why it’s used in everything from traffic monitoring and sports analytics to warehouse robots and farming.
In agricultural robotics, for example, it helps with tasks like automated crop harvesting. Consider a robot working its way along pepper plants outdoors. The peppers look alike, hang among the leaves, and shift in view as the robot’s camera moves.
To pick them one by one, the robot needs to know which pepper is which. A detection model like YOLO (You Only Look Once) finds each pepper in every frame, while an object tracker gives each one a unique ID and follows its position as the robot moves.

To predict where each pepper will be in the next frame, the robot uses a Kalman filter, a method that estimates an object’s next position from how it has moved so far. Once the robot picks a pepper, or fails to, it freezes that pepper’s track so it doesn’t try the same one again.
Most object tracking algorithms follow the same detect, predict, match, and update loop. Where they differ is in the matching step, especially when objects overlap, look alike, or briefly disappear.
Here’s how some of the most widely used algorithms handle it:

Newer models go further. SAM 3 (Segment Anything Model 3) can find and follow every object that matches a short text prompt, like “box” or “person,” across a video, even for object types it wasn’t specifically trained to track. This is known as zero-shot object tracking.
Before a robot can grab, avoid, or move something, it needs to know where that object is and where it’s going. Object tracking gives it both.
For instance, on conveyor lines, robots track parts as they move so the arm can reach for where a part will be, not where it was a moment ago. Similarly, in warehouses, autonomous mobile robots (AMRs) track the people, forklifts, and other robots around them. By predicting where each one is heading, they can plan a safe path through busy aisles.
On top of this, tracking is crucial for robotic manipulation. As part of computer vision for robotics, models like FoundationPose track an object’s 6D pose (its position and orientation in 3D space) while a robot picks it up or moves it. This tells the robot exactly how the object is moving in its gripper.
That same idea of following how objects move can also help robots learn new tasks from videos of people. Methods like Any-point Trajectory Modeling (ATM) track how points on objects move in human videos and use those tracks to train robots with fewer robot demonstrations.
In one recent study, a point tracker followed objects in 3D as a person opened a drawer, folded a sock, and threw away paper. A robot arm then used those object paths to plan its own actions.

Since the robot didn’t need to copy human hand movements, the difference in embodiment between its gripper and a human hand wasn’t a problem. For example, a person picked up a tipped-over glass by its stem, while the robot hooked its gripper inside the glass to set it upright. On the glass task, this approach succeeded in all 20 attempts, compared with 3 for ATM.
Results like these come from carefully set-up tests. Real workspaces are messier. Objects get blocked from view, look alike, and move in ways a tracker doesn’t expect, and each of these can cause a tracker to lose or mix up IDs.
One common problem with consistent object tracking is occlusion. When an object disappears behind an obstacle or the robotβs own arm, the tracker has to recognize it when it comes back, or it may give it a new ID. Similar-looking objects cause another problem. Sometimes when they cross paths, the tracker can swap their IDs.
A study on tracking wheeled robots shows how easily similar-looking objects can confuse a tracker. The researchers used a single overhead camera to track a small group of robots. The robots looked almost the same, so without a tracker, the system gave them new IDs in every frame.
The team added a tracker that checked both each robotβs appearance and where it was likely to move next. After that, each robot kept the same ID, even while they drove in formation.

The camera itself can also make tracking harder, especially if itβs mounted on a robot. When the camera moves with the robot, the whole scene shifts between frames, so even stationary objects appear to move. Sudden stops, turns, or changes in speed can also throw off trackers that expect smooth, predictable motion.
To know how well a tracker handles these problems, teams need a way to measure it. Trackers can be tested on labeled videos and compared against ground-truth labels (correct labels and positions) to measure detection accuracy, ID consistency, and tracking errors.
Here are the main metrics used to evaluate object tracking:
Because each metric looks at a different part of tracking, they don’t always agree. A tracker that finds objects reliably but often mixes up their IDs can score well on MOTA and still rank lower on IDF1 or HOTA, since those two pay closer attention to whether IDs stay consistent. That’s why teams use several metrics together instead of relying on just one.
These scores also depend on the videos used to train and test a tracker. So let’s look at the datasets teams use and how tracking data is labeled.
Publicly available datasets give tracking algorithms a starting point. One of the best-known object tracking datasets is MOTChallenge, which includes MOT17 and MOT20, commonly referred to as MOT datasets.
Both datasets mainly focus on pedestrians in street scenes. But a robot working on a factory floor, moving through a warehouse, or using a wrist-mounted camera encounters very different surroundings. Thatβs why robotics teams often need custom tracking data that reflects the environments their robots will work in.
Preparing this data involves more than drawing bounding boxes. In video annotation for tracking, annotators assign each object a track ID and make sure it keeps the same ID throughout the video. They often begin with keyframes, use software to fill in the frames between them, and then review and correct any mistakes.
This becomes especially important when an object disappears and reappears. Annotators need to make sure it keeps its original ID and mark whether it is partly or fully hidden in each frame. For lidar and depth data, they use 3D boxes with the same track IDs. During quality checks, teams look for swapped IDs, missing frames, and boxes that drift away from objects between keyframes.

At Objectways, we provide video annotation with object tracking that keeps IDs consistent when objects disappear and reappear, along with 3D point cloud annotation for lidar and depth data. We also build robotics datasets, including egocentric video, depth data, and teleoperation demonstrations, so robots can learn from the kinds of environments they’ll actually work in.
Detection tells a robot what’s in front of it. Tracking tells it what’s moving, where it’s going, and whether it’s the same thing it saw a moment ago. That’s what lets a robot walk alongside a person, pick parts off a moving conveyor, or steer around a forklift in a busy aisle.
A tracker can only be as reliable as the data behind it. If the labels lose an object behind a shelf, or mix up two identical boxes, the model learns to make the same mistakes. Getting this right means keeping every object’s ID consistent from frame to frame, even when it’s hidden, looks like something else, or is filmed by a camera that’s moving too.
Working on a robot that needs to keep track of what’s around it? Let’s talk about the tracking data it’ll need.
Object tracking is used to follow objects through a video so a machine knows which object is which over time. In robotics, it helps robots follow people, pick parts off moving conveyors, and steer around workers safely.