def get_crop_center_and_size_from_bbox(bbox):
    """Return crop center and size from bbox quadruple

    Note that the center and size are in the order of (x, y)

    Args:
        bbox:

    Returns:

    """
    ymin, xmin, ymax, xmax = bbox
    crop_center = [int((xmin + xmax) / 2), int((ymin + ymax) / 2)]
    crop_size = [xmax - xmin, ymax - ymin]
    return crop_center, crop_size