tlc.core.builtins.schemas.bounding_box_list_schema#

A schema for a COCO-like bounding box list

Module Contents#

Classes#

Class

Description

BoundingBoxListSchema

Returns a schema for a COCO-like bounding box list

API#

class tlc.core.builtins.schemas.bounding_box_list_schema.BoundingBoxListSchema(label_value_map: dict[float, tlc.core.schema.MapElement], x0_number_role: str = NUMBER_ROLE_BB_MIN_X, x1_number_role: str = NUMBER_ROLE_BB_MAX_X, y0_number_role: str = NUMBER_ROLE_BB_MIN_Y, y1_number_role: str = NUMBER_ROLE_BB_MAX_Y, x0_unit: str = '', x1_unit: str = '', y0_unit: str = '', y1_unit: str = '', display_name: str = '', description: str = '', writable: bool = True, display_importance: float = 0, is_prediction: bool = False, include_segmentation: bool = True)#

Bases: tlc.core.schema.Schema

Returns a schema for a COCO-like bounding box list