def get_axis_aligned_bbox(region):
    """
    convert region to (center_x, center_y, bbox_w, bbox_h)
    that represent by axis aligned box

    Parameters
    ----------
        region: np.array (4*N)
        bbox region location

    Return:
        Center location weight and height
    """
    region_x = region[0]
    region_y = region[1]
    bbox_w = region[2]
    bbox_h = region[3]
    center_x = region_x + bbox_w / 2
    center_y = region_y + bbox_h / 2
    return center_x, center_y, bbox_w, bbox_h
