How Models Work

Computer Vision in Football: Tracking Every Player

How cameras and AI turn a match into positions for every player and the ball, what FIFA's semi-automated offside system measures, and the limits.

AI Sports Editorial · · 3 min read · Updated: 11 October 2026

Computer vision is the part of AI that turns images into data. In football it is used to follow every player and the ball through a match, frame by frame, and turn the pictures into coordinates on the pitch. That data powers offside decisions, physical reports and many of the graphics you see on television. Here is how it works, with FIFA's semi-automated offside technology as a concrete example, and where it still struggles.

Event data and tracking data

Football data comes in two main kinds:

Event data Tracking data
What it records Actions: passes, shots, tackles, fouls Positions of every player and the ball
How often Each time something happens Many times per second
Typical use Shot maps, pass networks, xG Running distances, pressing, space, offside

Event data says what happened on the ball. Tracking data says where everyone was while it happened, which is what you need to study space, movement and off-the-ball work.

From pictures to positions

A tracking system generally solves four problems in a row:

  1. Calibration. Each camera's position and angle are measured, so a point in the image can be mapped to a point on the pitch.
  2. Detection. In every frame, a model finds the players, referees and the ball.
  3. Identity. Each detection is linked to the same person across frames, even when players cross, bunch together or leave the picture.
  4. Pose. For decisions such as offside, the system goes further and estimates the position of body parts — feet, knees, shoulders — not just a single point per player.
Diagram of the four steps that turn video into player positions: calibration, detection, identity and pose
The four problems a tracking system solves, in order.

Combining several cameras that see the same moment from different angles makes the positions more accurate and helps when one view is blocked.

A real example: semi-automated offside

FIFA introduced semi-automated offside technology at the 2022 World Cup in Qatar. According to FIFA:

Measure Value
Dedicated tracking cameras under the stadium roof 12
Data points tracked on each player 29
Position updates per second 50
Ball-sensor readings per second 500

The ball itself carried an inertial measurement unit, so the system could detect the exact moment it was kicked. Combining the limb-tracking and ball data with AI, the system sent an automated offside alert to the video match officials, who checked the kick point and offside line it had selected before telling the referee. Once confirmed, a 3D animation of the decision was shown on the stadium screens and to broadcasters.

Key point: The AI does not make the decision on its own: it proposes one, and humans check the two things most likely to go wrong, the moment of the pass and the position of the line.

What tracking makes possible

The limits

Tracking data is one of the inputs that make modern prediction models possible. To see how such data becomes a forecast, read How AI Predicts Football Matches.

Further reading