def window_boundaries(binary_warped_img, curr_window, window_height, margin, left_center, right_center):
    """
        This function creates the windows for the left and right lines
        
        Output: dictionary with the boundaries of the windows
    """
    warped_img_height = binary_warped_img.shape[0]

    win_y_low = warped_img_height - (curr_window+1)*window_height
    win_y_high = win_y_low + window_height
    win_xLeft_low = left_center-margin
    win_xLeft_high = left_center+margin
    win_xRight_low = right_center-margin
    win_xRight_high = right_center+margin
    dictWindow = {'y_high': win_y_high, 'y_low': win_y_low, 'xLeft_low': win_xLeft_low,
                 'xLeft_high': win_xLeft_high, 'xRight_low': win_xRight_low, 'xRight_high': win_xRight_high}
    return dictWindow