Source code for iaa_od.models.bbox_colors
from dataclasses import dataclass
[docs]
@dataclass(slots=True, kw_only=True)
class BoundingBoxColors:
"""
Class for storing bounding box line and fill colors.
Attributes:
line_color (tuple[float, float, float, float]): RGBA color for the bounding box line.
fill_color (tuple[float, float, float, float]): RGBA color for the bounding box fill.
"""
line_color: tuple[float, float, float, float]
fill_color: tuple[float, float, float, float]