datumaro.plugins.data_formats.mots#
Classes
|
An enumeration. |
|
|
|
|
|
- class datumaro.plugins.data_formats.mots.MotsPath[source]#
Bases:
object
- MASKS_DIR = 'instances'#
- IMAGE_DIR = 'images'#
- IMAGE_EXT = '.jpg'#
- LABELS_FILE = 'labels.txt'#
- MAX_INSTANCES = 1000#
- class datumaro.plugins.data_formats.mots.MotsLabels(value)[source]#
Bases:
Enum
An enumeration.
- background = 0#
- car = 1#
- pedestrian = 2#
- ignored = 10#
- class datumaro.plugins.data_formats.mots.MotsPngExtractor(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#
Bases:
SubsetBase
- class datumaro.plugins.data_formats.mots.MotsPngExporter(extractor: IDataset, save_dir: str, *, save_media: bool | None = None, image_ext: str | None = None, default_image_ext: str | None = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: ExportContext | None = None)[source]#
Bases:
Exporter
- DEFAULT_IMAGE_EXT = '.jpg'#