def getPointsFromBoundingBox(bbox):
    """
    Returns vertices of a bounding box
    Arguments:
        bbox = [left,top,width,height]
    """
    # top left, top right, bottom right, bottom left
    left,top,width,height = bbox
    vertices = [(left,top),(left+width,top),
                (left+width,top+height),(left,top+height)]
    return vertices