tlc.core.objects.tables.from_url.table_from_coco#

A table populated from a dataset in the COCO format

Module Contents#

Classes#

Class

Description

TableFromCoco

A table populated from a annotations json-file and a image folder.

API#

class tlc.core.objects.tables.from_url.table_from_coco.TableFromCoco(url: tlc.core.url.Url | None = None, created: str | None = None, row_cache_url: tlc.core.url.Url | None = None, row_cache_populated: bool | None = None, override_table_rows_schema: Any = None, input_url: tlc.core.url.Url | str | None = None, image_folder_url: tlc.core.url.Url | str | None = None, init_parameters: Any = None)#

Bases: tlc.core.objects.table.Table

A table populated from a annotations json-file and a image folder.

References: COCO data format: https://cocodataset.org/#format-data COCO data format APIs: https://github.com/cocodataset/cocoapi

property coco: pycocotools.coco.COCO#

Load COCO object from input_url if not already loaded.