-
-
Save amankharwal/c55b20184bd61019bed741fce3304be7 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
scaling = 80 | |
#Change Width and Height | |
width = int(img.shape[1] * scaling / 100) | |
height = int(img.shape[0] * scaling / 100) | |
dim = (width,height) | |
resized = cv2.resize(img,dim,interpolation = cv2.INTER_AREA) | |
viewImage(resized, "Resized Image") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment