tlc.core.builtins.schemas.segmentation_schema

A schema for instance segmentation data

Module Contents

Classes

Class

Description

SegmentationSchema

A schema for instance segmentation data that includes RLE-encoded masks and per-instance properties.

API

class SegmentationSchema(
label_value_map: dict[float, MapElement],
display_name: str = '',
description: str = '',
sample_type: str = InstanceSegmentationPolygons.sample_type,
relative: bool = False,
writable: bool = True,
include_iscrowd: bool = False,
display_importance: float = 0,
)

Bases: tlc.core.schema.Schema

A schema for instance segmentation data that includes RLE-encoded masks and per-instance properties.