Source code for datumaro.plugins.data_formats.coco.format

# Copyright (C) 2019-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

from enum import Enum, auto


[docs] class CocoTask(Enum): instances = auto() person_keypoints = auto() captions = auto() labels = auto() # extension, does not exist in the original COCO format image_info = auto() panoptic = auto() stuff = auto()
[docs] class CocoImporterType(Enum): default = auto() roboflow = auto() mmdet = auto()
[docs] class CocoPath: IMAGES_DIR = "images" ANNOTATIONS_DIR = "annotations" IMAGE_EXT = ".jpg" PANOPTIC_EXT = ".png"