def matlab_bbs_from_py(y_top, x_top, target_height, target_width):
    """ Takes bounding box defined by upper left corner, height and width
    and returns matlab-style bounding box in form x1, y1, x2, y2 """
    return (x_top + 1, y_top + 1, x_top + target_width, y_top + target_width)