mots_format module
- class datumaro.plugins.mots_format.MotsPath[source]
Bases:
object
- MASKS_DIR = 'instances'
- IMAGE_DIR = 'images'
- IMAGE_EXT = '.jpg'
- LABELS_FILE = 'labels.txt'
- MAX_INSTANCES = 1000
- class datumaro.plugins.mots_format.MotsLabels(value)[source]
Bases:
enum.Enum
An enumeration.
- background = 0
- car = 1
- pedestrian = 2
- ignored = 10
- class datumaro.plugins.mots_format.MotsPngConverter(extractor: datumaro.components.extractor.IExtractor, save_dir: str, *, save_images: bool = False, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, ctx: Optional[datumaro.components.converter.ExportContext] = None)[source]
Bases:
datumaro.components.converter.Converter
- DEFAULT_IMAGE_EXT = '.jpg'