Tracking Data: LaTeX

Copy a block straight into the paper. The tables carry the paper's own wording, which differs from the schema's in places. The JSON figure is cut down from the format's sample file to the fields the schema requires, so its field names always match the validator. All blocks are regenerated from format version 0.3.2 whenever the schemas change.

cdf-com-tracking-required

11 rows · .txt · .pdf
\begin{table}[H]
\centering
\caption{Description of mandatory center-of-body tracking CDF fields recorded per frame. Any description ending with a $^\star$ is repeated once per player per frame. The coordinate system is defined in Paragraph~\ref{p:coords} where the x axis is the sidelines and the y axis the goal lines. Note that \{i\} is used as an index for the items in a list. Any type ending with a $^\ddagger$ may be null when the subject is occluded, off-camera or otherwise not captured in that frame.}
\label{tab:cdf-com-tracking-required}
\begin{adjustbox}{max width=\textwidth}
\begin{tabular}{lp{1.5cm}p{8cm}l}
\hline
Root & Field & Description & Type \\ \hline
 & frame\_id & Unique frame identifier & Integer \\
 & timestamp & Timestamp of the frame in UTC & String \\
 & period & Period of the match (first\_half, second\_half, first\_half\_extratime, second\_half\_extratime, shootout) & String \\
match & id & Unique match identifier & String \\
teams/\{home\text{\textbar}away\} & id & Unique identifier for the home or away team$^\star$ & String \\
teams/\{home\text{\textbar}away\}/players/\{i\} & id & Unique identifier for a player$^\star$ & String \\
teams/\{home\text{\textbar}away\}/players/\{i\} & x & x location of the player on the pitch (m)$^\star$. & Float / null$^\ddagger$ \\
teams/\{home\text{\textbar}away\}/players/\{i\} & y & y location of the player on the pitch (m)$^\star$. & Float / null$^\ddagger$ \\
ball & x & x location of the ball on the pitch (m). & Float / null$^\ddagger$ \\
ball & y & y location of the ball on the pitch (m). & Float / null$^\ddagger$ \\
ball & z & z location of the ball on the pitch (m). & Float / null$^\ddagger$ \\
\end{tabular}
\end{adjustbox}
\end{table}

cdf-com-tracking-optional

19 rows · .txt · .pdf
\begin{table}[H]
\centering
\caption{Description of optional center-of-mass tracking fields in the CDF that would be recorded once per frame. Any description ending with a $^\star$ is repeated once per person (e.g., player, referee) per frame. Note that \{i\} is used as an index for the items in a list. Any type ending with a $^\ddagger$ may be null when the subject is occluded, off-camera or otherwise not captured in that frame.}
\label{tab:cdf-com-tracking-optional}
\begin{adjustbox}{max width=\textwidth}
\begin{tabular}{lp{2.5cm}p{7cm}l}
\hline
Root & Field & Description & Type \\ \hline
teams/\{home\text{\textbar}away\}/players/\{i\} & lat & latitude of the player's position if the data is collected by GNSS or GPS $^\star$ & Float \\
teams/\{home\text{\textbar}away\}/players/\{i\} & long & longitude of the player's position if the data is collected by GNSS or GPS$^\star$ & Float \\
teams/\{home\text{\textbar}away\}/players/\{i\} & z & z location of the player on the pitch (m)$^\star$. See Paragraph~\ref{p:coords}. & Float / null$^\ddagger$ \\
teams/\{home\text{\textbar}away\}/players/\{i\} & dist & Distance covered by the player/ball in the current frame (m)$^\star$ & Float \\
teams/\{home\text{\textbar}away\}/players/\{i\} & acc & Acceleration of the player/ball (m/s\textsuperscript{2})$^\star$ & Float \\
teams/\{home\text{\textbar}away\}/players/\{i\} & vel & Speed of the player/ball (m/s)$^\star$ & Float \\
teams/\{home\text{\textbar}away\}/players/\{i\} & is\_visible & Denotes if a player was visible (in view of the camera) (true) or not (false)$^\star$ & Boolean \\
ball & status & Indicates if the ball is either in play (true) or out of play (false) & Boolean \\
ball & poss\_team\_id & Unique identifier of the team that currently possesses the ball & String \\
ball & poss\_status & Contextual description of the level of control (e.g., controlled, contested,...) & String \\
officials/\{i\} & id & Unique identifier for an official & String \\
officials/\{i\} & x & x location of the official on the pitch (m)$^\star$ & Float / null$^\ddagger$ \\
officials/\{i\} & y & y location of the official on the pitch (m)$^\star$ & Float / null$^\ddagger$ \\
officials/\{i\} & z & z location of the official on the pitch (m)$^\star$ & Float / null$^\ddagger$ \\
officials/\{i\} & vel & Speed of the official (m/s)$^\star$ & Float \\
officials/\{i\} & acc & Acceleration of the official (m/s\textsuperscript{2})$^\star$ & Float \\
officials/\{i\} & lat & Latitude of the official's position if the data is collected by GNSS or GPS$^\star$ & Float \\
officials/\{i\} & long & Longitude of the official's position if the data is collected by GNSS or GPS$^\star$ & Float \\
officials/\{i\} & is\_visible & Denotes if an official was visible (in view of the camera) (true) or not (false)$^\star$ & Boolean \\
\end{tabular}
\end{adjustbox}
\end{table}

tracking-data

JSON figure · .txt · .pdf
\begin{center}
\begin{minipage}{0.8\linewidth}
\begin{lstlisting}
{
    "frame_id": 0,
    "timestamp": "2023-10-01T12:00:00Z",
    "period": "first_half",
    "match": {"id": "match_12345"},
    "teams": {
        "home": {
            "id": "team_1",
            "players": [
                {"id": "player_1", "x": 23.5, "y": 24.2},
                ...
            ]
        },
        "away": {
            "id": "team_2",
            "players": [
                {"id": "player_3", "x": 33.1, "y": 34.9},
                ...
            ]
        }
    },
    "ball": {"x": 50, "y": 12, "z": 0.5}
}
\end{lstlisting}
\captionof{figure}{Example of the JSON Lines ({$.jsonl$}) for the Center of Body Tracking Data representation. One frame is shown, expanded over multiple lines for readability. We show the position of only one player per team.}
\label{fig:tracking-data}
\end{minipage}
\end{center}