Class VideoAnalysisMetrics

java.lang.Object
org.episteme.social.sports.VideoAnalysisMetrics

public final class VideoAnalysisMetrics extends Object
Extracts performance metrics from video-derived tracking data. Includes models for Expected Goals (xG) and shot analysis.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • calculateXG

      public static Real calculateXG(VideoAnalysisMetrics.Shot shot)
      Calculates the Expected Goals (xG) probability for a shot. Uses distance and angle components derived from field coordinates.
      Parameters:
      shot - the shot to analyze
      Returns:
      the xG value (probability 0.0 to 1.0)