diff --git a/supervision/metrics/f1_score.py b/supervision/metrics/f1_score.py index bd89e1297..98cb5f265 100644 --- a/supervision/metrics/f1_score.py +++ b/supervision/metrics/f1_score.py @@ -476,11 +476,11 @@ class F1ScoreResult: matched_classes (np.ndarray): the class IDs of all matched classes. Corresponds to the rows of `f1_per_class`. small_objects (Optional[F1ScoreResult]): the F1 metric results - for small objects. + for small objects (area < 32²). medium_objects (Optional[F1ScoreResult]): the F1 metric results - for medium objects. + for medium objects (32² ≤ area < 96²). large_objects (Optional[F1ScoreResult]): the F1 metric results - for large objects. + for large objects (area ≥ 96²). """ metric_target: MetricTarget diff --git a/supervision/metrics/mean_average_precision.py b/supervision/metrics/mean_average_precision.py index ac12767a7..9e7a30d0e 100644 --- a/supervision/metrics/mean_average_precision.py +++ b/supervision/metrics/mean_average_precision.py @@ -440,11 +440,11 @@ class and IoU threshold. Shape: `(num_target_classes, num_iou_thresholds)` matched_classes (np.ndarray): the class IDs of all matched classes. Corresponds to the rows of `ap_per_class`. small_objects (Optional[MeanAveragePrecisionResult]): the mAP results - for small objects. + for small objects (area < 32²). medium_objects (Optional[MeanAveragePrecisionResult]): the mAP results - for medium objects. + for medium objects (32² ≤ area < 96²). large_objects (Optional[MeanAveragePrecisionResult]): the mAP results - for large objects. + for large objects (area ≥ 96²). """ metric_target: MetricTarget diff --git a/supervision/metrics/precision.py b/supervision/metrics/precision.py index 235110862..a5d4011e8 100644 --- a/supervision/metrics/precision.py +++ b/supervision/metrics/precision.py @@ -479,11 +479,11 @@ class PrecisionResult: matched_classes (np.ndarray): the class IDs of all matched classes. Corresponds to the rows of `precision_per_class`. small_objects (Optional[PrecisionResult]): the Precision metric results - for small objects. + for small objects (area < 32²). medium_objects (Optional[PrecisionResult]): the Precision metric results - for medium objects. + for medium objects (32² ≤ area < 96²). large_objects (Optional[PrecisionResult]): the Precision metric results - for large objects. + for large objects (area ≥ 96²). """ metric_target: MetricTarget diff --git a/supervision/metrics/recall.py b/supervision/metrics/recall.py index 45382da11..b3586ff7d 100644 --- a/supervision/metrics/recall.py +++ b/supervision/metrics/recall.py @@ -478,11 +478,11 @@ class RecallResult: matched_classes (np.ndarray): the class IDs of all matched classes. Corresponds to the rows of `recall_per_class`. small_objects (Optional[RecallResult]): the Recall metric results - for small objects. + for small objects (area < 32²). medium_objects (Optional[RecallResult]): the Recall metric results - for medium objects. + for medium objects (32² ≤ area < 96²). large_objects (Optional[RecallResult]): the Recall metric results - for large objects. + for large objects (area ≥ 96²). """ metric_target: MetricTarget