AI in football: how semi-automated offside works, explained simply

Roof cameras, 29 body points per player, a sensor inside the ball and an AI that alerts the VAR. What the machine does on its own, what a human still decides, and why the arguments haven't stopped.

Illustration of a head with circuits representing artificial intelligence
Image: DeltaWorks on Pixabay

If you watch football (or soccer), you’ve seen it: a goal, a few seconds of waiting, then a 3D animation on the stadium screen showing the players as mannequins and a line proving the striker was offside by a knee. That’s semi-automated offside technology, one of the ways artificial intelligence has made its way into the world’s most-watched sport.

Here’s how it works, what the machine does by itself and what a human still decides. We’ve based it on FIFA’s official page and Wikipedia.

The idea in one sentence

Cameras track every player’s body, a sensor inside the ball catches the exact moment of the pass, and an AI combines the two to alert the VAR to a possible offside. A referee checks it and makes the final call. That’s why it’s semi-automated.

The parts of the system

Part What it does Figure (FIFA)
Cameras under the stadium roof Film every player from above 12 dedicated tracking cameras
Body tracking Mark the body parts that count for offside (arms, legs, shoulders…) Up to 29 points per player, 50 times a second
Sensor inside the ball Detects the instant the ball is kicked Sends data 500 times a second
Artificial intelligence Matches body positions to the moment of the pass and sends an automatic alert Notifies the VAR team
VAR officials Check the kick point and the line the system drew Validate it “within a few seconds”, says FIFA

The ball sensor matters. Before, the VAR had to pick the exact frame of the pass by eye, and one frame either way could flip the decision. With data 500 times a second, that moment is much clearer.

Step by step: what happens in those seconds

  1. An attacker receives the ball. The system checks where everyone was at the exact moment of the pass.
  2. The AI draws the line. Under Law 11, it’s drawn at the second-last defender’s furthest-forward relevant body part (usually the last outfield defender, since the keeper is often the last).
  3. The alert goes off. If the attacker was further forward, the system automatically alerts the video room.
  4. A human checks it. VAR officials manually confirm the kick point and the line, then tell the on-field referee through their earpiece.
  5. Fans see it. The exact same data points are turned into the 3D animation shown in the stadium and on TV.

For very clear offsides, the more advanced version of the system also sends an automatic audio alert to the referee and assistants, according to FIFA.

What if it fails? FIFA says that if the system breaks down, the VAR goes back to the old method: crosshairs and triangulation on the broadcast camera images.

Where it’s used

Competition Since
Trials: FIFA Arab Cup and Club World Cup 2021
Qatar World Cup 2022, the first men’s World Cup to use it
UEFA Super Cup and Champions League August 2022 and the 2022-23 group stage
AFC Asian Cup 2023-24, all 51 matches
Euro 2024 10 cameras plus a connected ball
Premier League From Matchweek 32 of 2024-25
Club World Cup 2025 Upgraded system with AI, cameras and ball sensors
World Cup 2026 Trionda ball with an internal motion sensor

Dates from Wikipedia, which cites UEFA, the AFC, Reuters, ESPN and other outlets. We couldn’t confirm an official start date for other European leagues, so we’ve left them out.

What the AI does and doesn’t do

The machine The human
Locates 29 points on every player’s body Checks the kick point is right
Detects the moment of the kick via the ball sensor Checks the line is in the right place
Draws the line and raises the alert Decides whether an offside player is interfering with play
Builds the animation for fans Judges fouls, handballs and everything else

That last point is key: the technology only measures positions. Whether an offside player blocks the keeper’s view or is involved in the move is still the referee’s call. FIFA stresses that refereeing judgment doesn’t change in those cases.

Why there are still arguments

The system is very precise, but it isn’t perfect or magic. Wikipedia lists these weak spots:

  • The kick point. If the ball is barely touched, or touched several times in a row, choosing the exact instant isn’t always easy.
  • Hidden players. In a crowded box, cameras may not see a leg or an arm clearly.
  • Explaining it to fans. The 3D figures help, but offside “by a shoulder” still feels unfair to many people, even when it’s correct.

There’s also a bigger debate: if a system measures to the centimetre, should goals be ruled out for gaps nobody can see? That’s an argument about the rules, not the technology, and it’s up to IFAB, the body that writes football’s laws.

What this example says about AI

Semi-automated offside is a good example of AI used well:

  • It does one specific, measurable job (where each body is at one instant), not “refereeing”.
  • A person reviews and signs off the decision.
  • There’s a plan B if it fails.
  • Fans are shown the same data that was used to decide.

They’re the same questions worth asking about any AI that makes decisions: what exactly does it do, who supervises it, and what happens when it’s wrong? For a similar use in another field, see how AI helps read mammograms in hospitals, or what really counts as artificial intelligence.

Sources