Skip to content

Instantly share code, notes, and snippets.

@Yuktha-Majella
Created October 26, 2021 14:49
Show Gist options
  • Save Yuktha-Majella/e14e5c59da2983194d4d2147eda780ce to your computer and use it in GitHub Desktop.
Save Yuktha-Majella/e14e5c59da2983194d4d2147eda780ce to your computer and use it in GitHub Desktop.
#Accessing Image Properties
print("Shape of the Image: ", img.shape)
print("Total number of pixels in images: ", img.size)
print("Datatype of the images: ", img.dtype)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment