HawkEye
kloppy.hawkeye
Functions for loading HawkEye tracking data.
load
Load HawkEye tracking data.
HawkEye splits up the data of a single game into multiple files, typically
one file per minute. The ball_feeds
and player_centroid_feeds
arguments
support various options on how to provide these files:
1 2 3 4 5 6 |
|
PARAMETER | DESCRIPTION |
---|---|
ball_feeds
|
The ball tracking data. |
player_centroid_feeds
|
The player centroid tracking data. |
meta_data
|
A json or xml file with metadata about the match. Metadata is optional.
TYPE:
|
pitch_length
|
The length of the pitch (in meters). Ignored if metadata that includes pitch length is provided.
TYPE:
|
pitch_width
|
The width of the pitch (in meters). Ignored if metadata that includes pitch width is provided.
TYPE:
|
sample_rate
|
Sample the data at a specific rate.
TYPE:
|
limit
|
Limit the number of frames to load to the first
TYPE:
|
coordinates
|
The coordinate system to use.
TYPE:
|
show_progress
|
Show a progress bar while parsing the data.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
TrackingDataset
|
The parsed tracking data. |
Note
Pose tracking data is not yet supported.