The STE Label Tool is designed to assist in annotating event data, which can then be used for event modeling with the openstarlab-preprocessing and openstarlab-event packages. Depending on the specific video footage, some additional manual preprocessing of the event data may be required to ensure compatibility.
- Recommended Python version: 3.7
-
Install the required packages:
pip install pyqt5 pandas opencv-python
-
Launch the GUI:
python main.py
- Click the "Open Video" button to select the video to annotate.
- Ensure that a "Label.csv" file for previous annotations exists in the same directory as the video. For new videos, a "Label.csv" file will be created automatically.
- Use the video player to identify the frame you want to annotate.
- Select the Event, Coordinate (click on the frame to auto-update the value), and Team.
- Save the annotation by clicking the "Save" button.
- Select a row on the left side. Double-click it to locate the video at the same frame as the annotation.
- Delete the selected row by pressing the "Delete" key.
- Double-click a row on the left side to locate the video at the same frame as the annotation.
- press any key or click any button to hide the annotation overlay on the video.
- Click the "Config" button.
- To edit name of the option, modify the text directly in the respective field.
- To add or remove options, insert a new row or delete an existing row directly.
- Press the "Save and Exit" button to apply changes.
- Ensure that the video format is supported and that your system meets any necessary requirements for optimal performance.
- For troubleshooting and support, please refer to the issues section of the respective GitHub repositories or create a new issue if needed.
If you encounter this issue, please include your OS version (Windows 10/11), video format, and any console logs when opening an issue. This tool is developed based on the SoccerNet action annotation tool. For more information, visit the SoccerNetv2-DevKit Annotation repository.
![]() Calvin Yeung 💻 |
![]() Keisuke Fujii 🧑💻 |


