def tlbr2bbox(top, left, bottom, right, oper=int):
    """
    tlbr = [top, left, bottom, right]
    to ->
    bbox = [x(left), y(top), width, height]
    """
    x_pos = oper(left)
    y_pos = oper(top)
    width = oper(right - left)
    height = oper(bottom - top)

    return [x_pos, y_pos, width, height]