def __call__(self, img):
if random.random() < self.p:<EOL><INDENT>return np.fliplr(img).copy()<EOL><DEDENT>return img<EOL>
Args:
    img (PIL Image): Image to be flipped.

Returns:
    PIL Image: Randomly flipped image.