NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SmartTennisTV: Automatic Indexing of Tennis Videos

Anurag Ghosh, C. V. Jawahar

TL;DR

SmartTennisTV is a framework that transforms long, sequential broadcast tennis videos into searchable, navigable "random access" matches. By combining computer vision techniques for rally detection with a novel score-refinement algorithm based on the formal rules of tennis, the system allows users to jump directly to specific points, games, or sets with high accuracy.

What Problem Does This Paper Address?

Tennis matches are notoriously long, often stretching over several hours. For fans, coaches, or analysts, finding a specific "useful" moment—like a crucial deuce or a specific player's service pattern—requires tedious manual scrubbing through a video stream.

While streaming services like TennisTV provide the video, they usually offer it as-is: a sequential stream. The challenge lies in the nature of broadcast television; the footage isn't just the game. It’s a mix of multiple camera angles, crowd shots, replays, and player close-ups. Automatically "indexing" this content requires the machine to understand when a point is actually being played and what the current score is, despite the fact that scoreboards vary in font, size, and position across different tournaments.

Methods

The authors propose a multi-stage pipeline to move from raw pixels to a structured index:

  1. Rally Segmentation: To distinguish gameplay from "fluff" (crowd shots, etc.), the system uses Histogram of Oriented Gradients (HOG) features. Since the camera is typically overhead and relatively static during a rally, they trained a $\chi$-squared kernel SVM to classify frames. A Kalman filter is then applied to smooth the results and remove "flickering" false positives.
  2. Scorecard Extraction: Instead of assuming the scoreboard is always in the same place, the system uses temporal summation. By looking at which parts of the frame remain static while the camera pans to follow the ball, it identifies the scorecard's location.
  3. Score Recognition: The authors tested three OCR (Optical Character Recognition) approaches: Tesseract, CRNN, and Textspot. They found that "Textspot" (which uses a Fully Convolutional Regression Network) performed best for the varied fonts of broadcast TV.
  4. Score Refinement (The "Secret Sauce"): OCR is rarely 100% accurate. To fix errors, the authors modeled the tennis scoring system as a finite automaton (a mathematical model of rules). If the OCR reports a score that is impossible according to tennis rules (e.g., jumping from 15 to 40 without a 30), the refinement algorithm uses the surrounding "legal" states to correct the error.

Datasets

The study utilized broadcast tennis video (BTV) recordings at 720p from two major events:

  • French Open 2017 (5 matches)
  • London Olympics 2012 (5 matches)

The authors introduced two new manually annotated benchmarks:

  • Rally Dataset: 2 matches annotated for rally vs. non-rally segments.
  • Match Scores Dataset: 1,011 rallies from 4 matches annotated with point-by-point scores to evaluate extraction and refinement.

Key Insights and Ideas

  • Domain Knowledge as a Filter: The most significant insight is that computer vision doesn't have to work in a vacuum. By "teaching" the system the rules of tennis, the authors created a safety net for noisy OCR. If the vision system sees something that doesn't make sense (like a score of "AD" appearing out of nowhere), the logic of the game can override it.
  • Static vs. Dynamic Features: The method for finding the scorecard is elegantly simple. In a broadcast, the players and court move relative to the camera, but the digital overlay (the score) stays pinned to the screen. Exploiting this temporal stability allows the system to find scoreboards regardless of the tournament's specific graphic design.

Key Results

  • Rally Detection: The system achieved a mean F1 score of 97.46% for identifying gameplay segments, proving highly robust against the "drama" shots common in sports broadcasts.
  • Accuracy Boost: The score refinement algorithm provided a massive improvement over raw OCR. For "Match 1," the baseline accuracy of 79.30% was boosted to 91.66% after applying the tennis-logic refinement.
  • Event Tagging: The system successfully tagged events like "fault," "deuce," and "advantage." In some matches, the accuracy for tagging "deuce" and "advantage" reached 100%, enabling a truly searchable interface.

Limitations and Future Work

The authors acknowledge that their refinement algorithm is still dependent on the baseline performance of the OCR; if the initial text recognition is too poor, the logic-based refinement has a harder time finding the "correct" path.

Currently, the system is optimized for "singles" matches. Future work could involve extending this to doubles or incorporating more complex semantic searches, such as finding all "backhand winners" or "unforced errors," which would require deeper action recognition beyond just reading the scoreboard.

Summary updated

BibTeX
@inproceedings{ghosh2017smarttennistv,
  author = {Anurag Ghosh and C. V. Jawahar},
  title = {{SmartTennisTV: Automatic Indexing of Tennis Videos}},
  booktitle = {NCVPRIPG},
  year = {2017},
  url = {https://openreview.net/forum?id=JcNSeuFyw9},
}

Loading related content...

Figure