Source code for imageprocessor.flipping

[docs]def flipping(image, direction,output_path): ''' Flipping an image in either horizontal or vertical direction Arguments: ----------------------------- image: path of the input file direction: direction of flip, horizontal="h", vertical = "v" Output: ----------------------------- an image file in .png format ''' pass