datumaro.plugins.data_formats.market1501#

Classes

Market1501Base(path, *[, ctx])

Market1501Exporter(extractor, save_dir, *[, ...])

Market1501Importer()

Market1501Path()

class datumaro.plugins.data_formats.market1501.Market1501Path[source]#

Bases: object

QUERY_DIR = 'query'#
BBOX_DIR = 'bounding_box_'#
IMAGE_EXT = '.jpg'#
PATTERN = re.compile('^(-?\\d+)_c(\\d+)s(\\d+)_(\\d+)_(\\d+)(.*)')#
LIST_PREFIX = 'images_'#
UNKNOWN_ID = -1#
ATTRIBUTES = ['person_id', 'camera_id', 'track_id', 'frame_id', 'bbox_id']#
class datumaro.plugins.data_formats.market1501.Market1501Base(path: str, *, ctx: Optional[ImportContext] = None)[source]#

Bases: DatasetBase

class datumaro.plugins.data_formats.market1501.Market1501Importer[source]#

Bases: Importer

DETECT_CONFIDENCE = 20#
classmethod find_sources(path)[source]#
class datumaro.plugins.data_formats.market1501.Market1501Exporter(extractor: IDataset, save_dir: str, *, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: Optional[ExportContext] = None)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#