Last active
July 12, 2022 12:01
-
-
Save CLozy/cd02ad1b6d3f421ae8a3800f4b081731 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
image = Image.open('/content/gdrive/MyDrive/ComputerVisionEngineer/images/deadstar.jpg') | |
print(image.size) | |
#resize image and ignore original aspect ratio | |
img_resized = image.resize((400,400)) | |
print(img_resized.size) | |
img_resized |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment