Created
September 20, 2021 16:28
-
-
Save letthedataconfess/c7f7476c676f3a2bb631012ddd90710b to your computer and use it in GitHub Desktop.
This file contains 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
img = cv2.imread("zebra.jpg") | |
#print(img.shape) | |
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) | |
half = cv2.resize(img, (0,0), fx = 0.5, fy = 0.5) | |
plt.imshow(half) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment