datumaro.plugins.data_formats.mot#
Classes
|
An enumeration. |
|
|
|
|
|
|
- class datumaro.plugins.data_formats.mot.MotLabel(value)#
Bases:
Enum
An enumeration.
- pedestrian = 1#
- car = 3#
- bicycle = 4#
- motorbike = 5#
- distractor = 8#
- occluder = 9#
- reflection = 12#
- class datumaro.plugins.data_formats.mot.MotPath[source]#
Bases:
object
- IMAGE_DIR = 'img1'#
- SEQINFO_FILE = 'seqinfo.ini'#
- LABELS_FILE = 'labels.txt'#
- GT_FILENAME = 'gt.txt'#
- DET_FILENAME = 'det.txt'#
- IMAGE_EXT = '.jpg'#
- FIELDS = ['frame_id', 'track_id', 'x', 'y', 'w', 'h', 'confidence', 'class_id', 'visibility']#
- class datumaro.plugins.data_formats.mot.MotSeqBase(path: str, *, labels: str | List[str] | None = None, occlusion_threshold: float = 0.0, is_gt: bool | None = None, subset: str | None = None, ctx: ImportContext | None = None)[source]#
Bases:
SubsetBase
- class datumaro.plugins.data_formats.mot.MotSeqImporter[source]#
Bases:
Importer
- classmethod detect(context: FormatDetectionContext) None [source]#
- class datumaro.plugins.data_formats.mot.MotSeqGtExporter(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'#