This repository provides an annotation tool for NBA Re-Identification (Re-ID), built on top of Grounded-SAM-2 and Grounding-DINO.
Before running the tool, please make sure you have correctly set up the environments for both Grounded-SAM-2 and Grounding-DINO by following their official installation instructions.
Once the environments are set up, you can start the annotation pipeline by running:
python pipeline.pyIt is highly recommended to run this tool on a Linux server. Running on Windows may cause unexpected errors such as:
NameError: name '_C' is not defined