sportslabkit.metrics.identity#
Overview#
|
Calculates ID metrics for one sequence. |
|
- |
Functions#
- sportslabkit.metrics.identity.identity_score(bboxes_track: sportslabkit.BBoxDataFrame, bboxes_gt: sportslabkit.BBoxDataFrame) dict[str, Any][source]#
Calculates ID metrics for one sequence.
- Parameters:
bboxes_track (BBoxDataFrame) – Bbox Dataframe for tracking in 1 sequence
bboxes_gt (BBoxDataFrame) – Bbox Dataframe for ground truth in 1 sequence
- Returns:
ID metrics
- Return type:
Note: The description of each evaluation indicator will be as follows: “IDTP” : The number of true positive identities. “IDFN” : The number of false negative identities. “IDFP” : The number of false positive identities. “IDF1” : The F1 score of the identity detection. “IDR” : The recall of the identity detection. “IDP” : The precision of the identity detection.
This is also based on the following original paper and the github repository. paper : https://arxiv.org/abs/1609.01775 code : https://github.com/JonathonLuiten/TrackEval