iaa_od.metrics.rater_vitality

iaa_od.metrics.rater_vitality(gts, /, *, annotator_name, iou_threshold=0.5, use_iom=False, precomputed_result=None)[source]

Compute the vitality of a specific rater (annotator) in the provided Ground Truths.

Parameters:
  • gts (list[GroundTruthProtocol]) – A list of GroundTruth objects representing the annotations.

  • annotator_name (Optional[str]) – The name of the annotator whose vitality is to be computed.

  • iou_threshold (float) – The IoU threshold to use for matching. Defaults to STD_IOU_THR.

  • use_iom (bool) – Whether to use IoM matching. Defaults to False.

  • precomputed_result (Optional[Result]) – An optional precomputed Result object containing the overall alpha value.

Returns:

The vitality score of the specified rater.

Return type:

float