The code which i used in this video is given below:
In the second line paste u r image's location and then run the program.
from PIL import Image,ImageFilter
myImage=Image.open(" ")
myImage.show()
print(myImage.size)
newImage=myImage.resize((167,91))
print(newImage.size)
newImage.show()
rotatedImage=myImage.rotate(145)
rotatedImage.show()
resizedImage=myImage.resize((50,70))
resizedImage.show()
flippedImage=myImage.transpose(Image.FLIP_LEFT_RIGHT)
flippedImage.show()
flippedImage=myImage.transpose(Image.FLIP_TOP_BOTTOM)
flippedImage.show()
croppedImage=myImage.crop\
(
(
90, 100,
500, 120
)
)
croppedImage.show()
greyImage=myImage.convert("L")
greyImage.show()
blurredImage=myImage.filter(ImageFilter.BoxBlur(5))
blurredImage.show()
On this page of the site you can watch the video online Image processing using python| Pycharm with a duration of hours minute second in good quality, which was uploaded by the user Chandrakanth 16 May 2021, share the link with friends and acquaintances, this video has already been watched 545 times on youtube and it was liked by 3 viewers. Enjoy your viewing!