(self,
                 detections_type,
                 difficulty,
                 ignore_other_vru,
                 tolerated_other_classes=[],
                 dont_care_classes=[],
                 ignore_type_for_skipped_gts=1,
                 size_limits={'reasonable': 40, 'small': 30, 'occluded': 40, 'all': 20},
                 occ_limits={'reasonable': 40, 'small': 40, 'occluded': 80, 'all': 80},
                 size_upper_limits={'small': 60},
                 occ_lower_limits={'occluded': 40},
                 rider_boxes_including_vehicles=False,
                 discard_depictions=False,
                 clipping_boxes=False,
                 transform_det_to_xy_coordinates=False
                 )
:param detections_type: list of strings - Selected types on which the evaluation is
                                performed (i.e: detector of this type is evaluated)
        :param difficulty: the selected difficulty to be evaluated
        :param ignore_other_vru: - If true, other VRU ground truth boxes are used during the
                                   matching process, therefore other classes (e.g. riders)
                                   which are detected and classified as the primary detection class
                                   (e.g. pedestrians) do not cause a false positive.
                                 - if true other VRUs (see tolerated_other_classes) are marked with
                                   the ignored flag, otherwise they are discarded
        :param tolerated_other_classes: list of strings - Other classes which are tolerated,
                                        if the ignore_other_vru flag is set.
        :param dont_care_classes: list of strings - don't care region class name
:param detections_type: list of strings - Selected types on which the evaluation is
                                performed (i.e: detector of this type is evaluated)
        :param difficulty: the selected difficulty to be evaluated
        :param ignore_other_vru: - If true, other VRU ground truth boxes are used during the
                                   matching process, therefore other classes (e.g. riders)
                                   which are detected and classified as the primary detection class
                                   (e.g. pedestrians) do not cause a false positive.
                                 - if true other VRUs (see tolerated_other_classes) are marked with
                                   the ignored flag, otherwise they are discarded
        :param tolerated_other_classes: list of strings - Other classes which are tolerated,
                                        if the ignore_other_vru flag is set.
        :param dont_care_classes: list of strings - don't care region class name
: param detections_type : list of strings - Selected types on which the evaluation is performed ( i . e : detector of this type is evaluated ) : param difficulty : the selected difficulty to be evaluated : param ignore_other_vru : - If true other VRU ground truth boxes are used during the matching process therefore other classes ( e . g . riders ) which are detected and classified as the primary detection class ( e . g . pedestrians ) do not cause a false positive . - if true other VRUs ( see tolerated_other_classes ) are marked with the ignored flag otherwise they are discarded : param tolerated_other_classes : list of strings - Other classes which are tolerated if the ignore_other_vru flag is set . : param dont_care_classes : list of strings - don t care region class name
def __init__(self,
                 detections_type,
                 difficulty,
                 ignore_other_vru,
                 tolerated_other_classes=[],
                 dont_care_classes=[],
                 ignore_type_for_skipped_gts=1,
                 size_limits={'reasonable': 40, 'small': 30, 'occluded': 40, 'all': 20},
                 occ_limits={'reasonable': 40, 'small': 40, 'occluded': 80, 'all': 80},
                 size_upper_limits={'small': 60},
                 occ_lower_limits={'occluded': 40},
                 rider_boxes_including_vehicles=False,
                 discard_depictions=False,
                 clipping_boxes=False,
                 transform_det_to_xy_coordinates=False
                 ):
        """
        :param detections_type: list of strings - Selected types on which the evaluation is
                                performed (i.e: detector of this type is evaluated)
        :param difficulty: the selected difficulty to be evaluated
        :param ignore_other_vru: - If true, other VRU ground truth boxes are used during the
                                   matching process, therefore other classes (e.g. riders)
                                   which are detected and classified as the primary detection class
                                   (e.g. pedestrians) do not cause a false positive.
                                 - if true other VRUs (see tolerated_other_classes) are marked with
                                   the ignored flag, otherwise they are discarded
        :param tolerated_other_classes: list of strings - Other classes which are tolerated,
                                        if the ignore_other_vru flag is set.
        :param dont_care_classes: list of strings - don't care region class name
        """
        self.difficulty = difficulty
        self.ignore_other_vru = ignore_other_vru
        self.tolerated_other_classes = tolerated_other_classes
        self.dont_care_classes = dont_care_classes
        self.ignore_type_for_skipped_gts = ignore_type_for_skipped_gts
        self.detections_type = detections_type
        self.size_limits = size_limits
        self.occ_limits = occ_limits
        self.size_upper_limits = size_upper_limits
        self.occ_lower_limits = occ_lower_limits
        self.rider_boxes_including_vehicles = rider_boxes_including_vehicles
        self.discard_depictions = discard_depictions
        self.clipping_boxes = clipping_boxes
        self.transform_det_to_xy_coordinates = transform_det_to_xy_coordinates
def __init__ ( self , detections_type , difficulty , ignore_other_vru , tolerated_other_classes = [ ] , dont_care_classes = [ ] , ignore_type_for_skipped_gts = 1 , size_limits = { 'reasonable' : 40 , 'small' : 30 , 'occluded' : 40 , 'all' : 20 } , occ_limits = { 'reasonable' : 40 , 'small' : 40 , 'occluded' : 80 , 'all' : 80 } , size_upper_limits = { 'small' : 60 } , occ_lower_limits = { 'occluded' : 40 } , rider_boxes_including_vehicles = False , discard_depictions = False , clipping_boxes = False , transform_det_to_xy_coordinates = False ) : self . difficulty = difficulty self . ignore_other_vru = ignore_other_vru self . tolerated_other_classes = tolerated_other_classes self . dont_care_classes = dont_care_classes self . ignore_type_for_skipped_gts = ignore_type_for_skipped_gts self . detections_type = detections_type self . size_limits = size_limits self . occ_limits = occ_limits self . size_upper_limits = size_upper_limits self . occ_lower_limits = occ_lower_limits self . rider_boxes_including_vehicles = rider_boxes_including_vehicles self . discard_depictions = discard_depictions self . clipping_boxes = clipping_boxes self . transform_det_to_xy_coordinates = transform_det_to_xy_coordinates