def get_rel_size(detection: dict) -> float:
    """
    Args:
        detection: a object detection

    Returns: relative size of a bounding box in an image
    """
    return round((float(detection['XMax']) - float(detection['XMin'])) * (
            float(detection['YMax']) - float(detection['YMin'])), 10)