Created
June 23, 2020 13:02
-
-
Save haider11234/a4e9a5971386a3153acf33ae66799a8c to your computer and use it in GitHub Desktop.
resize
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
import cv2 | |
# Black and White (gray scale) | |
img = cv2.imread (“Penguins.jpg”,0) | |
resized_image = cv2.resize(img, (650,500)) | |
cv2.imshow("image.png", resized_image) | |
cv2.waitKey(0) | |
cv2.destroyAllWindows() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment