Flipping out
As a prank, someone has turned an image from a photo album of a trip to Seville upside-down and back-to-front! Now, we need to straighten the image, by flipping it.
.jpg)
Image loaded as
flipped_seville
.
show_image()
function.
NumPy is already imported as np
.
This exercise is part of the course
Image Processing in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Flip the image vertically
seville_vertical_flip = ____.____(flipped_seville)