module documentation

Undocumented

Class ExporterSpec Exporter class and constructor arguments.
Function annotation_to_polygons Undocumented
Function check_group_file_correspondence Undocumented
Function create_zip_output Undocumented
Function decode_rle_with_pycoco Undocumented
Function exporter_specific_annotation_warning Undocumented
Function get_single_skeleton Return labels and COCO-style edges for the single skeleton.
Function split_of_group Undocumented
def annotation_to_polygons(ann: dict[str, Any], file_path: Path) -> list[list[tuple[float, float]]]:

Undocumented

def check_group_file_correspondence(prepared_ldf: PreparedLDF):

Undocumented

def create_zip_output(max_partition_size: float | None, output_path: Path, part: int | None, dataset_identifier: str) -> Path | list[Path]:

Undocumented

def decode_rle_with_pycoco(ann: dict[str, Any]) -> np.ndarray:

Undocumented

def exporter_specific_annotation_warning(prepared_ldf: PreparedLDF, supported_ann_types: list[str]):

Undocumented

def get_single_skeleton(allow_keypoints: bool, skeletons: dict[str, Any] | None = None) -> tuple[list[str], list[list[int]]]:

Return labels and COCO-style edges for the single skeleton.

Edges are converted to 1-based indices per COCO spec.

def split_of_group(prepared_ldf: PreparedLDF, group_id: Any) -> str:

Undocumented