tlc.core.builtins.schemas.bounding_box_list_schema

A schema for a COCO-like bounding box list

Module Contents

Classes

Class

Description

BoundingBoxListSchema

A schema for a COCO-like bounding box list

API

class BoundingBoxListSchema(
label_value_map: dict[float, 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,
include_iscrowd: bool = False,
)

Bases: tlc.core.schema.Schema

A schema for a COCO-like bounding box list