Created
December 6, 2019 21:16
-
-
Save ritvikmath/1032f642e55a92844d36fddb88bc257a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #create a copy of my image | |
| copyImg = img.copy() | |
| #reverse all the rows in my image | |
| hFlipImg = copyImg[:,::-1] | |
| #show the image | |
| plt.imshow(hFlipImg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment