def __init__(self, label_dir, label_ext='.txt', label_delimiter=' ', min_box_size=None, class_mappings=None):
    self.label_dir = label_dir
    self.label_ext = label_ext
    self.label_delimiter = label_delimiter
    self._objects_all = dict()
    self.min_box_size = min_box_size
    if (class_mappings is not None):
        GroundTruthObj.OBJECT_TYPES = class_mappings
def __init__(self, label_dir, label_ext='.txt', label_delimiter=' ', min_box_size=None, class_mappings=None):
    self.label_dir = label_dir
    self.label_ext = label_ext
    self.label_delimiter = label_delimiter
    self._objects_all = dict()
    self.min_box_size = min_box_size
    if (class_mappings is not None):
        GroundTruthObj.OBJECT_TYPES = class_mappings