Source code for iaa_od.models.gt_sample_info
from dataclasses import dataclass
[docs]
@dataclass(slots=True, kw_only=True)
class GTSampleInfo:
"""
Class to hold information about ground truths, including average bounding box area and average number of bounding boxes per image.
Attributes:
avg_bbox_area (float): The average area of bounding boxes in the sample.
avg_bboxes_per_image (float): The average number of bounding boxes per image in the sample.
"""
avg_bbox_area: float
avg_bboxes_per_image: float