Vision models predict tennis player and ball movement from egocentric video

Perceiving and Predicting Dynamic Sports: Spatiotemporal Intelligence in Vision Models for Egocentric Tennis Video

Computer Vision and Pattern RecognitionRobotics

Summary

Robots need to understand and predict what happens around them in real time, especially when their camera moves as they move. The authors studied this by creating a special tennis video dataset from a player’s perspective and trained different vision models to track players and balls, predict future movements, and anticipate tennis strokes. They found that some models can locate players and balls with good accuracy and forecast future positions within a short time. They also showed that adding depth information helps locate the ball better and introduced a method to generate realistic tennis player movements from these predictions.

What this means in practice

  • For robotics developers: Build robots that interpret and predict dynamic sports scenarios from a moving wearable camera to enable agile interactions.
  • For sports analytics teams: Use egocentric vision models to estimate player and ball positions and anticipate strokes from wearable camera footage for performance analysis.

Authors

Tudor Braicu, Joseph DelPreto, Jared Boyer, Mónika Farsang, Maximilian Stölzle, Tim Niklas Seyde, Daniela Rus

Abstract

Agile robots require spatiotemporal intelligence to interpret scenes, reason about interactions, and anticipate future events. Yet it remains unclear how well foundation vision models support these capabilities, particularly from a moving egocentric camera, which is a natural view for robots. To investigate this, we collect an annotated tennis dataset and train a suite of vision models on spatiotemporal tasks. Our dataset contains egocentric video synchronized with five allocentric videos, estimated global positions, labeled contact times, and annotated stroke types. We then evaluate seven prediction tasks from egocentric images: 2D ego player and 3D ball localization, future player and ball trajectories, forehand or backhand stroke anticipation, time to the next ego player ball contact, and 3D ball position at that contact. We compare image encoders, video encoders, and vision-language models with jointly trained prediction heads. The best performing models achieve mean current-frame localization errors of 0.14 m for the ego player and 0.54 m for the ball, future forecasting errors of 0.34 m for the ego player and 0.91 m for the ball over 1.1 s, and a mean contact-time prediction error of 0.14 s. Auxiliary depth information substantially improves 3D ball localization, suggesting that inferring metric depth remains a challenge. Longer image histories do not improve ball forecasting, indicating that representations exploit scene context rather than rely solely on inter-frame motion. Finally, we propose a conditional diffusion model to generate whole-body kinematic tennis motion from vision encoder predictions on egocentric video at real-time rates, adapting movements as predictions are refined. These results move towards a deeper understanding of how foundation vision models can support real-time dynamic robots using egocentric video.