reader/reader_utils.py
def image_flipping_vert(img):
    """
    randomly flips images up-down
    :param img: input image
    :return:flipped images
    """
    v_flip = np.random.randint(0, 1)
    if v_flip == 1:
        img = img[::-1, :, :]
    return img

    randomly flips images up-down
    :param img: input image
    :return:flipped images
    
randomly flips images up-down
randomly flips images up - down
def image_flipping_vert(img):
    v_flip = np.random.randint(0, 1)
    if v_flip == 1:
        img = img[::-1, :, :]
    return img
def image_flipping_vert ( img ) : v_flip = np . random . randint ( 0 , 1 ) if v_flip == 1 : img = img [ : : - 1 , : , : ] return img
randomly flips images up-down
randomly flips images up - down
"""
    randomly flips images up-down
    :param img: input image
    :return:flipped images
    """
None
img
None